/* ==========================================================================
   LMA BAU GMBH – High-End Swiss Architectural & Construction Style
   Theme: Luxury Minimalist Obsidian & Muted Champagne Gold
   ========================================================================== */

/* --- DESIGN TOKENS --- */
:root {
    --bg-black: #050505;
    --bg-dark: #0c0c0c;
    --bg-card: #121212;
    --accent: #c4a47c;       /* Refined Champagne Gold / Bronze */
    --accent-rgb: 196, 164, 124;
    --accent-dim: rgba(196, 164, 124, 0.12);
    --accent-hover: #d6b893;
    
    --text-white: #ffffff;
    --text-muted: #8e8e93;
    --text-dim: rgba(255, 255, 255, 0.35);
    
    --border-color: rgba(255, 255, 255, 0.07);
    --border-accent: rgba(196, 164, 124, 0.25);
    --border-light: rgba(255, 255, 255, 0.15);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-arch: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    
    --transition-smooth: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    --container-width: 1400px;
    --header-height: 80px;
}

/* --- RESET & GLOBAL STYLES --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-black);
}

body {
    font-family: var(--font-sans);
    color: var(--text-white);
    background-color: var(--bg-black);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* --- SPLASH LOCK (prevent scroll during intro) --- */
body.splash-active {
    overflow: hidden;
}

/* ========== CINEMATIC SPLASH INTRO ========== */
.splash-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: none;
}

.splash-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.splash-overlay.logo-visible .splash-logo {
    opacity: 1;
    transform: scale(1);
}

.splash-logo-img {
    height: clamp(140px, 28vw, 300px);
    width: auto;
    filter: invert(1) brightness(1.3);
    object-fit: contain;
}

.splash-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 10px;
}

.splash-overlay.line-expand .splash-line {
    width: 120px;
}

/* Reveal: splash splits & fades out */
.splash-overlay.reveal {
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Custom premium scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
    background: #1b1b1b;
    border-radius: 10px;
    transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, textarea, select {
    background: none;
    border: none;
    font-family: inherit;
    color: inherit;
}

/* --- BACKGROUND DECORATIONS (GLOW & GRIDS) --- */
.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
    mix-blend-mode: screen;
    animation: drift 25s ease-in-out infinite alternate;
}
.glow-sphere-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, rgba(5,5,5,0) 70%);
    top: 10%;
    right: -100px;
}
.glow-sphere-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196,164,124,0.7) 0%, rgba(5,5,5,0) 70%);
    top: 40%;
    left: -200px;
    animation-delay: -5s;
}
.glow-sphere-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--accent) 0%, rgba(5,5,5,0) 70%);
    bottom: 10%;
    right: 5%;
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--bg-black) 0%, var(--accent) 50%, var(--accent) 100%);
    z-index: 10000;
    transition: width 0.1s ease-out;
}

/* --- REUSABLE UTILITIES & ARCHITECTURAL ELEMENTS --- */
.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    padding-left: 25px;
}
.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 1px;
    background: var(--accent);
}

/* Fine structural corners (+) */
.corner-cross {
    position: absolute;
    font-family: var(--font-sans);
    font-weight: 200;
    font-size: 14px;
    color: rgba(196, 164, 124, 0.45);
    z-index: 10;
    line-height: 1;
    pointer-events: none;
    transition: var(--transition-smooth);
}
.corner-cross.top-left { top: -6px; left: -5px; }
.corner-cross.top-right { top: -6px; right: -5px; }
.corner-cross.bottom-left { bottom: -7px; left: -5px; }
.corner-cross.bottom-right { bottom: -7px; right: -5px; }

/* Scroll entrance animations */
.fade-up {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1), transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== HEADER & NAVIGATION ========== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-fast);
}

#header.scrolled {
    padding: 5px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 50px;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

.nav-logo {
    text-decoration: none;
}

.nav-logo-text {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--text-white);
    text-transform: uppercase;
    transition: var(--transition-fast);
    line-height: 1;
}

.nav-logo-light {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 3px;
}

.nav-logo:hover .nav-logo-text {
    color: var(--accent);
}

.nav-logo:hover .nav-logo-light {
    color: rgba(196, 164, 124, 0.6);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 45px;
    align-items: center;
}

.nav-links a {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    color: var(--text-dim);
    position: relative;
    padding: 8px 0;
    text-transform: uppercase;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--text-white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--text-white);
    border: 1px solid var(--border-accent);
    padding: 12px 28px;
    border-radius: 50px;
    background: var(--accent-dim);
    transition: var(--transition-fast);
    text-transform: uppercase;
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--bg-black);
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(196, 164, 124, 0.2);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 1px;
    background: var(--text-white);
    transition: var(--transition-smooth);
}

