/* ===== Luxury Charcoal & Champagne Gold Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    /* Primary Colors - The Luxury Foundation */
    --bg-darker: #0A0A0A;
    --bg-dark: #121212;
    --bg-card: #1E1E1E;

    /* Accents - Champagne & Gold */
    --gold-primary: #D4AF37;
    --gold-light: #F9E29C;
    --gold-dark: #A67C00;
    --gold-muted: #8B7355;

    /* Text Colors */
    --text-main: #F5F5F7;
    --text-secondary: #A1A1A6;
    --text-muted: #6E6E73;
    --text-gold: #D4AF37;

    /* Gradients */
    --grad-gold: linear-gradient(135deg, #D4AF37 0%, #F9E29C 50%, #A67C00 100%);
    --grad-dark: linear-gradient(180deg, #1A1A1A 0%, #0A0A0A 100%);
    --grad-overlay: linear-gradient(rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.9) 100%);

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Effects */
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.15);
    --border-gold: 1px solid rgba(212, 175, 55, 0.2);
    --border-dark: 1px solid rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(30, 30, 30, 0.7);
    --glass-blur: blur(12px);

    /* Spacing */
    --section-padding: 120px 0;
}

/* ===== Reset & Global ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-darker);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-darker);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== Typography Utilities ===== */
.text-gold {
    color: var(--gold-primary);
}

.text-gradient {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title-group {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--gold-primary);
    margin-bottom: 12px;
    letter-spacing: 4px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--grad-gold);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 0;
    /* Sharp, luxury edges */
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: none;
    z-index: 1;
}

.btn-primary {
    background: var(--grad-gold);
    color: var(--bg-darker);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-darker);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--gold-primary);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 30px 0;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    padding: 15px 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: var(--border-dark);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 45px;
    height: 45px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 4px;
    line-height: 1;
}

.logo-subtext {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--gold-primary);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--grad-gold);
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===== WhatsApp Order Page (cart.html) ===== */
.cart-items-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 25px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.cart-item-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid var(--gold-primary);
}

.cart-item-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-main);
}

.cart-item-info p {
    font-size: 14px;
    color: var(--gold-primary);
    font-weight: 700;
}

.cart-qty-control {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 4px;
}

.cart-qty-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    font-weight: 800;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.cart-qty-btn:hover {
    color: var(--gold-primary);
}

.cart-item-total {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--gold-primary);
    min-width: 100px;
    text-align: right;
}

.cart-remove-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    margin-left: 20px;
    transition: 0.2s;
}

.cart-remove-btn:hover {
    color: #ff4d4d;
}

.cart-summary-card {
    background: var(--bg-card);
    border: var(--border-gold);
    padding: 40px;
    margin-top: 40px;
}

.luxury-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.luxury-total span:first-child {
    font-family: var(--font-heading);
    font-size: 20px;
    letter-spacing: 2px;
}

.luxury-total span:last-child {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--gold-primary);
    font-weight: 900;
}

@media (max-width: 600px) {
    .cart-item-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cart-item-img {
        margin: 0 auto;
    }

    .cart-qty-control {
        justify-content: center;
    }

    .cart-item-total {
        text-align: center;
    }
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: var(--bg-darker);
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--gold-primary);
    letter-spacing: 5px;
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-size: clamp(40px, 8vw, 90px);
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-text {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-main);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: 0.3s;
}

.slider-btn:hover {
    background: var(--gold-primary);
    color: var(--bg-darker);
}

.prev-btn {
    left: 40px;
}

.next-btn {
    right: 40px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.dot {
    width: 10px;
    height: 10px;
    border: 1px solid var(--gold-primary);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--gold-primary);
    width: 30px;
}

/* ===== Features & Sections ===== */
.features {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 50px 30px;
    background: var(--bg-card);
    border: var(--border-dark);
    text-align: center;
    transition: 0.4s;
}

.feature-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
}

.feature-icon {
    color: var(--gold-primary);
    margin-bottom: 30px;
}

.feature-title {
    font-size: 18px;
    margin-bottom: 15px;
}

/* ===== Product Cards ===== */
.products {
    padding: var(--section-padding);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-card {
    background: var(--bg-card);
    border: var(--border-dark);
    transition: 0.5s;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-15px);
    border-color: rgba(212, 175, 55, 0.3);
}

.product-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 30px;
}

.product-title {
    font-size: 22px;
    margin-bottom: 10px;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--gold-primary);
    margin-bottom: 20px;
    display: block;
}

/* ===== Footer ===== */
.footer {
    padding: 100px 0 50px;
    background: var(--bg-darker);
    border-top: var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-title {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--text-main);
}

.footer p,
.footer li {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    border-top: var(--border-dark);
    padding-top: 50px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
}

/* Cart Icon Button in Navbar */
.cart-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-primary);
    border-radius: 0;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}

