@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: #F9FAFB;
    color: #1F2937;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark {
    background-color: #101010;
    color: #F3F4F6;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.dark .glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Navigation bar specific styles - solid with minimal transparency */
nav.glass-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.dark nav.glass-card {
    background: rgba(16, 16, 16, 0.95) !important;
}

/* Mobile menu specific styles */
.mobile-menu {
    background: rgba(255, 255, 255, 0.95) !important;
}

.dark .mobile-menu {
    background: rgba(20, 20, 20, 0.95) !important;
}

/* Pre-order modal specific styles */
.pre-order-modal {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dark .pre-order-modal {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pre-order-modal h3 {
    color: #1F2937;
}

.dark .pre-order-modal h3 {
    color: #D4AF37;
}

.gold-accent {
    color: #D4AF37;
}

/* Dark shadow for gold text in hero */
#hero .gold-accent {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Dark shadow for order button in hero */
#hero button.gold-bg,
#hero a.gold-bg,
#hero a.glass-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.gold-border {
    border-color: #D4AF37;
}

.gold-bg {
    background-color: #D4AF37;
}

/* Hero pattern background */
.hero-pattern {
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23D4AF37" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.smooth-scroll {
    scroll-behavior: smooth;
}

.bento-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

.theme-toggle {
    width: 56px;
    height: 32px;
    background: #E5E7EB;
    border-radius: 16px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dark .theme-toggle {
    background: #374151;
}

.theme-toggle-slider {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark .theme-toggle-slider {
    transform: translateX(24px);
    background: #1F2937;
}

.theme-icon {
    width: 14px;
    height: 14px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    color: #F59E0B;
}

.theme-icon-sun {
    position: absolute;
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.dark .theme-icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

.theme-icon-moon {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg) scale(0);
    color: #FBBF24;
}

.dark .theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.menu-item {
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: scale(1.02);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Image styles */
img {
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-width: 100%;
    height: auto;
}

section img,
.menu-item img {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.dark section img,
.dark .menu-item img {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

/* Prevent horizontal scroll */
.container {
    max-width: 100%;
    overflow-x: hidden;
}

section {
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    * {
        max-width: 100%;
    }
    
    img {
        max-width: 100%;
        width: 100%;
    }
}

/* Hide SMS button on desktop, show only on mobile */
.sms-button-mobile {
    display: flex;
}

@media (min-width: 768px) {
    .sms-button-mobile {
        display: none !important;
    }
}