.mobile-toggle.open span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--accent);
}

.mobile-toggle.open span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--accent);
}

/* ========== HERO SECTION (SONDER HOUSE BOLD ARCHITECTURE) ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-black);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35) contrast(1.1);
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0.5) 0%,
        rgba(5, 5, 5, 0.1) 40%,
        rgba(5, 5, 5, 0.6) 100%
    );
    z-index: 1;
}

/* ---- MASSIVE TITLE LAYER ---- */
.hero-titles {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 50px;
    pointer-events: none;
}

.hero-mega-top,
.hero-mega-bottom {
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 0.88;
    letter-spacing: -3px;
    margin: 0;
    pointer-events: auto;
    mix-blend-mode: normal;
}

.hero-mega-top {
    font-size: clamp(5rem, 14vw, 14rem);
    text-align: left;
    opacity: 0.95;
}

.hero-mega-bottom {
    font-size: clamp(4rem, 11vw, 11rem);
    text-align: right;
    align-self: flex-end;
    margin-top: -10px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.88);
}

/* ---- HERO INFO LAYER ---- */
.hero-info {
    position: absolute;
    bottom: 120px;
    left: 50px;
    right: 50px;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    max-width: var(--container-width);
}

.hero-info-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 420px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-sans);
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-white);
    line-height: 1.5;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.75;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--text-white);
    border: 1px solid var(--border-accent);
    padding: 16px 32px;
    border-radius: 50px;
    background: var(--accent-dim);
    transition: var(--transition-fast);
    text-transform: uppercase;
    width: fit-content;
    margin-top: 10px;
}

.hero-cta:hover {
    background: var(--accent);
    color: var(--bg-black);
    border-color: var(--accent);
    box-shadow: 0 4px 25px rgba(196, 164, 124, 0.3);
}

.hero-cta:hover .hero-cta-arrow {
    transform: translateX(5px);
}

.hero-cta-arrow {
    transition: transform 0.3s;
}

/* Right side info */
.hero-info-right {
    display: flex;
    align-items: flex-end;
    gap: 30px;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 140px;
}

.hero-stat-num {
    font-family: var(--font-sans);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.hero-badges-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-badges-col span {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.35);
    text-align: right;
    transition: var(--transition-fast);
}

.hero-badges-col span:hover {
    color: var(--accent);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.hero-scroll span:first-child {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition-fast);
}

.hero-scroll:hover span:first-child {
    color: var(--accent);
}

.arrow-down {
    font-size: 1.4rem;
    color: var(--accent);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* Architectural lines layout inside hero */
.grid-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.02);
    z-index: 1;
    pointer-events: none;
}
.grid-line-v1 { left: 10%; top: 0; bottom: 0; width: 1px; }
.grid-line-v2 { right: 10%; top: 0; bottom: 0; width: 1px; }
.grid-line-h { bottom: 20%; left: 0; right: 0; height: 1px; }


/* ========== SELECTED WORKS (EDITORIAL PHOTOGRAPHY GALLERY) ========== */
.portfolio {
    background-color: var(--bg-black);
    padding: 140px 50px;
    position: relative;
}

.portfolio-header {
    max-width: var(--container-width);
    margin: 0 auto 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.portfolio-title {
    font-family: var(--font-sans);
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 1.15;
    color: var(--text-white);
}

.portfolio-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.portfolio-link {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 5px;
}

.portfolio-link .link-arrow {
    transition: transform 0.3s;
}

.portfolio-link:hover {
    color: var(--text-white);
}

.portfolio-link:hover .link-arrow {
    transform: translateX(6px);
}

.portfolio-grid {
    max-width: var(--container-width);
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
}

.portfolio-grid-reverse {
    grid-template-columns: 0.8fr 1.2fr;
}

.portfolio-item {
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.portfolio-img-container {
    position: relative;
    overflow: hidden;
    background-color: #0c0c0c;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.portfolio-img-container img {
    width: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
    filter: grayscale(100%) contrast(1.1);
}

.card-wide .portfolio-img-container img {
    height: 560px;
}

.card-narrow .portfolio-img-container img {
    height: 640px;
}

.portfolio-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,5,5,0) 50%, rgba(5,5,5,0.7) 100%);
    opacity: 0.4;
    transition: var(--transition-fast);
    z-index: 2;
}

.portfolio-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 5px 0 5px;
}

.portfolio-meta-left h3 {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: -0.3px;
    color: var(--text-white);
    margin-bottom: 6px;
    transition: var(--transition-fast);
}

.portfolio-meta-left span {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 400;
}

