@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Outfit:wght@200;300;400;500;600&display=swap');

:root {
    /* Color Palette - Elegant & Sophisticated */
    --primary: #C5A059;
    /* Muted Gold */
    --primary-dark: #A68041;
    --primary-light: #DFCA98;

    --bg-main: #FFFFFF;
    --bg-soft: #FBF9F7;
    /* Warm Off-white */
    --bg-accent: #1A1A1A;
    /* Deep Dark for contrast */

    --text-main: #1A1A1A;
    --text-muted: #6B6B6B;
    --text-light: #FFFFFF;

    --border: rgba(0, 0, 0, 0.08);
    --glass: rgba(255, 255, 255, 0.85);

    /* Spacing & Sizing */
    --container-width: 1400px;
    --header-height: 90px;
    --sidebar-width: 280px;

    /* Effects */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.serif {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
.btn {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 120px 0;
}

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-60 {
    margin-bottom: 60px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background: #D1D1D1;
    border-radius: 10px;
    border: 2px solid var(--bg-soft);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- Layout Components --- */

/* Header */
header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: transparent;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(15px);
    height: 75px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo span {
    font-weight: 400;
    color: var(--primary);
    font-style: italic;
}

nav ul {
    display: flex;
    gap: 40px;
}

nav ul li a {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    position: relative;
    padding: 10px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.cart-link {
    position: relative;
    font-size: 1.2rem;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--bg-soft);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-soft), #fff);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-sub {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text-main);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    max-width: 500px;
}

.btn-luxury {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 45px;
    background: var(--bg-accent);
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    transition: var(--transition);
}

.btn-luxury:hover::before {
    width: 100%;
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-45%);
    width: 45%;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-visual img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Product Cards */
.products-section {
    background: #fff;
}

.section-head {
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-head span {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    display: block;
}

.section-head h2 {
    font-size: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.modern-card {
    background: transparent;
    position: relative;
    transition: var(--transition);
}

.card-media {
    aspect-ratio: 4/5;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
}

.card-media img {
    width: 75%;
    height: auto;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.modern-card:hover .card-media img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.modern-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.card-btn {
    width: 100%;
    padding: 15px;
    background: #fff;
    color: var(--text-main);
    text-align: center;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.card-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.card-price {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 400;
}

/* Footer Refined */
footer {
    background: var(--bg-accent);
    color: var(--text-light);
    padding: 100px 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 80px;
}

.f-about h2 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.f-about p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 350px;
}

.f-links h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.f-links li {
    margin-bottom: 15px;
}

.f-links li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.f-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s, transform 1s;
}

[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 4rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column-reverse;
        padding-top: 100px;
        height: auto;
        text-align: center;
    }

    .hero::before {
        display: none;
    }

    .hero-visual {
        position: relative;
        width: 80%;
        transform: none;
        right: 0;
        margin-bottom: 50px;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 100%;
        padding-bottom: 80px;
    }

    .hero p {
        margin: 0 auto 40px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }
}