/* ============================================
   Rt's Pub — Bold Editorial Style
   Midnight Blue + Mint Palette
   ============================================ */

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

:root {
    --midnight-950: #050d1a;
    --midnight-900: #0a1628;
    --midnight-800: #0f2136;
    --midnight-700: #162d47;
    --midnight-600: #1e3a5c;
    --mint-400: #6ee7b7;
    --mint-300: #a7f3d0;
    --mint-200: #d1fae5;
    --cream: #f8f7f4;
    --cream-dark: #edecea;
    --warm-white: #faf9f7;
    --text-dark: #0f172a;
    --text-mid: #334155;
    --text-light: #64748b;
    --text-on-dark: #f1f5f9;
    --text-on-dark-muted: #94a3b8;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 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;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--warm-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

address {
    font-style: normal;
}

/* --- Utility --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--midnight-600);
    background: var(--mint-200);
    padding: 0.4em 1em;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.section-tag--light {
    color: var(--mint-300);
    background: rgba(167, 243, 208, 0.15);
    border: 1px solid rgba(167, 243, 208, 0.3);
}

.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.section-heading--light {
    color: var(--text-on-dark);
}

.section-heading__em {
    font-style: italic;
    font-weight: 400;
    color: var(--mint-300);
}

.section-heading .section-heading__em {
    color: var(--mint-300);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.9em 2em;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn--light {
    background: var(--mint-300);
    color: var(--midnight-900);
}

.btn--light:hover {
    background: var(--mint-200);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(167, 243, 208, 0.3);
}

.btn--ghost {
    background: transparent;
    color: var(--text-on-dark);
    border: 1.5px solid rgba(241, 245, 249, 0.4);
}

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

.btn--dark {
    background: var(--midnight-900);
    color: var(--mint-300);
}

.btn--dark:hover {
    background: var(--midnight-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.4);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 1.5rem;
    transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(167, 243, 208, 0.1);
}

.nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav__logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav__logo-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mint-300);
}

.nav__logo-sub {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-on-dark-muted);
}

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

.nav__link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-on-dark-muted);
    transition: color 0.3s var(--ease-out);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--mint-300);
    transition: width 0.3s var(--ease-out);
}

.nav__link:hover {
    color: var(--mint-300);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background: var(--mint-300);
    color: var(--midnight-900);
    padding: 0.55em 1.4em;
    border-radius: 100px;
    font-weight: 600;
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--mint-200);
    color: var(--midnight-900);
}

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

.nav__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--mint-300);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

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

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

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

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

.mobile-menu.active {
    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-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-on-dark);
    transition: color 0.3s var(--ease-out);
}

.mobile-menu__link:hover {
    color: var(--mint-300);
}

.mobile-menu__link--cta {
    font-family: var(--font-sans);
    font-size: 1rem;
    background: var(--mint-300);
    color: var(--midnight-900);
    padding: 0.8em 2.5em;
    border-radius: 100px;
    margin-top: 0.5rem;
}

.mobile-menu__contact {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-on-dark-muted);
    font-size: 0.875rem;
    line-height: 2;
}

.mobile-menu__contact a {
    color: var(--mint-300);
    transition: color 0.3s;
}

.mobile-menu__contact a:hover {
    color: var(--mint-200);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: var(--midnight-950);
}

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

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

.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 13, 26, 0.55) 0%,
        rgba(10, 22, 40, 0.7) 50%,
        rgba(5, 13, 26, 0.9) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding: 2rem 1.5rem;
    padding-top: 5rem;
}

.hero__tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mint-300);
    border: 1px solid rgba(167, 243, 208, 0.35);
    padding: 0.5em 1.2em;
    border-radius: 100px;
    margin-bottom: 2rem;
    background: rgba(167, 243, 208, 0.08);
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: #f8f7f4;
    margin-bottom: 1.5rem;
}

.hero__em {
    font-style: italic;
    font-weight: 400;
    color: var(--mint-300);
}

.hero__sub {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-on-dark-muted);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-on-dark-muted);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--mint-300), 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); }
}

/* --- Intro Strip --- */
.intro {
    background: var(--midnight-900);
    border-bottom: 1px solid rgba(167, 243, 208, 0.1);
}

.intro__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.intro__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-on-dark);
    font-size: 0.9375rem;
    font-weight: 500;
}

.intro__icon {
    width: 20px;
    height: 20px;
    color: var(--mint-300);
    flex-shrink: 0;
}

.intro__divider {
    width: 1px;
    height: 32px;
    background: rgba(167, 243, 208, 0.2);
}

/* --- About --- */
.about {
    padding: 8rem 1.5rem;
    background: var(--warm-white);
}

.about__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__image img {
    border-radius: 16px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    box-shadow: 0 24px 64px rgba(10, 22, 40, 0.15);
}

.about__text {
    max-width: 520px;
}

.about__text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-mid);
    margin-bottom: 1.25rem;
}

