/**
 * Frontend Styles
 * Tour & Travel Management Software
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --border-color: #e2e8f0;
}

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

body {
    font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #334155;
    background-color: #fff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========================================
   ENHANCED HEADER & NAVIGATION STYLES
   ======================================== */
.header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
    padding: 10px 0;
    font-size: 0.85rem;
}

.header-top a {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.header-top a:hover {
    color: #fbbf24;
}

.header-top i {
    color: #fbbf24;
    margin-right: 5px;
}

.header-main {
    padding: 0px 0;
    background: #fff;
}

.header .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--primary-dark);
    transform: scale(1.02);
}

.logo img {
    max-height: 70px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Alert Container - Remove gap below header */
#alert-container {
    margin-top: 0 !important;
}

#alert-container:empty {
    display: none;
}

/* Navigation Menu Styles */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none !important;
    outline: none !important;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.1) 100%);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, #7c3aed 100%) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.navbar-nav .nav-link.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.navbar-nav .nav-link i {
    font-size: 0.95rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    display: inline-block;
}

.navbar-nav .nav-link:hover i {
    opacity: 1;
    color: var(--primary-color);
    transform: scale(1.1);
}

.navbar-nav .nav-link.active i {
    opacity: 1;
    color: #fff !important;
    transform: scale(1.1);
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 8px 12px;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: var(--primary-color);
}

.navbar-toggler:hover .navbar-toggler-icon {
    filter: brightness(10);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232563eb' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 20px 20px;
        border-top: 3px solid var(--primary-color);
    }

    .navbar-nav {
        flex-direction: column;
        gap: 8px;
    }

    .navbar-nav .nav-link {
        padding: 14px 20px;
        border-radius: 12px;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
        border: none !important;
    }

    .navbar-nav .nav-link:hover {
        transform: translateX(5px);
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.12));
    }

    .navbar-nav .nav-link.active {
        color: #fff !important;
        background: linear-gradient(135deg, var(--primary-color) 0%, #7c3aed 100%) !important;
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
        transform: none;
    }

    .navbar-nav .nav-link.active i {
        color: #fff !important;
    }

    .navbar-nav .nav-link:hover i {
        transform: scale(1.1);
    }
}

/* Legacy nav-menu support */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Search Box */
.search-box {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin: -60px auto 0;
    position: relative;
    z-index: 10;
}

.search-box .form-group {
    margin-bottom: 15px;
}

.search-box label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
    display: block;
}

