/* Tour Detail Page Styles */
header {
    position: absolute;
}

html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

body {
    
    background-color: #FAF9F6;
    /* background-image: url('../images/image.jpg'); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

p {
    /* color: #f0f0f0; */
    
    color: #262829;
}

/* Tour Hero Section - Responsive */
.tour-hero {
    height: 80vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    position: relative;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.tour-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.tour-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
}

.tour-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 3.5rem;
    margin-top: 9.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

/* Tour Meta - Responsive Grid */
.tour-meta {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 0.75rem;
    padding: 0 1rem;
    background-color: transparent;
}

.tour-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.9rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    color: #f9f9f9;
    font-size: 0.9rem;
    white-space: nowrap;
}

.tour-meta-item span {
    color: #f9f9f9;
}

.tour-meta-icon {
    font-size: 1.1rem !important;
}

/* Sticky Navigation - Responsive */
.tour-sticky-nav {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tour-nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 1rem;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.tour-nav-links::-webkit-scrollbar {
    height: 4px;
}

.tour-nav-links::-webkit-scrollbar-track {
    background: transparent;
}

.tour-nav-links::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.tour-nav-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.tour-nav-links li a:hover {
    color: white;
}

.tour-nav-links li a.active {
    color: #3498db;
}

.tour-nav-links li a.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3498db;
}

/* Main Content - Responsive Padding */
.tour-details {
    padding: 3rem 0;
    position: relative;
    width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.tour-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.tour-details-main {
    overflow-y: visible;
}

.tour-section {
    margin-bottom: 3rem;
    scroll-margin-top: 80px;
}

/* Tour Features Grid */
.tour-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 1.5rem;
    color: #3498db;
    flex-shrink: 0;
}

.feature-content h4 {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
    color: black;
}

.feature-content p {
    margin: 0;
    color: rgba(0, 0, 0, 0.856);
    font-size: 0.85rem;
}

/* Section Headings */
.tour-section h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: black;
    position: relative;
    padding-bottom: 0.75rem;
}

.tour-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #3498db;
}

/* Map Section */
.tour-map {
    width: 100%;
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.map-placeholder {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 1.5rem;
    text-align: center;
    border-radius: 8px;
}

.placeholder-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

/* Itinerary Styles */
.day-item {
    margin-bottom: 2rem;
    border-left: 3px solid #3498db;
    padding-left: 1.5rem;
}

.day-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.day-header {
    margin-bottom: 1rem;
}

.day-image {
    margin: 1rem 0;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.day-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.day-content {
    color: rgba(255, 255, 255, 0.764);
}

.day-details {
    margin-top: 1rem;
}

.day-detail-item {
    margin-bottom: 1rem;
}

.day-detail-item h5 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: black;
}

.day-detail-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(92, 92, 92, 0.349);
    padding-bottom: 1rem;
}

.faq-question {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: black;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.faq-question:after {
    content: '+';
    font-size: 1.25rem;
    color: #3498db;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-question.active:after {
    content: '−';
}

.faq-answer {
    color: rgba(255, 255, 255, 0.764);
    font-size: 0.9rem;
}

/* Booking Card - Responsive */
.tour-booking-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: black;
    margin-bottom: 2rem;
}

.tour-booking-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: rgb(6, 17, 52);
}

.tour-price-large {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.tour-price-large span {
    font-size: 0.9rem;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.8);
}

.booking-form .form-group {
    margin-bottom: 1rem;
}

.booking-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: black;
    font-size: 0.9rem;
}

.booking-form .form-control {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(101, 101, 101, 0.906);
    border-radius: 4px;
    color: black;
    font-size: 0.95rem;
}

.booking-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.booking-form .form-control:focus {
    outline: none;
    border-color: #3498db;
    background: rgba(255, 255, 255, 0.15);
}

.booking-form select.form-control option {
    background-color: #333;
    color: white;
}

/* Button Styles */
.btn-full {
    width: 100%;
    padding: 0.875rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
}

.btn-full:hover {
    background-color: #2980b9;
}

