/* Tour Detail Page Styles */
.tour-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    overflow: hidden; /* Prevents floating elements from causing overlap */
}

/* Hero Section */
.tour-hero {
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    color: white;
    position: relative;
    margin-bottom: 40px;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.tour-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(56, 53, 53, 0.5);
    z-index: 1;
}
.tour-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(8px);
    z-index: 0;
    opacity: 0.8;
}
.tour-hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.tour-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #ffffff; /* White color */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: 0.5px;
}
.tour-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.tour-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .tour-hero {
        min-height: 300px;
        padding: 80px 0 40px;
    }
    
    .tour-title {
        font-size: 2rem;
    }
    
    .stars,
    .location-icon {
        font-size: 1rem;
    }
    
    .rating-text,
    .location-text {
        font-size: 1rem;
    }
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.stars {
    color: #FFD700;
    font-size: 1.1rem;
}

.stars .filled {
    color: #FFD700;
}

.location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

.location i {
    color: #ff260e;
}
.location-icon {
    color: #ff2626; /* Coral color for icon */
    font-size: 1.2rem;
}

.location-text {
    color: #ffffff; /* White color */
    font-size: 1.1rem;
    font-weight: 500;
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
    align-items: start; /* Align items at the top */
}

@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

/* Gallery Section */
.tour-gallery {
    margin-bottom: 40px;
}

.main-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.main-image:hover {
    transform: translateY(-5px);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.main-image:hover img {
    transform: scale(1.03);
}

/* Booking Section */
.booking-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.booking-box {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.price-discount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.original-price {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 1.2rem;
}

.discount {
    background: #e74c3c;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.current-price {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.price-note {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.booking-features {
    margin: 25px 0;
    display: grid;
    gap: 15px;
}

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

.feature i {
    color: #3498db;
    font-size: 1.1rem;
    min-width: 20px;
}

/* Booking Form */
.booking-form {
    margin-top: 25px;
}

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

.booking-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.booking-form input:focus,
.booking-form select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}

.book-now-btn {
    width: 100%;
    padding: 15px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.book-now-btn:hover {
    background: #219653;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39,174,96,0.3);
}

.reserve-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.reserve-note i {
    color: #3498db;
    font-size: 1.2rem;
}

/* Highlights & Included Sections */
.highlights-box,
.included-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.highlights-box h3,
.included-section h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlights-box h3 i {
    color: #e74c3c;
}

.included-section h3 i {
    color: #27ae60;
}

.highlights-box ul,
.included-section ul {
    padding-left: 5px;
    list-style-type: none;
}

.highlights-box li,
.included-section li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.highlights-box li:before,
.included-section li:before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 5px;
    top: -3px;
}

.included-section li:before {
    color: #27ae60;
}

/* Tour Description & Info Sections */
.tour-description {
    margin: 40px 0;
}

.tour-description h2 {
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

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

.tour-description p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Not Included Section */
.not-included-section {
    background: #fff9f9;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 4px solid #e74c3c;
}

.not-included-section h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.not-included-section h3 i {
    color: #e74c3c;
}

.not-included-section ul {
    padding-left: 5px;
    list-style-type: none;
}

.not-included-section li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.not-included-section li:before {
    content: "✕";
    color: #e74c3c;
    font-weight: bold;
    position: absolute;
    left: 5px;
}

/* What to Bring Section */
.what-to-bring-section {
    background: #f0f8ff;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 4px solid #3498db;
}

.what-to-bring-section h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.what-to-bring-section h3 i {
    color: #3498db;
}

.what-to-bring-section ul {
    padding-left: 5px;
    list-style-type: none;
}

.what-to-bring-section li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.what-to-bring-section li:before {
    content: "✓";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 5px;
}

/* Important Info Section */
.important-info {
    background: #fffaf0;
    padding: 25px;
    border-radius: 10px;
    margin: 40px 0;
    border-left: 4px solid #f39c12;
}

.important-info h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.important-info h3 i {
    color: #f39c12;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.info-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.info-item h4 {
    margin-bottom: 15px;
    color: #34495e;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item ul {
    padding-left: 5px;
    list-style-type: none;
}

.info-item li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.info-item li:before {
    content: "•";
    color: #f39c12;
    font-weight: bold;
    position: absolute;
    left: 5px;
    font-size: 1.3rem;
    top: -3px;
}

.full-info {
    background: white;
    padding: 20px;
    border-radius: 8px;
    line-height: 1.8;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* Customer Reviews */
.customer-reviews {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.customer-reviews h2 {
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 1.8rem;
}

.no-reviews {
    color: #7f8c8d;
    font-style: italic;
    text-align: center;
    padding: 30px;
}

.reviews-list {
    margin-top: 30px;
}

.review {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    transition: transform 0.3s;
}

.review:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer .initial {
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.reviewer .name {
    font-weight: 600;
    color: #2c3e50;
}

.review-date {
    color: #95a5a6;
    font-size: 0.9rem;
}

.review-rating {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #FFD700;
}

.review-content p {
    line-height: 1.8;
    color: #34495e;
}

.review-buttons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(41,128,185,0.3);
}

.btn-outline {
    border: 2px solid #3498db;
    color: #3498db;
    background: transparent;
}

.btn-outline:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Similar Tours */
.similar-tours {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid #eee;
}

.similar-tours h3 {
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 1.8rem;
    text-align: center;
}

.similar-tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.similar-tour {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
}

.similar-tour:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.similar-tour img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.similar-tour:hover img {
    transform: scale(1.05);
}

.similar-tour-info {
    padding: 20px;
}

.similar-tour h4 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.2rem;
}

.similar-tour-meta {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    font-size: 0.95rem;
    color: #7f8c8d;
}

.similar-tour-meta .rating {
    color: #FFD700;
}

.similar-tour-price {
    margin: 15px 0;
}

.original-price {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 0.9rem;
    margin-right: 10px;
}

.current-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
}

.view-tour-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s;
    border: none;
    width: 100%;
    text-align: center;
}

.view-tour-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Pickup Option Styling */
.pickup-option {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.pickup-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: #2c3e50;
}

.pickup-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3498db;
}

.pickup-location {
    margin-top: 15px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.pickup-location input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tour-hero h1 {
        font-size: 2.2rem;
    }
    
    .tour-meta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-box {
        padding: 20px;
    }
    
    .current-price {
        font-size: 1.8rem;
    }
    
    .similar-tours-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .tour-hero {
        padding: 60px 0 30px;
    }
    
    .tour-hero h1 {
        font-size: 1.8rem;
    }
    
    .review-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
