/* ========================================
   Naan Pizza Co. — Custom Styles
   Classic & Elegant · Navy + Gold
======================================== */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background: #c9a84c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4b85e;
}

/* ========================================
   Navigation
======================================== */
.nav-link {
    color: #3d2b1f;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9a84c;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #c9a84c;
}

/* Dark nav */
nav.scrolled .nav-link {
    color: #faf8f4;
}

nav.scrolled .nav-link:hover {
    color: #c9a84c;
}

nav.scrolled .nav-logo-text {
    color: #faf8f4;
}

nav.scrolled .menu-line {
    background: #faf8f4;
}

/* Mobile menu */
.mobile-menu-link {
    font-family: 'Playfair Display', Georgia, serif;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu.open .menu-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu.open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* ========================================
   Hero Animations
======================================== */
.hero-subtitle {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-title {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-desc {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-cta {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.hero-stats {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 1s;
}

.hero-image-wrapper {
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Floating card */
.floating-card {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ========================================
   Reveal Animations (below fold)
======================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-subtitle,
    .hero-title,
    .hero-desc,
    .hero-cta,
    .hero-stats {
        opacity: 1;
        transform: none;
        animation: none;
    }
    
    .hero-image-wrapper {
        opacity: 1;
        transform: none;
        animation: none;
    }
    
    .floating-card {
        animation: none;
        transform: none;
    }
}

/* ========================================
   Custom Utilities
======================================== */
.text-cream-200 {
    color: #ede5d8;
}

.text-cream-200\/60 {
    color: rgba(237, 229, 216, 0.6);
}

.text-cream-200\/70 {
    color: rgba(237, 229, 216, 0.7);
}

.text-cream-50\/30 {
    color: rgba(250, 248, 244, 0.3);
}

.text-cream-50\/60 {
    color: rgba(250, 248, 244, 0.6);
}

.bg-cream-200\/10 {
    background-color: rgba(237, 229, 216, 0.1);
}

/* Selection */
::selection {
    background: #c9a84c;
    color: #0a1628;
}

/* Focus */
:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
}
