/* ============================================
   Top Of The Cue — Styles
   Palette: Plum (#5B2C6F) + Amber (#F59E0B)
   Fonts: DM Serif Display + Nunito Sans
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2D1B36;
    background: #FFF8F0;
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

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

.text-plum { color: #5B2C6F; }
.text-amber { color: #F59E0B; }
.text-muted { color: #7C5C82; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(91, 44, 111, 0.25);
}

.btn:active {
    transform: translateY(0);
}

.btn-amber {
    background: #F59E0B;
    color: #2D1B36;
}

.btn-amber:hover {
    background: #E08E0A;
}

.btn-outline-light {
    background: transparent;
    color: #FDF4FF;
    border: 2px solid rgba(253, 244, 255, 0.7);
}

.btn-outline-light:hover {
    background: rgba(253, 244, 255, 0.15);
    border-color: #FDF4FF;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 248, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(91, 44, 111, 0.08);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(91, 44, 111, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    color: #5B2C6F;
}

.nav-logo-icon {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #2D1B36;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-menu a:hover {
    background: rgba(91, 44, 111, 0.08);
    color: #5B2C6F;
}

/* Hamburger */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(91, 44, 111, 0.08);
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #5B2C6F;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(-7px) rotate(-45deg);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/3465604/pexels-photo-3465604.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1280') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 27, 54, 0.82) 0%,
        rgba(91, 44, 111, 0.72) 50%,
        rgba(45, 27, 54, 0.85) 100%
    );
    z-index: 1;
}

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

.hero-eyebrow {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #F59E0B;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 1.15;
    color: #FDF4FF;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(253, 244, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(253, 244, 255, 0.6);
    animation: bounce 2s ease infinite;
}

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

/* ---------- SECTIONS ---------- */
.section {
    padding: 100px 0;
}

.section-alt {
    background: #FDF4FF;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #F59E0B;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.2;
    color: #2D1B36;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: #5C3D63;
    line-height: 1.8;
}

/* ---------- ABOUT ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.about-img-wrap img {
    border-radius: 24px;
    width: 100%;
    height: 420px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(91, 44, 111, 0.15);
}

.about-img-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    background: #F59E0B;
    border-radius: 20px;
    z-index: -1;
    opacity: 0.4;
}

.about-text h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.25;
    color: #2D1B36;
    margin-bottom: 24px;
}

.about-text p {
    color: #5C3D63;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-features {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 600;
    color: #2D1B36;
}

.check-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: #F59E0B;
}

/* ---------- MENU ---------- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.menu-card {
    background: #FFF8F0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(91, 44, 111, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(91, 44, 111, 0.15);
}

.menu-card-img {
    position: relative;
    overflow: hidden;
}

.menu-card-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.menu-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #5B2C6F;
    color: #FDF4FF;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
}

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

.menu-card-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    color: #2D1B36;
    margin-bottom: 10px;
}

.menu-card-desc {
    color: #5C3D63;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- VIBE / GALLERY ---------- */
.vibe-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.vibe-img {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(91, 44, 111, 0.1);
}

.vibe-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

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

/* ---------- VISIT ---------- */
.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-info h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.25;
    color: #2D1B36;
    margin-bottom: 28px;
}

.visit-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.1rem;
    color: #2D1B36;
    margin-bottom: 20px;
    line-height: 1.6;
}

.addr-icon {
    flex-shrink: 0;
    margin-top: 3px;
    color: #5B2C6F;
}

.addr-city {
    display: block;
    color: #7C5C82;
}

.visit-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #5B2C6F;
    padding: 12px 0;
    border-bottom: 2px solid #F59E0B;
    transition: color 0.2s ease, border-color 0.2s ease;
    margin-bottom: 36px;
}

.visit-phone:hover {
    color: #F59E0B;
    border-color: #5B2C6F;
}

.visit-hours h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    color: #2D1B36;
    margin-bottom: 16px;
}

.visit-hours table {
    width: 100%;
    border-collapse: collapse;
}

.visit-hours td {
    padding: 10px 0;
    border-bottom: 1px solid rgba(91, 44, 111, 0.1);
    font-size: 0.95rem;
}

.visit-hours td:first-child {
    font-weight: 700;
    color: #2D1B36;
    width: 120px;
}

.visit-hours td:last-child {
    text-align: right;
    color: #5C3D63;
}

.visit-hours tr:last-child td {
    border-bottom: none;
}

.visit-map iframe {
    width: 100%;
    height: 500px;
}

/* ---------- CONTACT ---------- */
.contact {
    background: linear-gradient(135deg, #5B2C6F 0%, #3D1F4E 100%);
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-text .section-eyebrow {
    color: #F59E0B;
}

.contact-text .section-title {
    color: #FDF4FF;
}

.contact-text p {
    color: rgba(253, 244, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-form {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(253, 244, 255, 0.12);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(8px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #FDF4FF;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(253, 244, 255, 0.2);
    border-radius: 14px;
    padding: 14px 18px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    color: #FDF4FF;
    transition: border-color 0.2s ease, background 0.2s ease;
    outline: none;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(253, 244, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #F59E0B;
    background: rgba(255, 255, 255, 0.12);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FDF4FF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: #5B2C6F;
    color: #FDF4FF;
}

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

.form-success {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 20px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 14px;
    color: #F59E0B;
    font-weight: 700;
    font-size: 0.95rem;
}

/* ---------- FOOTER ---------- */
.footer {
    background: #1A0E20;
    color: rgba(253, 244, 255, 0.7);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(253, 244, 255, 0.08);
}

.footer-brand p {
    margin-top: 16px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-logo {
    color: #FDF4FF;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: #FDF4FF;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #F59E0B;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact a {
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #F59E0B;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 0;
    font-size: 0.88rem;
    color: rgba(253, 244, 255, 0.4);
}

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

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

/* Default: always visible (no-JS safe) */
.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

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

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

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 248, 240, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid rgba(91, 44, 111, 0.08);
        box-shadow: 0 16px 40px rgba(91, 44, 111, 0.1);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        width: 100%;
        padding: 14px 16px;
        font-size: 1.05rem;
    }

    .nav-menu .btn {
        text-align: center;
        margin-top: 8px;
    }
}

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

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

    .about-img-wrap img {
        height: 320px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 640px) {
    .section {
        padding: 72px 0;
    }

    .hero-content {
        padding: 100px 20px 80px;
    }

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

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

    .vibe-img img {
        height: 280px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px;
    }

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

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

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

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