:root {
    --primary: #0056b3;
    --primary-dark: #003d80;
    --secondary: #f39c12;
    --accent: #27ae60;
    --light: #f8f9fa;
    --dark: #212529;
    --text-main: #333;
    --text-muted: #666;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --radius: 12px;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Glassmorphism Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Dropdown Styling */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 15px 0;
    z-index: 1100;
    border: 1px solid #eee;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    padding: 10px 25px !important;
    display: block;
    color: var(--dark) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    border-bottom: none !important;
}

.dropdown-menu li a:hover {
    background: var(--light);
    color: var(--primary) !important;
    padding-left: 30px !important;
}

.btn-booking {
    background: var(--primary);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Page Header for Inner Pages */
.page-header {
    margin-top: 70px;
    background: linear-gradient(rgba(0,86,179,0.95), rgba(0,86,179,0.95)), url('hero-bg.png') center/cover;
    color: var(--white);
    padding: 80px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 10px;
}

.btn-booking:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* Booking Bar */
.booking-bar {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.booking-inner {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) auto;
    gap: 20px;
    align-items: flex-end;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.input-group input, .input-group select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 1rem;
}

.btn-search {
    background: var(--secondary);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-search:hover {
    background: #e67e22;
}

/* Services */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

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

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary);
}

/* Advantages Ticker */
.advantages {
    background: var(--light);
    padding: 60px 0;
}

.ticker-wrapper {
    overflow: hidden;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    animation: ticker 30s linear infinite;
}

.advantage-item {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-right: 50px;
    font-weight: 600;
    font-size: 1.1rem;
}

.advantage-item i {
    color: var(--secondary);
    font-size: 1.5rem;
}

/* Floating WhatsApp */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: 0.3s;
}

.wa-float:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
}

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #888;
    font-size: 0.9rem;
}

/* Schedule Section */
.schedule-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.schedule-box {
    background: var(--light);
    border: 1px solid #ddd;
    border-radius: var(--radius);
    padding: 20px 40px;
    text-align: center;
    min-width: 250px;
}
.schedule-box h3 {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 800;
}

/* Testimonial Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--secondary);
}
.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.testi-user {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}
.gallery-item {
    aspect-ratio: 1 / 1;
    background-color: #e0e0e0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 2rem;
    transition: 0.3s;
}
.gallery-item:hover {
    background-color: #d0d0d0;
    transform: scale(1.02);
}

/* Article Section */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.article-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
}
.article-img {
    height: 180px;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}
.article-content {
    padding: 20px;
}
.article-date {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

/* Route Cards */
.route-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    transition: 0.3s;
}

.route-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.route-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed #ddd;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.route-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-box {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,86,179,0.1);
}

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

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1200;
        transition: 0.3s;
    }

    .menu-toggle span {
        width: 100%;
        height: 3px;
        background: var(--dark);
        border-radius: 10px;
        transition: 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }

    /* Animated Hamburger to X */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background: var(--primary);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background: var(--primary);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 100px 30px 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        visibility: hidden;
        opacity: 0;
        z-index: 1100;
    }

    .nav-links.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }
    
    .nav-links li {
        width: 100%;
        margin-bottom: 5px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        opacity: 0;
        transform: translateX(30px);
        transition: 0.4s;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation for links */
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.5s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.6s; }

    .nav-links li a {
        display: block;
        padding: 15px 0 !important;
        font-size: 1.1rem !important;
        color: var(--dark) !important;
        font-weight: 600 !important;
        width: 100%;
        border-bottom: none !important;
    }

    .nav-links li a:hover {
        color: var(--primary) !important;
        padding-left: 10px !important;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0,0,0,0.03);
        box-shadow: none;
        display: none;
        padding: 5px 0 5px 15px;
        border: none;
        width: 100% !important;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown > a i {
        margin-left: auto;
        transition: 0.3s;
    }

    .dropdown.active > a i {
        transform: rotate(180deg);
    }

    .btn-booking.desktop-only {
        display: none;
    }
    
    .hero {
        height: 50vh;
        min-height: 280px;
        padding: 90px 20px 0;
    }
    .hero h1 { font-size: 1.8rem; margin-bottom: 10px; }
    .hero p { display: none; } /* Hide extra text to save space */
    .hero-btns .btn-booking { padding: 8px 25px; font-size: 0.9rem; }
    
    .booking-bar { margin-top: -20px; }
    .booking-inner { grid-template-columns: 1fr; padding: 15px; gap: 8px; }
    
    .input-group label { font-size: 0.75rem; }
    .input-group input, .input-group select { padding: 8px 10px; font-size: 0.95rem; }
    .btn-search { padding: 12px; margin-top: 5px; font-size: 0.95rem; }
    
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 2rem; }
    
    /* Stack elements vertically on mobile */
    .services-grid { gap: 20px; grid-template-columns: 1fr !important; }
    
    .about-text { margin-top: 20px; }
    
    .page-header h1 { font-size: 2rem; }
    .page-header { padding: 60px 20px 40px; }
    
    .contact-wrapper { grid-template-columns: 1fr; }
    .route-header { flex-direction: column; text-align: center; gap: 10px; }
}
