/* ============================================
   TRAVELYNX HERO SECTION - Premium Design
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --tvlx-font: 'Plus Jakarta Sans', sans-serif;
    --tvlx-dark: #0f1923;
    --tvlx-glass: rgba(255,255,255,0.08);
    --tvlx-glass-border: rgba(255,255,255,0.15);
    --tvlx-white: #ffffff;
    --tvlx-radius: 16px;
}

/* ---- HEADER ---- */
.tvlx-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    font-family: var(--tvlx-font);
    transition: all 0.4s ease;
}

.tvlx-header.scrolled {
    background: rgba(15,25,35,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.tvlx-logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tvlx-logo:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,0.16);
    transform: translateY(-1px);
}

.tvlx-logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    display: block;
}

.tvlx-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tvlx-nav a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.tvlx-nav a:hover {
    color: var(--tvlx-white);
    background: rgba(255,255,255,0.08);
}

.tvlx-nav a.active {
    color: var(--tvlx-white);
    font-weight: 600;
}

.tvlx-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tvlx-btn-login {
    color: var(--tvlx-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 9px 24px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.05);
}

.tvlx-btn-login:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.tvlx-btn-signup {
    color: var(--tvlx-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 24px;
    border-radius: 30px;
    background: rgba(20,30,45,0.8);
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tvlx-btn-signup:hover {
    background: rgba(20,30,45,1);
    color: #fff;
    transform: translateY(-1px);
}

.tvlx-mobile-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 18px;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
}

/* ---- HERO SECTION ---- */
.tvlx-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('../images/hero-travelynx.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    font-family: var(--tvlx-font);
    color: var(--tvlx-white);
    overflow: hidden;
}

.tvlx-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8,15,25,0.55) 0%,
        rgba(8,15,25,0.30) 30%,
        rgba(8,15,25,0.15) 50%,
        rgba(8,15,25,0.30) 75%,
        rgba(8,15,25,0.60) 100%
    );
    z-index: 1;
}

.tvlx-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: 100px 50px 35px 50px;
}

.tvlx-hero-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* ---- LEFT CONTENT ---- */
.tvlx-hero-left {
    max-width: 500px;
    animation: tvlxFadeUp 1s ease 0.2s backwards;
}

.tvlx-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tvlx-badge-star {
    color: #f0c040;
}

.tvlx-heading {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin: 0 0 30px 0;
    color: var(--tvlx-white);
}

.tvlx-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: var(--tvlx-white);
    text-decoration: none;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tvlx-cta-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.tvlx-cta-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.tvlx-cta-btn:hover i {
    transform: translate(3px, -3px);
}

/* ---- FLOAT CARD (RIGHT) ---- */
.tvlx-hero-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    animation: tvlxFadeUp 1s ease 0.5s backwards;
}

