/* Root Variables for Theme Colors */
:root {
    --primary: #E7DF8C;
    --secondary: #111111;
    --accent: #D4AF37;
    --white: #FFFFFF;
    --dark-grey: #1a1a1a;
    --light-grey: #f8f9fa;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary);
    background-color: var(--light-grey);
}

h1, h2, h3, h4, h5, h6, .playfair {
    font-family: 'Playfair Display', serif;
}

/* Color Utilities */
.text-gold { color: var(--accent) !important; }
.text-primary-color { color: var(--primary) !important; }
.bg-secondary-dark { background-color: var(--secondary) !important; }
.bg-dark-grey { background-color: var(--dark-grey) !important; }

/* Buttons */
.btn-gold {
    background-color: var(--accent);
    color: var(--secondary);
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--primary);
    color: var(--secondary);
    transform: translateY(-2px);
}

.btn-outline-gold {
    border: 2px solid var(--accent);
    color: var(--accent);
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: var(--accent);
    color: var(--secondary);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    color: white;
    transform: translateY(-2px);
}

/* Header */
.navbar-brand {
    font-size: 2rem;
}

.logo-img {
    max-height: 60px;
    max-width: 250px;
    object-fit: contain;
}

.nav-link {
    font-weight: 500;
    color: rgba(255,255,255,0.8) !important;
    transition: all 0.3s ease;
    margin: 0 5px;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: all 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('../images/banner.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Glassmorphism Form */
.glass-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
}

/* Placeholder visibility on dark inputs */
.bg-dark::placeholder,
.form-control.bg-dark::placeholder,
.form-select.bg-dark option[disabled] {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1;
}

.form-control.bg-dark::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.5) !important; }
.form-control.bg-dark::-moz-placeholder { color: rgba(255, 255, 255, 0.5) !important; }
.form-control.bg-dark:-ms-input-placeholder { color: rgba(255, 255, 255, 0.5) !important; }

.form-control.text-white::placeholder { color: rgba(255, 255, 255, 0.5) !important; opacity: 1; }
.form-control.text-white::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.5) !important; }
.form-control.text-white::-moz-placeholder { color: rgba(255, 255, 255, 0.5) !important; }

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

/* Vehicle Cards */
.vehicle-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    border-color: var(--accent);
}

.vehicle-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.vehicle-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
}

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

.rate-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10;
}

/* Tour Cards */
.tour-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.tour-img-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

.tour-img.img-contain {
    object-fit: contain;
    background: #f8f8f8;
    padding: 10px;
}

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

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.whatsapp-float {
    background-color: #25d366;
}

.call-float {
    background-color: var(--accent);
}

