/**
 * ==============================================================================
 * INVITRAZ - ENTERPRISE WEDDING INVITATION PLATFORM & CMS
 * File: assets/css/RAZHero.css
 * Standar: RAZ Enterprise Architecture (Sesuai Web Utama raz.web.id)
 * Tanggal Pembuatan / Update: 2026-10-29 11:19:00 WIB
 * Deskripsi: Styling Hero Section khas RAZ Creative Studio dengan grid canvas interaktif dan floating keywords
 * ==============================================================================
 */

/* --- Hero Container Utama --- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #121212 40%, #1a1510 100%);
    border-bottom: none;
    padding: 100px 0 60px;
}

/* --- Canvas animasi partikel interaktif di belakang hero --- */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
}

/* --- Overlay gradient untuk readability teks --- */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 10, 0.7) 75%);
    z-index: 2;
}

/* --- Floating tech keywords di hero --- */
.hero-keywords {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero-keywords .keyword {
    position: absolute;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 215, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    white-space: nowrap;
    animation: float-keyword 20s linear infinite;
}

.keyword:nth-child(1) { top: 15%; left: 5%; animation-delay: 0s; animation-duration: 25s; }
.keyword:nth-child(2) { top: 28%; right: 8%; animation-delay: -5s; animation-duration: 22s; }
.keyword:nth-child(3) { top: 62%; left: 8%; animation-delay: -10s; animation-duration: 28s; }
.keyword:nth-child(4) { top: 78%; right: 10%; animation-delay: -3s; animation-duration: 20s; }
.keyword:nth-child(5) { top: 45%; left: 4%; animation-delay: -8s; animation-duration: 24s; }
.keyword:nth-child(6) { top: 85%; left: 45%; animation-delay: -12s; animation-duration: 26s; }
.keyword:nth-child(7) { top: 18%; right: 4%; animation-delay: -6s; animation-duration: 23s; }
.keyword:nth-child(8) { top: 52%; right: 5%; animation-delay: -15s; animation-duration: 27s; }

/* --- Konten Hero (teks, tombol) --- */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 960px;
    padding: 20px 24px;
    margin: 0 auto;
}

/* --- Badge kecil di atas tagline --- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 50px;
    padding: 8px 22px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--color-gold-accent);
    margin-bottom: 26px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.08);
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-gold-accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

/* --- Tagline utama hero --- */
.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.3rem, 5.2vw, 3.8rem);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 22px;
    color: var(--color-light-text);
    letter-spacing: -0.5px;
}

/* --- Sub-tagline hero --- */
.hero-subtitle {
    font-size: clamp(1.02rem, 2vw, 1.18rem);
    color: var(--color-light-secondary);
    max-width: 720px;
    margin: 0 auto 38px;
    line-height: 1.7;
}

/* --- Container tombol CTA hero --- */
.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* --- Scroll indicator panah ke bawah --- */
.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--color-light-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    z-index: 3;
    pointer-events: auto;
    cursor: pointer;
    user-select: none;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all var(--transition);
}

.scroll-indicator:hover {
    color: var(--color-gold-accent);
    background: rgba(255, 215, 0, 0.08);
    transform: translateX(-50%) translateY(-2px);
}

.scroll-indicator:active {
    transform: translateX(-50%) scale(0.95);
}

.scroll-arrow {
    width: 14px;
    height: 14px;
    border-right: 2px solid var(--color-gold-accent);
    border-bottom: 2px solid var(--color-gold-accent);
    transform: rotate(45deg);
    animation: scrollArrow 1.8s ease-in-out infinite;
}
