/* --- CSS Variables & Design System --- */
:root {
    /* Colors */
    --clr-bg: #FCFCFC; /* White-ish background */
    --clr-bg-alt: #F4F4F6; /* Slightly darker for contrast sections */
    --clr-primary: #4A154B; /* Deep Purple */
    --clr-primary-light: #6A0DAD;
    --clr-accent: #C8A24A; /* Warm Gold */
    --clr-accent-hover: #B88A2E;
    --clr-text: #221122;
    --clr-text-light: #6b6470;

    /* Luxe gold gradients */
    --grad-gold: linear-gradient(135deg, #9E6B1F 0%, #D9B45A 30%, #FBF3C8 50%, #C99B36 72%, #8A5E1A 100%);
    --grad-purple: linear-gradient(135deg, #3A1040 0%, #5B1A66 100%);

    /* Typography */
    --ff-headings: 'Unbounded', sans-serif;
    --ff-body: 'Manrope', sans-serif;

    /* Soft luxury shadows */
    --shadow-sm: 0 8px 24px -10px rgba(34, 17, 34, 0.12);
    --shadow-md: 0 20px 45px -20px rgba(34, 17, 34, 0.18);
    --shadow-lux: 0 40px 80px -32px rgba(74, 21, 75, 0.28);
    --shadow-gold: 0 14px 30px -10px rgba(200, 162, 74, 0.45);

    /* Transitions */
    --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-body);
    color: var(--clr-text);
    background-color: var(--clr-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-family: var(--ff-headings);
    line-height: 1.15;
    letter-spacing: -0.5px;
}

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

/* --- Custom Cursor --- */
@media (pointer: fine) {
    body, a, button, .product-card, .feature-card, .review-card, .burger-menu {
        cursor: none !important;
    }
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: rgba(212, 175, 55, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border 0.3s ease;
    display: none;
}

@media (pointer: fine) {
    .custom-cursor {
        display: block;
    }
}

.custom-cursor.hover {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--clr-accent);
}

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

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

span {
    color: var(--clr-primary);
}

/* Luxe gold gradient text for heading accents */
.hero-content h1 span,
.section-header h2 span,
.concept-text h2 span,
.vibe-text h2 span,
.footer-info h2 span {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* --- Buttons --- */
.btn-primary {
    position: relative;
    display: inline-block;
    background: var(--grad-gold);
    background-size: 200% auto;
    background-position: 0% center;
    color: #2a1c05;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--ff-headings);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
}

/* Subtle moving sheen */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    color: #2a1c05;
    background-position: 100% center;
    box-shadow: 0 18px 40px -12px rgba(200, 162, 74, 0.7);
    transform: translateY(-3px);
}

.btn-primary:hover::after {
    left: 130%;
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--clr-primary);
    color: var(--clr-primary);
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--ff-headings);
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--clr-primary);
    color: #fff;
}

/* --- Header --- */
.navbar {
    padding: 22px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: padding 0.35s ease, background-color 0.35s ease,
                box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

/* Glassmorphism on scroll */
.navbar.scrolled {
    padding: 12px 0;
    background: rgba(252, 250, 246, 0.72);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    box-shadow: 0 8px 30px -12px rgba(34, 17, 34, 0.18);
    border-bottom: 1px solid rgba(200, 162, 74, 0.25);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--ff-headings);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:not(.btn-primary) {
    letter-spacing: 0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-weight: 500;
}

.nav-links a:not(.btn-outline) {
    position: relative;
    transition: var(--transition);
}

.nav-links a:not(.btn-outline):hover {
    color: var(--clr-primary);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background: radial-gradient(120% 90% at 85% 10%, #FBF7EE 0%, #FCFCFC 45%, #F5F2F6 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -12%;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(200,162,74,0.22) 0%, rgba(255,255,255,0) 68%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(74,21,75,0.10) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    flex: 1;
    padding: 0 5%;
    z-index: 10;
}

.hero-content h1 {
    font-size: 4.6rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--clr-primary);
    letter-spacing: -1.5px;
    line-height: 1.05;
}

.hero-content h1 span {
    position: relative;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--clr-text-light);
    margin-bottom: 28px;
    max-width: 520px;
}

.offer-badge {
    position: relative;
    background: linear-gradient(135deg, rgba(200,162,74,0.12), rgba(200,162,74,0.04));
    border: 1px solid rgba(200, 162, 74, 0.35);
    border-left: 4px solid var(--clr-accent);
    padding: 18px 24px;
    border-radius: 4px 14px 14px 4px;
    margin-bottom: 40px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--clr-text);
    max-width: 520px;
    box-shadow: var(--shadow-sm);
}

.offer-badge strong {
    color: var(--clr-primary);
    display: block;
    margin-bottom: 5px;
}

.hero-image {
    flex: 1;
    z-index: 10;
    position: relative;
}

.hero-image img {
    border-radius: 24px 0 0 24px;
    box-shadow: var(--shadow-lux);
    transform: scale(1.05);
}

/* --- Concept Section --- */
.concept {
    padding: 100px 0;
    background-color: var(--clr-bg);
}

.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.concept-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--clr-primary);
}