.tvlx-float-card-slider {
    position: relative;
    width: 600px;  /* widened for horizontal */
    height: 350px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tvlx-float-card {
    position: absolute;
    width: 250px;
    background: var(--tvlx-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    color: #1a1a1a;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
    transform-origin: center center;
}

.tvlx-float-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    z-index: 3;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.tvlx-float-card.prev {
    opacity: 0.6;
    transform: translateX(-160px) scale(0.85);
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

.tvlx-float-card.next {
    opacity: 0.6;
    transform: translateX(160px) scale(0.85);
    z-index: 1;
    pointer-events: auto;
    cursor: pointer;
}

.tvlx-float-card.hidden {
    opacity: 0;
    transform: translateX(0) scale(0.6);
    z-index: 0;
    pointer-events: none;
}

.tvlx-float-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.tvlx-float-card-img {
    position: relative;
    height: 130px;
    overflow: hidden;
}

.tvlx-float-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tvlx-card-loc {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.tvlx-card-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 10px;
    height: 10px;
    background: #ff6b35;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255,107,53,0.3);
}

.tvlx-float-card-body {
    padding: 14px;
}

.tvlx-float-card-body h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1a1a1a;
}

.tvlx-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.tvlx-card-tags span {
    font-size: 9px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    background: #e8f4f8;
    color: #3a7ca5;
}

.tvlx-card-desc {
    font-size: 11px;
    color: #777;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.tvlx-btn-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.tvlx-btn-details:hover {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

.tvlx-btn-details i {
    font-size: 10px;
}

.tvlx-slider-dots {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-left: 0;
    margin-top: -10px;
    z-index: 5;
    position: relative;
    justify-content: center;
}

.tvlx-slider-dots .dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tvlx-slider-dots .dot.active {
    background: #ff6b35;
    width: 16px;
    height: 6px;
    border-radius: 10px;
}

/* ---- BOTTOM AREA ---- */
.tvlx-hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    padding-top: 30px;
}

/* Flight Card */
.tvlx-flight-card {
    background: var(--tvlx-white);
    border-radius: 18px;
    padding: 16px 18px;
    color: #1a1a1a;
    min-width: 195px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    animation: tvlxFadeUp 1s ease 0.7s backwards;
}

.tvlx-flight-date {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 12px;
}

.tvlx-flight-route {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.tvlx-flight-point {
    text-align: center;
}

.tvlx-city-code {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.tvlx-city-time {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.tvlx-city-time small {
    font-size: 9px;
}

.tvlx-flight-line {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tvlx-route-visual {
    display: flex;
    align-items: center;
    gap: 3px;
    width: 100%;
}

.route-dot {
    width: 5px;
    height: 5px;
    background: #ccc;
    border-radius: 50%;
}

.route-dash {
    flex: 1;
    height: 1px;
    background: #ddd;
}

.tvlx-route-visual i {
    font-size: 10px;
    color: #888;
    transform: rotate(0deg);
}

.tvlx-flight-dur {
    font-size: 9px;
    color: #aaa;
}

.tvlx-flight-price {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
}

/* Search Area */
.tvlx-search-area {
    flex: 1;
    max-width: 500px;
    animation: tvlxFadeUp 1s ease 0.8s backwards;
}

.tvlx-search-bar {
    display: flex;
    align-items: center;
    background: var(--tvlx-white);
    border-radius: 50px;
    padding: 6px 8px 6px 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    gap: 8px;
}

.tvlx-search-plus {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

.tvlx-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: var(--tvlx-font);
    color: #333;
    background: transparent;
    padding: 8px 0;
}

.tvlx-search-bar input::placeholder {
    color: #999;
}

.tvlx-search-mic,
.tvlx-search-send {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tvlx-search-mic {
    background: transparent;
    color: #555;
}

.tvlx-search-send {
    background: #e8e8e8;
    color: #333;
}

.tvlx-search-mic:hover {
    background: #f0f0f0;
}

.tvlx-search-send:hover {
    background: #1a1a1a;
    color: white;
}

.tvlx-search-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
}

.tvlx-search-pills span {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    padding: 7px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tvlx-search-pills span:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

/* Testimonial */
.tvlx-hero-testimonial {
    max-width: 210px;
    text-align: right;
    animation: tvlxFadeUp 1s ease 0.9s backwards;
}

.tvlx-testimonial-avatar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.tvlx-testimonial-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    object-fit: cover;
}

.tvlx-hero-testimonial p {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255,255,255,0.75);
    margin: 0;
    font-weight: 400;
}

/* ---- ANIMATIONS ---- */
@keyframes tvlxFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tvlxFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ---- HERO RESPONSIVE ---- */
@media (max-width: 1200px) {
    .tvlx-heading {
        font-size: 44px;
    }
    .tvlx-hero-content {
        padding: 100px 35px 30px 35px;
    }
}

@media (max-width: 991px) {
    .tvlx-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(15,25,35,0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-radius: 0 0 20px 20px;
        gap: 4px;
    }
    .tvlx-nav.active {
        display: flex;
    }
    .tvlx-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .tvlx-header {
        padding: 0 25px;
    }
    .tvlx-hero-content {
        padding: 150px 25px 35px 25px;
    }
    .tvlx-heading {
        font-size: 38px;
    }
    .tvlx-hero-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .tvlx-hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .tvlx-hero-left p {
        text-align: center;
    }
    .tvlx-hero-right {
        justify-content: center;
        width: 100%;
    }
    .tvlx-hero-bottom {
        flex-wrap: wrap;
        gap: 15px;
    }
    .tvlx-flight-card {
        min-width: auto;
    }
    .tvlx-hero-testimonial {
        display: none;
    }
}

@media (max-width: 768px) {
    .tvlx-header-actions {
        display: none;
    }
    .tvlx-heading {
        font-size: 32px;
    }
    .tvlx-hero-content {
        padding: 135px 20px 30px 20px;
    }
    .tvlx-hero-bottom {
        flex-direction: column;
        align-items: stretch;
    }
    .tvlx-flight-card {
        display: none;
    }
    .tvlx-search-area {
        max-width: 100%;
    }
    .tvlx-search-pills {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .tvlx-hero-content {
        padding: 145px 15px 30px 15px;
    }
    .tvlx-heading {
        font-size: 28px;
        letter-spacing: -0.5px;
    }
    .tvlx-badge {
        font-size: 11px;
        padding: 6px 14px;
    }
    .tvlx-cta-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    .tvlx-float-card {
        width: 180px;
    }
    .tvlx-search-pills span {
        font-size: 11px;
        padding: 6px 12px;
    }
}
