/* =========================================================
   HOMEPAGE STYLES
   Page-specific styles for index.html
   Depends on main.css (CSS variables + base classes +
   shared helpers like .reveal, .section-label, .pinkbg, etc).

   Sections in this file:
   1. Hero
   2. What is MANTAP (3-column cards)
   3. Numbers strip
   4. Upcoming events (featured + coming-soon cards)
   5. Past events (featured + quote + metrics)
   6. Partners (tiers + category grid)
   7. For Brands / For JMBs (audience split)
   8. Social CTA banner
   9. Footer helpers
   ========================================================= */


/* =========================================================
   1. HERO
   ========================================================= */
:root {
    --amber: #f5b82c;
}

.bg-body-tertiary {
    --bs-bg-opacity: 1;
    background-color: white !important;
}



/* ---- Pink background helper (MANTAP accent1).
       Matches the existing .brownbg / .bluebg / .greenbg pattern. ---- */
.pinkbg {
    background-color: var(--accent1);
    color: white !important;
}


/* ---- Solid pink button.
       Same vibe as .buttonstyle1 but filled. Good on light bgs. ---- */
.buttonstyle-dark {
    background-color: var(--accent1);
    border: 1px solid var(--accent1);
    border-radius: 50rem;
    color: white;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
    padding: 0.75rem 1.5rem;
    display: inline-block;
    text-decoration: none;
}

.buttonstyle-dark:hover {
    transform: scale(1.05);
    background-color: #962257;
    /* darker pink */
    color: white;
}


/* ---- White-filled button with pink text.
       Good on pink/green/teal backgrounds as a primary CTA. ---- */
.buttonstyle-solid {
    background-color: white;
    border: 1px solid white;
    border-radius: 50rem;
    color: var(--accent1);
    font-weight: bold;
    transition: transform 0.3s ease;
    padding: 0.75rem 1.5rem;
    display: inline-block;
    text-decoration: none;
}

.buttonstyle-solid:hover {
    transform: scale(1.05);
    color: var(--accent1);
}


/* ---- Section label pill.
       Small all-caps pill used above most H2 headings. ---- */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border: 1.5px solid currentColor;
    border-radius: 50rem;
    margin-bottom: 1rem;
}


/* ---- Scroll-reveal animation.
       Elements with .reveal start hidden and fade/slide in
       when .reveal.in is added (handled by home.js / verdi-eco.js). ---- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--accent3);
    color: white;
    isolation: isolate;
    display: flex;
    align-items: center;
}

/* Background image — swap the URL for a real MANTAP photo */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=2400&q=80');
    /* TODO: replace with e.g. url('../image/mantap/hero-bg.jpg'); */
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: -3;
}

/* Gradient wash over the hero photo */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 117, 75, 0.92) 0%,
            rgba(37, 167, 166, 0.75) 55%,
            rgba(178, 45, 104, 0.60) 100%);
    z-index: -2;
}

/* Oversized floating decorative letters */
.hero-letter {
    position: absolute;
    font-weight: 900;
    line-height: 0.8;
    opacity: 0.18;
    pointer-events: none;
    user-select: none;
    z-index: -1;
    font-size: clamp(12rem, 30vw, 34rem);
}

.hero-letter.l1 {
    top: -3rem;
    left: -2rem;
    color: #ffadd1;
    transform: rotate(-6deg);
}

.hero-letter.l2 {
    top: 40%;
    right: -4rem;
    color: var(--amber);
    transform: rotate(8deg);
}

.hero-letter.l3 {
    bottom: -8rem;
    left: 20%;
    color: #7be0df;
    transform: rotate(-3deg);
}

.hero-kicker {
    display: inline-block;
    background: white;
    color: var(--accent3);
    padding: 0.4rem 1rem;
    border-radius: 50rem;
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* The big colored MANTAP wordmark */
.hero-mantap {
    font-weight: 900;
    font-size: clamp(4rem, 14vw, 13rem);
    line-height: 0.8;
    letter-spacing: -0.04em;
    margin: 0 0 1.5rem 0;
}

.hero-mantap .l-m {
    color: #ffadd1;
}

.hero-mantap .l-a1 {
    color: #7be0df;
}

.hero-mantap .l-n {
    color: #8ad5b0;
}

.hero-mantap .l-t {
    color: #7be0df;
}

.hero-mantap .l-a2 {
    color: #ffd27a;
}

.hero-mantap .l-p {
    color: #ffadd1;
}

.hero-tagline {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.hero-desc {
    max-width: 560px;
    font-size: 1.1rem;
    line-height: 1.55;
    margin-top: 1.25rem;
    opacity: 0.95;
}


/* =========================================================
   2. WHAT IS MANTAP (3-column model cards)
   ========================================================= */
.what-lead {
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto;
    color: #444;
}

.what-card {
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.what-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--accent3);
}

.what-card .num-tag {
    display: inline-block;
    font-weight: 900;
    font-size: 1rem;
    color: var(--accent1);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.what-card h3 {
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--accent3);
}

.what-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}


/* =========================================================
   3. NUMBERS STRIP
   ========================================================= */
.numbers-strip {
    background: var(--accent4);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.number-block {
    text-align: center;
    position: relative;
    padding: 1rem 0.5rem;
}

/* Divider line between numbers on desktop only */
.number-block:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
    .number-block:not(:last-child)::after {
        display: none;
    }

    .number-block {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .number-block:last-child {
        border-bottom: none;
    }
}

.number-big {
    font-weight: 900;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
}

.number-big .num-dash {
    font-size: 0.6em;
}

.number-big .num-dash-sm {
    font-size: 0.45em;
    opacity: 0.7;
}

.number-label {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 0.5rem;
}


/* =========================================================
   4. UPCOMING EVENTS
   ========================================================= */
.events-lead {
    opacity: 0.92;
}

/* Featured event card — image-filled, photo-backed */
.event-card-featured {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #111;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    isolation: isolate;
}

.event-card-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    color: white;
}