.search-box input,
.search-box select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

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

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

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

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

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Cards */
.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.card-text {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.card-price {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.card-price small {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--secondary-color);
}

/* Package Grid */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Features */
.features {
    background: var(--light-color);
}

.feature-box {
    text-align: center;
    padding: 40px 30px;
}

.feature-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* Booking Form */
.booking-form {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.booking-form h2 {
    margin-bottom: 30px;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Price Summary */
.price-summary {
    background: var(--light-color);
    border-radius: 12px;
    padding: 30px;
}

.price-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.price-row.total {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    border-top: 2px solid var(--border-color);
    margin-top: 15px;
    padding-top: 20px;
}

/* Payment Section */
.payment-section {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.upi-qr {
    max-width: 200px;
    margin: 20px auto;
}

.upi-id {
    background: var(--light-color);
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 600;
    display: inline-block;
    margin: 20px 0;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-confirmed {
    background: #dcfce7;
    color: #16a34a;
}

.status-cancelled {
    background: #fee2e2;
    color: #dc2626;
}

/* Footer - Compact with Bold Typography */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #cbd5e1;
    padding: 30px 0 15px;
    font-size: 0.85rem;
}

.footer h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer p {
    margin-bottom: 6px;
    line-height: 1.5;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 6px;
}

.footer a {
    color: #cbd5e1;
    transition: color 0.2s;
}

.footer a:hover {
    color: #60a5fa;
}

.footer i {
    margin-right: 6px;
    color: #60a5fa;
}

.footer .btn-outline-light {
    font-size: 0.8rem;
    padding: 6px 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 20px;
    text-align: center;
    font-size: 0.8rem;
}

.footer .row {
    --bs-gutter-y: 1rem;
}

.footer .mb-4 {
    margin-bottom: 1rem !important;
}

/* Alert */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .package-grid {
        grid-template-columns: 1fr;
    }

    /* Compact Footer for Mobile */
    .footer {
        padding: 20px 0 10px;
        font-size: 0.75rem;
    }

    .footer h4 {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .footer p {
        margin-bottom: 4px;
        font-size: 0.72rem;
        line-height: 1.4;
    }

    .footer ul li {
        margin-bottom: 4px;
    }

    .footer ul li a {
        font-size: 0.72rem;
    }

    .footer i {
        margin-right: 4px;
        font-size: 0.7rem;
    }

    .footer .col-lg-4.col-md-6:first-child {
        text-align: center;
        margin-bottom: 15px !important;
    }

    .footer .col-6 {
        padding-left: 8px;
        padding-right: 8px;
    }

    .footer .btn-outline-light {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .footer-bottom {
        padding-top: 10px;
        margin-top: 12px;
        font-size: 0.65rem;
    }

    .footer-bottom p {
        font-size: 0.65rem;
    }

    .footer .row {
        --bs-gutter-y: 0.5rem;
    }

    .footer .mb-3 {
        margin-bottom: 0.5rem !important;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-2 { gap: 1rem; }
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ========================================
   ENHANCED PACKAGE DETAIL PAGE STYLES
   ======================================== */

/* Package Hero Banner */
.package-hero {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 30px;
}

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

.package-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 40px 30px 30px;
    color: #fff;
}

.package-hero-overlay h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.package-hero-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.package-hero-badges .badge-item {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-hero-badges .badge-item i {
    font-size: 1.1rem;
}

/* Package Quick Stats */
.package-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

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

.stat-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-card .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--secondary-color);
}

/* Enhanced Itinerary Timeline */
.itinerary-timeline {
    position: relative;
    padding-left: 30px;
}

.itinerary-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--success-color));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 25px;
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-item .day-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.timeline-item p {
    color: var(--secondary-color);
    line-height: 1.7;
}

.timeline-item .meta-info {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e2e8f0;
}

.timeline-item .meta-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.timeline-item .meta-info i {
    color: var(--primary-color);
}

/* Inclusions & Exclusions Cards */
.inc-exc-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.inc-exc-card .card-header-custom {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.inc-exc-card .card-header-custom.inclusions {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
}

.inc-exc-card .card-header-custom.exclusions {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.inc-exc-card .card-header-custom i {
    font-size: 1.5rem;
}

.inc-exc-card .card-header-custom h5 {
    margin: 0;
    font-weight: 600;
}

.inc-exc-card .list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.inc-exc-card .list-item:hover {
    background: #f8fafc;
}

.inc-exc-card .list-item:last-child {
    border-bottom: none;
}

.inc-exc-card .list-item i {
    font-size: 1.1rem;
    margin-top: 2px;
}

.inc-exc-card .list-item.inclusion i {
    color: #22c55e;
}

.inc-exc-card .list-item.exclusion i {
    color: #ef4444;
}

/* Enhanced Booking Sidebar */
.booking-sidebar {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    z-index: 100;
}

.booking-sidebar .sidebar-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 25px;
    text-align: center;
}

.booking-sidebar .sidebar-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.booking-sidebar .price-display {
    padding: 25px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e2e8f0;
}

.booking-sidebar .price-display .original-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 1.1rem;
}

.booking-sidebar .price-display .current-price {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.2;
}

.booking-sidebar .price-display .price-unit {
    color: #64748b;
    font-size: 0.9rem;
}

.booking-sidebar .sidebar-body {
    padding: 25px;
}

.booking-sidebar .form-label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.booking-sidebar .form-control,
.booking-sidebar .form-select {
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    padding: 12px 15px;
    transition: all 0.3s;
}

.booking-sidebar .form-control:focus,
.booking-sidebar .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.booking-sidebar .btn-book {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    border-radius: 50px;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.booking-sidebar .btn-book:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.5);
}

.booking-sidebar .btn-book i {
    transition: transform 0.3s ease;
}

.booking-sidebar .btn-book:hover i {
    transform: translateX(5px);
}

.booking-sidebar .help-section {
    text-align: center;
    padding: 20px 25px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.booking-sidebar .help-section .btn-call {
    border-radius: 50px;
    padding: 10px 25px;
}

/* ========================================
   ENHANCED CARS PAGE STYLES
   ======================================== */

.car-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid #e2e8f0;
    background: #fff;
}

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

.car-card .car-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.car-card .car-type-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.car-card .car-body {
    padding: 25px;
}

.car-card .car-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.car-card .car-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.car-card .car-features .feature {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.car-card .car-features .feature i {
    color: var(--primary-color);
}

.car-card .car-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.car-card .car-price {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.car-card .car-price small {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
}

.car-card .btn-book-car {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    width: 100%;
}

.car-card .btn-book-car:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
    color: #fff;
}

.car-card .btn-book-car i {
    transition: transform 0.3s ease;
}

.car-card .btn-book-car:hover i {
    transform: translateX(4px);
}

/* Car Type Filter Pills */
.car-filter-pills {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.car-filter-pills .filter-pill {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: var(--secondary-color);
}

.car-filter-pills .filter-pill:hover,
.car-filter-pills .filter-pill.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* ========================================
   ENHANCED PACKAGE LISTING STYLES
   ======================================== */

.package-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: none;
    background: #fff;
    height: 100%;
}

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

.package-card .package-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.package-card .package-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-card .package-duration {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.package-card .package-body {
    padding: 25px;
}

.package-card .package-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.package-card .package-desc {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.package-card .package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    gap: 15px;
    flex-wrap: wrap;
}

.package-card .package-price {
    line-height: 1.2;
    flex: 1;
    min-width: 0;
}

.package-card .package-price .original {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.85rem;
    display: block;
}

.package-card .package-price .current {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.package-card .package-price .unit {
    color: #94a3b8;
    font-size: 0.8rem;
    display: block;
}

.package-card .btn-view {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}

.package-card .btn-view:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
    color: #fff;
}

.package-card .btn-view i {
    transition: transform 0.3s ease;
}

.package-card .btn-view:hover i {
    transform: translateX(4px);
}

/* Page Hero Banner */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 50%, #7c3aed 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    white-space: nowrap;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 1.8rem;
        white-space: normal;
    }
    .page-hero h1 i {
        display: block;
        margin-bottom: 10px;
    }
    .page-hero p {
        font-size: 1rem;
    }
}

/* Responsive for new styles */
@media (max-width: 991px) {
    .package-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .package-hero {
        height: 350px;
    }

    .package-hero-overlay h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .package-stats {
        grid-template-columns: 1fr;
    }

    .package-hero {
        height: 300px;
        border-radius: 15px;
    }

    .package-hero-overlay h1 {
        font-size: 1.5rem;
    }

    .timeline-item {
        margin-left: 10px;
    }

    .car-card .car-footer {
        text-align: center;
    }
}

/* ========================================
   OPTIMIZED CAR IMAGES STYLES
   ======================================== */

/* Optimized Car Images */
.car-img-optimized {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Image placeholder for missing images */
.car-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    border: 2px dashed #cbd5e1;
}

.car-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.car-image-placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive image optimization */
@media (max-width: 768px) {
    .car-img-optimized {
        transition: transform 0.3s ease;
    }
}

/* High DPI display optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .car-img-optimized {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Preload critical car images */
.car-img-optimized[data-priority="high"] {
    loading: eager;
    fetchpriority: high;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ========================================
   OPTIMIZED PACKAGE IMAGES STYLES
   ======================================== */

/* Optimized Package Images */
.package-img-optimized {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

/* Image placeholder for missing images */
.package-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    border: 2px dashed #cbd5e1;
}

.package-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.package-image-placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive image optimization */
@media (max-width: 768px) {
    .package-img-optimized {
        transition: transform 0.3s ease;
    }
}

/* High DPI display optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .package-img-optimized {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Preload critical package images */
.package-img-optimized[data-priority="high"] {
    loading: eager;
    fetchpriority: high;
}

/* ========================================
   OPTIMIZED HOTEL IMAGES STYLES
   ======================================== */

/* Optimized Hotel Images */
.hotel-img-optimized {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

/* Image placeholder for missing images */
.hotel-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    border: 2px dashed #cbd5e1;
}

.hotel-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.hotel-image-placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive image optimization */
@media (max-width: 768px) {
    .hotel-img-optimized {
        transition: transform 0.3s ease;
    }
}

/* High DPI display optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hotel-img-optimized {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Preload critical hotel images */
.hotel-img-optimized[data-priority="high"] {
    loading: eager;
    fetchpriority: high;
}

/* ========================================
   GLOBAL MOBILE RESPONSIVE STYLES
   (All pages except homepage)
   ======================================== */

@media (max-width: 768px) {
    /* Base Typography - More compact */
    body {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Page Hero - Compact */
    .page-hero {
        padding: 30px 0;
    }

    .page-hero h1 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .page-hero h1 i {
        font-size: 1.1rem;
        margin-right: 8px !important;
    }

    .page-hero p {
        font-size: 0.8rem;
        margin-bottom: 0;
    }

    /* Sections - Compact padding */
    .section {
        padding: 30px 0;
    }

    .section-title {
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .section-title p {
        font-size: 0.8rem;
    }

    /* Package Stats - 4 in 1 line */
    .package-stats {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px;
        margin-bottom: 20px;
    }

    .stat-card {
        padding: 10px 5px;
        border-radius: 10px;
    }

    .stat-card i {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .stat-card .stat-value {
        font-size: 0.85rem;
    }

    .stat-card .stat-label {
        font-size: 0.6rem;
    }

    /* Package Cards - Compact */
    .package-card .package-image {
        height: 160px;
    }

    .package-card .package-body {
        padding: 15px;
    }

    .package-card .package-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .package-card .package-desc {
        font-size: 0.75rem;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .package-card .package-footer {
        padding-top: 12px;
        gap: 10px;
    }

    .package-card .package-price .current {
        font-size: 1.1rem;
    }

    .package-card .package-price .unit {
        font-size: 0.65rem;
    }

    .package-card .btn-view {
        padding: 10px 16px;
        font-size: 0.75rem;
        border-radius: 25px;
    }

    .package-card .package-badge {
        padding: 4px 10px;
        font-size: 0.65rem;
    }

    .package-card .package-duration {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    /* Car Cards - Compact */
    .car-card .car-image {
        height: 150px;
    }

    .car-card .car-body {
        padding: 15px;
    }

    .car-card .car-name {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .car-card .car-features {
        gap: 6px;
        margin-bottom: 12px;
    }

    .car-card .car-features .feature {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    .car-card .car-footer {
        padding-top: 12px;
        gap: 10px;
    }

    .car-card .car-price {
        font-size: 1.1rem;
    }

    .car-card .car-price small {
        font-size: 0.7rem;
    }

    .car-card .btn-book-car {
        padding: 10px 16px;
        font-size: 0.75rem;
        border-radius: 10px;
    }

    .car-card .car-type-badge {
        padding: 4px 10px;
        font-size: 0.65rem;
    }

    /* Package Detail Page - Compact */
    .package-hero {
        height: 220px;
        border-radius: 12px;
        margin-bottom: 20px;
    }

    .package-hero-overlay {
        padding: 20px 15px 15px;
    }

    .package-hero-overlay h1 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .package-hero-badges .badge-item {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    /* Itinerary Timeline - Compact */
    .itinerary-timeline {
        padding-left: 20px;
    }

    .timeline-item {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .timeline-item .day-badge {
        padding: 3px 10px;
        font-size: 0.7rem;
    }

    .timeline-item h4 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .timeline-item p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .timeline-item .meta-info {
        gap: 12px;
        margin-top: 10px;
        padding-top: 10px;
    }

    .timeline-item .meta-info span {
        font-size: 0.75rem;
    }

    /* Inclusions/Exclusions Cards - Compact */
    .inc-exc-card .card-header-custom {
        padding: 12px 15px;
    }

    .inc-exc-card .card-header-custom i {
        font-size: 1.1rem;
    }

    .inc-exc-card .card-header-custom h5 {
        font-size: 0.9rem;
    }

    .inc-exc-card .list-item {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .inc-exc-card .list-item i {
        font-size: 0.9rem;
    }

    /* Booking Sidebar - Compact */
    .booking-sidebar {
        border-radius: 15px;
    }

    .booking-sidebar .sidebar-header {
        padding: 15px;
    }

    .booking-sidebar .sidebar-header h5 {
        font-size: 0.9rem;
    }

    .booking-sidebar .price-display {
        padding: 15px;
    }

    .booking-sidebar .price-display .current-price {
        font-size: 1.8rem;
    }

    .booking-sidebar .price-display .price-unit {
        font-size: 0.75rem;
    }

    .booking-sidebar .sidebar-body {
        padding: 15px;
    }

    .booking-sidebar .form-label {
        font-size: 0.8rem;
    }

    .booking-sidebar .form-control,
    .booking-sidebar .form-select {
        padding: 10px 12px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .booking-sidebar .btn-book {
        padding: 12px 20px;
        font-size: 0.9rem;
        border-radius: 30px;
    }

    .booking-sidebar .help-section {
        padding: 12px 15px;
    }

    /* Forms - Compact */
    .form-group {
        margin-bottom: 12px;
    }

    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .booking-form {
        padding: 20px;
        border-radius: 12px;
    }

    .booking-form h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    /* Price Summary - Compact */
    .price-summary {
        padding: 15px;
        border-radius: 10px;
    }

    .price-summary h3 {
        font-size: 1rem;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .price-row {
        padding: 6px 0;
        font-size: 0.85rem;
    }

    .price-row.total {
        font-size: 1rem;
        margin-top: 10px;
        padding-top: 12px;
    }

    /* Buttons - Compact */
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .btn-lg {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    /* Cards - Compact */
    .card-body {
        padding: 15px;
    }

    .card-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .card-text {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .card-price {
        font-size: 1.2rem;
    }

    .card-price small {
        font-size: 0.75rem;
    }

    /* Search Box - Compact */
    .search-box {
        padding: 15px;
        border-radius: 10px;
        margin-top: -30px;
    }

    .search-box label {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }

    .search-box input,
    .search-box select {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    /* Filter Pills - Compact */
    .car-filter-pills {
        margin-bottom: 25px;
        gap: 6px;
    }

    .car-filter-pills .filter-pill {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    /* Alerts - Compact */
    .alert {
        padding: 10px 15px;
        font-size: 0.8rem;
        border-radius: 8px;
    }

    /* Status Badge - Compact */
    .status-badge {
        padding: 4px 10px;
        font-size: 0.7rem;
    }

    /* General Text Adjustments */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1rem; }
    h5 { font-size: 0.9rem; }
    h6 { font-size: 0.85rem; }

    p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    small {
        font-size: 0.75rem;
    }

    /* Container - Less padding on mobile */
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Row gaps - Tighter on mobile */
    .row.g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    .row.g-3 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }

    /* Margins - Tighter on mobile */
    .mb-4 {
        margin-bottom: 1rem !important;
    }

    .mb-5 {
        margin-bottom: 1.5rem !important;
    }

    .mt-4 {
        margin-top: 1rem !important;
    }

    .mt-5 {
        margin-top: 1.5rem !important;
    }

    .pt-5 {
        padding-top: 1.5rem !important;
    }

    .pb-5 {
        padding-bottom: 1.5rem !important;
    }
}
