@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&display=swap');

:root {
    --bg-light: #F8F9FA;
    --bg-dark: #111111;
    --text-primary: #1A1A1A;
    --text-muted: #666666;
    --gold: #B18F43;
    --gold-hover: #8C6F2A;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.08);
    --shadow-premium: 0 8px 32px rgba(0, 0, 0, 0.06);
    --padding-side: 50px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.title-large {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.text-gold {
    color: var(--gold);
}

/* Buttons */
.btn-gold {
    background-color: var(--gold);
    color: #FFFFFF;
    padding: 14px 36px;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    box-shadow: 0 4px 20px rgba(177, 143, 67, 0.35);
    transform: translateY(-2px);
    color: #FFFFFF;
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 13px 36px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-outline:hover {
    background: var(--gold);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(177, 143, 67, 0.35);
}

/* Glass Panels */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-premium);
}

/* Hover Zoom */
.hover-zoom {
    overflow: hidden;
    border-radius: 16px;
}

.hover-zoom img {
    transition: transform 0.6s ease;
}

.hover-zoom:hover img {
    transform: scale(1.08);
}

/* ========================= NAVBAR ========================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 22px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    padding: 15px 50px;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

/* Default navbar text = white for hero overlay */
.nav-brand {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin: 0 18px;
    font-size: 1rem;
    font-weight: 500;
    color: #FFFFFF;
    transition: color 0.3s ease;
}

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

.nav-icons a {
    color: #FFFFFF;
    transition: color 0.3s ease;
}

.nav-icons a:hover {
    color: var(--gold);
}

/* When scrolled, navbar links become dark */
.navbar.scrolled .nav-links a {
    color: var(--text-primary);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--gold);
}

.navbar.scrolled .nav-icons a {
    color: var(--text-primary);
}

.navbar.scrolled .nav-icons a:hover {
    color: var(--gold);
}

/* ========================= SCROLLBAR ========================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

/* ===================== PRODUCT CARD ===================== */
.product-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.product-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.product-price {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 600;
}

.add-to-cart-slide {
    position: absolute;
    bottom: -55px;
    left: 0;
    width: 100%;
    background: var(--gold);
    color: #FFFFFF;
    text-align: center;
    padding: 15px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: bottom 0.35s ease;
    cursor: pointer;
    z-index: 5;
}

.product-card:hover .add-to-cart-slide {
    bottom: 0;
}

/* Badge */
.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold);
    color: #FFFFFF;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 2;
}

/* ===================== FORM INPUTS ===================== */
.form-control {
    width: 100%;
    padding: 14px 16px;
    background: #FFFFFF;
    border: 1px solid #DDD;
    color: var(--text-primary);
    border-radius: 8px;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(177, 143, 67, 0.12);
}

/* ===================== LOADER ===================== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: var(--gold);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.6;
        transform: scale(0.95);
    }
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
    transition: 0.5s ease-out;
}

/* ==================== SECTION HELPERS ==================== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.section-title .divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
}

/* ==================== FOOTER ==================== */
footer a:hover {
    color: var(--gold) !important;
}

/* ==================== RESPONSIVE ==================== */
/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    :root {
        --padding-side: 20px;
    }

    .title-large {
        font-size: 3rem;
    }

    .navbar {
        padding: 15px var(--padding-side);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 20px 0;
        font-size: 1.5rem;
        color: #FFF !important;
    }

    .nav-toggle {
        display: block !important;
        font-size: 1.5rem;
        color: var(--gold);
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-nav-icons {
        display: flex !important;
        align-items: center;
        gap: 15px;
        color: inherit;
    }

    /* Product Page Grid */
    .product-grid-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 40px var(--padding-side) !important;
    }

    .product-header-section {
        padding: 100px var(--padding-side) 40px !important;
    }

    /* Shop Grid */
    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
        gap: 20px !important;
        padding: 30px var(--padding-side) !important;
    }

    /* Home Collection Grid */
    .home-collection-grid {
        grid-template-columns: 1fr !important;
    }

    .home-collection-item-large {
        height: 450px !important;
    }

    /* Section Padding Global */
    section {
        padding-left: var(--padding-side) !important;
        padding-right: var(--padding-side) !important;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    /* Cart Grid */
    .cart-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .glass-panel table thead {
        display: none;
    }

    .glass-panel table tr {
        display: block;
        padding: 20px;
        border-bottom: 2px solid var(--glass-border);
    }

    .glass-panel table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0 !important;
        border: none !important;
    }

    .glass-panel table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        margin-right: 15px;
    }

    .product-info-cell {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .responsive-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

@media (max-width: 600px) {
    .title-large {
        font-size: 2.2rem;
    }

    .product-img {
        height: 280px;
    }

    .hero-btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-gold,
    .btn-outline {
        width: 100%;
        padding: 12px 20px;
    }

    .shop-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Helper Classes for JS */
.nav-toggle {
    display: none;
}