/* 
 * singlepackage.css
 * Modern styling for individual tour package pages
 * Comprehensive styling for tour package detail pages
 */

/* =============================================
 * HERO SECTION
 * ============================================= */
/* Hero Section Styling with Improved Header Interaction */
/* Reset default margins and padding */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Header Compatibility */
#header-container {
    position: relative;
    z-index: 1000;
}
/* Enhanced Hero Section */
.tour-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 180px 0 100px;
    margin-top: 0; /* Remove negative margin */
    z-index: 1;
    overflow: hidden;
}
/* Background Image Layer */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transform: scale(1.05);
    transition: transform 10s ease;
}
/* Dark Overlay */
.tour-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

.tour-code-display {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-color, #6dd5ed);
    text-transform: uppercase;
    margin-bottom: 15px;
    padding: 5px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    letter-spacing: 1px;
}

.tour-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.tour-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-gold, #f8b400);
    font-weight: 500;
}

.tour-duration {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.tour-duration i {
    margin-right: 8px;
    color: var(--secondary-color, #6dd5ed);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    animation: fadeInUp 1.2s ease-out;
}

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

.hero-cta {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.hero-cta-primary {
    background-color: var(--secondary-color, #6dd5ed);
    color: #000;
    border: none;
}

.hero-cta-primary:hover {
    background-color: #fff;
    color: var(--primary-color, #2193b0);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-cta-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.hero-cta-secondary:hover {
    background-color: #fff;
    color: var(--primary-color, #2193b0);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

/* =============================================
 * QUICK FACTS SECTION
 * ============================================= */
.quick-facts-section {
    padding: 70px 0;
    background-color: #0f0f0f;
    position: relative;
}

/* Fix for Tour Highlights section text */
.quick-facts-section .section-title,
.quick-facts-section .text-muted {
    color: #fff !important;
}

.quick-facts-section p.text-muted {
    color: #aaa !important;
}

.quick-facts {
    background-color: #1a1a1a;
    padding: 30px 20px;
    border-radius: 12px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.quick-facts:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: #222;
}

.fact-icon {
    font-size: 2.5rem;
    color: var(--secondary-color, #6dd5ed);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.quick-facts:hover .fact-icon {
    transform: scale(1.2);
    color: var(--accent-gold, #f8b400);
}

.fact-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.fact-text {
    color: #aaa;
    margin-bottom: 0;
    font-size: 1rem;
}

/* =============================================
 * OVERVIEW SECTION
 * ============================================= */
.overview-section {
    padding: 80px 0;
    background-color: #121212;
}

.overview-lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 30px;
    font-weight: 300;
}

.overview-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.overview-image img {
    width: 100%;
    height: auto;
    transition: transform 0.8s ease;
}

.overview-image:hover img {
    transform: scale(1.05);
}

.overview-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.overview-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #bbb;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--secondary-color, #6dd5ed);
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* =============================================
 * HIGHLIGHTS SECTION
 * ============================================= */
.highlights-title {
    margin-bottom: 40px;
    color: #fff;
}

.card-highlight {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.card-highlight:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background-color: #222;
}

.highlight-icon {
    font-size: 2rem;
    color: var(--accent-gold, #f8b400);
    margin-right: 15px;
    min-width: 40px;
    transition: all 0.3s ease;
}

.card-highlight:hover .highlight-icon {
    transform: scale(1.2);
}

/* Ensure text in card-highlight is visible */
.card-highlight h5 {
    color: #fff;
}

.card-highlight p {
    color: #bbb;
}

/* =============================================
 * ITINERARY SECTION
 * ============================================= */
.itinerary-section {
    padding: 80px 0;
    background-color: #0f0f0f;
}

.itinerary-section p {
    color: #bbb !important;
}

.itinerary-tabs {
    display: flex;
    overflow-x: auto;
    margin-bottom: 30px;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color, #2193b0) #1a1a1a;
}

.itinerary-tabs::-webkit-scrollbar {
    height: 6px;
}

.itinerary-tabs::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

.itinerary-tabs::-webkit-scrollbar-thumb {
    background-color: var(--primary-color, #2193b0);
    border-radius: 10px;
}

.itinerary-tabs .nav-link {
    flex: 0 0 auto;
    padding: 12px 25px;
    margin-right: 10px;
    border-radius: 30px;
    background-color: #1a1a1a;
    color: #aaa;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
}

.itinerary-tabs .nav-link:hover {
    background-color: #252525;
    color: #ddd;
}

.itinerary-tabs .nav-link.active {
    background-color: var(--secondary-color, #6dd5ed);
    color: #000;
}

.itinerary-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.nav-button {
    padding: 10px 20px;
    border-radius: 30px;
    background-color: #1a1a1a;
    color: #aaa;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-button:hover {
    background-color: var(--primary-color, #2193b0);
    color: #fff;
    transform: translateY(-3px);
}

.nav-button i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.nav-button.next i {
    margin-right: 0;
    margin-left: 8px;
}

.itinerary-day-card {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

.itinerary-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.itinerary-day-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #fff;
}

.day-badge {
    font-size: 0.9rem;
    background-color: var(--primary-color, #2193b0);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.itinerary-distance {
    color: #aaa;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.itinerary-activities {
    margin-top: 25px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
}

.itinerary-activities h5 {
    font-size: 1.1rem;
    color: var(--secondary-color, #6dd5ed);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.itinerary-activities h5 i {
    margin-right: 10px;
}

.activities-list {
    list-style-type: none;
    padding-left: 0;
}

.activities-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #ddd;
}

.activities-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-gold, #f8b400);
}

/* =============================================
 * BOOKING SECTION
 * ============================================= */
.booking-section {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: #fff;
}

.booking-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

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

.booking-card {
    background-color: rgba(26, 26, 26, 0.9);
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    padding: 30px;
    backdrop-filter: blur(10px);
}

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

.form-label {
    color: #ddd;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #444;
    color: #fff;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color, #6dd5ed);
    box-shadow: 0 0 0 3px rgba(109, 213, 237, 0.2);
    color: #fff;
}

.form-control::placeholder {
    color: #888;
}

.form-select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #444;
    color: #fff;
    border-radius: 8px;
    padding: 12px 15px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.form-select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color, #6dd5ed);
    box-shadow: 0 0 0 3px rgba(109, 213, 237, 0.2);
    color: #fff;
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #555;
}

.form-check-input:checked {
    background-color: var(--secondary-color, #6dd5ed);
    border-color: var(--secondary-color, #6dd5ed);
}

.form-check-label {
    color: #ddd;
}

.booking-submit-btn {
    background: var(--primary-gradient, linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%));
    border: none;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(33, 147, 176, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.booking-submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(33, 147, 176, 0.4);
}

/* =============================================
 * RESPONSIVE STYLES
 * ============================================= */
@media (max-width: 1199.98px) {
    .tour-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 991.98px) {
    .tour-hero {
        padding: 150px 0 80px;
    }
    
    .tour-title {
        font-size: 2.5rem;
    }
    
    .tour-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .tour-hero {
        padding: 120px 0 60px;
    }
    
    .tour-title {
        font-size: 2rem;
    }
    
    .tour-subtitle {
        font-size: 1.1rem;
    }
    
    .tour-duration {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-cta {
        width: 100%;
    }
    
    .quick-facts {
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .itinerary-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-button {
        width: 100%;
        justify-content: center;
    }
    
    .itinerary-day-title {
        font-size: 1.3rem;
    }
    
    .activities-list li {
        font-size: 0.95rem;
    }
    
    .booking-card {
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .tour-hero {
        padding: 100px 0 50px;
    }
    
    .tour-title {
        font-size: 1.8rem;
    }
    
    .hero-content {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .overview-lead {
        font-size: 1rem;
    }
    
    .itinerary-day-card {
        padding: 15px;
    }
    
    .itinerary-activities {
        padding: 15px;
    }
}

/* =============================================
 * LIGHT THEME OVERRIDES
 * ============================================= */
body.light-theme .quick-facts-section,
body.light-theme .overview-section,
body.light-theme .itinerary-section {
    background-color: #f5f5f5;
}

body.light-theme .quick-facts,
body.light-theme .card-highlight,
body.light-theme .itinerary-day-card {
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

body.light-theme .quick-facts:hover,
body.light-theme .card-highlight:hover {
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body.light-theme .section-title,
body.light-theme .fact-title,
body.light-theme .itinerary-day-title {
    color: #333;
}

body.light-theme .overview-lead,
body.light-theme .overview-content p,
body.light-theme .activities-list li {
    color: #555;
}

body.light-theme .fact-text,
body.light-theme .itinerary-distance {
    color: #666;
}

body.light-theme .itinerary-tabs .nav-link {
    background-color: #e9e9e9;
    color: #666;
}

body.light-theme .itinerary-tabs .nav-link:hover {
    background-color: #ddd;
    color: #333;
}

body.light-theme .itinerary-tabs .nav-link.active {
    background-color: var(--secondary-color, #6dd5ed);
    color: #fff;
}

body.light-theme .nav-button {
    background-color: #e9e9e9;
    color: #666;
}

body.light-theme .itinerary-activities {
    background-color: rgba(0, 0, 0, 0.03);
}

/* Animation for elements with AOS */
[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="fade-in"] {
    opacity: 0;
    transition-property: opacity;
}

[data-aos="fade-in"].aos-animate {
    opacity: 1;
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
    opacity: 1;
}