/* redesign.css — DoszCoffee warm premium edition · Dosz teal accent
 * Loaded AFTER Tailwind compiled output. Overrides @layer theme tokens.
 * [CHANGE 2026-08-26] what: warm cream light-first neutrals + Dosz teal brand accent (coffeebean.com.my layout reference, brand colour stays teal per owner) · photography-led hero · clean pricing cards
 * why: premium F&B direction with the brand's own teal identity, not the reference site's palette
 * verify: open doszcoffee.com.my — cream background, dark-green hero/footer, teal CTAs and links */

/* ── WARM LIGHT-FIRST NEUTRALS (brand teal + deep green untouched from app.css) ── */
:root {
    --color-shell: #FEFDFB;
    --color-surface: #FFFFFF;
    --color-surface-2: #F5F0E8;
    --color-line: #E8DED0;
    --color-ink: #17211E;
    --color-roast: #B4632A;
    --color-roast-soft: #FBF1E8;
}

/* ── DARK MODE (secondary) ── */
:root[data-theme="dark"] {
    --color-shell: #0A1211;
    --color-surface: #141D1C;
    --color-surface-2: #1B2726;
    --color-line: #26352F;
    --color-ink: #E6EFED;
    --color-roast: #D8863F;
    --color-roast-soft: #2A1D12;
}
:root[data-theme="dark"] .bg-brand-50 { background-color: var(--color-surface-2) !important; }
:root[data-theme="dark"] { --color-brand-700: #55D8CD; --color-brand-800: #94E8E0; }

/* ── HERO CAROUSEL — full-bleed promo banners ── */
.hero-carousel {
    position: relative;
    background: #0B1B1A;
}
.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: block;
}
.carousel-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 1126 / 400;
    max-height: 480px;
    object-fit: cover;
}
.carousel-dots {
    position: absolute;
    left: 0; right: 0; bottom: 10px;
    display: flex; justify-content: center; gap: 8px;
    z-index: 2;
}
.carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 0; padding: 0;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}
.carousel-dot.active {
    background: #00BFB2;
    transform: scale(1.25);
}

/* ── HERO — brand band ── */
.hero-section {
    min-height: min(72vh, 680px);
    display: flex;
    align-items: center;
    position: relative;
    background-color: #0B1B1A;
}
.hero-compact { min-height: auto; }
.hero-compact .wrap {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(11,27,26,0.92) 0%,
        rgba(11,27,26,0.72) 42%,
        rgba(16,36,34,0.30) 100%);
    pointer-events: none;
}
.hero-badges {
    display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.375rem;
    padding: 0.375rem 0.875rem; border-radius: 999px;
    border: 1px solid rgba(0,191,178,0.4);
    background: rgba(0,191,178,0.12);
    font-size: 0.75rem; font-weight: 600; color: #7FE7DF;
    letter-spacing: 0.02em;
}
.badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #00BFB2;
}

/* ── CTA LIFT ── */
.cta-glow:hover {
    box-shadow: 0 8px 26px rgba(0,191,178,0.3);
    transform: translateY(-1px);
}

/* ── STATS SECTION ── */
.stats-section {
    padding: 4.5rem 0;
    background: var(--color-surface-2);
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}
.stats-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-counter {
    display: block;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-brand-700);
    font-variant-numeric: tabular-nums;
}
.stat-label {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-ink);
    opacity: 0.45;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── VALUE CARDS — clean warm treatment ── */
.value-card {
    padding: 2rem;
    border-radius: 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    box-shadow: 0 1px 3px rgba(11,27,26,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(11,27,26,0.12);
}
.value-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(0,191,178,0.10);
    display: grid; place-items: center;
    color: var(--color-brand-700);
    margin-bottom: 1.25rem;
}
.value-card h2, .value-card h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.015em; }
.value-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.65; color: var(--color-ink); opacity: 0.65; }

