:root {
    --primary: #1a237e;
    --primary-dark: #0d1452;
    --primary-light: #e8eaf6;
    --accent: #ff6f00;
    --accent-dark: #e65100;
    --success: #2e7d32;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--accent); }

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

.section-padding { padding: 80px 0; }

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

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

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
}

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

/* Header & Nav */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0;
    background: transparent;
}

.site-header.scrolled {
    background: #fff;
    box-shadow: var(--shadow);
}

.site-header.scrolled .navbar-brand img { filter: none; }

/* Inner pages have light backgrounds at the top, so make the navbar solid and
   the menu text dark by default (the white-on-transparent style is for the home hero). */
body.inner-page .site-header { background: #fff; box-shadow: var(--shadow); }
body.inner-page .site-header .navbar .nav-link { color: var(--text-dark); }

.navbar { padding: 10px 0; }

.navbar-brand img { height: 45px; }

.navbar .nav-link {
    font-weight: 500;
    color: #fff;
    padding: 8px 16px !important;
    font-size: 0.95rem;
    position: relative;
}

.site-header.scrolled .navbar .nav-link { color: var(--text-dark); }

.navbar .nav-link.active,
.navbar .nav-link:hover { color: var(--accent) !important; }

.mega-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 20px;
    border-top: 3px solid var(--primary);
}

.mega-menu-item {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.mega-menu-item:hover { transform: translateY(-2px); }

.mega-menu-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.mega-menu-title {
    display: block;
    padding: 8px 4px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.language-switcher .btn {
    font-weight: 600;
    font-size: 0.85rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.hero-slide {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.hero-cta .btn { margin-right: 12px; margin-bottom: 8px; }

.hero-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
}

.hero-slider .swiper-pagination-bullet-active { opacity: 1; }

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 0;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    background: rgba(0,0,0,0.4);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
}

.hero-slider .swiper-button-prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}

/* Quick Search */
.quick-search-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.quick-search-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.1);
}

/* Destination Card */
.destination-card {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

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

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

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

.dest-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 15px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.dest-package-count {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--accent);
    padding: 3px 12px;
    border-radius: 20px;
}

.dest-card-body { padding: 18px; }

