/* ============================================
   Salty Myke's Saloon — Styles
   Forest Green + Off-White | Minimalist
   ============================================ */

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

:root {
    --green-900: #0f2418;
    --green-800: #1a3c2a;
    --green-700: #234d36;
    --green-600: #2d6145;
    --green-500: #377a56;
    --green-400: #4a9c6e;
    --green-100: #d1e8d8;
    --green-50:  #e8f5ec;
    
    --off-white:  #f5f2eb;
    --off-white-2: #ebe7dd;
    --cream:      #faf8f4;
    --dark:       #1a1a18;
    --dark-soft:  #2e2e2a;
    --grey:       #6b6b64;
    --grey-light: #9e9e96;
    --white:      #ffffff;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'Manrope', -apple-system, sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--dark);
    line-height: 1.6;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    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;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 60, 42, 0.08);
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(250, 248, 244, 0.97);
    box-shadow: 0 1px 20px rgba(15, 36, 24, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--green-800);
    letter-spacing: -0.01em;
}

.logo-ampersand {
    font-style: italic;
    color: var(--green-500);
    font-size: 1.6rem;
    line-height: 1;
}

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

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--grey);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green-600);
    transition: width 0.3s var(--ease-out);
}

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

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

.nav-cta {
    background: var(--green-800) !important;
    color: var(--off-white) !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 0.8125rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--green-700) !important;
    color: var(--off-white) !important;
    transform: translateY(-1px);
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--green-800);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(250, 248, 244, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

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

.mobile-menu-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-link {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--green-800);
    padding: 16px 0;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--green-500);
}

.mobile-divider {
    width: 40px;
    height: 1px;
    background: var(--green-200, #c8d8cc);
    margin: 24px auto;
}

.mobile-phone,
.mobile-email {
    display: block;
    font-size: 0.875rem;
    color: var(--grey);
    padding: 6px 0;
    transition: color 0.3s ease;
}

.mobile-phone:hover,
.mobile-email:hover {
    color: var(--green-600);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--green-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        url('https://images.pexels.com/photos/34056737/pexels-photo-34056737.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1600&h=1000') center center / cover no-repeat;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero:hover .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 36, 24, 0.88) 0%,
        rgba(26, 60, 42, 0.75) 50%,
        rgba(15, 36, 24, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-100);
    margin-bottom: 32px;
}

.badge-line {
    display: block;
    width: 32px;
    height: 1px;
    background: var(--green-400);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.08;
    color: var(--off-white);
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    max-width: 700px;
}

.headline-accent {
    font-style: italic;
    color: var(--green-400);
}

.hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.1875rem);
    font-weight: 300;
    color: rgba(245, 242, 235, 0.65);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 44px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--green-500);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(55, 122, 86, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--off-white);
    border: 1px solid rgba(245, 242, 235, 0.25);
}

.btn-ghost:hover {
    border-color: var(--green-400);
    color: var(--green-400);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 0.875rem;
}

/* Floating Stat Cards */
.hero-stats {
    position: absolute;
    right: 24px;
    bottom: 80px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background: rgba(250, 248, 244, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 242, 235, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 180px;
    transition: all 0.4s var(--ease-out);
}

.stat-card:hover {
    background: rgba(250, 248, 244, 0.14);
    border-color: rgba(245, 242, 235, 0.2);
    transform: translateX(-4px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(74, 156, 110, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-400);
    flex-shrink: 0;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--off-white);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245, 242, 235, 0.5);
    margin-top: 2px;
}

/* ============================================
   Section Labels & Titles
   ============================================ */
.section-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-500);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--green-800);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--grey);
    line-height: 1.7;
    max-width: 520px;
}

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

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

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

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

.about-image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.6s var(--ease-out);
}

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

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

.about-text {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--dark-soft);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-signature {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--green-100);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-signature span:first-child {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--green-700);
}

.about-signature span:last-child {
    font-size: 0.8125rem;
    color: var(--grey);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ============================================
   Divider
   ============================================ */
.thin-divider {
    padding: 0 24px;
}

.divider-line {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green-200, #c8d8cc), transparent);
}

/* ============================================
   Menu
   ============================================ */
.menu {
    padding: 120px 0;
    background: var(--green-800);
}

.menu .section-label {
    color: var(--green-400);
}

.menu .section-title {
    color: var(--off-white);
}

.menu .section-subtitle {
    color: rgba(245, 242, 235, 0.55);
}

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

.menu-card {
    background: rgba(250, 248, 244, 0.05);
    border: 1px solid rgba(245, 242, 235, 0.08);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out);
}

.menu-card:hover {
    background: rgba(250, 248, 244, 0.1);
    border-color: rgba(245, 242, 235, 0.15);
    transform: translateY(-4px);
}

.menu-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(74, 156, 110, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-400);
    margin-bottom: 24px;
}

.menu-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--off-white);
    margin-bottom: 12px;
}

.menu-card p {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(245, 242, 235, 0.55);
    line-height: 1.7;
}

.menu-note {
    text-align: center;
}

.menu-note p {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(245, 242, 235, 0.35);
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 1.0625rem;
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
    padding: 120px 0;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

/* ============================================
   Visit
   ============================================ */
.visit {
    padding: 120px 0;
    background: var(--off-white);
}

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

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

.contact-block {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--grey-light);
}

.contact-value {
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--dark);
    line-height: 1.6;
}

.contact-link {
    color: var(--green-600);
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--green-500);
}

.contact-cta {
    margin-top: 44px;
}

.visit-map-wrap {
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 8px 32px rgba(15, 36, 24, 0.1);
}

.visit-map-wrap iframe {
    border-radius: 16px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--green-900);
    padding: 64px 0 40px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(245, 242, 235, 0.08);
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--off-white);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(245, 242, 235, 0.4);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    font-weight: 300;
    color: rgba(245, 242, 235, 0.3);
}

.footer-bottom a {
    color: rgba(245, 242, 235, 0.4);
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--green-400);
}

/* ============================================
   Scroll Reveal (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-stats {
        position: relative;
        right: auto;
        bottom: auto;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 48px;
        max-width: 1200px;
        padding: 0 24px;
    }

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

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

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

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

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
        padding: 0 24px;
        margin-top: 32px;
    }

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

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

    .about-image-wrap {
        order: -1;
    }

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

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

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

    .visit-map-wrap {
        min-height: 280px;
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.25rem;
    }

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

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

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

    .section-title {
        font-size: 1.875rem;
    }
}
