/* adventure.css - Based on tour.php styles with Embogo Lodges theme */

:root {
    --primary: #e54750;
    --primary-dark: #c23a42;
    --secondary: #2c3e50;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-light: #777;
    --gold: #EC9742;
    --embogogreen: #0C9148;
    --embogogreen2: #38761D;
}
.book-now-btn {
    background: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.book-now-btn:hover {
    background: #22867a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

        
        /* Hero Section - REMOVED MARGIN-TOP */
        .tours-hero {
            /*background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                        url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;*/
            background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                        url('img/header15.jpg') center/cover no-repeat;
                                    
           height: 50vh;
            min-height: 350px;
            display: flex;
            align-items: center;
            color: white;
            text-align: center;
            margin-top: -50px; /* Add this to counteract body padding */
            /* REMOVED: margin-top: -100px; */
        }
        
        .hero-title {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 15px;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
        }
        
        .breadcrumb {
            justify-content: center;
            background: transparent;
            padding: 0;
            margin-bottom: 0;
        }
        
        .breadcrumb-item a {
            color: white;
            text-decoration: none;
        }
        
        .breadcrumb-item.active {
            color: var(--gold);
        }
        
        .breadcrumb-item+.breadcrumb-item::before {
            color: rgba(255,255,255,0.7);
        }
        
        /* Tours Section */
        .tours-section {
            padding: 80px 0;
        }
        
        .section-title {
            margin-bottom: 50px;
            position: relative;
            padding-bottom: 15px;
            text-align: center;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--primary);
        }
        
        .tour-card {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            margin-bottom: 30px;
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .tour-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        
        .tour-img {
            height: 250px;
            overflow: hidden;
            position: relative;
        }
        
        .tour-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .tour-card:hover .tour-img img {
            transform: scale(1.1);
        }
        
        .tour-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--embogogreen);
            color: white;
            padding: 5px 15px;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        .tour-content {
            padding: 25px;
        }
        
        .tour-price {
            color: var(--embogogreen2);
            font-weight: 700;
            font-size: 1.5rem;
            margin-bottom: 10px;
        }
        
        .tour-price small {
            font-size: 0.9rem;
            color: var(--text-light);
        }
        
        .tour-features {
            list-style: none;
            padding: 0;
            margin: 15px 0;
        }
        
        .tour-features li {
            margin-bottom: 8px;
            color: var(--text-light);
        }
        
        .tour-features li i {
            color: var(--primary);
            margin-right: 8px;
        }
        
        .experience-options {
            background: var(--light-bg);
            padding: 15px;
            border-radius: 8px;
            margin: 15px 0;
        }
        
        .experience-options h5 {
            margin-bottom: 10px;
            color: var(--primary);
        }
        
        /* Tour Gallery */
        .tour-gallery {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin: 20px 0;
        }
        
        .gallery-item {
            border-radius: 8px;
            overflow: hidden;
            height: 100px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        
        .gallery-item:hover {
            transform: scale(1.05);
        }
        
        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* Image Modal */
        .image-modal {
            display: none;
            position: fixed;
            z-index: 2000;
            padding-top: 50px;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.9);
            overflow: hidden;
        }
        
        .image-modal-content {
            position: relative;
            margin: auto;
            width: 80%;
            max-width: 1200px;
            height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .modal-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        .close-modal {
            position: absolute;
            top: 20px;
            right: 35px;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            z-index: 2001;
        }
        
        .nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 40px;
            cursor: pointer;
            background-color: rgba(0,0,0,0.5);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s ease;
            z-index: 2001;
        }
        
        .nav-arrow:hover {
            background-color: rgba(0,0,0,0.8);
        }
        
        .prev {
            left: 20px;
        }
        
        .next {
            right: 20px;
        }
        
        .image-counter {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            font-size: 18px;
            background-color: rgba(0,0,0,0.5);
            padding: 5px 15px;
            border-radius: 20px;
        }
        
        /* Booking Modal Styles */
        .modal-content {
            border-radius: 15px;
            overflow: hidden;
        }
        
        .modal-header {
            border-bottom: none;
            padding-bottom: 0;
            position: relative;
        }
        
        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            cursor: pointer;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        
        .booking-form .form-group {
            margin-bottom: 20px;
        }
        
        .booking-form label {
            font-weight: 500;
            margin-bottom: 8px;
            display: block;
        }
        
        .booking-form input,
        .booking-form select {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }
        
        .price-summary {
            background: var(--light-bg);
            padding: 20px;
            border-radius: 10px;
            margin: 20px 0;
        }
        
        .price-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 1px dashed #ddd;
        }
        
        .price-total {
            display: flex;
            justify-content: space-between;
            font-weight: 700;
            font-size: 1.2rem;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 2px solid var(--primary);
        }
        
        .note-box {
            background: #fff8e1;
            padding: 15px;
            border-radius: 8px;
            border-left: 4px solid var(--gold);
            margin: 20px 0;
            font-size: 0.9rem;
        }
        
        /* Responsive Adjustments */
        @media (max-width: 991px) {
            .hero-title {
                font-size: 2.5rem;
            }
        }
        
        @media (max-width: 767px) {
            .tours-hero {
                height: 40vh;
            }
            .hero-title {
                font-size: 2rem;
            }
            .tour-gallery {
                grid-template-columns: repeat(2, 1fr);
            }
            .image-modal-content {
                width: 95%;
                height: 70vh;
            }
            .nav-arrow {
                width: 40px;
                height: 40px;
                font-size: 30px;
            }
        }
        
        @media (max-width: 575px) {
            .hero-title {
                font-size: 1.8rem;
            }
            .tour-gallery {
                grid-template-columns: 1fr;
            }
            .gallery-item {
                height: 150px;
            }
            .image-modal-content {
                width: 100%;
                height: 60vh;
            }
            .close-modal {
                top: 10px;
                right: 15px;
                font-size: 30px;
            }
        }
        
        /* Footer */
        .footer {
            background-color: var(--secondary);
            color: white;
            padding: 60px 0 30px;
        }
        
        .footer h5 {
            color: white;
            margin-bottom: 25px;
            font-weight: 600;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer h5::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background: var(--primary);
        }
        
        .footer p {
            color: #bbb;
            margin-bottom: 15px;
        }
        
        .footer-links {
            list-style: none;
            padding: 0;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #bbb;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        
        /* Additional styles for tour details modal */
        .tour-details-content {
            max-height: 70vh;
            overflow-y: auto;
            padding-right: 10px;
        }
        
        .tour-details-content::-webkit-scrollbar {
            width: 8px;
        }
        
        .tour-details-content::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        
        .tour-details-content::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 10px;
        }
        
        .itinerary-item {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .itinerary-time {
            font-weight: bold;
            color: var(--primary);
        }
        
        /* Fix for Summernote content */
        .summernote-content p {
            margin-bottom: 1rem;
        }
        
        /* Modal image on top */
        .modal-header-image {
            padding: 0;
            position: relative;
            border-bottom: none;
        }
        
        .modal-header-image img {
            width: 100%;
            max-height: 300px;
            object-fit: cover;
        }
        
        .modal-header-image .btn-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: white;
            opacity: 0.8;
            border-radius: 50%;
            width: 30px;
            height: 30px;
        }
       /*small fields css*/
        .form-control-sm, 
            .form-select-sm {
                font-size: 0.85rem;
                padding: 0.3rem 0.5rem;
                height: 20px;
                border-radius: 0.25rem;
        }
            /* Special handling for date inputs */
            input[type="date"].form-control-sm {
                padding-top: 2px;
                padding-bottom: 2px;
        }
        select.form-control-sm {
            padding-top: 2px;
            padding-bottom: 2px;
        }

        /* Email Validation styles */
        .is-valid {
            border-color: #28a745 !important;
            padding-right: calc(1.5em + 0.75rem);
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right calc(0.375em + 0.1875rem) center;
            background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
        }

        .is-invalid {
            border-color: #dc3545 !important;
            padding-right: calc(1.5em + 0.75rem);
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right calc(0.375em + 0.1875rem) center;
            background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
        }

        .valid-feedback {
            display: none;
            width: 100%;
            margin-top: 0.25rem;
            font-size: 0.875em;
            color: #28a745;
        }

        .invalid-feedback {
            display: none;
            width: 100%;
            margin-top: 0.25rem;
            font-size: 0.875em;
            color: #dc3545;
        }

        .is-valid ~ .valid-feedback,
        .is-invalid ~ .invalid-feedback {
            display: block;
        }

        .form-control:focus.is-valid,
        .form-control:focus.is-invalid {
            box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
        }
        /* Additional styles for small form controls */
        .form-control-sm.is-valid,
        .form-control-sm.is-invalid {
            padding-right: calc(1.5em + 0.5rem);
            background-position: right calc(0.375em + 0.125rem) center;
        }
        
        /* Common list styling for details & amenities */
        #modalTourDetails li,
        #modalHighlights li {
          display: flex;
          align-items: center;
          margin-bottom: 8px;   /* space between rows */
          font-size: 14px;
          line-height: 1.4;
        }

        #modalTourDetails li i,
        #modalHighlights li i {
          width: 20px;           /* reserve space so icons align vertically */
          font-size: 15px;
          color: #555;           /* muted icon color */
          margin-right: 8px;     /* space between icon and text */
          text-align: center;
        }

        #modalTourDetails li strong {
          margin-right: 4px;
        }
        /*tour reviews*/
        /* Reviews Styling */
        .tour-reviews {
            margin: 15px 0;
            padding: 15px 0;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
        }

        .rating-stars {
            color: #FFD700;
            margin-bottom: 8px;
        }

        .rating-stars .far {
            color: #ddd;
        }

        .avg-rating {
            font-weight: 600;
            color: var(--primary);
            margin-left: 5px;
        }

        .review-count {
            color: var(--text-light);
            font-size: 0.9rem;
            margin-left: 10px;
        }

        .review-item {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #f5f5f5;
        }

        .review-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .review-header {
            display: flex;
            justify-content: between;
            align-items: center;
            margin-bottom: 8px;
        }

        .reviewer-name {
            font-weight: 600;
            color: var(--secondary);
        }

        .review-date {
            color: var(--text-light);
            font-size: 0.8rem;
        }

        .review-text {
            color: var(--text-dark);
            line-height: 1.5;
            font-size: 0.9rem;
        }

        .reviews-collapse {
            max-height: 200px;
            overflow-y: auto;
            transition: max-height 0.3s ease;
        }

        .reviews-collapse.collapsed {
            max-height: 0;
            overflow: hidden;
        }

        .view-all-reviews {
            color: var(--primary);
            text-decoration: none;
            font-size: 0.9rem;
            cursor: pointer;
            display: inline-block;
            margin-top: 10px;
        }

        .view-all-reviews:hover {
            text-decoration: underline;
        }

        /* Review badges */
        .review-badge {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        /* Compact Rating Styles */
        .tour-rating-compact {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .tour-rating-compact .rating-stars {
            font-size: 0.9rem;
            margin-bottom: 0;
        }

        .tour-rating-compact .avg-rating {
            font-weight: 600;
            color: var(--primary);
            font-size: 0.9rem;
        }

        .tour-rating-compact .review-count {
            font-size: 0.8rem;
        }

        /* Adjust price and rating layout for mobile */
        @media (max-width: 576px) {
            .tour-content .d-flex.align-items-center.justify-content-between {
                flex-direction: column;
                align-items: flex-start !important;
                gap: 10px;
            }
            
            .tour-rating-compact {
                margin-left: 0 !important;
            }
        }
        /* Compact Rating Styles */
            .tour-rating-compact {
                display: flex;
                align-items: center;
                gap: 4px;
            }

            .tour-rating-compact .rating-stars {
                font-size: 0.9rem;
                margin-bottom: 0;
            }

            .tour-rating-compact .avg-rating {
                font-weight: 600;
                color: var(--primary);
                font-size: 0.9rem;
            }

            .tour-rating-compact .review-count {
                font-size: 0.8rem;
            }

            /* Adjust price and rating layout for mobile */
            @media (max-width: 576px) {
                .tour-content .d-flex.align-items-center.justify-content-between {
                    flex-direction: column;
                    align-items: flex-start !important;
                    gap: 10px;
                }
                
                .tour-rating-compact {
                    margin-left: 0 !important;
                }
            }


/* Add all the CSS styles from the tour.php template here */
/* This includes:
   - Body and general styles
   - Navbar styles
   - Hero section styles
   - Tour card styles
   - Modal styles
   - Form styles
   - Responsive styles
*/

/* Make sure to maintain the color scheme using the variables above */