/* =========================================================
   VERDI ECO PAGE STYLES
   Page-specific styles for verdi-eco.html
   Depends on main.css (CSS variables + base classes).

   Sections in this file:
   1. Hero
   2. Save-the-date card
   3. Ticker
   4. Intro / stat tiles
   5. Activity cards
   6. Schedule section
   7. Location card
   8. CTA banner
   9. Partners groups
  10. Utility (section label, back link, reveal animations)
   ========================================================= */

/* ----- Extra local token (amber not in main.css yet) ----- */
:root {
    --amber: #f5b82c;
}


/* =========================================================
   1. HERO
   ========================================================= */

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

.verdi-hero {
    position: relative;
    min-height: 92vh;
    overflow: hidden;
    background: var(--accent3);
    color: white;
    isolation: isolate;
}

/* Background image — swap the URL below for a real Verdi photo */
.verdi-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=2400&q=80');
    /* TODO: replace with e.g. url('../image/nex/verdi/hero-bg.jpg'); */
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: -2;
}

/* Gradient wash over the hero photo */
.verdi-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 117, 75, 0.85) 0%,
            rgba(37, 167, 166, 0.65) 60%,
            rgba(178, 45, 104, 0.55) 100%);
    z-index: -1;
}

/* Oversized decorative MANTAP letters in hero corners */
.hero-shape {
    position: absolute;
    font-weight: 900;
    font-size: clamp(8rem, 26vw, 28rem);
    line-height: 1;
    opacity: 0.12;
    pointer-events: none;
    user-select: none;
}

.hero-shape.s1 {
    top: -2rem;
    left: -2rem;
    color: var(--accent1);
}

.hero-shape.s2 {
    bottom: -5rem;
    right: -3rem;
    color: var(--amber);
}

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

.hero-title {
    font-size: clamp(3.5rem, 12vw, 11rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.035em;
    margin: 0;
}

.hero-title .mantap-pink {
    color: #ffadd1;
}

.hero-title .mantap-amber {
    color: #ffd27a;
}

.hero-meta {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
}

.hero-meta .divider {
    opacity: 0.5;
    margin: 0 0.75rem;
}

.hero-desc {
    max-width: 580px;
    font-size: 1.1rem;
    line-height: 1.55;
}

.pinkbg {
    background-color: var(--accent1);
    color: white !important;
}


/* Solid (filled) variant of the existing .buttonstyle1.
   Use on light backgrounds where a transparent-bordered button
   doesn't stand out. Same hover behaviour as .buttonstyle1. */
.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;
    /* slightly darker pink */
    color: white;
}


@media (max-width: 768px) {
    .hero-title {
        line-height: 0.9;
    }
}


/* =========================================================
   2. SAVE-THE-DATE CARD
   ========================================================= */
.save-date-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    color: black;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    transform: rotate(2deg);
}

.save-date-card .kicker {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: var(--accent1);
}

.save-date-card .day {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--accent3);
    margin-top: 0.5rem;
}

.save-date-card .month {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--accent3);
    letter-spacing: 0.05em;
}

.save-date-card .year {
    font-weight: 700;
    opacity: 0.6;
    margin-top: 0.25rem;
}

.save-date-card .where-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
}

.save-date-card .where-value {
    font-weight: 700;
}


/* =========================================================
   3. TICKER
   ========================================================= */
.ticker {
    background: var(--accent4);
    color: white;
    padding: 1.1rem 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 3px solid white;
    border-bottom: 3px solid white;
}

.ticker-track {
    display: inline-block;
    animation: ticker-move 35s linear infinite;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.ticker-track span {
    padding: 0 2rem;
}

.ticker-track .dot {
    color: var(--amber);
}

@keyframes ticker-move {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =========================================================
   4. INTRO / STAT TILES
   ========================================================= */
.intro-lead {
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto;
    color: #444;
}

.stat-tile {
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.stat-tile .icon {
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 0.75rem;
    display: block;
}

.stat-tile .num {
    font-weight: 900;
    font-size: 2rem;
    line-height: 1;
    color: var(--accent1);
}

.stat-tile .label {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #666;
    margin-top: 0.35rem;
}


/* =========================================================
   5. ACTIVITY CARDS
   ========================================================= */
.activity-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: #111;
    display: block;
    text-decoration: none;
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.activity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.activity-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.4) 45%,
            rgba(0, 0, 0, 0) 100%);
}

