/**
 * Erlandia Hero Section Styles
 * Includes support for background images for that "magical" look
 */

/* =====================
   HERO BASE
   ===================== */
.hero-section {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* =====================
   HERO BACKGROUNDS
   ===================== */

/* Default gradient background */
.hero-section.hero-gradient {
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

/* Decorative radial gradients */
.hero-section.hero-gradient::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section.hero-gradient::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 15, 99, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Image background with overlay */
.hero-section.hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(254, 249, 240, 0.85) 0%,
        rgba(254, 249, 240, 0.75) 50%,
        rgba(254, 249, 240, 0.9) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Dark overlay variant for light images */
.hero-section.hero-image-dark {
    color: var(--cream);
}

.hero-section.hero-image-dark::before {
    background: linear-gradient(
        180deg,
        rgba(45, 42, 38, 0.7) 0%,
        rgba(45, 42, 38, 0.5) 50%,
        rgba(45, 42, 38, 0.8) 100%
    );
}

.hero-section.hero-image-dark h1,
.hero-section.hero-image-dark h2,
.hero-section.hero-image-dark h3 {
    color: var(--cream);
}

.hero-section.hero-image-dark p {
    color: rgba(254, 249, 240, 0.9);
}

/* =====================
   HERO CONTENT
   ===================== */
.hero-tagline {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-section h1 {
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section h1 .gold {
    color: var(--gold-dark);
}

.hero-section h1 .magenta {
    color: var(--magenta);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.hero-insight {
    font-family: 'Abhaya Libre', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    max-width: 650px;
    margin: 0 auto 40px;
    padding: 20px 32px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid var(--gold-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-insight span {
    color: var(--magenta);
}

/* =====================
   HERO CTAs
   ===================== */
.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* =====================
   HERO PROOF/STATS
   ===================== */
.hero-proof {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.proof-item {
    text-align: center;
}

.proof-number {
    font-family: 'Abhaya Libre', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold-dark);
    line-height: 1;
}

.proof-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* =====================
   HERO VARIATIONS
   ===================== */

/* Compact hero for inner pages */
.hero-section.hero-compact {
    min-height: auto;
    padding: 140px 0 60px;
}

/* Full height hero */
.hero-section.hero-full {
    min-height: 100vh;
}

/* Left-aligned hero */
.hero-section.hero-left {
    text-align: left;
}

.hero-section.hero-left h1,
.hero-section.hero-left .hero-subtitle,
.hero-section.hero-left .hero-insight {
    margin-left: 0;
    margin-right: auto;
}

.hero-section.hero-left .hero-ctas {
    justify-content: flex-start;
}

.hero-section.hero-left .hero-proof {
    justify-content: flex-start;
}

/* =====================
   HERO WITH SIDE IMAGE
   ===================== */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

.hero-split-content h1,
.hero-split-content .hero-subtitle,
.hero-split-content .hero-insight {
    margin-left: 0;
}

.hero-split-content .hero-ctas {
    justify-content: flex-start;
}

.hero-split-image {
    position: relative;
}

.hero-split-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-split-content h1,
    .hero-split-content .hero-subtitle,
    .hero-split-content .hero-insight {
        margin: 0 auto;
    }

    .hero-split-content .hero-ctas {
        justify-content: center;
    }

    .hero-split-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-section.hero-full {
        min-height: 100vh;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-insight {
        font-size: 1.1rem;
        padding: 16px 24px;
    }

    .hero-proof {
        gap: 24px;
    }

    .proof-number {
        font-size: 2rem;
    }
}

/* =====================
   DECORATIVE ELEMENTS
   ===================== */
.hero-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.hero-decoration.top-right {
    top: 10%;
    right: 5%;
    width: 200px;
    opacity: 0.15;
}

.hero-decoration.bottom-left {
    bottom: 10%;
    left: 5%;
    width: 150px;
    opacity: 0.1;
}

/* Floating animation for decorations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-decoration.floating {
    animation: float 6s ease-in-out infinite;
}
