/* Destinations Page Stylesheet */

.destinations-page {
    font-family: "Lora", Georgia, serif;
    color: #283638;
    background-color: #fbfbfb;
    overflow-x: hidden;
}

/* Hero Section */
.destinations-hero {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 80px 0; /* Contained padding */
    border-radius: 24px; /* Contained and rounded corner layout */
}

.destinations-hero__eyebrow {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #38b48b;
    margin-bottom: 12px;
}

.destinations-hero__title {
    font-family: "Lora", Georgia, serif;
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 20px;
}

.hero-title-highlight {
    color: #38b48b;
    font-weight: 700;
}

.destinations-hero__lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 580px;
}

/* Left Side Trust Badge */
.destinations-hero__trust-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.destinations-hero__trust-badge .avatar-group {
    display: flex;
    align-items: center;
}

.destinations-hero__trust-badge .avatar-group img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #0d382b; /* Matches dark green image overlay shadow */
    object-fit: cover;
    margin-left: -12px;
    transition: transform 0.2s ease;
}

.destinations-hero__trust-badge .avatar-group img:first-child {
    margin-left: 0;
}

.destinations-hero__trust-badge .avatar-group img:hover {
    transform: translateY(-4px);
    z-index: 10;
}

.trust-badge-text {
    display: flex;
    flex-direction: column;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.trust-badge-text strong {
    color: #ffffff;
    font-weight: 600;
}

/* Solid White Why Mellow Box */
.destinations-hero__why {
    background: #ffffff; /* Solid white background as in mockup */
    border: none;
    border-radius: 24px;
    padding: 36px 30px 30px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}

.destinations-hero__why h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #10382c; /* Brand dark green color */
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.destinations-hero__why h3 i {
    color: #0e8a63;
}

.destinations-hero__why ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.destinations-hero__why li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #4a5a57;
    margin-bottom: 16px;
}

.destinations-hero__why li:last-child {
    margin-bottom: 0;
}