/* ── CARD HOVER (global · restrained) ── */
[class*="rounded-2xl"][class*="border"][class*="bg-surface"] {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
[class*="rounded-2xl"][class*="border"][class*="bg-surface"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(11,27,26,0.10);
}

/* ── PRICING / EVENTS — clean premium cards ── */
.pricing-section {
    padding: 5.5rem 0;
    background: var(--color-surface-2);
}
.pricing-grid {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}
@media (min-width: 768px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.pricing-card {
    position: relative;
    border-radius: 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    box-shadow: 0 1px 3px rgba(11,27,26,0.06);
    padding: 2.25rem 1.75rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(11,27,26,0.12);
}
.pricing-card.featured {
    z-index: 2;
    border-top: 3px solid #00BFB2;
    box-shadow: 0 10px 40px rgba(11,27,26,0.14);
}
@media (min-width: 768px) {
    .pricing-card.featured { transform: scale(1.04); margin: -1rem 0; }
    .pricing-card.featured:hover { transform: scale(1.04) translateY(-3px); }
}
.pricing-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: #00BFB2;
    color: #0B1B1A;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.pricing-tier {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-brand-700);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.pricing-amount {
    margin-top: 0.5rem;
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--color-ink);
}
.pricing-amount span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-ink);
    opacity: 0.5;
}
.pricing-desc {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-ink);
    opacity: 0.7;
    line-height: 1.55;
}
.pricing-divider {
    height: 1px;
    background: var(--color-line);
    margin: 1.5rem 0;
}
.pricing-features {
    list-style: none;
    display: flex; flex-direction: column; gap: 0.625rem;
    padding: 0; margin: 0;
}
.pricing-features li {
    display: flex; align-items: flex-start; gap: 0.5rem;
    font-size: 0.875rem; color: var(--color-ink); opacity: 0.8; line-height: 1.5;
}
.pricing-features li svg {
    flex-shrink: 0; width: 16px; height: 16px;
    color: #00BFB2; margin-top: 2px;
}
.pricing-cta {
    display: block; text-align: center;
    margin-top: 1.75rem; padding: 0.875rem;
    border-radius: 10px; font-size: 0.875rem; font-weight: 700;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.pricing-cta.filled {
    background: #00BFB2; color: #0B1B1A;
}
.pricing-cta.filled:hover {
    background: #33CFC4;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,191,178,0.3);
}
.pricing-cta.outline {
    border: 1px solid rgba(0,191,178,0.45); color: var(--color-brand-700);
}
.pricing-cta.outline:hover {
    background: rgba(0,191,178,0.08);
    border-color: #00BFB2;
}

/* ── ORDER CTA SECTION ── */
.order-cta-section {
    position: relative; padding: 5rem 0; overflow: hidden;
}
.order-cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,191,178,0.06), rgba(180,99,42,0.05));
    pointer-events: none;
}
.order-cta-section .wrap {
    position: relative; z-index: 2; text-align: center;
}

/* ── NAV SCROLL EFFECT ── */
header.nav-scrolled {
    background: rgba(254,253,251,0.94) !important;
    backdrop-filter: blur(14px) !important;
    border-bottom-color: var(--color-line) !important;
}
:root[data-theme="dark"] header.nav-scrolled {
    background: rgba(10,18,17,0.94) !important;
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── HEADING — prevent strikethrough ── */
.section-head h2, .pricing-section h2, .hero-section h1 {
    text-decoration: none !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
    .hero-section { min-height: auto; }
    .stats-grid-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .pricing-card.featured { transform: none; margin: 0; }
    .pricing-card.featured:hover { transform: translateY(-3px); }
}


/* ── EVENT PACKAGE (events page) ──
 * [CHANGE 2026-10-07] what: the DOSZ Coffee Event Package menus and price table · why: Founder -
 * "Dan pakej cms dosz coffee" · verify: /events on a phone and a desktop, light and dark.
 * Plain classes rather than Tailwind utilities: the server has no Node, so only utilities already
 * compiled into the build exist. Teal #00BFB2 stays a fill; text that is read uses brand-700. */
.evp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: 2.5rem; }
.evp-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-brand-700); }
.evp-title { margin-top: 0.5rem; font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; line-height: 1.1; color: var(--color-ink); }
.evp-lede { max-width: 34em; line-height: 1.6; color: color-mix(in oklab, var(--color-ink) 72%, transparent); }
.evp-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 3rem; align-items: start; }
.evp-menus { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.evp-menu h3 { font-size: 1.25rem; font-weight: 700; color: var(--color-ink); }
.evp-group { margin-top: 1.1rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-brand-700); }
.evp-menu ul { list-style: none; margin: 0.6rem 0 0; padding: 0; border-top: 1.5px solid var(--color-ink); }
.evp-menu li { padding: 0.6rem 0; border-bottom: 1px solid var(--color-line); font-size: 0.95rem; }
.evp-table { width: 100%; border-collapse: collapse; background: var(--color-surface); border: 1px solid var(--color-line); font-variant-numeric: tabular-nums; }
.evp-table caption { caption-side: top; text-align: left; padding-bottom: 0.75rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in oklab, var(--color-ink) 60%, transparent); }
.evp-table th, .evp-table td { padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--color-line); text-align: right; }
.evp-table thead th { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in oklab, var(--color-ink) 65%, transparent); background: var(--color-surface-2); border-bottom: 1.5px solid var(--color-ink); }
.evp-table th:first-child { text-align: left; }
.evp-table tbody th { font-weight: 600; }
.evp-table tbody tr:last-child > * { border-bottom: 0; }
.evp-table .is-value { background: var(--color-brand-50); }
.evp-table .is-value > * { font-weight: 700; color: var(--color-brand-900); }
.evp-tag { display: inline-block; margin-left: 0.6rem; padding: 0.1rem 0.45rem; border: 1px solid var(--color-brand-700); border-radius: 3px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-brand-800); vertical-align: 0.1em; }
.evp-form { padding-top: 0; }
:root[data-theme="dark"] .evp-table .is-value { background: var(--color-surface-2); }
:root[data-theme="dark"] .evp-table .is-value > * { color: var(--color-brand-200); }
:root[data-theme="dark"] .evp-tag { color: var(--color-brand-200); border-color: var(--color-brand-300); }
@media (max-width: 1023px) { .evp-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (max-width: 640px) {
    .evp-table th, .evp-table td { padding: 0.7rem 0.6rem; font-size: 0.9rem; }
    .evp-tag { display: block; width: max-content; margin: 0.3rem 0 0; }
}
@media (max-width: 480px) { .evp-menus { grid-template-columns: 1fr; gap: 0.5rem; } }
