#hero {
    background-image: url('../../assets/images/heroImg/homebg.png');
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.hero-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-headline {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.2;
    font-size: 5.5rem;
    font-weight: 700;
}



.hero-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-tabs a {
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 1rem;
    color: var(--gray-700);
    text-decoration: none;
    padding-bottom: 0.5rem;
}

.hero-tabs a:hover {
    color: var(--gray-700);
    border-bottom: 2px solid var(--gray-300);
}

.hero-tabs a.active {
    color: var(--primary-search);
    border-bottom: 2px solid var(--primary-search);
}

.hero-search-wrapper {
    max-width: 700px;
    width: 100%;
    margin: 0 auto 2rem;
}

.hero-search-bar {
    transition: box-shadow 0.3s ease;
    background: var(--white);
    border-radius: 50px;
}

.hero-search-bar:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
}

.hero-search-input {
    font-size: 1.1rem;
}

.text-gradient-primary {
    font-family: 'Permanent Marker', cursive;
    background: linear-gradient(90deg, #85e1f5, var(--brand-primary-alt), var(--brand-primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    animation: gradientMove 2.5s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.glass-search-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    padding: 2rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 2rem auto 0;
    position: relative;
    width: 90%;
    max-width: 1100px;
    animation: fadeInUpDock 1s ease-out forwards;
    z-index: 10;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--gray-700);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dest-pill {
    background-color: var(--white);
    color: var(--gray-700);
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.2s;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

@keyframes fadeInUpDock {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base animation triggers */
.hero-headline {
    animation: fadeInUp 0.8s ease-out forwards;
}


/* --- RESPONSIVE MEDIA QUERIES --- */

/* Medium Devices (Tablets, etc) */
@media (max-width: 991px) {
    .hero-headline {
        font-size: 3rem;
    }
}

/* Small Devices (Mobiles) */
@media (max-width: 768px) {
    .hero-tabs a {
        font-size: 0.85rem;
    }

    .dest-pill {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}

/* Extra Small Devices (Smartphones) */
/* Extra Small Devices (Smartphones) */
@media (max-width: 576px) {
    #hero {
        height: auto;
        min-height: 100vh;
        padding-top: 20px;
        background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 100%), url('../../assets/images/heroImg/homebg.png');
    }

    .hero-container {
        gap: 1rem;  
        justify-content: center;
        align-items: center;
    }

    .hero-headline {
        margin-bottom: 24px;
    }

    .text-gradient-primary {
        font-size: 3.5rem;
        line-height: 0.9;
    }



    .glass-search-card {
        padding: 24px 16px;
        border-radius: 35px;
        margin-top: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    }

    .hero-tabs {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px !important;
        margin-bottom: 24px;
    }

    .hero-tabs a {
        flex-direction: column;
        background: white;
        padding: 12px 8px;
        border-radius: 18px;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        gap: 6px !important;
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--brand-primary-dark);
        opacity: 1;
        transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .hero-tabs a i {
        font-size: 1.25rem;
        color: var(--brand-primary);
    }

    .hero-tabs a.active {
        background: var(--brand-primary);
        color: white !important;
        border-color: var(--brand-primary) !important;
        transform: scale(1.05);
    }

    .hero-tabs a.active i {
        color: white;
    }

    .hero-tabs a span {
        display: block;
    }

    .hero-search-wrapper {
        margin-bottom: 1.5rem;
    }

    .hero-search-bar {
        padding: 6px;
        border-radius: 100px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    .hero-search-input {
        font-size: 0.9rem;
        padding-left: 10px;
    }

    .btn-hero-search {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-subtitle {
        font-size: 0.7rem;
        margin-bottom: 15px;
        letter-spacing: 2px;
    }

    .dest-pill {
        font-size: 0.75rem;
        padding: 8px 16px;
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.03);
        box-shadow: 0 2px 8px rgba(0, 0, 1, 0.02);
    }
}