/* --------------------------------------------
   Hero Section Component Styles
   -------------------------------------------- */
:root {
    --hero-primary-color: #FF6B1A;
    --hero-secondary-color: #2b3e7e;
    --hero-white: #ffffff;
    --hero-shadow: 0 15px 45px rgba(0,0,0,0.18);
    --hero-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background: #000;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat:no-repeat;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease, visibility 0.3s ease;
    transform: scale(1);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    animation: heroZoom 12s linear forwards;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.22) 40%, rgba(0,0,0,0.72) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--hero-white);
    padding: 0 50px;
}

.hero-text-wrapper {
    max-width: 760px;
}

.hero-title,
.hero-subtitle,
.hero-tagline {
    opacity: 0;
    transform: translateY(30px);
}

.hero-title {
    font-size: clamp(32px, 4vw, 30px);
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: clamp(48px, 10vw, 65px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 15px;
    font-family: 'Brush Script MT', cursive, sans-serif;
    background: linear-gradient(to bottom, #ffffff 0%, #eaeaea 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-tagline {
    font-size: clamp(18px, 2vw, 20px);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 0;
    color: rgba(255,255,255,0.95);
}

.hero-slide.active .hero-title {
    animation: fadeInUp 0.9s ease forwards 0.4s;
}

.hero-slide.active .hero-subtitle {
    animation: fadeInUp 0.9s ease forwards 0.6s;
}

.hero-slide.active .hero-tagline {
    animation: fadeInUp 0.9s ease forwards 0.8s;
}

.destination-cards-overlay {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    z-index: 10;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.destination-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    padding: 15px 20px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.dest-mini-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: var(--hero-transition);
    border: 2px solid transparent;
    text-align: center;
    width:115px;
}

.dest-mini-card:hover,
.dest-mini-card.active {
    transform: translateY(-15px);
    border-color: var(--hero-primary-color);
    background: var(--hero-white);
    box-shadow: 0 20px 45px rgba(255, 107, 26, 0.3);
}

.dest-mini-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dest-mini-card:hover img {
    transform: scale(1.1);
}

.dest-mini-card h3 {
    padding: 15px 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--hero-secondary-color);
    background: var(--hero-white);
    margin: 0;
}

.recognition-badge {
    position: absolute;
    bottom: -140px;
    left: 0;
    right: 0;
    background: var(--hero-secondary-color);
    padding: 15px 0;
    text-align: center;
    z-index: 5;
}

.recognition-badge p {
    color: var(--hero-white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
    .destination-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 25px;
        justify-content: center;
    }

    .hero-title {
        font-size: clamp(20px, 5vw, 30px);
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: clamp(40px, 12vw, 65px);
    }

    .hero-tagline {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .destination-cards-overlay {
        bottom: 10px;
    }

    .dest-mini-card {
        width: 100px;
        min-width: 100px;
    }

    .dest-mini-card img {
        height: 80px;
    }

    .dest-mini-card h3 {
        font-size: 11px;
        padding: 8px 5px;
    }
    .hero-slide{
        background-size:contain;
        background-repeat:no-repeat;
        }
}

@media (max-width: 620px) {
    .hero-slider {
        height: 70vh;
        min-height: 480px;
    }
    .hero-slide{
    background-size:contain;
    background-repeat:no-repeat;
    }

    .destination-cards-grid {
        display: flex;
        justify-content: center;
        overflow-x: auto;
        padding-bottom: 10px;
        gap: 10px;
        scrollbar-width: none; /* Firefox */
    }

    .dest-mini-card:nth-child(n+4) {
        display: none;
    }

    .destination-cards-grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .hero-content {
        padding: 0 18px 120px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .hero-title,
    .hero-subtitle,
    .hero-tagline {
        text-align: center;
    }

}