.portfolio-year {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
    border: 1px solid var(--border-accent);
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--accent-dim);
}

/* Hover effects for Portfolio items */
.portfolio-item:hover .portfolio-img-container {
    border-color: var(--border-accent);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-item:hover .portfolio-img-container img {
    transform: scale(1.04);
    filter: grayscale(15%) contrast(1.05);
}

.portfolio-item:hover .portfolio-img-overlay {
    opacity: 0.1;
}

.portfolio-item:hover .portfolio-meta-left h3 {
    color: var(--accent);
}

.portfolio-item:hover .corner-cross {
    color: var(--accent);
}


/* ========== SERVICES (HIGH-END COLLAPSED BORDER GRID) ========== */
.services {
    background-color: var(--bg-dark);
    padding: 140px 50px;
    position: relative;
}

.services-inner {
    max-width: var(--container-width);
    margin: 0 auto;
}

.services-header {
    margin-bottom: 80px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.services-title {
    font-family: var(--font-sans);
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 300;
    letter-spacing: -1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}

.service-item {
    position: relative;
    padding: 60px 45px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.service-num {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2.5px;
    margin-bottom: 30px;
    position: relative;
    font-family: var(--font-sans);
}

.service-item h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-white);
    letter-spacing: -0.2px;
    transition: var(--transition-fast);
}

.service-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.service-hover-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover effects for services */
.service-item:hover {
    background: rgba(255, 255, 255, 0.015);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.2);
}

.service-item:hover h3 {
    color: var(--accent);
}

.service-item:hover .service-hover-indicator {
    transform: scaleX(1);
}

.service-item:hover .corner-cross {
    color: var(--accent);
}


/* ========== METHODOLOGY / PROCESS (INTERACTIVE TIMELINE) ========== */
.process {
    background-color: var(--bg-black);
    padding: 140px 50px;
    position: relative;
}

.process-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 100px;
    align-items: start;
}

.process-title {
    font-family: var(--font-sans);
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 25px;
}

.process-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.85;
}

.process-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Vertical Timeline Line */
.step-connector {
    position: absolute;
    left: 35px;
    top: 25px;
    bottom: 25px;
    width: 1px;
    background: linear-gradient(to bottom, var(--border-color) 0%, var(--border-accent) 50%, var(--border-color) 100%);
}

.step {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 30px;
    align-items: start;
    padding-left: 20px;
    transition: var(--transition-smooth);
}

.step .step-num {
    font-size: 1.8rem;
    font-weight: 200;
    color: var(--accent);
    line-height: 1;
    position: relative;
    z-index: 2;
}

.step-dot {
    position: absolute;
    left: 32px;
    top: 10px;
    width: 7px;
    height: 7px;
    background: var(--bg-black);
    border: 2px solid var(--accent);
    border-radius: 50%;
    z-index: 3;
    transition: var(--transition-fast);
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-white);
    letter-spacing: -0.2px;
    transition: var(--transition-fast);
}

.step p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* Hover effects for Process Steps */
.step:hover {
    transform: translateX(10px);
}

.step:hover h3 {
    color: var(--accent);
}

.step:hover .step-dot {
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    transform: scale(1.4);
}


/* ========== STUDIO / ABOUT (EDITORIAL SPREAD) ========== */
.studio {
    background-color: var(--bg-dark);
    padding: 140px 50px;
    position: relative;
}

.studio-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.studio-title {
    font-family: var(--font-sans);
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 300;
    letter-spacing: -1.5px;
    margin-bottom: 35px;
    line-height: 1.15;
}

.studio-text p {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 25px;
}

.studio-text p:last-child {
    margin-bottom: 0;
}

.studio-image .image-frame {
    position: relative;
    border: 1px solid var(--border-color);
    padding: 15px;
    background: rgba(255, 255, 255, 0.005);
}

.studio-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

/* Studio Hover */
.studio-image:hover img {
    filter: grayscale(20%);
    transform: scale(1.02);
}

.studio-image:hover .corner-cross {
    color: var(--accent);
}


/* ========== CONTACT & INQUIRE (LUXURY GLASS CONTAINER) ========== */
.contact {
    background-color: var(--bg-black);
    padding: 140px 50px;
    position: relative;
}

.contact-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact-title {
    font-family: var(--font-sans);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 300;
    letter-spacing: -1.5px;
    margin-bottom: 50px;
    line-height: 1.2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-line {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    max-width: 380px;
}

.info-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--accent);
    margin-bottom: 10px;
}

.info-line p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-weight: 300;
}

.info-line a {
    transition: var(--transition-fast);
}

.info-line a:hover {
    color: var(--accent);
}

