/* ============================================ */
/* Old Hollywood Cheesecakes                    */
/* Dark Luxe Theme — Gold & Black               */
/* ============================================ */

:root {
    --bg-primary: #0d0b08;
    --bg-elevated: #141210;
    --bg-card: #1a1714;
    --bg-surface: #211e19;
    --gold: #c9a84c;
    --gold-light: #dfc06a;
    --gold-dim: #a08838;
    --red: #c9392a;
    --cream: #f5f0e8;
    --cream-muted: #b8a88e;
    --text-primary: #f5f0e8;
    --text-secondary: #b8a88e;
    --text-muted: #7a6e5e;
    --border: rgba(201, 168, 76, 0.15);
    --border-strong: rgba(201, 168, 76, 0.35);
    --shadow: rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cinzel', serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

/* =============== FILM GRAIN OVERLAY =============== */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* =============== HEADER =============== */
header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 70px;
    content-visibility: auto;
    contain-intrinsic-size: 0 70px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-link {
    text-decoration: none;
    display: block;
    flex-shrink: 0;
}

.hollywood-logo-img {
    height: 55px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
    aspect-ratio: 742 / 416;
}

.hollywood-logo-img:hover {
    opacity: 0.85;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.main-nav a {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--cream-muted);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--gold);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    padding: 0.55rem 1.5rem;
    background: transparent;
    color: var(--gold);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    transition: all 0.3s ease;
    border-radius: 2px;
    white-space: nowrap;
}

.header-cta:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

/* Hamburger toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle .bar {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--gold);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============== HERO SECTION =============== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 6rem 2rem;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-logo {
    max-width: 500px;
    width: 90%;
    margin: 0 auto 2.5rem;
    display: block;
    mix-blend-mode: lighten;
}

.hero-tagline {
    font-family: 'Cinzel', serif;
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    letter-spacing: 0.35em;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 400;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

/* Gold decorative line */
.gold-rule {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 2rem;
    border: none;
}

/* Spotlight decoration */
.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.spotlight {
    position: absolute;
    top: -20%;
    width: 200px;
    height: 120%;
    opacity: 0.04;
}

.spotlight-1 {
    left: 8%;
    background: linear-gradient(180deg, rgba(201,168,76,0.8), transparent 60%);
    transform: rotate(-15deg);
}

.spotlight-2 {
    left: 48%;
    background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent 50%);
    transform: rotate(2deg);
}

.spotlight-3 {
    right: 8%;
    background: linear-gradient(180deg, rgba(201,168,76,0.8), transparent 60%);
    transform: rotate(15deg);
}

/* =============== BUTTONS =============== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg-primary);
    border: 1px solid var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

/* =============== SECTIONS =============== */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.03em;
}

.section-rule {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 1.5rem auto 0;
    border: none;
}

/* =============== ABOUT SECTION =============== */
.about-section {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    color: var(--cream);
    margin-bottom: 2rem;
    line-height: 1.9;
    font-weight: 300;
}

.about-content p {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 2;
    letter-spacing: 0.02em;
}

/* =============== FLAVORS SECTION =============== */
.flavors-section {
    background: var(--bg-primary);
}

.flavors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.flavor-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.flavor-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    transition: border-color 0.4s ease;
    pointer-events: none;
}

.flavor-card:hover {
    background: var(--bg-surface);
}

.flavor-card:hover::after {
    border-color: var(--gold-dim);
}

.flavor-card.featured {
    background: var(--bg-surface);
}

.flavor-card.featured::after {
    border-color: var(--border-strong);
}

/* Walk of Fame star tiles */
.flavor-name-star {
    width: 170px;
    height: 170px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("/assets/img/walk-star.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

@supports (background-image: url("x.webp")) {
    .flavor-name-star {
        background-image: url("/assets/img/walk-star.webp");
    }
}

.flavor-name-star::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 52%, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.0) 55%);
    z-index: 1;
}

.flavor-name-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 14px;
    text-align: center;
    z-index: 2;
}

.flavor-name-main {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    line-height: 1.05;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 14px;
}

.flavor-desc {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.flavor-note {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-strong);
    text-transform: uppercase;
    border-radius: 2px;
}

/* =============== CTA SECTION =============== */
.cta-section {
    background: var(--bg-elevated);
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--cream);
    margin-bottom: 1rem;
}

.cta-content p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* =============== CONTACT SECTION =============== */
.contact-section {
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--cream);
    margin-bottom: 1.5rem;
}

.contact-info > p {
    font-family: 'Cinzel', serif;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.9;
    font-size: 0.9rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    border-left: 2px solid var(--gold-dim);
    padding-left: 1.5rem;
}

.contact-label {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item a,
.contact-item p {
    color: var(--cream-muted);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    line-height: 1.7;
}

.contact-item a:hover {
    color: var(--gold);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--cream);
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    border-radius: 2px;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.contact-form button {
    width: 100%;
    cursor: pointer;
}

.contact-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =============== FOOTER =============== */
footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    color: var(--text-secondary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--text-muted);
    font-size: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column a,
.footer-column p {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.art-deco-border {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-dim) 20%, var(--gold-dim) 80%, transparent);
    margin-bottom: 2rem;
}

.footer-bottom p {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 968px) {
    .nav-toggle { display: block; }

    .header-container {
        flex-wrap: wrap;
    }

    header .main-nav {
        display: none;
        flex-basis: 100%;
        order: 3;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0 0.5rem;
        border-top: 1px solid var(--border);
        margin-top: 0.75rem;
    }

    header .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
        text-align: left;
    }

    .main-nav a::after { display: none; }

    .header-cta {
        order: 2;
        margin-left: auto;
    }

    .flavor-name-star {
        width: 155px;
        height: 155px;
    }

    .flavor-name-main {
        font-size: 14px;
    }

    .hero-logo {
        max-width: 380px;
    }

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

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

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

    .flavor-card {
        padding: 1.8rem 1.2rem;
    }

    .flavor-name-star {
        width: 120px;
        height: 120px;
    }

    .flavor-name-main {
        font-size: 11px;
        margin-top: 10px;
    }

    .hero {
        min-height: 70vh;
        padding: 4rem 1.5rem;
    }

    .hero-logo {
        max-width: 280px;
    }

    section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }
}

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

    .flavor-card {
        padding: 2rem 1.5rem;
    }

    .flavor-name-star {
        width: 150px;
        height: 150px;
    }

    .flavor-name-main {
        font-size: 14px;
        margin-top: 13px;
    }
}
