/* ============================================
   HIDALGO'S GRILL — Styles
   Palette: Forest Green + Off-White
   Fonts: Playfair Display + Inter
============================================ */

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

:root {
    --green-900: #0B3D2E;
    --green-800: #145A3E;
    --green-700: #1B7A52;
    --green-600: #239B65;
    --green-500: #2DB876;
    --green-100: #D1F5E4;
    --green-50:  #EAF8F0;
    
    --off-white: #F7F5F0;
    --off-white-dark: #EDE9E1;
    --cream: #FAFAF7;
    
    --neutral-900: #1A1A1A;
    --neutral-800: #2D2D2D;
    --neutral-700: #404040;
    --neutral-600: #555555;
    --neutral-500: #6B6B6B;
    --neutral-400: #8A8A8A;
    --neutral-300: #B0B0B0;
    --neutral-200: #D4D4D4;
    --neutral-100: #EDEDED;
    --neutral-50:  #F5F5F5;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(11, 61, 46, 0.05);
    --shadow-md: 0 4px 16px rgba(11, 61, 46, 0.08);
    --shadow-lg: 0 8px 32px rgba(11, 61, 46, 0.12);
    --shadow-xl: 0 16px 48px rgba(11, 61, 46, 0.14);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--neutral-800);
    background-color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

/* ============================================
   HEADER
============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(11, 61, 46, 0.08);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--green-900);
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--green-800);
    color: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-700);
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--green-700);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-line {
    width: 22px;
    height: 2px;
    background: var(--neutral-800);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--green-800);
    color: #fff;
    border-color: var(--green-800);
}

.btn-primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--green-800);
    border-color: var(--green-800);
}

.btn-secondary:hover {
    background: var(--green-50);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--green-800);
    border-color: var(--green-800);
}

.btn-outline:hover {
    background: var(--green-50);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-nav-call {
    background: var(--green-800);
    color: #fff !important;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.btn-nav-call:hover {
    background: var(--green-700) !important;
    color: #fff !important;
}

/* ============================================
   SECTION UTILITIES
============================================ */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--neutral-900);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--neutral-600);
    max-width: 560px;
    line-height: 1.7;
}

/* ============================================
   HERO
============================================ */
.hero {
    padding-top: 76px;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--cream);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-content {
    padding-right: 20px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--green-600);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.08;
    color: var(--neutral-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--green-800);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--neutral-600);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--green-800);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--neutral-500);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--neutral-200);
}

/* Hero image stack */
.hero-image-stack {
    position: relative;
    height: 680px;
}

.hero-img {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-img-primary {
    width: 340px;
    height: 480px;
    top: 0;
    right: 0;
    z-index: 1;
}

.hero-img-secondary {
    width: 240px;
    height: 240px;
    bottom: 40px;
    left: 0;
    z-index: 2;
    border: 5px solid var(--cream);
}

.hero-badge {
    position: absolute;
    bottom: 280px;
    right: -10px;
    z-index: 3;
    background: var(--green-800);
    color: #fff;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

/* Decorative background element */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--green-50) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================
   HIGHLIGHTS BAR
============================================ */
.highlights {
    background: var(--green-900);
    padding: 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.highlight-item:last-child {
    border-right: none;
}

.highlight-item svg {
    flex-shrink: 0;
    color: var(--green-400);
    color: #6EE7B7;
}

.highlight-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   MENU SECTION
============================================ */
.menu-section {
    padding: 100px 0;
    background: var(--cream);
}

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

.section-header .section-desc {
    margin: 0 auto;
}

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

.menu-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(11, 61, 46, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.menu-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.menu-card-img {
    height: 220px;
    overflow: hidden;
}

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

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

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

.menu-card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 10px;
}

.menu-card-body p {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

.menu-cta {
    text-align: center;
    padding: 48px;
    background: var(--green-50);
    border-radius: var(--radius-xl);
    border: 1px solid var(--green-100);
}

.menu-cta p {
    font-size: 1.1rem;
    color: var(--neutral-700);
    margin-bottom: 24px;
}

/* ============================================
   ABOUT SECTION
============================================ */
.about-section {
    padding: 100px 0;
    background: var(--off-white);
}

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

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    position: absolute;
    width: 360px;
    height: 460px;
    top: 0;
    left: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    width: 240px;
    height: 240px;
    bottom: 0;
    right: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--off-white);
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content .section-eyebrow {
    margin-bottom: 12px;
}

.about-text {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.about-feature svg {
    color: var(--green-700);
    flex-shrink: 0;
}

/* ============================================
   EXPERIENCE SECTION
============================================ */
.experience-section {
    padding: 100px 0;
    background: var(--green-900);
    color: #fff;
}

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

.experience-header .section-eyebrow {
    color: #6EE7B7;
}

.experience-header .section-title {
    color: #fff;
}

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

.experience-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.experience-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.experience-icon {
    width: 56px;
    height: 56px;
    background: var(--green-700);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #fff;
}

.experience-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.experience-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
}

/* ============================================
   VISIT SECTION
============================================ */
.visit-section {
    padding: 100px 0;
    background: var(--cream);
}

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

.visit-info .section-eyebrow {
    margin-bottom: 12px;
}

.visit-details {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.visit-detail svg {
    color: var(--green-700);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neutral-500);
    margin-bottom: 4px;
}

.visit-detail p {
    font-size: 1rem;
    color: var(--neutral-800);
    line-height: 1.6;
}

.visit-detail a {
    color: var(--green-700);
    font-weight: 600;
    transition: color 0.2s ease;
}

.visit-detail a:hover {
    color: var(--green-600);
}

.visit-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 460px;
    border: 1px solid rgba(11, 61, 46, 0.08);
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
    background: var(--neutral-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

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

.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand .logo-mark {
    background: var(--green-700);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.75;
    max-width: 300px;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   MOBILE NAV OVERLAY
============================================ */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }
    
    .hero-image-stack {
        height: 560px;
    }
    
    .hero-img-primary {
        width: 280px;
        height: 400px;
    }
    
    .hero-img-secondary {
        width: 200px;
        height: 200px;
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .about-images {
        height: 480px;
    }
    
    .about-img-main {
        width: 280px;
        height: 380px;
    }
    
    .about-img-accent {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        order: 1;
    }
    
    .hero-eyebrow {
        justify-content: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-stack {
        order: 0;
        height: 400px;
        margin-bottom: 20px;
    }
    
    .hero-img-primary {
        width: 220px;
        height: 300px;
    }
    
    .hero-img-secondary {
        width: 160px;
        height: 160px;
    }
    
    .hero-badge {
        bottom: 20px;
        right: 20px;
    }
    
    .hero::before {
        display: none;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlight-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        height: 400px;
        order: -1;
    }
    
    .about-img-main {
        width: 60%;
        height: 320px;
    }
    
    .about-img-accent {
        width: 45%;
        height: 200px;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-map {
        height: 320px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid rgba(11, 61, 46, 0.08);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        z-index: 998;
    }
    
    .nav-menu.open {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .btn-nav-call {
        display: inline-flex;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-item {
        border-bottom: none;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .hero-headline {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding-top: 76px;
    }
    
    .hero-image-stack {
        height: 300px;
    }
    
    .hero-img-primary {
        width: 180px;
        height: 240px;
    }
    
    .hero-img-secondary {
        width: 130px;
        height: 130px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 10px 14px;
        bottom: 10px;
        right: 10px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .visit-cta-group {
        flex-direction: column;
    }
    
    .visit-cta-group .btn {
        width: 100%;
    }
    
    .menu-cta {
        padding: 32px 20px;
    }
}

/* ============================================
   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;
    }
}
