:root {
    --color-bg: #0a0a0a;
    --color-surface: rgba(255, 255, 255, 0.05);
    --color-surface-hover: rgba(255, 255, 255, 0.08);
    --color-border: rgba(255, 255, 255, 0.1);
    --color-text: #f0f0f0;
    --color-text-muted: #a0a0a0;
    --color-accent: #d4af37; /* Gold */
    --color-accent-hover: #b5952f;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --glass-blur: blur(12px);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Film Grain Texture */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998; /* Behind custom cursor */
    opacity: 0.04; /* Ultra subtle opacity */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

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

/* Glassmorphism Utilities */
.glass {
    background: var(--color-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--color-border);
}

.glass-card {
    background: var(--color-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Buttons */
button, .btn-primary, .btn-secondary, a {
    font-family: var(--font-body);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #000;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: scale(1.05);
}

.btn-secondary {
    color: var(--color-text);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background: var(--color-surface-hover);
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.badge.white {
    background: white;
    color: black;
}

/* Fixed Logo */
.logo-fixed {
    position: fixed;
    top: 30px;
    left: 40px;
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    z-index: 2000;
    pointer-events: none;
    mix-blend-mode: difference;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Floating Menu Button */
.menu-toggle {
    position: fixed;
    top: 30px;
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, opacity 0.4s ease;
}

/* Hide on Scroll Down */
.scrolled-down {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-20px) !important;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.hamburger {
    width: 24px;
    height: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.menu-toggle.active .hamburger span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
}

/* Overlay Menu */
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1500;
    pointer-events: none;
    visibility: hidden;
}

.overlay-menu.active {
    pointer-events: auto;
    visibility: visible;
}

.overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    clip-path: circle(0% at calc(100% - 70px) 60px);
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.overlay-menu.active .overlay-bg {
    clip-path: circle(150% at calc(100% - 70px) 60px);
}

.overlay-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    transition-delay: 0s;
}

.overlay-menu.active .overlay-content {
    opacity: 1;
    transition-delay: 0.4s;
}

.overlay-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

.overlay-link {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
    transform: translateY(30px);
    opacity: 0;
}

.overlay-menu.active .overlay-link {
    transform: translateY(0);
    opacity: 1;
}

.overlay-menu.active .overlay-link:nth-child(1) { transition: transform 0.6s 0.4s, opacity 0.6s 0.4s, color 0.3s; }
.overlay-menu.active .overlay-link:nth-child(2) { transition: transform 0.6s 0.5s, opacity 0.6s 0.5s, color 0.3s; }
.overlay-menu.active .overlay-link:nth-child(3) { transition: transform 0.6s 0.6s, opacity 0.6s 0.6s, color 0.3s; }
.overlay-menu.active .overlay-link:nth-child(4) { transition: transform 0.6s 0.7s, opacity 0.6s 0.7s, color 0.3s; }

.overlay-link:hover {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-accent);
}

.overlay-link::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    color: var(--color-accent);
    -webkit-text-stroke: 0px transparent;
    overflow: hidden;
    transition: width 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    white-space: nowrap;
}

.overlay-link:hover::before {
    width: 100%;
}

.link-num {
    font-family: var(--font-body);
    font-size: 1.2rem;
    position: absolute;
    top: 20px;
    left: -40px;
    color: var(--color-accent);
    opacity: 0.5;
}

.overlay-footer {
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s 0.8s ease;
}

.overlay-menu.active .overlay-footer {
    transform: translateY(0);
    opacity: 1;
}

.overlay-footer p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(10,10,10,1)), url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center 0px;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-content {
    max-width: 800px;
    margin-top: 80px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--color-accent);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Features */
.features {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-icon {
    color: var(--color-accent);
    margin-bottom: 1rem;
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Global Section Padding */
.section-padding {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Bento Catalog */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.bento-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.bento-item.item-main {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 1.5rem;
    border-radius: 12px;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.bento-item:hover .bento-content {
    transform: translateY(0);
    opacity: 1;
}

.bento-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.bento-content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.explore-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Offers */
.offers-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0;
    overflow: hidden;
}

.offers-text {
    flex: 1;
    padding: 4rem;
}

.offers-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.offers-text p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.offers-image {
    flex: 1;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
}

.offers-image img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    margin-top: -15%;
    will-change: transform;
}

/* Recommendations */
.product-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    padding: 1rem;
    perspective: 1000px;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card > div {
    transform: translateZ(40px);
}

.product-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 350px;
    margin-bottom: 1.5rem;
}

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

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

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.wishlist-btn:hover {
    background: var(--color-accent);
    color: black;
}

.product-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.price {
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 1rem;
}

.add-cart {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: 1px solid var(--color-border);
    color: white;
    border-radius: 8px;
    transition: all 0.3s;
}

.add-cart:hover {
    background: white;
    color: black;
}

/* Footer */
.footer {
    padding: 2rem;
}

.footer-glass {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

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

.footer-hours h3, .footer-contact h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-hours ul, .footer-contact ul {
    list-style: none;
}

.footer-hours li, .footer-contact li {
    margin-bottom: 0.8rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-hours span {
    color: white;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .bento-item.item-main {
        grid-column: span 1;
        grid-row: span 1;
        height: 400px;
    }

    .bento-item {
        height: 300px;
    }

    .offers-container {
        flex-direction: column;
    }

    .offers-text {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .nav-links {
        display: none;
    }
}
