:root {
    /* Layered Dark Premium Fashion Palette */
    --bg-main: #17171A;         /* Deep charcoal (Header, Footer, Gallery) */
    --bg-section: #1C1C20;      /* Soft graphite (Hero, Editorial, Brand Intro) */
    --bg-light: #24252A;        /* Lighter graphite (Product Section, Contact Section) */
    --bg-card: #2B2C32;         /* Card surface (Product Cards, Location Card) */
    
    --brand-gold: #D8B56A;      /* Champagne gold */
    --brand-gold-light: #E2C47A; /* Muted gold hover */
    --brand-blue: #009cf0;      /* Bright logo blue (Sparingly) */
    
    --text-main: #F4F0E8;       /* Warm white / soft ivory */
    --text-muted: #A0A0A5;      /* Muted warm grey */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
}

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

img {
    max-width: 100%;
    display: block;
}

/* Header */
.header {
    background: var(--bg-main);
    border-bottom: 1px solid rgba(216, 181, 106, 0.3); /* Subtle gold */
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.header-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0.8rem 3rem; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px; 
    width: auto;
}

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

.nav-links a {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
    font-weight: 400;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--brand-gold);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-gold);
}

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

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--brand-gold);
}

/* Hero Section */
.hero {
    display: flex;
    min-height: 80vh;
    background-color: var(--bg-section);
}

.hero-img {
    flex: 5.5;
    background-image: url('../assets/products/NBDSN-552/image-01.jpg');
    background-size: cover;
    background-position: center top;
}

.hero-content {
    flex: 4.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem;
    background-color: var(--bg-section);
    color: var(--text-main);
    position: relative;
    border-left: 1px solid rgba(216, 181, 106, 0.1);
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    border: 1px solid rgba(216, 181, 106, 0.3);
    pointer-events: none;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--brand-gold);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-title {
    font-size: 4rem;
    color: var(--text-main);
    letter-spacing: 2px;
    margin-bottom: 2rem;
    line-height: 1.1;
    font-weight: 500;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    font-weight: 300;
    max-width: 450px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--brand-gold);
    color: var(--bg-main);
}

.btn-primary:hover {
    background-color: var(--brand-gold-light);
    color: var(--bg-main);
}

.btn-outline {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

.btn-outline:hover {
    background-color: var(--brand-gold);
    color: var(--bg-main);
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Brand Intro */
.brand-intro {
    background-color: var(--bg-section);
    padding: 8rem 2rem;
    text-align: center;
    color: var(--text-main);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-intro::after {
    content: '';
    display: block;
    width: 1px;
    height: 60px;
    background-color: var(--brand-gold);
    margin: 4rem auto 0;
}

.brand-intro h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--brand-gold);
    letter-spacing: 1px;
}

.brand-intro p {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* Featured Section / Products */
.section {
    background-color: var(--bg-light);
    padding: 7rem 2rem;
}

.section-inner {
    max-width: 1500px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--brand-gold);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    margin-bottom: 4rem;
}

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 3rem 1.5rem; }

.product-card {
    background: transparent;
    transition: var(--transition);
}

