:root {
    --bg-primary: #FFFFFF; /* Pure White */
    --bg-secondary: #0A0A0A; /* Obsidian */
    --text-primary: #0A0A0A; /* Obsidian */
    --text-secondary: #777777; /* Warm Grey */
    --text-inverse: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300; /* Ultra-light for elegance */
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography Scale */
h1, h2, h3, h4, .logo-text {
    font-family: var(--font-heading);
    font-weight: 400;
}
.huge-title {
    font-size: clamp(4rem, 10vw, 12rem);
    letter-spacing: -0.02em;
    line-height: 0.9;
    text-transform: uppercase;
}
.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: 0;
    margin-bottom: 2rem;
}
.overline {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: block;
}
p.lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* Ultra-Minimal Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 4rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.6s var(--ease-out);
    background: transparent;
    mix-blend-mode: difference; /* Ensures visibility on any background */
    color: var(--text-inverse);
}
.navbar.scrolled {
    padding: 1.5rem 4rem;
    background: rgba(255, 255, 255, 0.98);
    mix-blend-mode: normal;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.logo-text {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: inherit;
    text-transform: uppercase;
}
.menu-trigger {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    background: transparent;
    transition: all 0.4s var(--ease-out);
}
.btn-primary:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}
.btn-primary.inverse {
    color: var(--text-inverse);
    border-color: var(--text-inverse);
}
.btn-primary.inverse:hover {
    background: var(--text-inverse);
    color: var(--text-primary);
}

/* Cinematic Hero with Parallax */
.hero {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: flex-end;
    padding: 6rem 4rem;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('assets/ai_hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    z-index: -1;
    filter: brightness(0.85); /* Slight darkening for text readability */
}
.hero-content {
    color: var(--text-inverse);
    max-width: 800px;
}
.hero-content p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-top: 1rem;
    letter-spacing: 0.05em;
}

/* Asymmetrical Editorial Grid */
.editorial-section {
    padding: 10rem 4rem;
    background: var(--bg-primary);
}
.asymmetric-grid {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 0;
    align-items: center;
}
.asymmetric-grid.reverse {
    grid-template-columns: 4fr 6fr;
}
.grid-image {
    width: 100%;
    height: 80vh;
    position: relative;
    overflow: hidden;
}
.grid-image.layered {
    overflow: visible;
}
.layer-base {
    width: 85%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s var(--ease-out);
}
.layer-float {
    position: absolute;
    bottom: -15%;
    right: 0;
    width: 50%;
    height: auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    z-index: 5;
    transition: transform 1.5s var(--ease-out);
}
.grid-image:hover .layer-base {
    transform: scale(1.03);
}
.grid-image:hover .layer-float {
    transform: translateY(-20px) scale(1.02);
}
.grid-image.parallax {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
/* Removed old simple img hover since we use layered classes now */
.grid-content {
    padding: 0 6rem;
    background: var(--bg-primary);
    /* Negative margin to overlap the image slightly */
    margin-left: -4rem;
    z-index: 2;
    position: relative;
}
.asymmetric-grid.reverse .grid-content {
    margin-left: 0;
    margin-right: -4rem;
    padding: 0 6rem 0 0;
    order: -1;
}

/* Full Bleed Parallax Banner */
.banner-parallax {
    height: 80vh;
    width: 100vw;
    background-image: url('assets/ai_hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-content {
    background: var(--bg-primary);
    padding: 5rem 6rem;
    text-align: center;
    max-width: 800px;
}

/* Lifestyle Gallery */
.gallery-section {
    padding: 10rem 4rem;
    background: var(--bg-primary);
}
.gallery-header {
    text-align: center;
    margin-bottom: 6rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
/* Staggered masonry effect for 2 columns */
.gallery-item:nth-child(2n) {
    margin-top: 8rem;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: transform 1.5s var(--ease-out);
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-caption {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 4rem 2rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out);
}
.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Contact/Showroom Section */
.showroom-section {
    padding: 10rem 4rem;
    background-color: var(--bg-secondary);
    color: var(--text-inverse);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
}
.showroom-info address {
    font-style: normal;
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
}
.form-minimal {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.form-minimal input, .form-minimal textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    color: var(--text-inverse);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 1rem 0;
    font-weight: 300;
}
.form-minimal input:focus, .form-minimal textarea:focus {
    outline: none;
    border-bottom-color: var(--text-inverse);
}
.form-minimal input::placeholder, .form-minimal textarea::placeholder {
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

/* Stripped Footer */
.ultra-footer {
    padding: 8rem 4rem 2rem;
    background: var(--bg-primary);
    text-align: center;
}
.footer-logo {
    font-size: clamp(3rem, 8vw, 10rem);
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    color: var(--bg-secondary);
    margin-bottom: 4rem;
    display: block;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: var(--text-inverse);
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}
.form-input:focus {
    outline: none;
    border-bottom: 1px solid var(--text-inverse);
}
.submit-btn {
    background: var(--text-inverse);
    color: var(--bg-primary);
    padding: 1.5rem 3rem;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}
.submit-btn:hover {
    background: #ccc;
}

/* Responsive */
@media (max-width: 1024px) {
    .asymmetric-grid, .asymmetric-grid.reverse, .showroom-section, .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item:nth-child(2n) {
        margin-top: 0;
    }
    .grid-content, .asymmetric-grid.reverse .grid-content {
        margin: 0;
        padding: 4rem 0;
        order: unset;
    }
    .grid-image { height: 60vh; }
    .hero { padding: 4rem 2rem; }
    .navbar { padding: 1.5rem 2rem; }
}

.nav-links { display: flex; gap: 3rem; } .nav-links a { color: var(--text-inverse); text-decoration: none; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.15em; transition: opacity 0.3s ease; } .nav-links a:hover { opacity: 0.6; } @media (max-width: 768px) { .nav-links { display: none; } }
