/* ============================================
   HERO.CSS - Hero Section Styles (Split-Screen Editorial Design)
   Ray of Hope Women Group - Homepage Hero
   ============================================ */

/* Hero Section Container */
.hero {
    min-height: 50vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--teal-900);
}

/* Split Layout - 50/50 Grid */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 50vh;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* ============================================
   LEFT SIDE - TEXTURED CONTENT AREA
   ============================================ */

.hero-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    position: relative;
    background: linear-gradient(135deg, #1a4d5c 0%, #0d3544 50%, #0a2a36 100%);
    overflow: hidden;
}

/* Diagonal Line Texture Pattern */
.hero-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.03) 1px,
            rgba(255, 255, 255, 0.03) 2px);
    pointer-events: none;
    z-index: 1;
}

/* Subtle Dot Pattern Overlay */
.hero-left::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 2;
}

/* Content Container */
.hero-content {
    max-width: 580px;
    position: relative;
    z-index: 3;
}

/* Overline Text */
.hero-overline {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--amber-400);
    margin-bottom: 2rem;
}

/* Hero Title */
.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
    font-family: var(--font-display);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

/* Hero Description - Editorial Style */
.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.85;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Outlined Button */
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn-hero-outline:hover::before {
    transform: translateX(0);
}

.btn-hero-outline:hover {
    border-color: var(--amber-400);
    color: var(--amber-400);
}

.btn-hero-outline i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-hero-outline:hover i {
    transform: translateX(4px);
}

/* ============================================
   RIGHT SIDE - LARGE PHOTOGRAPHY
   ============================================ */

.hero-right {
    position: relative;
    overflow: hidden;
}

/* Hero Carousel Container */
.hero-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Carousel Slides Container */
.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Individual Carousel Slide */
.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Subtle gradient overlay for depth */
.carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(26, 77, 92, 0.15) 0%,
            transparent 20%);
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   CAROUSEL NAVIGATION DOTS
   ============================================ */

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--amber-400);
    width: 28px;
    border-radius: 5px;
}


/* ============================================
   SCROLL INDICATOR
   ============================================ */

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
}

.scroll-mouse {
    width: 28px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--amber-400);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 20px;
        opacity: 0.3;
    }
}

.scroll-indicator span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large Desktop */
@media (min-width: 1400px) {
    .hero-content {
        max-width: 640px;
    }

    .hero-title {
        font-size: 6rem;
    }
}

/* Tablet & Small Desktop */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-left {
        min-height: 60vh;
        padding: 3rem 2rem;
    }

    .hero-right {
        min-height: 50vh;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .btn-hero-outline {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }

    .hero-left {
        min-height: auto;
        padding: 4rem 1.5rem;
    }

    .hero-right {
        min-height: 60vh;
    }

    .hero-title {
        font-size: 2.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.75;
        margin-bottom: 2.5rem;
    }

    .btn-hero-outline {
        width: 100%;
        justify-content: center;
        padding: 1.125rem 2rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-left {
        padding: 3rem 1.25rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-overline {
        font-size: 0.75rem;
    }

    .hero-right {
        min-height: 50vh;
    }
}