.back-to-top {
    background-color: var(--secondary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-btn:hover {
    transform: scale(1.1);
    color: white;
}

/* Footer */
.footer {
    position: relative;
    background: url('../images/footer-bg.jpg') no-repeat center center/cover;
    color: white;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 30, 36, 0.95);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-input::placeholder {
    color: rgba(255,255,255,0.6) !important;
}

.hover-gold:hover {
    color: var(--accent) !important;
}

/* Features/Why Choose Us */
.feature-box {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    background: var(--dark-grey);
    color: white;
}

.feature-box:hover .text-muted {
    color: rgba(255,255,255,0.85) !important;
}

.feature-box:hover .feature-icon {
    color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Responsive Styles */
iframe {
    max-width: 100% !important;
}

.table-responsive th,
.table-responsive td {
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .hero-content {
        text-align: center !important;
    }
    .hero-content .d-flex {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .float-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        height: auto !important;
        min-height: auto !important;
        padding: 100px 0 !important;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-section p {
        font-size: 0.95rem !important;
    }
    .section-padding {
        padding: 50px 0;
    }
    .logo-img {
        max-width: 180px;
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .tour-card .d-flex.gap-2 {
        flex-direction: column !important;
    }
    .tour-card .d-flex.gap-2 .btn {
        width: 100% !important;
    }
}

.btn-dark-tour {
    background-color: #1B1B1B;
    color: #FFFFFF;
    border: 2px solid #1B1B1B;
    transition: all 0.3s ease;
}
.btn-dark-tour:hover {
    background-color: var(--accent);
    color: var(--secondary);
    border-color: var(--accent);
}

/* Tour Details Page Styling */
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5) !important;
}
.main-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.main-img-zoom {
    transition: transform 0.5s ease, opacity 0.3s ease;
}
.main-image-container:hover .main-img-zoom {
    transform: scale(1.08);
}
.thumbnail-slider {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}
.thumbnail-slider::-webkit-scrollbar {
    height: 6px;
}
.thumbnail-slider::-webkit-scrollbar-track {
    background: transparent;
}
.thumbnail-slider::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 3px;
}
.thumbnail-item {
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}
.thumbnail-item:hover, .thumbnail-item.active-thumb {
    border-color: var(--accent) !important;
}

/* Sidebar and sticky custom styling */
.tour-sidebar-card {
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background: #FFFFFF;
}

/* Itinerary Timeline Design */
.timeline {
    position: relative;
    padding-left: 10px;
}
.timeline-item {
    position: relative;
    border-left: 2px solid var(--accent) !important;
    padding-left: 30px;
    padding-bottom: 25px;
}
.timeline-item:last-child {
    border-left: 2px solid transparent !important;
    padding-bottom: 5px;
}
.timeline-badge {
    position: absolute;
    left: -16px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--secondary) !important;
    border: 3px solid #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(214, 175, 55, 0.4);
    z-index: 2;
}

.detail-section {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
}

.btn-outline-dark-custom {
    border: 2px solid #1B1B1B;
    color: #1B1B1B;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline-dark-custom:hover {
    background-color: #1B1B1B;
    color: #FFFFFF;
    border-color: #1B1B1B;
}

/* Inclusions & Exclusions Dynamic List Styling (CKEditor & Plain Text) */
.tour-inclusions-text ul, .tour-inclusions-text ol {
    list-style: none !important;
    padding-left: 0 !important;
}
.tour-inclusions-text ul li, .tour-inclusions-text ol li {
    position: relative !important;
    padding-left: 25px !important;
    margin-bottom: 8px !important;
    list-style-type: none !important;
}
.tour-inclusions-text ul li::before, .tour-inclusions-text ol li::before {
    content: "\f058" !important; /* fa-check-circle */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    color: #198754 !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
}

.tour-exclusions-text ul, .tour-exclusions-text ol {
    list-style: none !important;
    padding-left: 0 !important;
}
.tour-exclusions-text ul li, .tour-exclusions-text ol li {
    position: relative !important;
    padding-left: 25px !important;
    margin-bottom: 8px !important;
    list-style-type: none !important;
}
.tour-exclusions-text ul li::before, .tour-exclusions-text ol li::before {
    content: "\f057" !important; /* fa-times-circle */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    color: #dc3545 !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
}

/* CKEditor Emoji / Icon Resizing */
.tour-description-text img,
.tour-plan-timeline img,
.tour-inclusions-text img,
.tour-exclusions-text img {
    max-width: 100%;
    height: auto;
}

.tour-description-text img[src*="emoji"],
.tour-description-text img[src*="/emoji/"],
.tour-description-text img[src*="s.w.org"],
.tour-plan-timeline img[src*="emoji"],
.tour-plan-timeline img[src*="/emoji/"],
.tour-plan-timeline img[src*="s.w.org"],
.tour-inclusions-text img[src*="emoji"],
.tour-inclusions-text img[src*="/emoji/"],
.tour-inclusions-text img[src*="s.w.org"],
.tour-exclusions-text img[src*="emoji"],
.tour-exclusions-text img[src*="/emoji/"],
.tour-exclusions-text img[src*="s.w.org"] {
    width: 1.25em !important;
    height: 1.25em !important;
    max-width: 1.25em !important;
    max-height: 1.25em !important;
    display: inline-block !important;
    vertical-align: -0.15em !important;
    margin: 0 0.2em !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Redesigned Vehicle Section Styles */
.vehicle-card {
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 30px rgba(214, 175, 55, 0.15) !important;
    border-color: var(--accent) !important;
}

.vehicle-header-strip {
    background-color: var(--secondary);
    border-bottom: 2px solid var(--accent);
    padding: 12px;
    text-align: center;
}

.vehicle-header-strip h4 {
    margin: 0;
    color: var(--accent);
    font-size: 1.15rem;
    font-weight: 600;
}

.vehicle-card-img-container {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #ffffff;
}

.vehicle-card-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .vehicle-card-img {
    transform: scale(1.03);
}

.vehicle-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fffde8;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
    font-size: 0.85rem;
    border: 1px solid #f8f1cc;
}

.vehicle-info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #555;
}

.vehicle-tab-btn {
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.2s ease;
    background-color: #f1f3f5 !important;
    color: #495057 !important;
}

.vehicle-tab-btn.active {
    background-color: var(--accent) !important;
    color: #111111 !important;
}

.btn-red-book {
    background-color: var(--accent) !important;
    color: #111111 !important;
    font-size: 0.85rem;
    border: none;
    transition: background-color 0.2s ease;
}

.btn-red-book:hover {
    background-color: var(--primary) !important;
    color: #111111 !important;
}





