/* Global Vars */
:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #eab308;
    --dark: #1e293b;
    --light: #f8fafc;
    --text: #64748b;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
.logo,
.nav-link {
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background: white;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-text {
    background: transparent;
    color: var(--primary);
    font-weight: 600;
}

.subtitle {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.logo i {
    color: var(--secondary);
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Booking Widget */
.booking-widget {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    color: var(--dark);
}

.booking-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

.tab-btn {
    background: transparent;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
}

.booking-form {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    align-items: end;
}

.booking-form.active {
    display: grid;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.form-group label i {
    color: var(--primary);
    margin-right: 0.3rem;
}

.form-group input,
.form-group select {
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary);
}

.btn-search {
    height: 48px;
    font-size: 1rem;
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.3s;
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.icon-flight {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
}

.icon-train {
    background: rgba(234, 179, 8, 0.1);
    color: var(--secondary);
}

.icon-bus {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.icon-car {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text);
    font-size: 0.9rem;
}

/* Destinations */
.tabs-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 1px solid #cbd5e1;
    background: transparent;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.destination-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-img {
    position: relative;
    height: 220px;
}

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

.price-tag {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.card-content {
    padding: 1.5rem;
}

.location {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.meta {
    display: flex;
    justify-content: space-between;
    color: var(--text);
    font-size: 0.9rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.meta i {
    color: var(--secondary);
    margin-right: 0.3rem;
}

/* Feature Split */
.feature-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-img {
    position: relative;
}

.feature-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--dark);
}

.floating-badge i {
    font-size: 1.5rem;
    color: var(--primary);
}

.badge-1 {
    top: 10%;
    right: -20px;
}

.badge-2 {
    bottom: 10%;
    left: -20px;
}

.check {
    width: 25px;
    height: 25px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-list h4 {
    margin-bottom: 0.2rem;
}

.feature-list p {
    color: var(--text);
    font-size: 0.9rem;
}

/* Curated Collections */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.collection-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem;
    color: white;
}

.collection-overlay h3 {
    margin-bottom: 0.2rem;
}

.collection-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Stats Section */
.stats-section {
    background: var(--primary);
    color: white;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Partners */
.partners-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0.8;
}

.partner-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    filter: grayscale(100%);
    transition: all 0.3s;
    cursor: default;
}

.partner-logo:hover {
    filter: grayscale(0%);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Reviews */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.user-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.user-row img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.stars {
    color: var(--secondary);
    font-size: 0.8rem;
}

.review-card p {
    color: var(--text);
    font-style: italic;
}

/* Footer */
footer {
    background: var(--dark);
    color: #cbd5e1;
    padding: 4rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.socials i {
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}

.socials i:hover {
    color: var(--primary);
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 0.3rem;
    margin-top: 1rem;
}

.newsletter-form input {
    background: transparent;
    border: none;
    padding: 0.8rem;
    color: white;
    width: 100%;
    outline: none;
}

.newsletter-form button {
    background: var(--primary);
    border: none;
    color: white;
    padding: 0 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.footer-bottom {
    background: #0f172a;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
.animate-up {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {

    .feature-wrapper,
    .hero-content {
        grid-template-columns: 1fr;
    }

    .review-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 3rem;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .booking-widget {
        padding: 1.5rem;
    }

    /* Horizontal scroll for tabs on mobile */
    .booking-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.8rem;
        padding-bottom: 0.5rem;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .booking-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
        background: #f1f5f9;
        border-radius: 50px;
    }

    .tab-btn.active {
        background: rgba(14, 165, 233, 0.1);
    }

    /* Revert to Stacked Layout (Safest for Mobile) */
    /* Revert to Stacked Layout (Safest for Mobile) */
    .booking-form.active {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        padding-bottom: 0;
        overflow: visible;
    }

    .form-group {
        width: 100%;
        min-width: 0;
    }

    /* Button full width */
    .booking-form .btn-search {
        width: 100%;
        margin-top: 0.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1.2rem;
        width: 100%;
    }
}

/* Fix Search Button Color */
.btn-search {
    background: var(--primary);
    color: white;
    width: 100%;
    margin-top: 1rem;
}

.btn-search:hover {
    background: var(--primary-dark);
}