/* ============================================
   WATERFRONT CAFE — Styles
   Palette: Burgundy (#800020) + Blush (#F5D5C8)
   Fonts: DM Serif Display + Quicksand
   ============================================ */

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

:root {
    --burgundy: #800020;
    --burgundy-dark: #5C0017;
    --burgundy-light: #A0304A;
    --blush: #F5D5C8;
    --blush-light: #FDECEF;
    --blush-lighter: #FDF6F0;
    --cream: #FFF9F5;
    --white: #FFFFFF;
    --text-dark: #2D1F1F;
    --text-mid: #5C4040;
    --text-light: #8A6060;
    --shadow-sm: 0 2px 8px rgba(128, 0, 32, 0.08);
    --shadow-md: 0 4px 20px rgba(128, 0, 32, 0.10);
    --shadow-lg: 0 8px 40px rgba(128, 0, 32, 0.12);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 48px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Quicksand', 'Segoe UI', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--burgundy);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
}
.skip-link:focus { top: 16px; }

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--burgundy);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 16px;
}

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

.section-desc {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 560px;
    margin: 0 auto;
}

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

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-burgundy {
    background: var(--burgundy);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(128, 0, 32, 0.3);
}
.btn-burgundy:hover {
    background: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(128, 0, 32, 0.4);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-2px);
}

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

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 246, 240, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(128, 0, 32, 0.08);
    transition: var(--transition);
}
.site-header.scrolled {
    background: rgba(253, 246, 240, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--burgundy);
    font-weight: 400;
}
.logo-light { color: var(--white); }
.logo-light span { color: var(--white); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 101;
}
.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--burgundy);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.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: rotate(-45deg) translate(5px, -5px);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-list a {
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-mid);
    transition: var(--transition);
}
.nav-list a:hover {
    color: var(--burgundy);
    background: rgba(128, 0, 32, 0.06);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    background: var(--burgundy);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 0;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(245, 213, 200, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(253, 236, 239, 0.15);
    border: 1px solid rgba(253, 236, 239, 0.25);
    color: var(--blush-light);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-accent {
    color: var(--blush);
    font-style: italic;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(253, 236, 239, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(253, 236, 239, 0.75);
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-image-wrap {
    position: relative;
    height: 680px;
}
.hero-image-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 85%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-image-float {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(253, 246, 240, 0.3);
}
.hero-image-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-float-badge {
    position: absolute;
    bottom: -16px;
    right: 24px;
    background: var(--white);
    color: var(--burgundy);
    padding: 10px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: auto; display: block; }

/* ---------- ABOUT ---------- */
.about {
    padding: 100px 0;
    background: var(--blush-lighter);
}
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 560px;
}
.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 75%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--blush-lighter);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-accent-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--burgundy);
    opacity: 0.08;
    pointer-events: none;
}

.about-content .section-title { margin-bottom: 20px; }
.about-content p {
    color: var(--text-mid);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.about-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(128, 0, 32, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-feature strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.about-feature span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ---------- MENU ---------- */
.menu {
    padding: 100px 0;
    background: var(--cream);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 48px;
    flex-wrap: wrap;
}
.menu-tab {
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-mid);
    background: transparent;
    border: 2px solid rgba(128, 0, 32, 0.12);
    transition: var(--transition);
}
.menu-tab:hover {
    color: var(--burgundy);
    border-color: rgba(128, 0, 32, 0.25);
}
.menu-tab.active {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.menu-grid { display: contents; }
.menu-panel {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}
.menu-panel.active { display: grid; }

.menu-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(128, 0, 32, 0.06);
    transition: var(--transition);
}
.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(128, 0, 32, 0.12);
}
.menu-item-info h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.menu-item-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.menu-note {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 32px;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: 100px 0;
    background: var(--blush-lighter);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    margin-top: 48px;
}
.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }

/* ---------- HOURS ---------- */
.hours {
    padding: 100px 0;
    background: var(--cream);
}
.hours-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.hours-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    margin: 32px 0;
    border: 1px solid rgba(128, 0, 32, 0.06);
}
.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(128, 0, 32, 0.08);
}
.hours-row:last-child { border-bottom: none; }
.hours-day {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}
.hours-time {
    color: var(--burgundy);
    font-weight: 700;
    font-size: 0.95rem;
}

.hours-contact { margin-top: 24px; }
.hours-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 12px;
    transition: var(--transition);
}
.hours-phone:hover { color: var(--burgundy-dark); }
.hours-address {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-mid);
    font-size: 0.95rem;
}

.hours-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}
.hours-map a {
    display: block;
    position: relative;
    cursor: pointer;
}
.hours-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    color: var(--burgundy);
    padding: 12px 20px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.map-overlay:hover { background: var(--burgundy); color: var(--white); }

/* ---------- CTA ---------- */
.cta {
    padding: 100px 0;
    background: var(--burgundy);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(245, 213, 200, 0.1) 0%, transparent 60%);
    pointer-events: none;
}
.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
}
.cta-content .cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 16px;
}
.cta-content .cta-title .accent-italic { color: var(--blush); }
.cta-desc {
    font-size: 1.05rem;
    color: rgba(253, 236, 239, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.cta-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 500px;
}
.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--text-dark);
    color: rgba(253, 236, 239, 0.7);
    padding: 64px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand p {
    font-size: 0.9rem;
    margin-bottom: 6px;
}
.footer-phone {
    color: var(--blush);
    font-weight: 600;
    transition: var(--transition);
}
.footer-phone:hover { color: var(--white); }

.footer-nav h4,
.footer-hours h4 {
    font-family: var(--font-display);
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 16px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-nav a:hover { color: var(--blush); }
.footer-hours p {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(253, 236, 239, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(253, 236, 239, 0.4);
}

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--burgundy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    z-index: 50;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    background: var(--burgundy-dark);
    transform: translateY(-4px);
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(24px); }
    .reveal.revealed { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-inner,
    .about-inner,
    .hours-inner,
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-image-wrap { height: 480px; order: -1; }
    .hero { min-height: auto; padding-top: 100px; }
    .about-images { height: 400px; }
    .cta-image { height: 360px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 32px;
        gap: 4px;
        box-shadow: -8px 0 32px rgba(0,0,0,0.15);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
    }
    .nav-list.open { right: 0; }
    .nav-list a {
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    .nav-overlay.active { opacity: 1; visibility: visible; }

    .hero-title { font-size: clamp(2rem, 8vw, 2.75rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-trust { flex-direction: column; gap: 12px; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery-item--tall { grid-row: span 1; }
    .gallery-item--wide { grid-column: span 1; }

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

    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding-top: 80px; }
    .hero-image-wrap { height: 360px; }
    .hero-image-main { width: 90%; height: 80%; }
    .hero-image-float { width: 65%; }
    .about-images { height: 320px; }
    .about-img-main { width: 70%; height: 70%; }
    .about-img-secondary { width: 55%; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item--wide { grid-column: span 1; }
    .hours-table { padding: 20px; }
    .hours-row { flex-direction: column; gap: 4px; align-items: flex-start; }
    .cta-image { height: 280px; }
    .scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}
