/* ============================================
   On The Rocks Tavern — Styles
   Burgundy + Blush · Clean Minimalist
   ============================================ */

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

:root {
    --burgundy: #6B1B2A;
    --burgundy-deep: #4A1220;
    --burgundy-light: #8C2D3F;
    --blush: #F5E6D3;
    --blush-light: #FAF3EC;
    --blush-dark: #E8D5C0;
    --cream: #FDFBF8;
    --charcoal: #1A1A1A;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-muted: #7A7A7A;
    --white: #FFFFFF;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --nav-height: 72px;
    --section-padding: clamp(80px, 12vw, 140px);
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 64px);
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 251, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(107, 27, 42, 0.08);
    height: var(--nav-height);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background: rgba(253, 251, 248, 0.97);
    box-shadow: 0 1px 20px rgba(107, 27, 42, 0.06);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 64px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--charcoal);
}

.nav-logo-mark {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--burgundy);
    letter-spacing: 0.05em;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--burgundy);
    border-radius: 4px;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.25s ease;
    position: relative;
}

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

.nav-link:hover {
    color: var(--burgundy);
}

.nav-link::after {
    width: 100%;
}

.nav-link--cta {
    color: var(--burgundy);
    border: 1px solid var(--burgundy);
    padding: 8px 20px;
    border-radius: 2px;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--burgundy);
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--charcoal);
}

/* ---- Mobile Menu ---- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--charcoal);
    padding: 8px;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--charcoal);
    padding: 12px 0;
    transition: color 0.25s ease;
}

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

.mobile-menu-divider {
    width: 48px;
    height: 1px;
    background: var(--blush-dark);
    margin: 16px 0;
}

.mobile-menu-phone a {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--burgundy);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.55) 0%,
        rgba(26, 26, 26, 0.70) 50%,
        rgba(26, 26, 26, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 clamp(24px, 4vw, 64px);
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blush);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero-accent {
    font-style: italic;
    color: var(--blush);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 300;
    color: rgba(245, 230, 211, 0.8);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-divider-line {
    width: 60px;
    height: 1px;
    background: rgba(245, 230, 211, 0.3);
    margin: 0 auto 32px;
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(245, 230, 211, 0.6);
}

.hero-meta-dot {
    color: rgba(245, 230, 211, 0.3);
}

.hero-meta-link {
    color: rgba(245, 230, 211, 0.7);
    transition: color 0.25s ease;
}

.hero-meta-link:hover {
    color: var(--blush);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(245, 230, 211, 0.4);
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 2px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn--primary {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.btn--primary:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(245, 230, 211, 0.5);
}

.btn--outline:hover {
    border-color: var(--blush);
    color: var(--blush);
}

.btn--full {
    width: 100%;
}

/* ---- Section Eyebrow ---- */
.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.12;
    color: var(--charcoal);
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(48px, 8vw, 80px);
}

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

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.about-image-wrapper {
    overflow: hidden;
    border-radius: 4px;
}

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

.about-image-wrapper:hover img {
    transform: scale(1.02);
}

.about-content {
    padding-top: 8px;
}

.about-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--blush-dark);
}

.stat {
    flex: 1;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--burgundy);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.5;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--blush-dark);
    flex-shrink: 0;
}

/* ---- Divider ---- */
.section-divider {
    padding: 0;
}

.divider-line {
    width: 100%;
    height: 1px;
    background: var(--blush-dark);
}

/* ---- Menu ---- */
.menu {
    padding: var(--section-padding) 0;
    background: var(--blush-light);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 4vw, 48px);
}

.menu-category {
    background: var(--white);
    border-radius: 4px;
    padding: clamp(28px, 3vw, 40px);
    border: 1px solid rgba(107, 27, 42, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.menu-category:hover {
    box-shadow: 0 8px 40px rgba(107, 27, 42, 0.08);
    transform: translateY(-2px);
}

.menu-category-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--blush-light);
}

.menu-category-icon {
    color: var(--burgundy);
    flex-shrink: 0;
}

.menu-category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--charcoal);
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item-header {
    display: flex;
    align-items: baseline;
    gap: 0;
}

.menu-item-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--charcoal);
    flex: 1;
}

.menu-item-dots {
    flex: 1;
    height: 1px;
    background: var(--blush-dark);
    margin: 0 8px;
    min-width: 24px;
}

.menu-item-desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
    padding-left: 0;
}

.menu-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.menu-note svg {
    color: var(--burgundy);
    flex-shrink: 0;
}

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

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

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
    background: var(--blush-light);
}

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

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

.gallery-item--tall {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
}

.gallery-item--wide {
    grid-column: 8 / 13;
}

/* ---- Hours ---- */
.hours {
    padding: var(--section-padding) 0;
    background: var(--blush-light);
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.hours-content {
    padding-top: 8px;
}

.hours-table {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--blush-dark);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--charcoal);
}

.hours-time {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
}

.hours-row.closed .hours-time {
    color: var(--burgundy);
    font-weight: 400;
}

.map-wrapper {
    border-radius: 4px;
    overflow: hidden;
    background: var(--blush);
    aspect-ratio: 4/3;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* ---- Contact ---- */
.contact {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact-text {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 36px;
}

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

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

.contact-detail svg {
    color: var(--burgundy);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-detail-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.6;
}

.contact-detail-link {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--burgundy);
    transition: color 0.25s ease;
}

.contact-detail-link:hover {
    color: var(--burgundy-deep);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 4px;
    padding: clamp(28px, 3vw, 40px);
    border: 1px solid rgba(107, 27, 42, 0.06);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--charcoal);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--blush-dark);
    outline: none;
    transition: border-color 0.25s ease;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-bottom-color: var(--burgundy);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(107, 27, 42, 0.06);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--burgundy);
}

.form-success svg {
    color: var(--burgundy);
    flex-shrink: 0;
}

/* ---- Footer ---- */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: clamp(56px, 8vw, 80px) 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: clamp(32px, 4vw, 64px);
    padding-bottom: clamp(48px, 6vw, 64px);
}

.footer-logo-mark {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--blush);
    letter-spacing: 0.05em;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--blush);
    border-radius: 3px;
    margin-bottom: 16px;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--white);
    display: block;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

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

.footer-link {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.25s ease;
}

.footer-link:hover {
    color: var(--blush);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.25s ease;
}

.social-link:hover {
    border-color: var(--blush);
    color: var(--blush);
}

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

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

.footer-bottom a {
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.25s ease;
}

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

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

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

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

    .gallery-item--tall {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 300px;
    }

    .gallery-item--wide {
        grid-column: 1 / -1;
    }

    .gallery-item {
        min-height: 240px;
    }
}

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

    .nav-toggle {
        display: flex;
    }

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

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

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }

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

    .gallery-item--tall,
    .gallery-item--wide {
        grid-column: 1;
    }

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

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

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

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

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

    .menu-category {
        padding: 24px;
    }
}