.event-card-featured img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.6s ease;
}

.event-card-featured:hover img {
    transform: scale(1.06);
}

.event-card-featured::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.40) 50%,
            rgba(0, 0, 0, 0.10) 100%);
    z-index: -1;
}

.event-card-featured .tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent1);
    color: white;
    padding: 0.35rem 0.9rem;
    border-radius: 50rem;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.event-card-featured .date-chip {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--accent3);
    padding: 0.35rem 0.9rem;
    border-radius: 50rem;
    font-weight: 900;
    font-size: 0.85rem;
}

.event-card-featured .content {
    padding: 2rem;
}

.event-card-featured .subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.9;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.event-card-featured .title {
    font-weight: 900;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.event-card-featured .event-desc {
    opacity: 0.9;
    font-size: 0.95rem;
}

.event-card-featured .arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* "Coming Soon" placeholder cards — dashed border, no image */
.event-card-soon {
    background: rgba(255, 255, 255, 0.08);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.event-card-soon .tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50rem;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    align-self: flex-start;
}

.event-card-soon .title {
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1;
    margin-top: 1.5rem;
}

.event-card-soon .meta {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.75rem;
}


/* =========================================================
   5. PAST EVENTS (featured block + marquee)
   ========================================================= */
.past-featured {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.past-featured .image-col {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    min-height: 320px;
}

.past-featured .content-col {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.past-featured .location {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent1);
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.past-featured h3 {
    font-weight: 900;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    line-height: 0.95;
    color: var(--accent3);
    margin-bottom: 1rem;
}

.past-featured .past-body {
    color: #555;
    font-size: 1rem;
    line-height: 1.55;
}

.past-featured .quote {
    border-left: 4px solid var(--accent1);
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #444;
    font-size: 1rem;
    line-height: 1.5;
}

.past-featured .quote-attr {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent3);
    letter-spacing: 0.05em;
}

.past-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.past-metric-tile {
    background: rgba(10, 117, 75, 0.06);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.past-metric-tile .n {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--accent3);
    line-height: 1;
}

.past-metric-tile .l {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    margin-top: 0.25rem;
    font-weight: 700;
}


/* =========================================================
   6. PARTNERS (tiers + category grid)
   ========================================================= */
.partners-lead {
    opacity: 0.92;
}

/* Top-tier cards (Organised By / Strategic Partners) */
.partner-tier {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: 100%;
}

.partner-tier-label {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.9;
    font-weight: 900;
    margin-bottom: 1.25rem;
    display: block;
    text-align: center;
}

.partner-tier-label.highlight {
    color: var(--amber);
}

/* Individual logo tile */
.partner-logo-tile {
    background: white;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    transition: transform 0.25s ease;
}

.partner-logo-tile:hover {
    transform: translateY(-3px);
}

.partner-logo-tile--empty {
    opacity: 0.4;
}

.partner-logo-tile .placeholder {
    font-weight: 900;
    font-size: 0.95rem;
    color: var(--accent3);
    text-align: center;
    line-height: 1.1;
}

/* Category header with trailing line */
.partner-category-header {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 900;
    margin: 2rem 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.partner-category-header::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
}


/* =========================================================
   7. FOR BRANDS / FOR JMBs (audience split)
   ========================================================= */
.audience-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .audience-split {
        grid-template-columns: 1fr 1fr;
    }
}

.audience-card {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    color: white;
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease, transform 0.3s ease;
}

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

.audience-card .kicker {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 900;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.audience-card h3 {
    font-weight: 900;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.audience-card p {
    font-size: 1rem;
    line-height: 1.55;
    opacity: 0.95;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.audience-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
}

.audience-card ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
    font-weight: 600;
}

.audience-card ul li::before {
    content: "→ ";
    font-weight: 900;
    margin-right: 0.4rem;
}

.audience-card ul li:last-child {
    border-bottom: none;
}


/* =========================================================
   8. SOCIAL CTA BANNER
   ========================================================= */
.social-banner {
    background: var(--accent3);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Giant decorative "f" behind the banner */
.social-banner::before {
    content: "f";
    position: absolute;
    font-weight: 900;
    font-size: clamp(15rem, 40vw, 40rem);
    line-height: 1;
    color: rgba(255, 255, 255, 0.06);
    top: -5rem;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.social-banner .content {
    position: relative;
    z-index: 1;
}

.social-lead {
    max-width: 520px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Primary Facebook button */
.social-big-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--accent3);
    padding: 1rem 2rem;
    border-radius: 50rem;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.3s ease;
    margin: 0.5rem;
}

.social-big-btn:hover {
    transform: scale(1.05);
    color: var(--accent3);
}

.social-big-btn-icon {
    font-size: 1.4rem;
    line-height: 1;
}

/* Secondary Instagram/TikTok pill buttons */
.social-sm-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid white;
    color: white;
    padding: 0.85rem 1.5rem;
    border-radius: 50rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease;
    margin: 0.5rem;
}

.social-sm-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}


/* =========================================================
   9. FOOTER
   ========================================================= */
.footer-copy {
    font-size: 0.9rem;
    color: #666;
}