/* ==============================
   GLOBAL VARIABLES & RESET (Light Theme)
============================== */
:root {
    --primary-color: #d4af37; /* Gold */
    --primary-dark: #aa8c2c;
    --bg-color: #ffffff; /* Clean white */
    --surface-color: #f5f5f5; /* Light grey */
    --text-main: #111111; /* Dark text */
    --text-muted: #555555;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s 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);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 600;
}

.highlight {
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 85%;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==============================
   BUTTONS
============================== */
.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition-fast);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    padding: 12px 24px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-fast);
    width: 100%;
    margin-top: 20px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-outline {
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid var(--text-main);
    color: var(--text-main);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    border-radius: 4px;
    margin-top: 20px;
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: #ffffff;
}


/* ==============================
   NAVIGATION (Light Glassmorphism)
============================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

/* Light mode specific: Invert logo color using filter if it's white originally */
.logo img {
    filter: brightness(0); /* Makes white logo black */
    max-height: 80px;
    width: auto;
}

/* Keep logo white if we are at the top of homepage (hero has dark overlay) */
body.home .navbar:not(.scrolled) .logo img {
    filter: brightness(1); /* Keep white */
}
body.home .navbar:not(.scrolled) .nav-links a {
    color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    transition: var(--transition-fast);
    position: relative;
}

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}
body.home .navbar:not(.scrolled) .menu-toggle .bar {
    background-color: #ffffff;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 1.5rem;
    color: var(--text-main); /* Force text to be dark, ignoring parent section colors */
}

/* Marquee track */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1rem 0;
}

.marquee-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track .product-card {
    flex: 0 0 280px;
    margin-right: 2rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50%)); /* Shift exactly by 50% since there are two identical sets */
    }
}

/* ==============================
   FOOTER
============================== */
.footer {
    background-color: #f9f9f9;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.logo-footer img {
    filter: brightness(0);
    margin-bottom: 16px;
    max-height: 80px;
    width: auto;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: #999;
    font-size: 0.9rem;
}


/* Page Transition Wrappers (Animations Removed) */
#page-transition-wrapper {
    opacity: 1;
}

/* Scroll Reveals (Animations Removed) */
.reveal {
    opacity: 1;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }



/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 992px) {
    .section-title { font-size: 2rem; }
    .hero-title { font-size: 3rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease;
        border-left: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-links.active {
        right: 0;
    }
    .nav-links a {
        color: var(--text-main) !important;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 101;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--text-main) !important;
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--text-main) !important;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
