/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, #1a3a26 0%, #2D5A3D 30%, #3d7a52 60%, #5a9a6e 100%);
}

.hero-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.03) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

/* Navbar */
.navbar-scrolled {
    background: rgba(253, 252, 249, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(45, 90, 61, 0.08);
}

.navbar-scrolled .nav-logo-text {
    color: #1d3d28;
}

.navbar-scrolled .nav-link {
    color: #4a6b52;
}

.navbar-scrolled .nav-link:hover {
    color: #2D5A3D;
}

.navbar-scrolled .mobile-line {
    background: #1d3d28;
}

.navbar-scrolled .btn-primary {
    background: #2D5A3D;
    color: white;
}

/* Hero Animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(8deg); }
}

.hero-float-1 { animation: float-slow 8s ease-in-out infinite; }
.hero-float-2 { animation: float-medium 6s ease-in-out infinite; }
.hero-float-3 { animation: float-fast 5s ease-in-out infinite; }
.hero-float-4 { animation: float-medium 7s ease-in-out infinite; }

/* Hero Content Animation */
.hero-badge {
    animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero-headline {
    animation: fadeUp 0.8s ease-out 0.4s both;
}

.hero-subtitle {
    animation: fadeUp 0.8s ease-out 0.6s both;
}

.hero-cta {
    animation: fadeUp 0.8s ease-out 0.8s both;
}

.hero-stats {
    animation: fadeUp 0.8s ease-out 1s both;
}

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

/* Buttons */
.btn-primary {
    background: #2D5A3D;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #244a31;
    color: white;
}

.btn-secondary {
    transition: all 0.3s ease;
}

/* Section Styles */
.label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2D5A3D;
    background: rgba(45, 90, 61, 0.08);
    padding: 0.4em 1em;
    border-radius: 100px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    color: #1d3d28;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #4a6b52;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Menu Cards */
.menu-card {
    background: white;
    border-radius: 1.25rem;
    padding: 0.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 1px 3px rgba(45, 90, 61, 0.04);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(45, 90, 61, 0.12);
}

.menu-card-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.menu-card-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.menu-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2D5A3D;
    background: rgba(45, 90, 61, 0.08);
    padding: 0.3em 0.8em;
    border-radius: 100px;
    margin-top: -0.5rem;
    margin-left: 0.5rem;
    position: relative;
    z-index: 1;
}

.menu-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1d3d28;
}

.menu-card-desc {
    padding: 0 0.5rem;
}

/* About Section */
.about-stat {
    border-left: 2px solid rgba(45, 90, 61, 0.15);
    padding-left: 1.25rem;
}

.about-stat-label {
    font-size: 0.8rem;
}

/* Gallery */
.gallery-item {
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(45, 90, 61, 0.15);
}

.gallery-img {
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

/* Inputs */
.input-field {
    border: 1.5px solid #e8e4dc;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    font-family: 'Inter', system-ui, sans-serif;
    color: #1d3d28;
    background: #FDFCF9;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.input-field::placeholder {
    color: #a09888;
}

.input-field:focus {
    border-color: #2D5A3D;
    background: white;
    box-shadow: 0 0 0 4px rgba(45, 90, 61, 0.08);
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Mobile Menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

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

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

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

/* Mobile Links */
.mobile-link {
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}
