/* ===================================
   ASAP Pub - Carthage, MS
   Warm, Friendly, Community-Focused
   =================================== */

:root {
    --forest-green: #166534;
    --forest-green-light: #15803d;
    --forest-green-dark: #14532d;
    --off-white: #fafaf9;
    --off-white-dark: #f5f5f4;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--off-white);
    color: var(--stone-800);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--stone-900);
    line-height: 1.2;
    font-weight: 700;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--forest-green);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   BADGES
   =================================== */
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background-color: var(--forest-green);
    color: #ffffff;
}

.badge-light {
    background-color: rgba(22, 101, 52, 0.1);
    color: var(--forest-green);
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 250, 249, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stone-200);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--forest-green);
}

.logo-icon {
    display: flex;
    align-items: center;
    color: var(--forest-green);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--stone-700);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--forest-green);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--forest-green);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--stone-800);
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background-color: var(--stone-100);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    padding-top: 100px;
    padding-bottom: 80px;
    background: linear-gradient(160deg, var(--off-white) 0%, #f0f7f0 50%, var(--off-white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(22, 101, 52, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(22, 101, 52, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--stone-200);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-content .badge {
    align-self: flex-start;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--stone-900);
    line-height: 1.15;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--stone-600);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 6/5;
    box-shadow: var(--shadow-lg);
}

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

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

/* Floating Stat Cards */
.floating-cards {
    position: absolute;
    right: -20px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 10;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--stone-200);
    animation: float 3s ease-in-out infinite;
    min-width: 200px;
}

.stat-card:nth-child(2) {
    animation-delay: 0.5s;
    margin-left: 24px;
}

.stat-card:nth-child(3) {
    animation-delay: 1s;
}

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

.stat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--forest-green), var(--forest-green-light));
    border-radius: var(--radius-sm);
    color: #ffffff;
    flex-shrink: 0;
}

.stat-card strong {
    display: block;
    font-size: 0.9rem;
    color: var(--stone-800);
}

.stat-card span {
    font-size: 0.8rem;
    color: var(--stone-600);
}

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

/* ===================================
   SECTIONS
   =================================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-header .badge {
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--stone-600);
    line-height: 1.8;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    background-color: #ffffff;
}

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

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--forest-green), var(--forest-green-light));
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.2;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.lead {
    font-size: 1.15rem;
    color: var(--stone-700);
    line-height: 1.8;
}

.about-content p {
    color: var(--stone-600);
    line-height: 1.8;
}

.feature-list {
    display: grid;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--stone-700);
    font-size: 0.95rem;
}

.check-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(22, 101, 52, 0.1);
    color: var(--forest-green);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===================================
   MENU SECTION
   =================================== */
.menu {
    background-color: var(--off-white);
}

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

.menu-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--stone-200);
    transition: var(--transition);
}

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

.menu-card-img {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.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-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--stone-900);
}

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

.menu-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--forest-green), var(--forest-green-light));
    border-radius: var(--radius-xl);
    color: #ffffff;
}

.menu-cta p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    opacity: 0.9;
}

.menu-cta .btn {
    background-color: #ffffff;
    color: var(--forest-green);
    border-color: #ffffff;
}

.menu-cta .btn:hover {
    background-color: var(--off-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   VIBE SECTION
   =================================== */
.vibe {
    background-color: #ffffff;
}

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

.vibe-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--stone-200);
    transition: var(--transition);
}

.vibe-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--forest-green);
}

.vibe-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--forest-green), var(--forest-green-light));
    border-radius: var(--radius-md);
    color: #ffffff;
}

.vibe-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--stone-900);
}

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

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: linear-gradient(160deg, var(--off-white) 0%, #f0f7f0 100%);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 8px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--forest-green), var(--forest-green-light));
    border-radius: var(--radius-sm);
    color: #ffffff;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--stone-600);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--stone-800);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--forest-green);
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.contact-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
    border: 4px solid #ffffff;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: var(--stone-900);
    color: var(--stone-300);
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

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

.footer-brand .logo-icon {
    color: var(--amber-400);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--stone-300);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--stone-300);
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--amber-400);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-contact svg {
    margin-right: 6px;
    vertical-align: middle;
}

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

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--stone-700);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--stone-600);
}

/* ===================================
   SCROLL REVEAL (Progressive Enhancement)
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .hero-card {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .hero-image {
        aspect-ratio: 16/9;
    }

    .floating-cards {
        position: relative;
        right: auto;
        bottom: auto;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 24px;
        gap: 12px;
    }

    .stat-card {
        flex: 1;
        min-width: 160px;
    }

    .stat-card:nth-child(2) {
        margin-left: 0;
    }

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

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vibe-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }

    .hero {
        padding-top: 80px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-card {
        padding: 24px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        text-align: center;
        justify-content: center;
    }

    .floating-cards {
        flex-direction: column;
    }

    .stat-card {
        min-width: auto;
    }

    .menu-grid,
    .vibe-grid {
        grid-template-columns: 1fr;
    }

    .contact-cta {
        flex-direction: column;
    }

    .contact-cta .btn {
        text-align: center;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section {
        padding: 64px 0;
    }
}

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

    .hero-card {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
}

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