/* Global Styles */
body {
    font-family: "Jost";
    color: #333;
    background-color: #fff;
    scroll-behavior: smooth;
}
section { padding: 40px 0; }
h1, h2, h3, h4, h5 { font-weight: 300; color: #2c3e50; font-family: "Marcellus";}

/* Navigation & Logo */
.navbar { padding: 0px 0; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.navbar-brand img { max-height: 90px; }

/* Hero Banner */
.hero-section {
    position: relative;
    color: #fff;
    padding: 180px 0;
    text-align: center;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Dark gradient overlay to ensure text readability */
.hero-bg-slider::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    z-index: 2;
}

/* Individual slides with crossfade/dissolve transition */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
}

.hero-section .container {
    z-index: 3; /* Keeps content above the sliding backgrounds */
}

.hero-section h1, .hero-section h5 { color: #fff; font-family: "JostBold";}
.hero-section h5 { letter-spacing: 0px; margin-bottom: 20px; font-weight: 400; font-family: "Marcellus";font-size: 30px;}

/* Buttons */
.btn-custom {
    background-color: #c3a62e; color: #fff; padding: 15px 40px; border: none;
    text-transform: uppercase; letter-spacing: 1px; font-weight: bold; transition: 0.3s;
    text-decoration: none; display: inline-block;
    border-radius: 5rem;
}
.btn-custom:hover { background-color: #b08d4b; color: #fff; }
.btn-outline-custom {
    background-color: transparent; color: #fff; border: 2px solid #fff; padding: 13px 38px;
    text-transform: uppercase; letter-spacing: 1px; font-weight: bold; transition: 0.3s;
    text-decoration: none; display: inline-block;
    border-radius: 5rem;
}
.btn-outline-custom:hover { background-color: #fff; color: #333; }

/* The Ongeri Difference */
.difference-section { background-color: #f5f4f0; } 
.icon-circle {
    width: 70px; height: 70px; background-color: #c3a62e; border-radius: 50%;
    margin: 0 auto 20px auto; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 24px; font-weight: bold;
}

/* Form Container */
.safari-form-wrapper {
    background: #fff; max-width: 600px; margin: 0 auto; padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); border-top: 5px solid #c3a62e;
}
.safari-form-wrapper .form-control {
    border-radius: 0; padding: 15px; border: 1px solid #ddd; margin-bottom: 25px;
}
.safari-form-wrapper .form-control:focus { box-shadow: none; border-color: #c3a62e; }

/* Signature Journeys */
.journey-card { border: 1px solid #eee; border-radius: 0; transition: 0.3s; height: 100%; display: flex; flex-direction: column;}
.journey-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.journey-card img { width: 100%; height: 200px; object-fit: cover; }
.journey-card .card-body { padding: 30px; display: flex; flex-direction: column; flex-grow: 1;}
.journey-card hr { border-top: 2px solid #c3a62e; width: 50px; margin: 15px auto; opacity: 1; }
.journey-card ul { list-style-type: none; padding: 0; text-align: left; margin-bottom: 30px; flex-grow: 1;}
.journey-card ul li { padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 0.95rem; color: #555; }
.journey-card ul li::before { content: "• "; color: #c3a62e; font-weight: bold; padding-right: 10px;}
.btn-craft { 
    background: #c3a62e; color: #FFF; 
    padding: 8px; width: 100%; text-transform: uppercase; font-weight: bold; transition: 0.3s;
}
.btn-craft:hover { background: #123438; color: #fff; }

/* Horizontal Reviews Section */
.reviews-section { background-color: #123438; overflow: hidden; }
.scrolling-wrapper {
    display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; padding-bottom: 20px;
}
.scrolling-wrapper::-webkit-scrollbar { height: 8px; }
.scrolling-wrapper::-webkit-scrollbar-thumb { background: #c3a62e; }
.review-card {
    flex: 0 0 calc(50% - 14px); 
    min-width: 300px; scroll-snap-align: start;
    background-color: #2c3e50; 
    border-left: 5px solid #c3a62e; 
    padding: 40px 30px;
    color: #fff;
}
.review-text { font-style: italic; color: #fff; margin-bottom: 20px; font-size: 1rem; line-height: 1.6;}
.review-name { font-weight: bold; color: #fff; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem;}
.review-stars { color: #c3a62e; letter-spacing: 3px; margin-bottom: 5px; font-size: 1.2rem;}
.review-date { color: #aaa; font-size: 0.85rem; }

/* Accordion Overrides for + and - */
.accordion-button { font-weight: 500; color: #2c3e50; background-color: #f9f9f9; }
.accordion-button:not(.collapsed) { background-color: #f4f1ea; color: #c3a62e; box-shadow: none; }
.accordion-button::after {
    background-image: none !important;
    content: '+';
    font-size: 1.5rem;
    line-height: 1;
    text-align: center;
    font-weight: 300;
}
.accordion-button:not(.collapsed)::after { content: '-'; }
.accordion-button:focus { box-shadow: none; border-color: rgba(0,0,0,.125); }

/* --- Awards & Recognition Strip --- */
.awards-section {
    border-top: 1px solid #e0e0e0;
}

.awards-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide the default scrollbar for a cleaner look */
.awards-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.award-badge {
    height: 150px; /* Adjust height based on your actual logo files */
    width: auto;
    object-fit: contain;
    flex: 0 0 auto;
    scroll-snap-align: center;
    /* Optional elegant effect: grayscale until hovered */
    filter: grayscale(100%) opacity(60%); 
    transition: all 0.3s ease;
}

.award-badge:hover {
    filter: grayscale(0%) opacity(100%);
}

.btn-award-left:hover, .btn-award-right:hover {
    background-color: #c3a62e !important;
    border-color: #c3a62e !important;
    color: #fff !important;
}

/* Footer */
.footer-section { background-color: #123438; color: #fff; padding: 80px 0 40px 0; text-align: center; }
.footer-section h2 { color: #fff; margin-bottom: 3em; font-family: "JostBold";}
.footer-bottom-text { color: #888; font-size: 0.85rem; margin-top: 50px; }
.footer-links { margin-top: 15px; }
.footer-links a { color: #c3a62e; text-decoration: none; margin: 0 10px; font-size: 0.85rem; transition: 0.3s;}
.footer-links a:hover { color: #fff; }




/* --- Preferred Partners Section --- */
.partners-section {
    overflow: hidden; /* Prevents the whole page from becoming horizontally scrollable */
}

.partner-carousel-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px; 
}

/* Hide scrollbar for Chrome, Safari and Opera */
.partner-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.partner-carousel-wrapper {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.partner-card {
    flex: 0 0 350px; /* Fixed width for each card */
    scroll-snap-align: start; /* Snaps perfectly into place when scrolling */
    background: #fff;
    border-radius: 0;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.partner-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.partner-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.partner-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.explore-link {
    margin-top: auto; /* Pushes the link to the bottom of the card */
    color: #c3a62e;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-decoration: none;
    transition: 0.3s;
}

.explore-link:hover {
    color: #123438;
}



/* Custom Destination Tabs */
.custom-tabs {
    border-bottom: 1px solid #e0e0e0 !important;
}

.custom-tabs .nav-link {
    color: #888;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 1.1rem;
    font-family: 'Jost', sans-serif;
    padding: 12px 25px;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.custom-tabs .nav-link:hover, .custom-tabs .nav-link:focus {
    color: #123438;
    border-color: transparent;
    background: transparent;
}

.custom-tabs .nav-link.active {
    color: #123438 !important;
    font-weight: 600;
    background: transparent !important;
    border-bottom: 2px solid #c3a62e !important;
}



/* Modal Image Gallery Formatting */
.modal .carousel-item img {
    width: 100%;
    object-fit: cover; /* Ensures images fill the 450px height without stretching */
}

/* Ensure the explore link looks clickable if modified */
a.explore-link {
    cursor: pointer;
}

/* --- Itinerary Day-to-Day Cards --- */
.itinerary-card {
    background-color: #efefef; /* Light gray background */
    border-radius: 10px;
    overflow: hidden; /* Ensures images respect the rounded corners */
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.itinerary-title {
    color: #123438;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.itinerary-desc {
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Image Slider inside Itinerary Cards */
.itinerary-slider-container {
    position: relative;
    height: 100%;
    min-height: 350px; 
}

.itinerary-slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    height: 100%;
    /* Hide scrollbars */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.itinerary-slider-wrapper::-webkit-scrollbar {
    display: none;
}

.itinerary-slide-img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
}

/* Navigation Buttons overlay on bottom right */
.itinerary-slider-nav {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.itinerary-slider-nav button {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #fff;
    color: #123438;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.itinerary-slider-nav button:hover {
    background-color: #c3a62e;
    color: #fff;
    border-color: #c3a62e;
}

/* Desktop Borders separating Text and Slider */
@media (min-width: 768px) {
    .itinerary-border-right {
        border-right: 1px solid #dee2e6;
    }
    .itinerary-border-left {
        border-left: 1px solid #dee2e6;
    }
}

/* --- Hotel Page Specific Styles --- */
.hotel-overview {
    background-color: #0B6D64; /* Brand green */
    color: #ffffff;
}

.activity-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.activity-icon:hover {
    opacity: 1;
}

/* --- Hotel Page Layered Editorial Layout --- */
.hotel-content-card {
    position: relative;
    z-index: 2; /* Keeps the text box above the image */
    padding: 3rem;
    background-color: #ffffff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border-radius: 4px;
}

/* Desktop Layout: Overlap the images */
@media (min-width: 992px) {
    .overlap-right {
        margin-right: -80px; 
    }
    .overlap-left {
        margin-left: -80px;
    }
}

/* Mobile/Tablet Layout: Stack with a slight upward pull */
@media (max-width: 991px) {
    .hotel-content-card {
        margin-top: -50px; /* Pulls the text box slightly up over the bottom of the image on mobile */
        margin-left: 15px;
        margin-right: 15px;
        padding: 2rem;
    }
}