/* ============================================
   BRIDGETENDERS PUB — Brand Styles
   Palette: Midnight Blue (#0A2540) + Mint (#40E0D0)
   Fonts: Playfair Display (headlines) + Inter (body)
   ============================================ */

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

:root {
    --color-midnight: #0A2540;
    --color-midnight-light: #113A5C;
    --color-midnight-dark: #061A2E;
    --color-mint: #40E0D0;
    --color-mint-light: #6FF5E8;
    --color-mint-dark: #2BC4B5;
    --color-cream: #F5F0EB;
    --color-cream-dark: #E8E0D8;
    --color-white: #FFFFFF;
    --color-text-dark: #1A1A1A;
    --color-text-light: #F5F0EB;
    --color-text-muted: #8A9AB0;
    --color-text-muted-light: rgba(245, 240, 235, 0.6);
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container-max: 1200px;
    --section-padding: clamp(4rem, 10vw, 8rem);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-cream);
    line-height: 1.6;
    -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;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
}

.nav.scrolled {
    background: rgba(10, 37, 64, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-icon {
    color: var(--color-mint);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-mint);
    transition: width var(--transition-smooth);
}

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

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

.nav-cta {
    background: var(--color-mint) !important;
    color: var(--color-midnight) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8125rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase;
    transition: background var(--transition-smooth), transform var(--transition-smooth) !important;
}

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

.nav-cta:hover {
    background: var(--color-mint-light) !important;
    transform: translateY(-1px);
}

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

.nav-toggle-line {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--color-midnight);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

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

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-white);
    transition: color var(--transition-smooth);
}

.mobile-menu-link:hover {
    color: var(--color-mint);
}

.mobile-menu-cta {
    margin-top: 1rem;
    font-family: var(--font-body);
    font-size: 1rem !important;
    color: var(--color-mint) !important;
    border: 1.5px solid var(--color-mint);
    padding: 0.75rem 2rem;
    border-radius: 6px;
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-midnight-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 26, 46, 0.92) 0%,
        rgba(10, 37, 64, 0.85) 40%,
        rgba(17, 58, 92, 0.7) 100%
    );
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 8rem clamp(1.25rem, 4vw, 3rem) 4rem;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-mint);
    margin-bottom: 1.5rem;
    padding: 0.4rem 0.875rem;
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 50px;
    background: rgba(64, 224, 208, 0.08);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--color-mint);
    font-weight: 600;
}

.hero-subheadline {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    transition: all var(--transition-smooth);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-mint);
    color: var(--color-midnight);
    border: 1.5px solid var(--color-mint);
}

.btn-primary:hover {
    background: var(--color-mint-light);
    border-color: var(--color-mint-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn--outline-light {
    background: transparent;
    color: var(--color-midnight);
    border: 1.5px solid var(--color-midnight);
    margin-top: 1.5rem;
}

.btn--outline-light:hover {
    background: var(--color-midnight);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 0.9375rem;
}

/* ---- Stat Cards ---- */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform var(--transition-smooth), background var(--transition-smooth);
}

.stat-card:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-card--1 { border-left: 3px solid var(--color-mint); }
.stat-card--2 { border-left: 3px solid var(--color-mint-light); }
.stat-card--3 { border-left: 3px solid rgba(64, 224, 208, 0.5); }

.stat-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(64, 224, 208, 0.15);
    border-radius: 10px;
    color: var(--color-mint);
    flex-shrink: 0;
}

.stat-card-body {
    display: flex;
    flex-direction: column;
}

.stat-card-value {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
}

.stat-card-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    letter-spacing: 0.03em;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

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

/* ---- Section Shared ---- */
.section-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-mint-dark);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-midnight);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.section-title em {
    font-style: italic;
    color: var(--color-mint-dark);
}

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

.section-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* ---- About Section ---- */
.about {
    padding: var(--section-padding) 0;
    background: var(--color-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.about-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(10, 37, 64, 0.15);
}

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

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #4A5568;
    margin-bottom: 1.25rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-cream-dark);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-midnight);
}

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

/* ---- Menu Section ---- */
.menu {
    padding: var(--section-padding) 0;
    background: var(--color-midnight);
    position: relative;
    overflow: hidden;
}

.menu-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(64, 224, 208, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(64, 224, 208, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

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

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

.menu .section-title em {
    color: var(--color-mint);
}

.menu .section-subtitle {
    color: var(--color-text-muted);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.menu-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(64, 224, 208, 0.3);
}

.menu-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.menu-card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-mint);
    color: var(--color-midnight);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
}

.menu-card-content {
    padding: 1.75rem;
}

.menu-card-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.menu-card-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.menu-cta {
    text-align: center;
    margin-top: 3.5rem;
    position: relative;
    z-index: 1;
}

.menu-cta p {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

/* ---- Atmosphere Section ---- */
.atmosphere {
    padding: var(--section-padding) 0;
    background: var(--color-cream);
}

.atmosphere-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.atmosphere-text .section-title {
    margin-bottom: 1.5rem;
}

.atmosphere-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #4A5568;
    margin-bottom: 1.25rem;
}

.atmosphere-highlights {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-cream-dark);
}

.atmosphere-highlight {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.atmosphere-highlight-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-midnight);
    line-height: 1;
}

.atmosphere-highlight-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
}

.atmosphere-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.atmosphere-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.12);
    transition: transform var(--transition-smooth);
}

.atmosphere-gallery-grid img:hover {
    transform: scale(1.02);
}

/* ---- Visit Section ---- */
.visit {
    padding: var(--section-padding) 0;
    background: var(--color-midnight-light);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.visit .section-label {
    color: var(--color-mint);
}

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

.visit .section-title em {
    color: var(--color-mint);
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.visit-detail {
    display: flex;
    gap: 1rem;
}

.visit-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(64, 224, 208, 0.12);
    border-radius: 10px;
    color: var(--color-mint);
    flex-shrink: 0;
}

.visit-detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.visit-detail-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.visit-detail-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.5;
}

.visit-detail-link {
    color: var(--color-mint);
    transition: color var(--transition-smooth);
}

.visit-detail-link:hover {
    color: var(--color-mint-light);
    text-decoration: underline;
}

.visit-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    min-height: 400px;
}

/* ---- Footer ---- */
.footer {
    background: var(--color-midnight-dark);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo svg {
    color: var(--color-mint);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 300px;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-mint);
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    transition: color var(--transition-smooth);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.footer-contact p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.footer-phone {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-mint) !important;
    margin-top: 0.25rem;
    transition: color var(--transition-smooth);
}

.footer-phone:hover {
    color: var(--color-mint-light) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ---- Scroll Reveal (progressive enhancement) ---- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.revealed {
        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; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 7rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 2rem;
    }

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

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

    .menu-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        padding-top: 6rem;
    }

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

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

    .about-grid,
    .atmosphere-layout,
    .visit-grid {
        grid-template-columns: 1fr;
    }

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

    .atmosphere-gallery-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .atmosphere-gallery-grid img:first-child {
        grid-column: 1 / -1;
        aspect-ratio: 16/9;
    }

    .atmosphere-gallery-grid img:nth-child(2),
    .atmosphere-gallery-grid img:nth-child(3) {
        aspect-ratio: 4/3;
    }

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

    .menu-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .atmosphere-highlights {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .atmosphere-gallery-grid img:first-child {
        grid-column: span 1;
    }
}