.activity-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: white;
    color: var(--accent3);
    padding: 0.35rem 0.9rem;
    border-radius: 50rem;
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.activity-badge.paid {
    background: var(--accent1);
    color: white;
}

.activity-badge.free {
    background: var(--amber);
    color: #2a1a08;
}

.activity-time {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    padding: 0.35rem 0.8rem;
    border-radius: 50rem;
    font-weight: 700;
    font-size: 0.8rem;
    backdrop-filter: blur(8px);
}

.activity-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.5rem 1.75rem;
    color: white;
}

.activity-partner {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.85;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.activity-title {
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0;
}

.activity-price {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.activity-price .strike {
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 0.35rem;
}


/* =========================================================
   6. SCHEDULE
   ========================================================= */
.schedule-section {
    background: var(--accent3);
    color: white;
}

.schedule-lead {
    max-width: 580px;
    margin: 0 auto;
    opacity: 0.9;
}

.schedule-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.schedule-tab {
    padding: 0.65rem 1.4rem;
    border-radius: 50rem;
    border: 2px solid white;
    background: transparent;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
}

.schedule-tab:hover {
    background: rgba(255, 255, 255, 0.12);
}

.schedule-tab.active {
    background: white;
    color: var(--accent3);
}

.schedule-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
    align-items: stretch;
}

@media (max-width: 576px) {
    .schedule-row {
        grid-template-columns: 90px 1fr;
    }
}

.schedule-time {
    font-weight: 900;
    font-size: 0.9rem;
    padding: 0.9rem 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
}

.schedule-cells {
    display: grid;
    gap: 0.4rem;
}

.schedule-item {
    padding: 0.9rem 1.25rem;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    line-height: 1.25;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.2s ease;
}

.schedule-item:hover {
    transform: translateX(3px);
}

.schedule-item .venue {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.85;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.schedule-item .title {
    font-size: 0.98rem;
    font-weight: 700;
}

.schedule-item.rooftop {
    background: #0a5a3a;
    border-left: 5px solid #8ad5b0;
}

.schedule-item.stage {
    background: var(--accent2);
    border-left: 5px solid #7be0df;
}

.schedule-item.workshop {
    background: var(--accent1);
    border-left: 5px solid #ffadd1;
}

.schedule-item.break {
    background: var(--amber);
    color: #2a1a08;
    border-left: 5px solid #c79000;
}

.schedule-item.break .venue {
    color: #2a1a08;
}


/* =========================================================
   7. LOCATION
   ========================================================= */
.location-lead {
    max-width: 480px;
}

.location-pin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent2);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 50rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.location-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.location-image {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
}

.location-name {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--accent3);
}

.location-address {
    margin-top: 0.5rem;
    color: #666;
}


/* =========================================================
   8. CTA BANNER
   ========================================================= */
.cta-banner {
    background: var(--accent1);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-lead {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

.cta-sup {
    font-size: 0.5em;
}

.cta-shape {
    position: absolute;
    font-weight: 900;
    font-size: clamp(10rem, 28vw, 22rem);
    line-height: 1;
    opacity: 0.1;
    pointer-events: none;
}

.cta-shape.l {
    top: -3rem;
    left: -1rem;
    color: var(--accent2);
}

.cta-shape.r {
    bottom: -5rem;
    right: -1rem;
    color: var(--amber);
}


/* =========================================================
   9. PARTNERS
   ========================================================= */
.partner-group {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: 100%;
}

.partner-group-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

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

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

.partner-logo-card .placeholder-logo {
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--accent3);
    letter-spacing: 0.02em;
    text-align: center;
}


/* =========================================================
   10. UTILITY
   ========================================================= */
.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;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent3);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.back-link:hover {
    color: var(--accent1);
}

.footer-copy {
    font-size: 0.9rem;
    color: #666;
}

/* Scroll-reveal animation (triggered by 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);
}


/* =========================================================
   11. ACTIVITY CARD VARIANTS
   ========================================================= */