.about__signature {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cream-dark);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.125rem;
    color: var(--midnight-700);
}

/* --- Drinks --- */
.drinks {
    position: relative;
    padding: 8rem 1.5rem;
    background: var(--midnight-900);
    overflow: hidden;
}

.drinks__bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(30, 58, 92, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(110, 231, 183, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.drinks__content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.drinks__lead {
    font-size: 1.125rem;
    color: var(--text-on-dark-muted);
    max-width: 520px;
    margin-bottom: 3.5rem;
    line-height: 1.7;
}

.drinks__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.drink-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(167, 243, 208, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.4s var(--ease-out);
}

.drink-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(167, 243, 208, 0.25);
    transform: translateY(-4px);
}

.drink-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(167, 243, 208, 0.1);
    color: var(--mint-300);
    margin-bottom: 1.25rem;
}

.drink-card__icon svg {
    width: 24px;
    height: 24px;
}

.drink-card__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-on-dark);
    margin-bottom: 0.75rem;
}

.drink-card__desc {
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
    line-height: 1.7;
}

/* --- Food --- */
.food {
    padding: 8rem 1.5rem;
    background: var(--cream);
}

.food__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.food__image img {
    border-radius: 16px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    box-shadow: 0 24px 64px rgba(10, 22, 40, 0.12);
}

.food__text {
    max-width: 520px;
}

.food__text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-mid);
    margin-bottom: 1.5rem;
}

.food__highlights {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    margin-bottom: 2.5rem;
}

.food__highlights li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
}

.food__highlights svg {
    width: 18px;
    height: 18px;
    color: var(--midnight-600);
    flex-shrink: 0;
}

/* --- Gallery --- */
.gallery {
    padding: 6rem 1.5rem 8rem;
    background: var(--midnight-900);
}

.gallery__header {
    max-width: 600px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.gallery__header .section-heading {
    margin-bottom: 0.5rem;
}

.gallery__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

.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.05);
}

.gallery__item--large {
    grid-column: 1 / 8;
    aspect-ratio: 16/10;
}

.gallery__item--wide {
    grid-column: 5 / 13;
    aspect-ratio: 16/9;
}

/* --- Visit --- */
.visit {
    padding: 8rem 1.5rem;
    background: var(--warm-white);
}

.visit__container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.visit__info {
    max-width: 480px;
}

.visit__info .section-heading {
    margin-bottom: 2rem;
}

.visit__address {
    font-size: 1.125rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.visit__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--midnight-700);
    margin-bottom: 2.5rem;
    transition: color 0.3s var(--ease-out);
}

.visit__phone:hover {
    color: var(--midnight-600);
}

.visit__phone svg {
    width: 22px;
    height: 22px;
    color: var(--mint-400);
}

.visit__hours {
    background: var(--cream);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--cream-dark);
}

.visit__hours-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.visit__hours p {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.9;
}

.visit__map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(10, 22, 40, 0.12);
    min-height: 450px;
}

/* --- Footer --- */
.footer {
    background: var(--midnight-950);
    border-top: 1px solid rgba(167, 243, 208, 0.1);
    padding: 4rem 1.5rem 2rem;
}

.footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
}

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

.footer__logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--mint-300);
}

.footer__brand p {
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
}

.footer__brand a {
    font-size: 0.875rem;
    color: var(--mint-300);
    transition: color 0.3s;
}

.footer__brand a:hover {
    color: var(--mint-200);
}

.footer__nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer__nav a {
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
    transition: color 0.3s;
}

.footer__nav a:hover {
    color: var(--mint-300);
}

.footer__copy {
    grid-column: 1 / -1;
    padding-top: 2rem;
    border-top: 1px solid rgba(167, 243, 208, 0.08);
}

.footer__copy p {
    font-size: 0.8125rem;
    color: var(--text-on-dark-muted);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .drinks__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__item--large {
        grid-column: 1 / 7;
    }

    .gallery__item--wide {
        grid-column: 1 / 13;
    }
}

@media (max-width: 900px) {
    .about__container,
    .food__container,
    .visit__container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about__image {
        max-width: 560px;
        margin: 0 auto;
    }

    .food__image {
        order: -1;
    }

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

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

    .nav__toggle {
        display: flex;
    }

    .hero__content {
        padding-top: 4rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 260px;
    }

    .intro__inner {
        flex-direction: column;
        gap: 1.25rem;
    }

    .intro__divider {
        display: none;
    }

    .drinks__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

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

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

    .gallery__item--large {
        grid-column: 1 / -1;
    }

    .gallery__item--wide {
        grid-column: 1 / -1;
    }

    .gallery__item {
        aspect-ratio: 4/3;
    }

    .visit__phone {
        font-size: 1.25rem;
    }

    .footer__nav {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .gallery__item--large {
        grid-column: 1;
    }

    .gallery__item--wide {
        grid-column: 1;
    }
}

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

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero__scroll-line {
        animation: none;
        opacity: 0.6;
    }
}