.concept-text p {
    color: var(--clr-text-light);
    font-size: 1.1rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    position: relative;
    background: #fff;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(34, 17, 34, 0.05);
    transition: var(--transition);
    overflow: hidden;
}

/* Gold top accent line revealed on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(200, 162, 74, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 22px;
    color: var(--clr-accent);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(200,162,74,0.16), rgba(200,162,74,0.04));
    border: 1px solid rgba(200, 162, 74, 0.28);
    transition: var(--transition);
}

.feature-card:hover .icon {
    background: var(--grad-gold);
    color: #fff;
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px) rotate(-4deg);
}

.feature-card .icon svg {
    width: 38px;
    height: 38px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--clr-primary);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--clr-text-light);
}

/* --- Collection Section --- */
.collection {
    padding: 100px 0;
    background-color: var(--clr-bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--clr-primary);
}

.section-header p {
    color: var(--clr-text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Luxe gold accent bar above section headings */
.section-header h2::before,
.concept-text h2::before,
.vibe-text h2::before {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: var(--grad-gold);
    margin-bottom: 20px;
}

.section-header h2::before {
    margin-left: auto;
    margin-right: auto;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.product-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 20px 0; /* space for card shadows */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-btn {
    background: #fff;
    border: 1px solid rgba(200, 162, 74, 0.35);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    font-size: 1.2rem;
    color: var(--clr-primary);
    cursor: pointer;
    position: absolute;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--grad-gold);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-gold);
    transform: scale(1.08);
}

.prev-btn { left: -20px; }
.next-btn { right: -20px; }

.product-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(34, 17, 34, 0.05);
    transition: var(--transition);
    min-width: 300px;
    scroll-snap-align: start;
    flex: 0 0 auto;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-md);
    border-color: rgba(200, 162, 74, 0.3);
}

.img-wrapper {
    overflow: hidden;
    height: 250px;
}

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

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

.product-info {
    padding: 28px 25px;
    text-align: center;
}

.product-info h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--clr-primary);
}

.product-info .price {
    font-family: var(--ff-headings);
    font-weight: 700;
    color: var(--clr-accent);
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.center-btn {
    text-align: center;
}

/* --- Vibe Section --- */
.vibe {
    padding: 100px 0;
    background-color: var(--clr-bg);
}

.vibe-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.vibe-image {
    flex: 1;
    position: relative;
}

.vibe-image img {
    border-radius: 24px;
    box-shadow: var(--shadow-lux);
}

.overlay-box {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--clr-primary);
    color: #fff;
    padding: 30px;
    border-radius: 16px;
    font-family: var(--ff-headings);
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(74, 21, 75, 0.3);
}

.vibe-text {
    flex: 1;
}

.vibe-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--clr-primary);
}

.vibe-text p {
    color: var(--clr-text-light);
    font-size: 1.1rem;
    margin-bottom: 35px;
}

/* --- Footer --- */
.footer {
    background: linear-gradient(160deg, #3A1040 0%, #4A154B 55%, #2E0D33 100%);
    color: #fff;
    padding: 90px 0 30px;
}

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

.footer-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-info span {
    color: var(--clr-accent);
}

.footer-info p {
    color: rgba(255,255,255,0.7);
}

.footer-contacts h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--clr-accent);
}

.footer-contacts p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-action .btn-primary {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--clr-accent);
    border-bottom: 1px solid var(--clr-accent);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* --- Brands Section --- */
.brands {
    background: linear-gradient(160deg, #3A1040 0%, #4A154B 55%, #2E0D33 100%);
    color: #fff;
    padding: 48px 0;
    overflow: hidden;
    border-top: 1px solid rgba(200, 162, 74, 0.25);
    border-bottom: 1px solid rgba(200, 162, 74, 0.25);
}

.brand-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.brand-list span {
    font-family: var(--ff-headings);
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: 3px;
    color: #fff;
    transition: var(--transition);
    cursor: default;
}

.brand-list span:hover {
    color: var(--clr-accent);
    transform: scale(1.1);
}

/* --- Reviews Section --- */
.reviews {
    padding: 100px 0;
    background-color: var(--clr-bg-alt);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    position: relative;
    background: #fff;
    padding: 44px 34px;
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(34, 17, 34, 0.05);
    transition: var(--transition);
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-gold);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--clr-accent);
    font-size: 1.25rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.review-card p {
    font-style: italic;
    color: var(--clr-text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.author {
    font-family: var(--ff-headings);
    font-weight: 600;
    color: var(--clr-primary);
}

/* --- Mobile Menu --- */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background: var(--clr-primary);
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .concept-grid, .vibe-flex {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .features {
        grid-template-columns: 1fr;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        margin: 0 auto 30px;
    }
    .hero-image img {
        border-radius: 20px;
        margin-top: 40px;
    }
    .overlay-box {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        transition: right 0.4s ease;
        z-index: 100;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
        margin: 15px 0;
    }
    
    /* Burger animation */
    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* --- Universal Modal --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-content {
    background: var(--clr-bg);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    background: none; border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--clr-text-light);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--clr-accent);
}

.modal-card-view img {
    border-radius: 10px;
    margin-bottom: 20px;
}