/* High fidelity contact form */
.form-container {
    position: relative;
    background: rgba(12, 12, 12, 0.6);
    border: 1px solid var(--border-color);
    padding: 60px 45px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    padding: 10px 0;
    outline: none;
    transition: var(--transition-fast);
    resize: none;
}

/* Floating Label Logic */
.form-group label {
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--text-dim);
    pointer-events: none;
    transition: var(--transition-fast);
    text-transform: uppercase;
}

/* Animate label up when focused or not empty */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -15px;
    font-size: 0.6rem;
    color: var(--accent);
}

/* Bottom Focus Expanding Line */
.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group input:focus ~ .input-focus-line,
.form-group textarea:focus ~ .input-focus-line {
    transform: scaleX(1);
}

/* Submit Button */
.form-submit {
    align-self: flex-start;
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
    color: var(--text-white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    padding: 18px 38px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-fast);
    text-transform: uppercase;
    margin-top: 15px;
}

.form-submit .btn-arrow {
    transition: transform 0.3s;
}

.form-submit:hover {
    background: var(--accent);
    color: var(--bg-black);
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(196, 164, 124, 0.3);
}

.form-submit:hover .btn-arrow {
    transform: translateX(5px);
}


/* ========== FOOTER ========== */
.footer {
    background-color: var(--bg-black);
    padding: 100px 50px 40px;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* Super luxury Watermark in background */
.footer-watermark {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(8rem, 18vw, 15rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.015);
    pointer-events: none;
    letter-spacing: 15px;
    line-height: 0.8;
    user-select: none;
    z-index: 0;
}

.footer-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.footer-logo {
    max-width: 320px;
}

.footer-logo-text {
    display: block;
    font-family: var(--font-sans);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--text-white);
    text-transform: uppercase;
    margin-bottom: 25px;
}

.footer-logo-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-cols {
    display: flex;
    gap: 120px;
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--accent);
    margin-bottom: 30px;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-col a:hover {
    color: var(--text-white);
}

.footer-bottom {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-dim);
}

.footer-legal {
    display: flex;
    gap: 35px;
}

.footer-legal a {
    font-size: 0.82rem;
    color: var(--text-dim);
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--accent);
}


/* ========== FLOATING WHATSAPP BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
    width: 62px;
    height: 62px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 
        0 4px 15px rgba(37, 211, 102, 0.4),
        0 0 30px rgba(37, 211, 102, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 
        0 6px 25px rgba(37, 211, 102, 0.5),
        0 0 50px rgba(37, 211, 102, 0.25);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 3;
}

/* Pulsing glow rings */
.whatsapp-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: whatsappPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: 1;
}

.whatsapp-pulse-2 {
    animation-delay: 0.6s;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.6);
        opacity: 0;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}


/* ========== MEDIA QUERIES (RESPONSIVENESS) ========== */
@media (max-width: 1200px) {
    .nav-bar {
        padding: 24px 30px;
    }
    
    .portfolio, .services, .process, .studio, .contact, .footer {
        padding: 100px 30px;
    }
    
    .portfolio-grid {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
    
    .portfolio-grid-reverse {
        grid-template-columns: 1fr;
    }
    
    .card-wide .portfolio-img-container img,
    .card-narrow .portfolio-img-container img {
        height: 480px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .studio-inner,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 60px;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .studio-image img {
        height: 450px;
    }
    
    .footer-cols {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .nav-bar {
        padding: 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    /* Mobile nav expansion */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.98);
        padding: 40px 20px;
        gap: 30px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 15px 30px rgba(0,0,0,0.6);
        z-index: 1000;
        animation: fadeInMobile 0.4s ease-out;
    }
    
    @keyframes fadeInMobile {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-mega-top {
        font-size: clamp(3.5rem, 14vw, 6rem);
    }
    
    .hero-mega-bottom {
        font-size: clamp(2.8rem, 11vw, 5rem);
    }
    
    .hero-titles {
        padding: 0 20px;
    }
    
    .hero-info {
        flex-direction: column;
        align-items: flex-start;
        bottom: 100px;
        left: 20px;
        right: 20px;
        gap: 30px;
    }
    
    .hero-info-right {
        display: none;
    }
    
    .hero-scroll {
        bottom: 25px;
    }
    
    .portfolio, .services, .process, .studio, .contact, .footer {
        padding: 80px 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        padding: 45px 30px;
    }
    
    .form-container {
        padding: 40px 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 50px;
        align-items: center;
        text-align: center;
    }
    
    .footer-cols {
        flex-direction: column;
        gap: 40px;
        width: 100%;
        align-items: center;
    }
    
    .footer-col h4 {
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        gap: 20px;
    }
}