.product-img-wrapper {
    position: relative;
    padding-top: 135%; 
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 1.5rem;
    background-color: var(--bg-main);
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(23, 23, 26, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay span {
    background: var(--brand-gold);
    color: var(--bg-main);
    padding: 1rem 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
}

.product-info {
    text-align: center;
    background: var(--bg-card);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.product-code {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.product-price {
    color: var(--brand-gold);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.product-card:hover .product-code {
    color: var(--brand-blue);
}

/* Editorial Split */
.editorial-split {
    display: flex;
    background: var(--bg-section);
    align-items: stretch;
}

.editorial-img {
    flex: 1;
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

.editorial-content {
    flex: 1;
    padding: 6rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-section);
    color: var(--text-main);
    position: relative;
}

.editorial-content::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    border: 1px solid rgba(216, 181, 106, 0.2);
    pointer-events: none;
}

.editorial-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: var(--brand-gold);
    font-weight: 400;
}

.editorial-content p {
    color: var(--text-muted);
}

/* CTA Banner */
.cta-banner {
    background-color: var(--bg-light);
    color: var(--text-main);
    text-align: center;
    padding: 7rem 2rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-banner::before {
    content: '';
    display: block;
    width: 1px;
    height: 60px;
    background-color: var(--brand-gold);
    margin: 0 auto 2.5rem;
}

.cta-banner h2 {
    color: var(--text-main);
    font-size: 3.2rem;
    margin-bottom: 3.5rem;
    letter-spacing: 1px;
}

/* Instagram Section */
.instagram-section {
    text-align: center;
    padding: 7rem 2rem;
    background-color: var(--bg-section);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.instagram-section h2 {
    font-size: 2.6rem;
    color: var(--text-main);
    letter-spacing: 1px;
}

.instagram-handle {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--brand-blue); /* Logo blue accent */
    margin: 1.5rem 0 2.5rem;
}

/* Gallery Masonry */
.gallery-section {
    background-color: var(--bg-main);
    padding: 4rem 2rem 8rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-rows: 320px;
    grid-auto-flow: dense;
    gap: 1.5rem;
    max-width: 1500px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease, opacity 0.4s;
    opacity: 0.9;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(23, 23, 26, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    border: 1px solid rgba(216, 181, 106, 0);
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    border: 6px solid rgba(216, 181, 106, 0.4);
}

.gallery-overlay span {
    color: var(--bg-main);
    border: 1px solid var(--brand-gold);
    padding: 1rem 2rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    background: var(--brand-gold);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(23, 23, 26, 0.98);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    background: none;
    border: none;
    color: var(--brand-gold);
    font-size: 3.5rem;
    cursor: pointer;
    font-weight: 300;
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(23, 23, 26, 0.92);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal-content {
    background: var(--bg-light);
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    display: flex;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.05);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 3rem;
    cursor: pointer;
    color: var(--text-main);
    z-index: 10;
}

.modal-gallery {
    flex: 1.2;
    padding: 3rem;
    background: var(--bg-section);
}

.modal-main-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.modal-thumbs {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.modal-thumbs img {
    width: 80px;
    height: 105px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
}

.modal-thumbs img.active,
.modal-thumbs img:hover {
    opacity: 1;
}

.modal-thumbs img.active {
    border-bottom: 2px solid var(--brand-gold);
}

.modal-info {
    flex: 1;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-light);
}

.modal-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--brand-gold);
}

.modal-price {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
}

.modal-wa-btn {
    background: var(--brand-blue);
    color: var(--text-main);
    border-color: var(--brand-blue);
    display: block;
    text-align: center;
}

.modal-wa-btn:hover {
    background: #0081c9;
    border-color: #0081c9;
    color: white;
}

/* Contact Page Form & Layout */
.contact-section {
    background-color: var(--bg-main);
    padding: 2rem 2rem 6rem;
}

.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto 5rem;
    background: var(--bg-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-left {
    flex: 1;
    background: var(--bg-section);
    color: var(--text-main);
    padding: 4rem 3rem;
}

.contact-left h2 {
    color: var(--brand-gold);
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
}

.contact-left p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.contact-right {
    flex: 1;
    padding: 4rem 3rem;
}

.contact-right h3 {
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

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

.form-group label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--bg-card);
    color: var(--text-main);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-gold);
}

.contact-form .btn {
    background: var(--brand-gold);
    color: var(--bg-main);
    border: none;
    margin-top: 1rem;
}

.contact-form .btn:hover {
    background: var(--brand-gold-light);
    color: var(--bg-main);
}

.contact-details {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-details p {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.contact-details a {
    color: var(--brand-blue);
    font-weight: 400;
}

.contact-details a:hover {
    color: var(--brand-gold);
}

/* Location Card */
.location-section {
    max-width: 1200px;
    margin: 0 auto 6rem;
}

.location-card {
    background: var(--bg-card);
    border: 1px solid rgba(216, 181, 106, 0.2);
    padding: 3.5rem;
    text-align: center;
    color: var(--text-main);
}

.location-card h3 {
    color: var(--brand-gold);
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}

.location-card p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.location-card .btn {
    background: transparent;
    color: var(--brand-blue);
    border: 1px solid var(--brand-blue);
}

.location-card .btn:hover {
    background: var(--brand-blue);
    color: var(--text-main);
}

/* Footer */
.footer {
    background-color: var(--bg-main);
    color: var(--text-main);
    padding: 5rem 2rem 1.5rem; 
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--brand-gold);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-col p, .footer-col a {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: block;
    font-size: 1rem;
}

.footer-col a:hover {
    color: var(--brand-gold);
}

/* ONE-LINE COMPACT FOOTER (SUNSTORE MATCH) */
.footer-bottom {
    max-width: 1500px;
    margin: 0 auto;
    padding-top: 1.5rem; 
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: nowrap; /* Forces one line on desktop */
}

.nrootz-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nrootz-link:hover {
    color: var(--text-main);
}

.nrootz-link img {
    height: 14px; /* Small and inline */
    display: inline-block;
    vertical-align: middle;
}

/* Responsive Mobile First */
@media (max-width: 1100px) {
    .editorial-split {
        flex-direction: column;
    }
    .editorial-img {
        min-height: 450px;
    }
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.8rem 1.5rem;
    }
    .logo img {
        height: 75px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-main);
        border-top: 1px solid rgba(216, 181, 106, 0.2);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        gap: 1.5rem;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: block;
        padding: 0.5rem;
    }
    
    /* Mobile Hero */
    .hero {
        flex-direction: column;
        min-height: auto;
    }
    .hero-img {
        min-height: 55vh;
        flex: none;
    }
    .hero-content {
        padding: 3rem 1.5rem;
        flex: none;
        border-left: none;
        border-top: 1px solid rgba(216, 181, 106, 0.1);
    }
    .hero-content::before {
        top: 1rem; bottom: 1rem; left: 1rem; right: 1rem;
    }
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .btn-group {
        flex-direction: column;
        gap: 1rem;
    }
    .btn-group .btn {
        width: 100%;
    }

    /* Sections */
    .section, .gallery-section, .contact-section {
        padding: 4rem 1rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .section-subtitle {
        margin-bottom: 2rem;
    }
    
    .brand-intro {
        padding: 4rem 1.5rem;
    }
    .brand-intro h2 {
        font-size: 2.2rem;
    }
    .brand-intro p {
        font-size: 1.1rem;
    }

    /* Modals */
    .modal-content-wrapper {
        padding: 1rem;
    }
    .modal-content {
        flex-direction: column;
    }
    .modal-gallery {
        padding: 1.5rem;
    }
    .modal-info {
        padding: 2rem 1.5rem;
    }
    .modal-close {
        top: 0.5rem;
        right: 1rem;
        font-size: 2.5rem;
    }

    /* Contact & Editorial */
    .contact-left, .contact-right, .editorial-content {
        padding: 3rem 1.5rem;
    }
    
    /* Location */
    .location-card {
        padding: 2rem 1.5rem;
    }
    .location-card h3 {
        font-size: 1.8rem;
    }
    
    /* Grid */
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem 1rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        grid-auto-rows: 200px;
        gap: 1rem;
    }
    .gallery-item.large, .gallery-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Footer Mobile - Allows natural wrap if needed, but keeps compact */
    .footer-bottom-content {
        flex-wrap: wrap;
        gap: 0.2rem;
        font-size: 0.8rem;
    }
}

/* Compact Page Intros */
.page-top-section {
    padding-top: 4rem !important;
    padding-bottom: 5rem !important;
}
.compact-subtitle {
    margin-bottom: 2.5rem !important;
}
