.select-tour-package {
    display: none;
}

/* Payment Modal Styles */ 
.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.payment-modal.active {
    display: flex;
}

.payment-content {
    background: #ffffff;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 10px;
    padding: 2rem;
}

.payment-methods-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.payment-method-simple.selected {
    border-color: var(--primary);
    background: #f0f9ff;
    box-shadow: 0 5px 15px rgba(44, 85, 48, 0.1);
}

.payment-method-simple {
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.booking-container {
    max-width: 1200px;
    margin: 100px auto 50px;
    padding: 0 20px;
}

.booking-header {
    text-align: center;
    margin-bottom: 40px;
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: flex-start;
}

.booking-form {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.booking-summary {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%236c757d' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.price-breakdown {
    margin: 20px 0;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

.price-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--primary);
}

.destination-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.provider-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
}

.provider-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.error-message {
    background: #fee;
    color: var(--danger);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--danger);
}

.success-message {
    background: #efe;
    color: var(--success);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--success);
}

.btn-book {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 20px;
}

.booking-info ul {
    list-style-type: none;
    padding-left: 0;
}

.booking-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* message provider css */
.provider-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.provider-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.message-btn {
    background-color:#1e6f5c;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.message-btn:hover {
    background-color: #16554a;
}

/* Payment forms */
.payment-form-simple {
    display: none;
    margin-top: 1.5rem;
}

.payment-form-simple.active {
    display: block;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkout-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.summary-total {
    border-top: 2px solid var(--light-gray);
    padding-top: 1rem;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

.cart-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================
   REVIEWS STYLES
   =========================== */
.reviews-card {
    margin-top: 25px;
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
}

.reviews-card h4 {
    margin-bottom: 10px;
}

.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.reviews-stars {
    font-size: 1.1rem;
}

.reviews-stars i {
    margin-right: 2px;
    color: #fbbf24;
}

.reviews-meta {
    font-size: 0.9rem;
    color: var(--text-light);
}

.review-form {
    margin-bottom: 15px;
    border-top: 1px solid var(--light-gray);
    padding-top: 15px;
}

.review-form .star-rating {
    direction: rtl;
    display: inline-flex;
    gap: 4px;
}

.review-form .star-rating input[type="radio"] {
    display: none;
}

.review-form .star-rating label {
    cursor: pointer;
    font-size: 1.4rem;
    color: #d1d5db;
}

.review-form .star-rating input[type="radio"]:checked ~ label,
.review-form .star-rating label:hover,
.review-form .star-rating label:hover ~ label {
    color: #fbbf24;
}

.review-form textarea {
    margin-top: 10px;
    resize: vertical;
    min-height: 80px;
}

.reviews-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    max-height: 260px;
    overflow-y: auto;
}

.review-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.review-user-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.review-text {
    margin-top: 6px;
    font-size: 0.9rem;
}

.small-error {
    background: #fee;
    color: var(--danger);
    padding: 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    border-left: 3px solid var(--danger);
}

.small-success {
    background: #efe;
    color: var(--success);
    padding: 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    border-left: 3px solid var(--success);
}

/* Image Carousel Styles */ 
/* ==========================
   CAROUSEL STYLES
   =========================== */
.carousel {
    margin-bottom: 20px;
}

.carousel-viewport {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(0,0,0,0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.60);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid var(--primary);
    background: transparent;
    cursor: pointer;
    transition: 0.2s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary);
}


@media (max-width: 768px) {
    .booking-content {
        grid-template-columns: 1fr;
    }

    .date-inputs {
        grid-template-columns: 1fr;
    }

    .booking-summary {
        position: static;
    }

    .booking-form {
        position: static;
        top: auto;
    }
}


.dropdown-menu {
    display: none;
}

.dropdown-menu.show {
    display: block;
}


@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
}

/* Hide zoom controls and leaflet label in mobile */
@media (max-width: 768px) {
    .leaflet-control-container {
        display: none;
    }
}


/* Fixed Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* High value to ensure it's above other elements */
    background-color: white; /* Optional, to make sure the background is solid */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional, for a slight shadow effect */
}

/* Adjust the layout of the body content to avoid it being hidden under the fixed header */
body {
    padding-top: 70px; /* Adjust this value according to your header height */
}

/* Make sure the navbar stays inside the header */
.navbar {
    position: relative;
    z-index: 1001; /* Ensures navbar is above other content but below header */
}

/* Ensure other elements, like zoom controls, don't overlap the header */
.leaflet-control-container {
    z-index: 1; /* Lower z-index ensures it stays below the header */
}