.cart-icon-btn:hover {
    background: var(--gold-primary);
    color: var(--bg-darker);
}

.cart-icon-btn .cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: white;
    color: var(--bg-darker);
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Mobile Adjustments */
@media (max-width: 1024px) {

    .features-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
    }

    /* Add hamburger logic in JS */
    .features-grid,
    .products-grid,
    .order-form .form-group {
        margin-bottom: 25px;
    }

    .order-form .form-label {
        display: block;
        font-family: var(--font-heading);
        font-size: 11px;
        color: var(--gold-primary);
        margin-bottom: 10px;
        letter-spacing: 2px;
        font-weight: 700;
    }

    .input-container {
        position: relative;
        display: flex;
        align-items: center;
    }

    .input-icon {
        position: absolute;
        left: 20px;
        color: var(--gold-muted);
        font-size: 18px;
        pointer-events: none;
        transition: 0.3s;
    }

    .order-form input,
    .order-form textarea {
        width: 100%;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: var(--text-main);
        padding: 16px 20px 16px 55px;
        font-family: var(--font-body);
        font-size: 15px;
        outline: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0;
    }

    .order-form input:focus,
    .order-form textarea:focus {
        background: rgba(255, 255, 255, 0.05);
        border-color: var(--gold-primary);
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
    }

    .order-form input:focus+.input-icon,
    .order-form textarea:focus+.input-icon {
        color: var(--gold-primary);
        transform: scale(1.1);
    }

    .order-form textarea {
        min-height: 120px;
        resize: none;
    }

    /* ===== WhatsApp Order Page (cart.html) Premium ===== */
    .cart-items-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }

    .cart-item-row {
        display: grid;
        grid-template-columns: 100px 1fr auto auto auto;
        align-items: center;
        gap: 25px;
        padding: 25px;
        background: var(--bg-card);
        border: var(--border-dark);
        transition: 0.3s;
        position: relative;
    }

    .cart-item-row:hover {
        border-color: rgba(212, 175, 55, 0.4);
        box-shadow: var(--shadow-gold);
    }

    .cart-item-img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border: 1px solid var(--gold-primary);
    }

    .cart-item-info h3 {
        font-size: 20px;
        margin-bottom: 8px;
        color: var(--text-main);
    }

    .cart-item-info p {
        font-size: 16px;
        color: var(--gold-primary);
        font-weight: 700;
    }

    .cart-qty-control {
        display: flex;
        align-items: center;
        gap: 15px;
        background: rgba(255, 255, 255, 0.05);
        padding: 10px 20px;
        border-radius: 4px;
    }

    .cart-qty-btn {
        background: none;
        border: none;
        color: white;
        font-size: 20px;
        cursor: pointer;
        font-weight: 800;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.2s;
    }

    .cart-qty-btn:hover {
        color: var(--gold-primary);
        transform: scale(1.2);
    }

    .cart-item-total {
        font-family: var(--font-heading);
        font-size: 24px;
        color: var(--gold-primary);
        min-width: 120px;
        text-align: right;
    }

    .cart-remove-btn {
        background: transparent;
        border: none;
        color: var(--text-muted);
        font-size: 30px;
        cursor: pointer;
        margin-left: 20px;
        transition: 0.2s;
    }

    .cart-remove-btn:hover {
        color: #ff4d4d;
        transform: rotate(90deg);
    }

    .cart-summary-card {
        background: var(--bg-card);
        border: var(--border-gold);
        padding: 50px;
        margin-top: 60px;
    }

    .luxury-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 40px;
        margin-bottom: 40px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    }

    .luxury-total span:first-child {
        font-family: var(--font-heading);
        font-size: 24px;
        letter-spacing: 3px;
        color: var(--text-secondary);
    }

    .luxury-total span:last-child {
        font-family: var(--font-heading);
        font-size: 48px;
        color: var(--gold-primary);
        font-weight: 900;
        text-shadow: var(--shadow-gold);
    }

    @media (max-width: 768px) {
        .cart-item-row {
            grid-template-columns: 1fr;
            text-align: center;
            padding-bottom: 40px;
        }

        .cart-item-img {
            margin: 0 auto;
            width: 150px;
            height: 150px;
        }

        .cart-qty-control {
            justify-content: center;
            width: fit-content;
            margin: 0 auto;
        }

        .cart-item-total {
            text-align: center;
        }

        .cart-remove-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            margin: 0;
        }
    }
}

/* ===== Cart Toast Notification ===== */
.cart-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid var(--gold-primary);
    padding: 15px 25px;
    z-index: 9999;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    min-width: 320px;
}

.cart-toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toast-icon {
    font-size: 20px;
}

.toast-text {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-main);
    flex: 1;
}

.toast-link {
    font-family: var(--font-heading);
    font-size: 11px;
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--gold-primary);
    padding-bottom: 2px;
}

.toast-link:hover {
    color: white;
    border-color: white;
}