/* ============================================
   Emcee Bean - Professional MC in Singapore
   Design: Warm, premium, event-industry feel
   ============================================ */

:root {
    --ink: #1a1a1a;
    --ink-light: #4a4a4a;
    --ink-muted: #6b6b6b;
    --cream: #faf7f2;
    --cream-dark: #f0ebe3;
    --accent: #2c4561;
    --accent-dark: #1a2c44;
    --accent-warm: #cdb78a;
    --gold: var(--accent);
    --gold-dark: var(--accent-dark);
    --white: #ffffff;
    --coral: #e07a5f;
    --green-whatsapp: #25D366;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-lg: 0 4px 24px rgba(0,0,0,0.12);
    --transition: 0.2s ease;
}

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

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

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

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

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ============ NAV ============ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

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

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-light);
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-cta {
    background: var(--ink);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: var(--radius);
    font-weight: 600 !important;
    transition: background var(--transition) !important;
}

.nav-cta:hover {
    background: var(--ink-light) !important;
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: var(--transition);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 64px;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 700px;
    padding: 40px 24px;
}

.hero-tag {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-warm);
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    color: var(--white);
}

.hero h1 em {
    color: var(--accent-warm);
    font-style: italic;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-trust {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-whatsapp {
    background: var(--green-whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20b858;
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 2px solid var(--ink);
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
}

/* ============ SECTIONS ============ */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--cream);
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-dark);
    margin-bottom: 8px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--ink-muted);
    max-width: 600px;
    margin-bottom: 48px;
}

.section > .container > .section-tag,
.section > .container > h2,
.section > .container > .section-desc,
.section > .container-narrow > .section-tag,
.section > .container-narrow > h2 {
    text-align: center;
}

.section > .container > .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ============ SERVICES ============ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--ink-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.service-card ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.service-card li {
    font-size: 0.8rem;
    padding: 4px 10px;
    background: var(--cream);
    border-radius: 20px;
    color: var(--ink-light);
}

/* ============ PROOF BAR ============ */
.proof-bar {
    background: var(--ink);
    padding: 40px 0;
}

.proof-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

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

.proof-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
}

.proof-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.about-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    object-fit: contain;
}

.about-text p {
    color: var(--ink-light);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-highlights {
    display: flex;
    gap: 20px;
    margin-top: 24px;
}

.highlight {
    flex: 1;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.06);
}

.highlight strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.highlight span {
    font-size: 0.8rem;
    color: var(--ink-muted);
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: #f5b400;
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    position: relative;
    max-height: 9.5em;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.testimonial-text::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3em;
    background: linear-gradient(to bottom, transparent, var(--cream));
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.testimonial-card.is-expanded .testimonial-text {
    max-height: 200em;
}

.testimonial-card.is-expanded .testimonial-text::after {
    opacity: 0;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--ink-light);
    line-height: 1.7;
    margin-bottom: 12px;
    font-style: italic;
}

.testimonial-text p:last-child {
    margin-bottom: 0;
}

.testimonial-toggle {
    background: none;
    border: 0;
    padding: 0;
    margin: 12px 0 16px;
    color: var(--accent);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    align-self: flex-start;
}

.testimonial-toggle::after {
    content: "Read more →";
}

.testimonial-card.is-expanded .testimonial-toggle::after {
    content: "Read less";
}

.testimonial-toggle:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.testimonial-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 2px;
}

.testimonial-author {
    margin-top: auto;
    padding-top: 4px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    margin-top: 12px;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--ink-muted);
}

/* ============ GALLERY ============ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

/* ============ FAQ ============ */
.faq-list {
    margin-top: 32px;
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 20px 0;
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    margin-top: 12px;
    color: var(--ink-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item ol {
    margin-top: 12px;
    padding-left: 20px;
    color: var(--ink-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item ol li {
    margin-bottom: 6px;
}

/* ============ CTA / CONTACT ============ */
.cta-section {
    background: var(--ink);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section > .container-narrow > p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
}

.contact-form {
    text-align: left;
    margin-bottom: 40px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
}

.form-optional {
    font-weight: 400;
    color: rgba(255,255,255,0.45);
    margin-left: 4px;
}

.form-optional-heading {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin: 24px 0 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border var(--transition);
}

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

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: var(--ink);
    color: var(--white);
}

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

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

.contact-alt p {
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.contact-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.cta-section .btn-outline:hover {
    background: var(--white);
    color: var(--ink);
}

/* ============ FOOTER ============ */
.footer {
    background: #0d0d0d;
    color: rgba(255,255,255,0.6);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer a {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: color var(--transition);
}

.footer a:hover {
    color: var(--accent-warm);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
}

/* ============ MODAL ============ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.modal.active {
    display: flex;
}

.modal img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

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

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

    .about-highlights {
        flex-direction: column;
    }

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

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

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

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

    .proof-stats {
        gap: 30px;
    }

    .proof-number {
        font-size: 2rem;
    }

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

    .featured-reel-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   TESTIMONIALS PLACEHOLDER
   ============================================ */
.testimonials-empty {
    color: var(--ink-light);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 12px 0 0;
    padding: 24px 28px;
    background: var(--cream);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--gold);
}

/* ============================================
   PAGE HEADER (sub-pages)
   ============================================ */
.page-header {
    background: var(--cream);
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    line-height: 1.1;
    margin: 8px 0 16px;
    letter-spacing: -0.01em;
}

.page-header-sub {
    color: var(--ink-light);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================
   REELS
   ============================================ */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.reel-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.reel-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.reel-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.reel-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.reel-body {
    padding: 20px 24px 24px;
}

.reel-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.reel-meta {
    color: var(--ink-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Featured reel on homepage */
.featured-reel-section {
    padding: 60px 0;
    background: var(--cream);
}

.featured-reel-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
}

.featured-reel-text .section-tag {
    margin-bottom: 8px;
}

.featured-reel-text h2 {
    margin-bottom: 16px;
}

.featured-reel-text p {
    color: var(--ink-light);
    margin-bottom: 24px;
}

.featured-reel-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-reel-frame .reel-frame {
    border-radius: var(--radius-lg);
}

.view-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1.5px solid var(--gold);
    padding-bottom: 2px;
    transition: color var(--transition);
}

.view-more-link:hover {
    color: var(--ink);
}

.view-more-link::after {
    content: "→";
    transition: transform var(--transition);
}

.view-more-link:hover::after {
    transform: translateX(3px);
}