.dest-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.dest-card-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Package Card */
.package-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.package-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.package-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.badge-bestseller { background: #ff6f00; color: #fff; }
.badge-trending { background: #d32f2f; color: #fff; }
.badge-new { background: #2e7d32; color: #fff; }
.badge-limited { background: #1565c0; color: #fff; }

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

.package-destination {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 6px 0;
}

.package-title a { color: var(--text-dark); }
.package-title a:hover { color: var(--accent); }

.package-meta { margin: 8px 0; }

.package-duration {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.package-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.package-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

/* Sidebar Price Box */
.price-box {
    background: linear-gradient(135deg, var(--primary) 0%, #283593 100%);
    border-radius: 12px;
    padding: 24px 20px 20px;
    color: #fff;
}

.price-box .price-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
}

.price-box .price-amount {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 4px 0;
    color: #fff;
}

.price-box .price-per {
    font-size: 0.85rem;
    opacity: 0.8;
}

.price-box .price-child {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.8rem;
    opacity: 0.85;
}

.package-price .price-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.package-price .price-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.package-price .price-per {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Why Choose Us */
.why-choose-section { background: var(--primary-light); }

.why-card {
    text-align: center;
    padding: 25px 15px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.why-card:hover { transform: translateY(-5px); }

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
}

.why-card h5 {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Service Card */
.service-card {
    display: block;
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: var(--text-dark);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
}

.service-card h5 { font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }

/* Offer Banner */
.offer-banner { position: relative; overflow: hidden; }

.countdown-timer { margin-top: 10px; }

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.countdown-display {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Testimonial Card */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.testimonial-stars { margin-bottom: 12px; }
.testimonial-stars .fa-star { margin-right: 2px; }

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

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

.testimonial-avatar-placeholder {
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.testimonial-name { display: block; font-weight: 600; }
.testimonial-location { font-size: 0.85rem; color: var(--text-muted); }
.testimonial-trip { color: var(--text-muted); font-size: 0.8rem; }

/* Stats Section */
.stats-section {
    position: relative;
    background-attachment: fixed;
}

.stats-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 35, 78, 0.85);
}

.stat-item { padding: 30px; }

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
}

.stat-plus { font-size: 2rem; font-weight: 800; color: var(--accent); }

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-top: 5px;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.blog-card:hover { box-shadow: var(--shadow-hover); }

.blog-card-img { height: 200px; overflow: hidden; }

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

.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card-body { padding: 20px; }

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.blog-category {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-date, .blog-reading-time { color: var(--text-muted); }

.blog-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.blog-title a { color: var(--text-dark); }
.blog-title a:hover { color: var(--accent); }

.blog-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-read-more {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

/* Newsletter */
.newsletter-section .form-control {
    border-radius: 50px 0 0 50px;
    padding: 14px 20px;
    border: none;
}

.newsletter-section .btn {
    border-radius: 0 50px 50px 0;
    padding: 14px 30px;
}

/* Gallery Grid */
.gallery-grid-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.gallery-grid-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-grid-item:hover img { transform: scale(1.1); }

.gallery-grid-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    font-size: 2rem;
}

.gallery-grid-item:hover .gallery-grid-overlay { opacity: 1; }

/* Trust Badges */
.trust-badge { font-weight: 500; font-size: 0.9rem; }

/* Footer */
.site-footer {
    background: #0d1452 !important;
}

.footer-widget img { height: 40px; width: auto; }

.footer-widget h5 { color: #fff; }

.footer-link {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--accent);
    padding-left: 3px;
}

.social-links { display: flex; gap: 10px; }

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover { color: #fff; transform: scale(1.1); }

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 85px;
    z-index: 999;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover { background: var(--accent); color: #fff; }

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    display: flex;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.mobile-bar-item {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 500;
    border: none;
    background: none;
    transition: all 0.3s ease;
}

.mobile-bar-item i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.mobile-bar-item:hover,
.mobile-bar-item:active { color: var(--primary); }

/* Exit Intent Popup */
.exit-intent-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
}

.exit-intent-popup.show { display: flex; }

.exit-intent-content {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.exit-intent-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
}

.exit-intent-body h3 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Social Proof Toast */
.social-proof-toast {
    position: fixed;
    bottom: 160px;
    left: 20px;
    z-index: 998;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    box-shadow: var(--shadow-hover);
    max-width: 320px;
    display: none;
    border-left: 4px solid var(--primary);
    animation: slideInLeft 0.5s ease;
}

.social-proof-toast.show { display: block; }

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.social-proof-content { display: flex; align-items: center; gap: 10px; }

.social-proof-icon { font-size: 1.5rem; color: var(--primary); }

.social-proof-text p { font-weight: 600; font-size: 0.9rem; margin-bottom: 0; }

.social-proof-text small { color: var(--text-muted); }

.social-proof-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

/* Breadcrumb */
.breadcrumb-nav {
    background: var(--bg-light);
    padding: 12px 0;
    margin-top: 70px;
}

.breadcrumb-item a { color: var(--primary); font-weight: 500; }
.breadcrumb-item.active { color: var(--text-muted); }

/* Enquiry Form */
.enquiry-form .form-floating > .form-control:focus ~ label,
.enquiry-form .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary);
}

.enquiry-form .form-floating > .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.1);
}

/* Page Header */
.page-header {
    background: var(--primary);
    padding: 100px 0 50px;
    margin-top: 70px;
}

.page-header h1 {
    color: #fff;
    font-weight: 700;
}

.page-header p {
    color: rgba(255,255,255,0.8);
}

/* Blog Sidebar */
.blog-sidebar .card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.blog-sidebar .card-header {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius) var(--radius) 0 0 !important;
}

/* Package Detail Tabs */
.package-tabs .nav-tabs .nav-link {
    font-weight: 600;
    color: var(--text-muted);
    border: none;
    padding: 12px 20px;
}

.package-tabs .nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
    background: transparent;
}

/* Itinerary */
.itinerary-day {
    position: relative;
    padding: 20px;
    padding-left: 60px;
    border-left: 3px solid var(--primary-light);
    margin-bottom: 20px;
}

.itinerary-day-number {
    position: absolute;
    left: -16px;
    top: 20px;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