/* Lucky Draw teaser card — no image, gradient background instead */
.activity-card--luckydraw {
    background: linear-gradient(135deg, var(--accent1) 0%, #7a1d46 100%);
    position: relative;
    overflow: hidden;
}
.activity-card--luckydraw::before {
    /* decorative confetti-like dots */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 210, 122, 0.25) 0, transparent 3%),
        radial-gradient(circle at 70% 20%, rgba(255, 173, 209, 0.25) 0, transparent 3%),
        radial-gradient(circle at 80% 60%, rgba(123, 224, 223, 0.25) 0, transparent 3%),
        radial-gradient(circle at 30% 75%, rgba(255, 210, 122, 0.25) 0, transparent 3%),
        radial-gradient(circle at 55% 90%, rgba(255, 173, 209, 0.25) 0, transparent 3%);
    pointer-events: none;
}

.luckydraw-teaser {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    color: white;
    z-index: 1;
}
.luckydraw-teaser-icon {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1;
    margin-bottom: 0.75rem;
}
.luckydraw-teaser-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 0.4rem;
}
.luckydraw-teaser-title {
    font-weight: 900;
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--amber);
}
.luckydraw-teaser-prizes {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    opacity: 0.92;
    font-weight: 700;
}

/* Override the standard ::after gradient on the lucky draw variant — it has its own bg */
.activity-card--luckydraw .activity-card-overlay { display: none; }

/* "More to come" placeholder — dashed outline, no image */
.activity-card--placeholder {
    background: rgba(255, 255, 255, 0.08);
    border: 2px dashed rgba(255, 255, 255, 0.4);
    cursor: default;
}
.activity-card--placeholder:hover {
    transform: none;
    box-shadow: none;
}
.activity-card--placeholder .placeholder-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0.75;
}
.activity-card--placeholder .placeholder-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}
.activity-card--placeholder .placeholder-text {
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}


/* =========================================================
   12. LUCKY DRAW — DEDICATED SECTION
   ========================================================= */
.luckydraw-section {
    background: linear-gradient(135deg, var(--accent2) 0%, var(--accent3) 65%, var(--accent1) 140%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Decorative emoji shapes */
.luckydraw-shape {
    position: absolute;
    font-size: clamp(8rem, 14vw, 16rem);
    line-height: 1;
    opacity: 0.08;
    pointer-events: none;
    user-select: none;
}
.luckydraw-shape.ld-shape-1 { top: -2rem; left: -1rem; transform: rotate(-10deg); }
.luckydraw-shape.ld-shape-2 { bottom: -3rem; right: -1rem; transform: rotate(15deg); }

.luckydraw-lead {
    font-size: 1.15rem;
    line-height: 1.55;
    opacity: 0.95;
    max-width: 520px;
    margin-bottom: 1.5rem;
}

.luckydraw-disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 0;
}

/* Step rows */
.luckydraw-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.luckydraw-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 0.9rem 1.25rem;
    transition: background 0.25s ease, transform 0.25s ease;
}
.luckydraw-step:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}
.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--amber);
    color: #2a1a08;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    flex-shrink: 0;
}
.step-text {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
}

/* Poster hero — the prize display */
.luckydraw-poster-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: white;
    line-height: 0; /* kill the gap below inline img */
}
.luckydraw-poster-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 40px 70px rgba(0, 0, 0, 0.3);
}
.luckydraw-poster-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Prize name pills — small structured list below the poster */
.prize-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
}
.prize-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.45rem 0.9rem 0.45rem 0.35rem;
    border-radius: 50rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: white;
    backdrop-filter: blur(6px);
}
.prize-pill-num {
    background: var(--amber);
    color: #2a1a08;
    font-weight: 900;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 50rem;
    letter-spacing: 0.05em;
}

/* Session times note */
.luckydraw-sessions-note {
    margin-top: 1.5rem;
    text-align: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.25);
}
.sessions-note-label {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}
.sessions-note-times {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}
.session-chip {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.9rem;
    border-radius: 50rem;
    font-size: 0.85rem;
    font-weight: 700;
}
