/* ============================================
   Ginocchio Bar & Grill — Styles
   ============================================ */

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

:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;

    --cream-50: #fefdf8;
    --cream-100: #fefce8;
    --cream-200: #fef9c3;
    --cream-500: #f5f0e1;
    --cream-600: #e8e0cc;

    --text-dark: #1a1a1a;
    --text-mid: #3d3d3d;
    --text-light: #6b6b6b;
    --text-muted: #949494;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border-radius: 6px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--emerald-700);
    color: #ffffff;
    border-color: var(--emerald-700);
}

.btn-primary:hover {
    background-color: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--cream-50);
    border-color: rgba(254, 253, 248, 0.5);
}

.btn-outline:hover {
    background-color: rgba(254, 253, 248, 0.1);
    border-color: rgba(254, 253, 248, 0.8);
}

.btn-large {
    padding: 16px 32px;
    font-size: 0.938rem;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all var(--transition);
}

.navbar.scrolled {
    background-color: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--cream-50);
    letter-spacing: -0.01em;
    transition: color var(--transition);
}

.navbar.scrolled .nav-logo {
    color: var(--emerald-800);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(254, 253, 248, 0.8);
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--cream-50);
}

.navbar.scrolled .nav-link {
    color: var(--text-light);
}

.navbar.scrolled .nav-link:hover {
    color: var(--text-dark);
}

.nav-cta {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cream-50);
    padding: 10px 20px;
    border: 1.5px solid rgba(254, 253, 248, 0.4);
    border-radius: 6px;
    transition: all var(--transition);
}

.nav-cta:hover {
    background-color: rgba(254, 253, 248, 0.15);
    border-color: rgba(254, 253, 248, 0.7);
}

.navbar.scrolled .nav-cta {
    color: var(--emerald-700);
    border-color: var(--emerald-200);
}

.navbar.scrolled .nav-cta:hover {
    background-color: var(--emerald-50);
    border-color: var(--emerald-400);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--cream-50);
    transition: all var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background-color: var(--text-dark);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--emerald-950) 0%,
        var(--emerald-800) 25%,
        var(--emerald-700) 50%,
        #0d7a5a 75%,
        var(--emerald-600) 100%
    );
    z-index: 0;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(2, 44, 34, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(16, 185, 129, 0.2) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-300);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--cream-50);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: italic;
    color: var(--emerald-300);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: rgba(254, 253, 248, 0.7);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.hero-scroll span {
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(254, 253, 248, 0.4);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(254, 253, 248, 0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 120px 0;
    background-color: var(--cream-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text {
    padding: 20px 0;
}

.about-text .lead {
    font-size: 1.125rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--cream-600);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9375rem;
    color: var(--text-mid);
}

.feature-item svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* ============================================
   Menu
   ============================================ */
.menu {
    padding: 120px 0;
    background-color: var(--emerald-900);
}

.menu-header {
    text-align: center;
    margin-bottom: 64px;
}

.menu-header .section-eyebrow {
    color: var(--emerald-400);
}

.menu-header .section-title {
    color: var(--cream-50);
}

.menu-header .section-subtitle {
    color: rgba(254, 253, 248, 0.6);
    margin: 0 auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.menu-card {
    background-color: rgba(254, 253, 248, 0.05);
    border: 1px solid rgba(254, 253, 248, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition);
}

.menu-card:hover {
    background-color: rgba(254, 253, 248, 0.08);
    border-color: rgba(254, 253, 248, 0.15);
    transform: translateY(-4px);
}

.menu-card-image {
    aspect-ratio: 500/350;
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.menu-card-body {
    padding: 32px 28px;
}

.menu-card-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-400);
    margin-bottom: 8px;
}

.menu-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--cream-50);
    margin-bottom: 24px;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(254, 253, 248, 0.06);
}

.menu-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-list li span:first-child {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--cream-50);
    white-space: nowrap;
}

.menu-list li span:last-child {
    font-size: 0.8125rem;
    color: rgba(254, 253, 248, 0.5);
    text-align: right;
    line-height: 1.4;
}

.menu-note {
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(254, 253, 248, 0.4);
    margin-top: 48px;
}

/* ============================================
   Visit
   ============================================ */
.visit {
    padding: 120px 0;
    background-color: var(--cream-50);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.visit-info {
    padding: 20px 0;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 40px 0;
    padding: 40px 0;
    border-top: 1px solid var(--cream-600);
    border-bottom: 1px solid var(--cream-600);
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.visit-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: var(--emerald-50);
    color: var(--emerald-700);
    flex-shrink: 0;
}

.visit-detail-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.visit-detail-value {
    font-size: 0.9375rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.visit-detail-value a {
    color: var(--emerald-700);
    transition: color var(--transition);
}

.visit-detail-value a:hover {
    color: var(--emerald-500);
}

.visit-map {
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--emerald-950);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(254, 253, 248, 0.08);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream-50);
    margin-bottom: 4px;
}

.footer-tagline {
    font-size: 0.8125rem;
    color: rgba(254, 253, 248, 0.4);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-contact,
.footer-hours {
    font-size: 0.875rem;
    color: rgba(254, 253, 248, 0.6);
    line-height: 1.8;
}

.footer-contact a {
    color: var(--emerald-400);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--emerald-300);
}

.footer-hours strong {
    color: var(--cream-50);
    font-weight: 500;
}

.footer-bottom {
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(254, 253, 248, 0.3);
}

/* ============================================
   Reveal Animations
   ============================================ */
.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: var(--emerald-950);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--cream-50);
    font-size: 2rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--cream-50);
    padding: 12px 24px;
    transition: color var(--transition);
}

.mobile-link:hover {
    color: var(--emerald-400);
}

.mobile-phone {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--emerald-400) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 16px 24px;
    border: 1px solid rgba(110, 231, 183, 0.3);
    border-radius: 8px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }

    .menu-grid {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 24px 80px;
    }

    .hero-title {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .about {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        aspect-ratio: 3/2;
    }

    .menu {
        padding: 80px 0;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .visit {
        padding: 80px 0;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 90px 20px 60px;
    }

    .section-title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
    }

    .menu-card-body {
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}
