/*
 * ═══════════════════════════════════════════════════════════
 * VASTRABHA — Homepage Styles
 * ═══════════════════════════════════════════════════════════
 */

/* ── Hero Section ───────────────────────────────────────── */
.vb-hero {
    position: relative;
    width: 100%;
    /* Default to a square/portrait aspect ratio for mobile */
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--vb-gray-900);
}

.vb-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s var(--ease-out);
}

.vb-hero__slide--active { opacity: 1; }

.vb-hero__slide--fallback {
    position: relative;
    background: linear-gradient(135deg, var(--vb-gray-900) 0%, #1a0a0a 50%, #1a1000 100%);
}

.vb-hero__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vb-hero__media iframe {
    width: 100vw;
    height: 100vh; /* Approximate cover for iframe */
    pointer-events: auto; /* Ensure clickable */
    border: none;
}

.vb-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.3) 100%);
    pointer-events: none; /* Let clicks pass through to iframe */
}

.vb-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--sp-8) var(--sp-5) var(--sp-10);
    z-index: 2;
}

.vb-hero__title {
    color: var(--vb-white);
    margin-bottom: var(--sp-3);
    animation: vb-hero-title-in 0.8s var(--ease-out) 0.2s both;
}

.vb-hero__title-accent {
    background: linear-gradient(135deg, var(--vb-gold), var(--vb-red-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vb-hero__subtitle {
    color: rgba(255,255,255,0.8);
    font-size: var(--fs-base);
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: var(--sp-5);
    animation: vb-hero-title-in 0.8s var(--ease-out) 0.4s both;
}

.vb-hero__cta {
    animation: vb-hero-title-in 0.8s var(--ease-out) 0.6s both;
}

@keyframes vb-hero-title-in {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hero Dots */
.vb-hero__dots {
    position: absolute;
    bottom: var(--sp-5);
    right: var(--sp-5);
    display: flex;
    gap: var(--sp-2);
    z-index: 3;
}

.vb-hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all var(--dur-base) var(--ease-out);
}

.vb-hero__dot--active {
    background: var(--vb-gold);
    width: 28px;
    border-radius: 5px;
}

/* ── Category Strip ─────────────────────────────────────── */
.vb-cat-strip {
    padding: var(--sp-6) 0;
    background: var(--vb-white);
    border-bottom: 1px solid var(--vb-gray-100);
}

.vb-cat-strip__scroll {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--sp-6);
    padding-bottom: var(--sp-2);
}

.vb-cat-strip__item {
    display: block;
    width: 100%;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--dur-base) var(--ease-snap);
}

.vb-cat-strip__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.vb-cat-strip__icon {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--vb-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    overflow: hidden;
    transition: all var(--dur-base) var(--ease-out);
}

.vb-cat-strip__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out);
}

.vb-cat-strip__item:hover .vb-cat-strip__icon img {
    transform: scale(1.08);
}

.vb-cat-strip__name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--sp-6) var(--sp-3) var(--sp-3);
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--vb-white);
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

/* ── Section Headers ────────────────────────────────────── */
.vb-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--sp-6);
    gap: var(--sp-4);
}

.vb-section-header .vb-label {
    margin-bottom: var(--sp-1);
    display: block;
}

/* ── Promo Banner ───────────────────────────────────────── */
.vb-promo-banner {
    padding: var(--sp-8) 0;
}

.vb-promo-banner__inner {
    background: linear-gradient(135deg, var(--vb-red-dark) 0%, var(--vb-gray-900) 60%, #1a1000 100%);
    border-radius: var(--radius-xl);
    padding: var(--sp-10) var(--sp-6);
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    align-items: center;
}

.vb-promo-banner__content { position: relative; z-index: 2; }

.vb-promo-banner__visual {
    position: absolute;
    right: -40px;
    top: -40px;
}

.vb-promo-banner__circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,184,0,0.2) 0%, transparent 70%);
    animation: vb-promo-pulse 4s ease-in-out infinite;
}

@keyframes vb-promo-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50%      { transform: scale(1.15); opacity: 1; }
}

/* ── Trust Strip ────────────────────────────────────────── */
.vb-trust-strip {
    background: var(--vb-gray-50);
    padding: var(--sp-8) 0;
    border-top: 1px solid var(--vb-gray-100);
}

.vb-trust-strip__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
}

.vb-trust-strip__item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.vb-trust-strip__icon {
    font-size: 28px;
    flex-shrink: 0;
}

.vb-trust-strip__item strong {
    display: block;
    font-size: var(--fs-sm);
    color: var(--vb-gray-800);
}

.vb-trust-strip__item span {
    font-size: var(--fs-xs);
    color: var(--vb-gray-500);
}

/* ── Desktop ────────────────────────────────────────────── */
@media (min-width: 768px) {
    .vb-hero { height: auto; aspect-ratio: 16/9; }
    .vb-hero__content { padding: var(--sp-12) var(--sp-10) var(--sp-16); }
    .vb-cat-strip__icon { width: 72px; height: 72px; }
    .vb-trust-strip__inner { grid-template-columns: repeat(4, 1fr); }
    .vb-promo-banner__inner { padding: var(--sp-12) var(--sp-10); }
}

@media (min-width: 1024px) {
    .vb-hero { aspect-ratio: 21/9; }
}
