/* ============================================
   HERO SECTION COMPONENT CSS
   Extracted from: partials/home/hero.blade.php
   Used in: Homepage hero carousel
============================================ */

    /* Harcourts Script Font */
    @font-face {
        font-family: 'Harcourts Script';
        src: url('/fonts/Harcourts Script.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
        font-display: block;
    }

    /* Modern Hero Section */
    .modern-hero-section {
        width: 100%;
        position: relative;
        overflow: hidden;
    }

    .modern-carousel {
        position: relative;
        width: 100%;
    }

    /* Fade Transition for Carousel */
    .modern-carousel.carousel-fade .carousel-item {
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }

    .modern-carousel.carousel-fade .carousel-item.active {
        opacity: 1;
    }

    .modern-carousel.carousel-fade .carousel-item-next.carousel-item-start,
    .modern-carousel.carousel-fade .carousel-item-prev.carousel-item-end {
        opacity: 1;
    }

    .modern-carousel.carousel-fade .active.carousel-item-start,
    .modern-carousel.carousel-fade .active.carousel-item-end {
        opacity: 0;
    }

    .modern-carousel-image-wrapper {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .modern-carousel-image {
        width: 100%;
        height: 600px;
        object-fit: cover;
        display: block;
        transition: transform 8s ease-out;
    }

    /* Subtle Ken Burns effect */
    .carousel-item.active .modern-carousel-image {
        transform: scale(1.05);
    }

    .modern-carousel-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.25) 100%);
        pointer-events: none;
    }

    /* Center Text Overlay */
    .hero-center-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 15;
        text-align: center;
        pointer-events: none;
    }

    .hero-tagline {
        font-family: 'Harcourts Script', 'Brush Script MT', 'Segoe Script', cursive;
        font-size: clamp(3.5rem, 8vw, 7rem);
        color: #ffffff;
        text-shadow: 
            3px 3px 12px rgba(0, 0, 0, 0.5),
            0 0 50px rgba(0, 0, 0, 0.3);
        display: inline-block;
        transform: rotate(-5deg);
        letter-spacing: -0.025em;
        white-space: nowrap;
        opacity: 0;
        animation: fadeInTagline 0.8s ease-out 0.3s forwards;
    }

    @keyframes fadeInTagline {
        from {
            opacity: 0;
            transform: rotate(-5deg) translateY(10px);
        }
        to {
            opacity: 1;
            transform: rotate(-5deg) translateY(0);
        }
    }

    /* Carousel Indicators */
    .modern-carousel-indicators {
        position: absolute;
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        padding: 0;
        z-index: 10;
        display: flex;
        gap: 0.5rem;
    }

    .modern-carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.8);
        background: transparent;
        opacity: 0.6;
        transition: all 0.3s ease;
        cursor: pointer;
        padding: 0;
        margin: 0;
    }

    .modern-carousel-indicators button.active {
        background: #ffffff;
        opacity: 1;
        width: 32px;
        border-radius: 6px;
        border-color: #ffffff;
    }

    .modern-carousel-indicators button:hover {
        opacity: 1;
    }

    /* Carousel Controls */
    .modern-carousel-control {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        cursor: pointer;
        transition: all 0.3s ease;
        opacity: 0.8;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    }

    .modern-carousel-control:hover {
        background: #ffffff;
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .modern-carousel-control:active {
        transform: translateY(-50%) scale(0.95);
    }

    .modern-carousel-control-prev {
        left: 1.5rem;
    }

    .modern-carousel-control-next {
        right: 1.5rem;
    }

    .modern-carousel-control i {
        font-size: 1.25rem;
        color: #001f49;
        font-weight: 600;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .modern-carousel-image {
            height: 400px;
        }

        .modern-carousel-indicators {
            bottom: 1rem;
        }

        .modern-carousel-indicators button {
            width: 10px;
            height: 10px;
        }

        .modern-carousel-indicators button.active {
            width: 24px;
        }

        .modern-carousel-control {
            width: 40px;
            height: 40px;
        }

        .modern-carousel-control-prev {
            left: 1rem;
        }

        .modern-carousel-control-next {
            right: 1rem;
        }

        .modern-carousel-control i {
            font-size: 1rem;
        }

        .hero-tagline {
            font-size: 3rem;
        }
    }

    @media (max-width: 480px) {
        .modern-carousel-image {
            height: 300px;
        }

        .modern-carousel-indicators {
            bottom: 0.75rem;
            gap: 0.375rem;
        }

        .modern-carousel-indicators button {
            width: 8px;
            height: 8px;
            border-width: 1.5px;
        }

        .modern-carousel-indicators button.active {
            width: 20px;
        }

        .modern-carousel-control {
            width: 36px;
            height: 36px;
        }

        .modern-carousel-control-prev {
            left: 0.75rem;
        }

        .modern-carousel-control-next {
            right: 0.75rem;
        }

        .modern-carousel-control i {
            font-size: 0.875rem;
        }

        .hero-tagline {
            font-size: 2.2rem;
            letter-spacing: -0.025em;
        }
    }

    @media (max-width: 360px) {
        .modern-carousel-image {
            height: 250px;
        }

        .modern-carousel-control {
            width: 32px;
            height: 32px;
        }

        .modern-carousel-control-prev {
            left: 0.5rem;
        }

        .modern-carousel-control-next {
            right: 0.5rem;
        }

        .hero-tagline {
            font-size: 1.5rem;
        }
    }
