/* ============================================
   Monkey Island Cafe — Styles
   Palette: Burgundy (#7B2D3B) + Blush (#F4C2C2)
   Fonts: Playfair Display + Space Grotesk
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5A1F2B;
    --burgundy-light: #9A3D4E;
    --blush: #F4C2C2;
    --blush-light: #FDF0F0;
    --blush-dark: #E8A0A0;
    --cream: #FDF8F4;
    --cream-dark: #F5EDE6;
    --charcoal: #1A1A1A;
    --text: #2D2D2D;
    --text-light: #5A5A5A;
    --white: #FFFFFF;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 2px 8px rgba(123, 45, 59, 0.08);
    --shadow-md: 0 8px 30px rgba(123, 45, 59, 0.12);
    --shadow-lg: 0 20px 60px rgba(123, 45, 59, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    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;
}

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

/* ── Section Labels & Titles ── */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    background: var(--blush-light);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 20px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(123, 45, 59, 0.3);
}

.btn-primary:hover {
    background: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 45, 59, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

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

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 244, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(253, 248, 244, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--burgundy);
}

.nav-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--burgundy);
    color: var(--white);
    border-radius: var(--radius-sm);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    padding: 8px 16px;
    border-radius: 100px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--burgundy);
    background: var(--blush-light);
}

.nav-cta {
    background: var(--burgundy) !important;
    color: var(--white) !important;
    margin-left: 8px;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ── 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-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(90, 31, 43, 0.88) 0%,
        rgba(123, 45, 59, 0.75) 50%,
        rgba(26, 26, 26, 0.85) 100%
    );
}

.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--blush);
    top: -150px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--blush);
    bottom: 10%;
    left: -80px;
}

.shape-3 {
    width: 180px;
    height: 180px;
    background: var(--white);
    top: 30%;
    right: 15%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: var(--blush);
    bottom: 25%;
    right: 5%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blush);
    background: rgba(244, 194, 194, 0.15);
    border: 1px solid rgba(244, 194, 194, 0.3);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

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

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

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

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

.about-visual {
    position: relative;
}

.about-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
}

.accent-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 32px;
    border-radius: var(--radius-md);
    color: var(--white);
}

.accent-burgundy {
    background: var(--burgundy);
}

.accent-blush {
    background: var(--blush-dark);
    color: var(--charcoal);
}

.accent-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.accent-label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.about-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(123, 45, 59, 0.12);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--burgundy);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(123, 45, 59, 0.2);
}

/* ── Menu ── */
.menu {
    padding: 120px 0;
    background: var(--burgundy);
    position: relative;
    overflow: hidden;
}

.menu::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(244, 194, 194, 0.06);
    pointer-events: none;
}

.menu::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(244, 194, 194, 0.04);
    pointer-events: none;
}

.menu .container {
    position: relative;
    z-index: 1;
}

.menu .section-label {
    background: rgba(244, 194, 194, 0.2);
    color: var(--blush);
}

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

.menu-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.menu-tab {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 100px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: var(--transition);
}

.menu-tab:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.menu-tab.active {
    background: var(--white);
    border-color: var(--white);
    color: var(--burgundy);
}

.menu-panel {
    display: none;
}

.menu-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.menu-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.menu-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.menu-card-accent {
    height: 4px;
}

.menu-card-body {
    padding: 24px;
}

.menu-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.menu-card-body p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

.menu-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
}

/* ── Vibe ── */
.vibe {
    padding: 120px 0;
    background: var(--cream-dark);
    position: relative;
    overflow: hidden;
}

.vibe-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.vibe-shape {
    position: absolute;
    border-radius: 50%;
}

.vibe-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--blush);
    opacity: 0.15;
    top: -100px;
    left: -100px;
}

.vibe-shape-2 {
    width: 250px;
    height: 250px;
    background: var(--burgundy);
    opacity: 0.06;
    bottom: 10%;
    right: 5%;
}

.vibe-shape-3 {
    width: 150px;
    height: 150px;
    background: var(--blush-dark);
    opacity: 0.12;
    top: 40%;
    right: 30%;
}

.vibe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.vibe-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

.vibe-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.vibe-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.vibe-feature-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.vibe-feature-icon.accent-burgundy {
    background: var(--burgundy);
}

.vibe-feature-icon.accent-blush {
    background: var(--blush-dark);
    color: var(--charcoal);
}

.vibe-feature strong {
    display: block;
    font-size: 1.0625rem;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.vibe-feature span {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.5;
}

.vibe-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.vibe-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.vibe-img:hover img {
    transform: scale(1.05);
}

.vibe-img-1 {
    grid-column: 1;
    grid-row: 1 / 3;
}

.vibe-img-1 img {
    height: 100%;
    min-height: 400px;
}

.vibe-img-2 img,
.vibe-img-3 img {
    height: 190px;
}

/* ── Visit ── */
.visit {
    padding: 120px 0;
    background: var(--cream);
}

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

.visit-detail {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.visit-detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.visit-detail-icon.accent-burgundy {
    background: var(--burgundy);
}

.visit-detail-icon.accent-blush {
    background: var(--blush-dark);
    color: var(--charcoal);
}

.visit-detail strong {
    display: block;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 6px;
}

.visit-detail p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
}

.visit-detail a {
    color: var(--burgundy);
    font-weight: 600;
    transition: var(--transition);
}

.visit-detail a:hover {
    color: var(--burgundy-dark);
    text-decoration: underline;
}

.btn-map {
    margin-top: 16px;
}

.visit-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(123, 45, 59, 0.06);
}

.visit-form-card h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.visit-form-card > p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--cream);
    border: 1.5px solid rgba(123, 45, 59, 0.12);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(123, 45, 59, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

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

.form-success p {
    font-size: 1.125rem;
    color: var(--text);
    font-weight: 500;
}

/* ── Footer ── */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
}

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

.footer-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--burgundy);
    color: var(--white);
    border-radius: var(--radius-sm);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-links strong,
.footer-hours strong {
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 4px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

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

.footer-hours p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.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: 16px;
}

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

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        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);
    }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .about-grid,
    .vibe-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-accent {
        right: 16px;
        bottom: -20px;
    }

    .vibe-gallery {
        max-width: 500px;
    }

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

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

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 248, 244, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid rgba(123, 45, 59, 0.1);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
    }

    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
        justify-content: center;
    }

    .hero-headline {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

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

    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

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

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

    .vibe-img-1 {
        grid-column: auto;
        grid-row: auto;
    }

    .vibe-img-1 img,
    .vibe-img-2 img,
    .vibe-img-3 img {
        height: 250px;
    }

    .visit-form-card {
        padding: 32px 24px;
    }

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .about,
    .menu,
    .vibe,
    .visit {
        padding: 80px 0;
    }
}
