body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; /* Default body weight */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500; /* Default heading weight */
}

/* Hero Video Section */
.hero-video-section {
    position: relative;
    height: 85vh; /* Adjust height as needed */
    overflow: hidden;
    display: flex; /* Use flexbox to center content */
    align-items: end; /* Center vertically */
    justify-content: center; /* Center horizontally */
    text-align: center;
    padding-bottom: 10vh;
}

@media (max-width: 768px) {
    .hero-video-section {
        height: 50vh;
        padding-bottom: 3vh;
    }
}

.hero-video-section::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(180deg, rgba(2, 54, 95, 0.00) 0%, #02365F 100%);
}

.hero-video__background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1; /* Place video behind content */
}

.hero-video__content-container {
    position: relative; /* Ensure content stays above video */
    z-index: 1;
    /* Optional: Add a semi-transparent overlay for better text contrast */
    /* background-color: rgba(0, 0, 0, 0.3); */
    /* padding: 40px; */
    /* border-radius: 10px; */
}

.hero-video__content .hero-video__sub-title {
    color: var(--trevlo-white); /* Orange */
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .hero-video__content .hero-video__sub-title {
        font-size: 1rem;
    }
}

.hero-video__content .hero-video__title {
    color: var(--trevlo-white);
    font-size: 2.5rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .hero-video__content .hero-video__title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
}

.hero-video__btn-box .trevlo-btn {
    /* Inherits base .thm-btn styling from previous rules */
    /* Add specific adjustments if needed */
    padding: 15px 35px;
    font-size: 1rem;
}

/* Beaches Map Section */
.beaches-map-section {
    color: var(--trevlo-gray);
    position: relative; /* Needed for absolute positioning of children */
    overflow: hidden; /* Contain absolute children */
}

    .beaches-map-section:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 2.48%, rgba(255, 255, 255, 0.15) 96.44%), linear-gradient(90deg, rgba(2, 54, 95, 0.12) 0.4%, #02365F 52.18%);
        z-index: 1; /* Ensure it's behind the content */
    }

@media (max-width: 991px) {
    .beaches-map-section:before {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 2.48%, rgba(255, 255, 255, 0.15) 96.44%), linear-gradient(90deg, rgba(2, 54, 95, 0.62) 0.4%, #02365F 95.18%);
    }
}

.beaches-map-section .sec-title__tagline {
    color: var(--trevlo-orange); /* Use theme secondary/accent */
}

.beaches-map-section .sec-title__title {
    color: var(--trevlo-white);
    font-size: clamp(1.2rem, 1.9vw, 2.2rem);
    font-weight: 400;
}

/* Accordion Styling */
.beaches-map-section .accordion {
    --bs-accordion-border-color: rgba(255, 255, 255, 0.2);
    --bs-accordion-border-radius: 0;
    --bs-accordion-inner-border-radius: 0;
    --bs-accordion-btn-padding-x: 0;
    --bs-accordion-btn-padding-y: 1rem;
    --bs-accordion-btn-color: var(--trevlo-white);
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-btn-focus-border-color: var(--trevlo-secondary);
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-body-padding-x: 0;
    --bs-accordion-body-padding-y: 1rem;
    --bs-accordion-active-color: var(--trevlo-secondary); /* Active button text color */
    --bs-accordion-active-bg: transparent;
}

.beaches-map-section .accordion-button {
    font-family: 'Unbounded', sans-serif; /* Heading font */
    font-weight: 500;
    font-size: 1.1rem;
}

    .beaches-map-section .accordion-button::after {
        filter: brightness(0) invert(1); /* Make default arrow white */
    }

.accordion-button:not(.collapsed) {
    color: var(--trevlo-white);
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--trevlo-primary);
}

.beaches-map-section .accordion-button:not(.collapsed)::after {
    filter: none; /* Reset filter */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300adee'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); /* Use secondary color for active arrow */
}

.beaches-map-section .accordion-item {
    background-color: transparent;
    border: none; /* Remove individual item borders */
    border-bottom: 1px solid var(--bs-accordion-border-color); /* Keep bottom border */
}

    .beaches-map-section .accordion-item:first-of-type {
        border-top: 1px solid var(--bs-accordion-border-color); /* Add top border to first item */
    }

        .beaches-map-section .accordion-item:first-of-type .accordion-button {
            border-top-left-radius: 0;
            border-top-right-radius: 0;
        }

    .beaches-map-section .accordion-item:last-of-type .accordion-button.collapsed {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .beaches-map-section .accordion-item .accordion-body {
        color: var(--trevlo-white);
    }

/* Map Styling */
.beaches-map__image-container {
    position: relative;
    width: 100%;
    max-width: 500px; /* Optional: constrain map width */
    margin: 0 auto; /* Center if max-width is used */
}

.beaches-map__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px; /* Optional */
}