/* Check Circle Icon Wrapper */
.check-icon-wrapper {
    width: 20px;
    height: 20px;
    background: #eef7f3;
    border: 1px solid #d3ebd9;
    color: #0e8a63;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Bottom Ratings inside Box */
.destinations-hero__card-footer {
    border-top: 1px solid #eff3f2;
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.card-avatar-group {
    display: flex;
    align-items: center;
}

.card-avatar-group img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    object-fit: cover;
    margin-left: -8px;
    transition: transform 0.2s ease;
}

.card-avatar-group img:first-child {
    margin-left: 0;
}

.card-avatar-group img:hover {
    transform: translateY(-3px);
    z-index: 5;
}

.card-rating-info {
    font-size: 0.85rem;
    color: #5f736f;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.card-rating-info strong {
    color: #10382c;
    font-weight: 700;
}

.card-rating-info .reviews-count {
    color: #889895;
}

.card-rating-info .stars-gold {
    color: #ffc107;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

/* Search Bar Container */
.destinations-search-container {
    margin-top: -30px;
    position: relative;
    z-index: 20;
}

.destinations-search-form {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(16, 56, 44, 0.08);
    border: 1px solid rgba(14, 78, 59, 0.06);
    padding: 16px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.search-field {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-field label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5f736f;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    color: #8fa09d;
    font-size: 0.95rem;
}

.input-wrapper input {
    width: 100%;
    border: 1px solid #e1e7e6;
    border-radius: 12px;
    padding: 10px 14px 10px 38px;
    font-size: 0.95rem;
    color: #283638;
    background-color: #fafbfc;
    transition: all 0.2s ease;
}

.input-wrapper input:focus {
    border-color: #0e8a63;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 138, 99, 0.1);
}

.search-field select {
    border: 1px solid #e1e7e6;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.95rem;
    color: #283638;
    background-color: #fafbfc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-field select:focus {
    border-color: #0e8a63;
    outline: none;
}

.search-submit-btn {
    align-self: flex-end;
    background: #0e8a63;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.search-submit-btn:hover {
    background: #0b6d4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(14, 138, 99, 0.25);
}

.search-submit-btn:active {
    transform: translateY(0);
}

/* Section Header styling */
.destinations-section-header {
    max-width: 700px;
    margin: 0 auto;
}

.destinations-eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #0e8a63;
    margin-bottom: 12px;
}

.destinations-title {
    font-family: "Lora", Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 10px;
    color: #000000;
}

.destinations-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 15px 0 20px;
}

.destinations-divider span {
    width: 60px;
    height: 1px;
    background-color: rgba(14, 138, 99, 0.2);
}

.destinations-divider i {
    color: #0e8a63;
    font-size: 0.9rem;
}

.destinations-subtitle {
    font-size: 1rem;
    line-height: 1.6;
}

/* Slider Section */
.destinations-slider-outer {
    position: relative;
    padding: 0 20px;
}

.destinations-slider-track {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: 390px; /* Wider card layout */
    gap: 28px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 15px 5px 30px;
    -ms-overflow-style: none; /* Hide scrollbar in IE/Edge */
    scrollbar-width: none; /* Hide scrollbar in Firefox */
}

/* Hide scrollbar in Chrome/Safari */
.destinations-slider-track::-webkit-scrollbar {
    display: none;
}

/* Card Styling */
.destination-card {
    scroll-snap-align: start;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(16, 56, 44, 0.04);
    border: 1px solid rgba(14, 78, 59, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(16, 56, 44, 0.12);
    border-color: rgba(14, 138, 99, 0.15);
}

.destination-card__media {
    position: relative;
    height: 460px; /* Taller card layout */
    overflow: hidden;
    background: #0e4e3b;
}

.destination-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.destination-card:hover .destination-card__media img {
    transform: scale(1.06);
}

.destination-card__region-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #0e8a63; /* Solid green badge as shown in mockup */
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.destination-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 25, 20, 0.98) 0%, rgba(7, 25, 20, 0.6) 50%, rgba(0, 0, 0, 0.05) 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

.destination-card__name {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.1;
}

.destination-card__desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.destination-card-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Card Metadata Row */
.destination-card__meta-row {
    border-top: 1px solid rgba(255, 255, 255, 0.25); /* Whiter, stronger separation line */
    padding-top: 18px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.meta-icon-wrapper {
    width: 24px;
    height: 24px;
    background: rgba(56, 180, 139, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38b48b;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.meta-copy {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.meta-label {
    font-size: 0.65rem; /* Smaller label font size */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #38b48b;
    font-weight: 600;
}

.meta-val {
    font-size: 0.72rem; /* Smaller val font size */
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px; /* More width space */
}

.meta-action {
    flex-shrink: 0;
}

.arrow-circle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.destination-card:hover .arrow-circle-btn {
    background: #0e8a63;
    border-color: #0e8a63;
    transform: scale(1.1);
}

/* Floating Navigation Buttons */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(14, 78, 59, 0.08);
    box-shadow: 0 6px 20px rgba(16, 56, 44, 0.1);
    color: #0e4e3b;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
}

.slider-nav-btn:hover {
    background: #0e8a63;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(14, 138, 99, 0.25);
    border-color: #0e8a63;
}

.prev-btn {
    left: -6px;
}

.next-btn {
    right: -6px;
}

/* Call to Action Section */
.destinations-cta-section {
    background-color: #ffffff; /* Clean white section background */
}

.destinations-cta-box {
    background: #f5efe4; /* Warm peach/cream background color */
    border-radius: 30px;
    padding: 50px;
    color: #283638;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid rgba(14, 78, 59, 0.05);
}

.cta-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #0e8a63;
    margin-bottom: 12px;
}

.cta-title {
    font-family: "Lora", Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #000000;
}

.cta-text {
    font-size: 0.95rem;
    color: #5f736f;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0e8a63;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 12px; /* Rounded rectangle as in Image 1 */
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-btn:hover {
    background: #0b6d4e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 138, 99, 0.2);
}

.cta-steps {
    padding-left: 0;
}

.cta-steps > div {
    position: relative;
}

/* Thin vertical dividers between steps */
.cta-steps > div:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    height: 60%;
    width: 1px;
    background-color: rgba(14, 78, 59, 0.1);
}

.step-icon {
    width: auto;
    height: 60px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #0e8a63;
    font-size: 2.8rem; /* Large line-art icons as in mockup */
    transition: all 0.3s ease;
}

.cta-steps .col-sm-6:hover .step-icon {
    transform: translateY(-4px);
    color: #0b6d4e;
}

.cta-steps h4 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #10382c;
}

.cta-steps p {
    font-size: 0.82rem;
    color: #5f736f;
    line-height: 1.5;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
    .destinations-search-form {
        gap: 15px;
    }
    .search-field {
        flex: 1 1 calc(50% - 15px);
    }
    .search-submit-btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}

@media (max-width: 991px) {
    .destinations-hero__why {
        margin-top: 20px;
    }
    .cta-steps {
        padding-left: 0;
        margin-top: 20px;
    }
    .destinations-cta-box {
        padding: 40px;
    }
}

@media (max-width: 767px) {
    .search-field {
        flex: 1 1 100%;
    }
    .destinations-slider-track {
        grid-auto-columns: 290px;
        gap: 16px;
        padding-bottom: 20px;
    }
    .destination-card__media {
        height: 360px;
    }
    .slider-nav-btn {
        display: none; /* On touch devices, swiping is standard, so hide buttons */
    }
    .destinations-slider-outer {
        padding: 0;
    }
    .destinations-cta-box {
        padding: 30px 20px;
        width: calc(100% - 32px); /* Contain container from stretching to mobile screen edges */
        margin-left: auto;
        margin-right: auto;
        border-radius: 24px;
    }
    .cta-steps > div:not(:last-child)::after {
        display: none;
    }
}