/* Tour Info List */
.tour-info-list {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

.tour-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.info-icon {
    font-size: 1.5rem;
    color: #3498db;
    flex-shrink: 0;
}

.tour-info-item h4 {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
    color: black;
}

.tour-info-item p {
    margin: 0;
    color: rgba(26, 24, 24, 0.8);
    font-size: 0.85rem;
}

.day-description p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.day-activities p,
.day-included p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.stop-duration {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #666;
}
.itinerary-item {
  padding: 1.5rem 0;
}



.day-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-color, #fff);
  margin-bottom: 1rem;
}

.day-description p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}



/* --- Section Titles --- */
.day-title {
  font-size: 1.4rem;
  color: black;
  margin-bottom: 1rem;
  border-left: 4px solid #4aa8ff;
  padding-left: 0.75rem;
}

/* --- Description --- */
.day-description p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  color: #1a1a1b;
}



.day-activities h5,
.day-accommodation h5,
.day-included h5 {
  color: #4aa8ff;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* --- Bullet Style --- */
.day-activities p,
.day-accommodation p,
.day-included p {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

/* --- Divider (optional for extra clarity) --- */
.day-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #4aa7ff74, transparent);
  margin: 2rem 0;
  border: none;
}


/* Responsive Design */
@media (min-width: 471px) {
    .tour-meta {
        grid-template-columns: repeat(1, auto);
    }
}

/* Tablets and larger phones */
@media (min-width: 768px) {
    .tour-details {
        padding: 4rem 0;
    }

    .container {
        width: 100%;
        padding: 0 2rem;
    }

    .tour-details-grid {
        gap: 3rem;
    }
  
    .tour-booking-card {
        padding: 2rem;
    }
    .tour-meta{
        grid-template-columns: repeat(2, 1fr);
    }

    .tour-features {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Desktops */
@media (min-width: 1024px) {
    .tour-details-grid {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }

    .tour-details-sidebar {
        position: sticky;
        top: 80px;
        height: fit-content;
        align-self: start;
    }

    .container {
        padding: 0 3rem;
    }

    .tour-features {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .day-image img {
        max-height: 300px;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .container {
        padding: 0 4rem;
    }
    .tour-meta{gap: 1rem;}
    .tour-meta-item { padding: 1rem 1.8rem;  font-size: 2.3rem; }
    .tour-meta-item span{font-size: 1rem;}
    .tour-meta-icon { font-size: 1.1rem;  }
}
/*extra large Large screens */
@media (min-width: 2300px) {
    .container {  padding: 0 4rem;  min-width: 2200px;  }
    .tour-hero-title {
        font-size: 8.75rem;
        margin-bottom: 3rem;
    }
    .tour-meta{gap: 2rem;}
    .tour-meta-item { padding: 1.6rem 3.3rem;  font-size: 2.3rem; }
    .tour-meta-item span{font-size: 2rem;}
    .tour-meta-icon { font-size: 1.1rem;  }
    .tour-sticky-nav {
        padding: 1.5rem 0;
    }
    
    .tour-nav-links {
        gap: 3rem;
        padding: 0 3rem;
    }
    
    .tour-nav-links li a {
        font-size: 1.4rem;
        padding: 0.75rem 0;
    }
    
    .tour-details {
        padding: 6rem 0;
    }
    
    .tour-details-grid {
        gap: 6rem;
    }
    
    .tour-section h2 {
        font-size: clamp(2.5rem, 4vw, 4rem);
        margin-bottom: 3rem;
        padding-bottom: 1.5rem;
    }
    
    .tour-section h2:after {
        width: 120px;
        height: 6px;
    }
    
    .tour-section {
        margin-bottom: 5rem;
    }
    
    .tour-features {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
    
    .feature-item {
        padding: 2rem;
        border-radius: 16px;
    }
    
    .feature-icon {
        font-size: 3rem;
    }
    
    .feature-content h4 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-content p {
        font-size: 1.2rem;
    }
    
    .tour-booking-card {
        padding: 3rem;
        border-radius: 20px;
    }
    
    .tour-booking-card h3 {
        font-size: 2.3rem;
        margin-bottom: 2rem;
    }
    
    .tour-price-large {
        font-size: 4rem;
        margin-bottom: 3rem;
    }
    
    .tour-price-large span {
        font-size: 1.5rem;
    }
    
    .booking-form .form-group {
        margin-bottom: 2rem;
    }
    
    .booking-form label {
        font-size: 1.4rem !important;
        margin-bottom: 0.75rem;
    }
    
    .booking-form .form-control {
        padding: 1.25rem;
        font-size: 1.5rem;
        border-radius: 8px;
    }
    
    .btn-full {
        padding: 1rem;
        font-size: 3rem;
        border-radius: 8px;
        height: 70px;
    }
    
    .day-item {
        padding-left: 3rem;
        margin-bottom: 4rem;
        border-left-width: 6px;
    }
    
    .day-title {
        font-size: 3rem;
        margin-bottom: 2rem;
    }
    
    .day-image img {
        max-height: 500px;
        border-radius: 16px;
    }
    
    .day-content {
        font-size: 2rem;
        line-height: 1.8;
    }
    
    .day-detail-item h5 {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
    }
    
    .day-detail-item p {
        font-size: 1.8rem;
    }
    
    .faq-question {
        font-size: 2rem;
        padding: 1rem 0;
    }
    
    .faq-question:after {
        font-size: 3rem;
    }
    
    .faq-answer {
        font-size: 1.7rem;
        line-height: 1.7;
    }
    
    .tour-info-item {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .info-icon {
        font-size: 3.3rem;
    }
    
    .tour-info-item h4 {
        font-size: 1.9rem;
        margin-bottom: 0.5rem;
    }
    
    .tour-info-item p {
        font-size: 1.5rem;
    }
    
    .map-placeholder {
        padding: 6rem 3rem;
    }
    
    .placeholder-icon {
        font-size: 6rem;
        margin-bottom: 2rem;
    }
}
/* Small mobile devices */
@media (max-width: 480px) {
    .tour-hero {
        height: 70vh;
        min-height: 350px; 
        max-width: 480px;  
    }

    .tour-hero-title {
         max-width: 480px; 
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
        margin-top: 7rem;
    }

    .tour-meta {
         max-width: 480px; 
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 0.5rem;
    }

    .tour-meta-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .tour-meta-icon {
        font-size: 1rem;
    }

    .tour-sticky-nav {
        padding: 0.75rem 0;
    }

    .tour-nav-links {
        gap: 0.75rem;
        padding: 0 0.75rem;
    }

    .tour-nav-links li a {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }

    .tour-details {
        padding: 2rem 0.4rem;
    }

    .container {
        padding: 0 0 ;
    }

    .tour-section {
        margin-bottom: 2rem;
    }

    .tour-booking-card {
        padding: 1.25rem;
    }

    .tour-price-large {
        font-size: 1.75rem;
    }

    .day-image img {
        max-height: 200px;
    }

    .tour-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .feature-item {
        padding: 0.75rem;
    }
}


@media (max-width: 398px) {
    .tour-hero{
        max-width: 398px;
    }
    .tour-hero-title {
        max-width: 398px;
    }
    .tour-meta {
        max-width: 398px;
        padding: 0 0;
    }
    .tour-meta-item {
        max-width: 398px;
    }
}
/* Extra small devices */
@media (max-width: 375px) {
    .tour-hero {
        padding-left: 0;  
    }

    .tour-hero-title {
        font-size: 0.9rem; 
    }


    .tour-meta-item span{
        padding: 0.35rem 0rem;
        font-size: 0.6rem;
    }
    .tour-meta-icon {
        font-size: 0.8rem !important; 
    }

    .tour-hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 375px;
    }

    .tour-booking-card {
        padding: 1rem;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .tour-sticky-nav,
    .tour-booking-card,
    .btn-full {
        display: none;
    }

    .tour-section {
        page-break-inside: avoid;
    }
}

.footer-bottom p{
    color: white;
}