.map-marker {
    position: absolute;
    color: var(--trevlo-white);
    font-size: 30px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.active-marker {
    opacity: 0;
    display: none;
}

.map-marker:hover .active-marker,
.map-marker.active .active-marker {
    opacity: 1;
    display: block;
}

.map-marker:hover .marker-icon,
.map-marker.active .marker-icon {
    display: none;
}

/* You might need JS to add/remove the 'active' class on markers */

.beaches-map__backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind the container */
}

.beach-bg-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease-in-out; /* Fade transition */
    z-index: 1; /* Stack above the container */
}

    .beach-bg-item.active {
        opacity: 1;
        z-index: 2; /* Ensure active is on top */
    }

/* Ensure container content is above backgrounds */
.beaches-map-section > .container,
.beaches-map-section > .container-fluid {
    position: relative;
    z-index: 3;
}

/* Why Choose Us Section */
.why-choose-custom {
    background-color: var(--trevlo-base, #02365F); /* Dark Blue */
    color: #aab3be; /* Light gray text */
    position: relative; /* For potential pseudo-elements or background image */
    z-index: 1; /* Ensure content is above pseudo-elements */
}

    /* Optional: Add the subtle background pattern if desired */
    /* .why-choose-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(assets/images/backgrounds/why-choose-pattern.png);
    background-repeat: repeat;
    opacity: 0.05; 
    z-index: -1;
} */

    .why-choose-custom .sec-title__tagline {
        color: var(--trevlo-primary, #49C8F2);
    }

    .why-choose-custom .sec-title__title,
    .why-choose-custom .why-choose-one__text {
        color: var(--trevlo-white, #ffffff);
    }

.custom-feature-box {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    padding: 25px 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
    height: 100%; /* Ensure boxes in the same row have equal height */
}

    .custom-feature-box:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

.custom-feature-box__icon {
    margin-right: 20px;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

    .custom-feature-box__icon span { /* Target the icon class */
        font-size: 40px; /* Adjust icon size */
        color: var(--thm-accent, #FFA500); /* Orange */
    }

.custom-feature-box__title {
    color: var(--trevlo-white, #ffffff);
    font-size: 16px; /* Adjust as needed */
    font-weight: 500;
    margin-bottom: 0; /* Remove default margin */
    font-family: var(--trevlo-font);
}

/* --- Tour Listing Page Styles --- */

/* Category Filters */
.tour-category-filters .btn {
    padding: 12px 25px;
    margin: 0 8px 10px; /* Add bottom margin for wrapping */
    border-radius: 25px; /* Rounded corners */
    border: 1px solid #dee2e6; /* Light border */
    border-radius: 20px;
    border: 1px solid #F7931E;
    font-size: 18px;
    font-weight: 400;
    transition: all 0.3s ease;
    color: #0D0D0C;
}

@media (max-width: 768px) {
    .tour-category-filters .btn {
        font-size: 14px;
        padding: 10px 20px;
        margin: 0 4px 10px;
    }
}

.tour-category-filters .btn svg {
    margin-right: 5px;
}

.tour-category-filters .btn:hover,
.tour-category-filters .btn.active {
    background: rgba(247, 147, 30, 0.14);
}

/* Custom Pagination */
.pagination-custom .page-item {
    margin: 0 12px;
}

.pagination-custom .page-link {
    color: #0D0D0C;
    border: none;
    background-color: transparent !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0 !important;
}

.pagination-custom .page-item.active .page-link:not(.next-btn),
.pagination-custom .page-item:hover .page-link:not(.next-btn) {
    box-shadow: 0px 3px 0 0 var(--thm-primary, #49C8F2);
    font-weight: 700;
}

.pagination-custom .page-link:hover {
    background-color: #e9ecef; /* Light hover */
    color: var(--thm-black, #222222);
}

.pagination-custom .page-item.active .page-link:not(.next-btn):hover {
    background-color: var(--thm-primary-dark, #36a2d1); /* Slightly darker on hover */
}

.pagination-custom .next-btn,
.pagination-custom .prev-btn {
    border-radius: 20px !important;
    border: 1px solid #F7931E !important;
    padding: 10px 20px;
    width: auto; /* Override fixed width */
    height: auto; /* Override fixed height */
    color: #0D0D0C;
}

    .pagination-custom .prev-btn svg {
        transform: rotateY(180deg);
    }

    .pagination-custom .next-btn:hover {
        background: rgba(247, 147, 30, 0.14) !important;
    }
