/* --- CSS Variables & Reset --- */
:root {
    --primary: #0e83e9;
    --primary-dark: #0284c7;
    --secondary: #10b981;
    --dark: #0f172a;
    --text: #64748b;
    --light-text: #94a3b8;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --gradient: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    --transition: all 0.3s ease;
    --shadow: 0 20px 40px -5px rgba(0,0,0,0.1);
    --card-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
    --radius: 16px;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

.section {
    padding: 80px 0;
}

.bg-light { background-color: var(--light-bg); }

/* --- Typography --- */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: var(--light-bg);
    border-color: var(--primary);
    color: var(--primary-dark);
}

/* --- Header & Nav --- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    transition: var(--transition);
}

header .container {
    width: 100%;
}

header.scrolled {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

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

nav .logo {
    margin-right: 50px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo i { color: var(--primary); font-size: 1.8rem; }
.logo span { color: var(--primary); margin-left: 6px; }

.logo-footer {
    color: var(--white);
    display: inline-flex;
    margin-bottom: 20px;
}

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

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

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* --- Hero Section (Home) --- */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.7)), url('https://images.unsplash.com/photo-1506461883276-594a12b11cf3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: var(--nav-height);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* --- Page Header (Internal Pages) --- */
.page-header {
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 { font-size: 3rem; margin-bottom: 10px; }
.breadcrumb { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

/* --- Cards --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

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

.card-body { padding: 25px; }
.card-title { font-size: 1.25rem; margin-bottom: 10px; color: var(--dark); }
.card-text { font-size: 0.95rem; color: var(--text); margin-bottom: 20px; }

/* --- Fleet Section --- */
.fleet-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.fleet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: transparent;
}

.fleet-details { padding: 30px; }
.fleet-price { color: var(--secondary); font-weight: 700; margin-top: 15px; display: block; font-size: 1.1rem;}

/* --- Destinations Section --- */
.destination-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 450px;
    box-shadow: var(--shadow);
    cursor: pointer;
}
.destination-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.destination-item:hover img {
    transform: scale(1.1);
}
.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 30px;
    color: white;
}
.destination-overlay h3 { color: var(--white); margin-bottom: 8px; font-size: 1.5rem; }
.destination-overlay p { color: #ddd; font-size: 0.9rem; }

/* --- Booking Widget --- */
.booking-widget {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 24px;
    border-radius: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 1000px;
    margin: 36px auto 0;
}

.booking-widget .form-group {
    flex: 1 1 190px;
    min-width: 180px;
    margin-bottom: 0;
}

.booking-widget .form-status {
    flex-basis: 100%;
    text-align: center;
    margin-top: 4px;
}

.form-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    flex: 0 0 auto;
}

.form-btn:hover { background: #059669; transform: translateY(-2px); }

/* --- Stats Section --- */
.stats-section {
    background: var(--white);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-radius: 30px 30px 0 0;
}

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

.stat-item h3 { font-size: 2.5rem; color: var(--primary); font-weight: 800; margin-bottom: 5px; }
.stat-item p { color: var(--text); font-weight: 500; }

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--dark); }
.form-control {
    width: 100%;
    padding: 14px 16px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-status {
    margin-top: 12px;
    font-size: 0.9rem;
    min-height: 1.2em;
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-form-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.feature-item:hover { transform: translateY(-5px); }

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    background: #e0f2fe;
    padding: 15px;
    border-radius: 50%;
}

.feature-item h3 { color: var(--dark); margin-bottom: 10px; font-size: 1.2rem; }

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: #e2e8f0;
    font-family: serif;
    line-height: 1;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.user-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

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

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

.footer-col h4 { color: var(--white); margin-bottom: 25px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }

.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: var(--white);
}
.social-links a:hover { background: var(--primary); }

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

/* --- Floating WhatsApp --- */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    font-size: 2rem;
}
.float-wa:hover { transform: scale(1.1); }

/* --- Floating Call Button --- */
.float-call {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 25px rgba(14, 131, 233, 0.4);
    z-index: 999;
    font-size: 1.8rem;
}
.float-call:hover { transform: scale(1.1); }

.offer-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ef4444;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    z-index: 10;
}

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

.contact-info {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--radius);
    height: 100%;
}

.contact-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Desktop Specifics --- */
@media (min-width: 769px) {
    .contact-page-grid { grid-template-columns: 1fr 1.5fr; }
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    /* Navigation */
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: 0.3s ease-in-out;
        border-top: 1px solid #eee;
    }
    .nav-links.active { transform: translateX(0); }
    .nav-links a { font-size: 1.2rem; margin: 15px 0; }
    .hamburger { display: block; }

    nav .logo {
        margin-right: 0;
    }
    
    /* Layout & Spacing */
    .container { padding: 0 20px; }
    .section { padding: 50px 0; }
    
    /* Typography */
    .hero-content h1 { font-size: 2.2rem; }
    .section-title h2 { font-size: 2rem; }
    .hero p { font-size: 1rem; padding: 0 10px; }

    /* Grids - Force single column on layouts that don't use auto-fit */
    .contact-wrapper,
    .contact-page-grid { 
        grid-template-columns: 1fr; 
        gap: 30px;
    }

    /* Components */
    .booking-widget { flex-direction: column; padding: 25px; }
    .booking-widget .form-group { 
        width: 100%; 
        margin-bottom: 15px;
    }
    .form-btn { width: 100%; }
    
    .card-img { height: 200px; }
    
    /* Footer */
    .footer-col { text-align: center; }
    .footer-col { margin-bottom: 40px; }
    .footer-col ul { display: inline-block; text-align: left; }
    .social-links { justify-content: center; }
    
    /* Stats */
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    
    /* Floating Buttons */
    .float-call { bottom: 90px; right: 20px; width: 50px; height: 50px; font-size: 1.4rem; }
    .float-wa { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; padding: 0 20px; }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .stats-grid { grid-template-columns: 1fr; }
}
