/* Enhanced Hero Section */
.hero-section {
    overflow: hidden;
    position: relative;
    /* margin-top: 5.2rem; */
}

.vh-100 {
    height: 90vh;
}

.vh-75 {
    height: 70vh;
}

.hero-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.hero-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    /* background: rgba(0, 0, 0, 0.5); */
    padding: 1.5rem 2rem;
    border-radius: 12px;
    max-width: 600px;
    animation: fadeInUp 1.5s ease-out;
    color: white;
}

.hero-text {
    max-width: 100%;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.hero-btn-transparent {
    background: #148f76;
    border: none;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 30px;
    color: white;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(20, 143, 118, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btn-transparent:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(20, 143, 118, 0.8);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-button-container {
    /* margin-top: 1rem; */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(1rem, 2.5vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--rgba-white-95);
    margin-bottom: 2rem;
    text-shadow: 3px 3px 6px var(--rgba-black-07);
    letter-spacing: -1px;
    font-family: var(--bs-font-sans-serif);
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: var(--rgba-white-95);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.2rem;
    text-shadow: 2px 2px 4px var(--rgba-black-06);
}

/* Enhanced Hero Button */
.hero-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 60px;
    box-shadow: 0 12px 40px var(--rgba-primary-04);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.hero-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(121, 121, 121, 0.3),
        transparent
    );
    transition: left 0.6s;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    transform: translateY(-10px) scale(1.08);
    box-shadow: 0 20px 50px var(--rgba-primary-05);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
}

.hero-btn-transparent {
    /* background: transparent; */
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    padding: 0.6rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 30px;
    color: white;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-btn-transparent:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-btn-transparent:hover {
    background: rgba(20, 143, 118, 0.8);
    border: none;
    color: white;
    text-decoration: none;
}

/* Enhanced Carousel Indicators */
.carousel-indicators {
    bottom: 0.5rem;
    z-index: 4;
}

.carousel-indicators button {
    width: 60px;
    height: 6px;
    border-radius: 3px;
    background-color: var(--rgba-white-03);
    border: none;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.carousel-item {
    transition: transform 1s ease-in-out;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
}

/* Section Headers Enhancement */
.section-header {
    position: relative;
    margin-bottom: 4rem;
}

.section-badge {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    color: var(--gray-700);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-family: var(--bs-font-sans-serif);
}

.section-subtitle {
    color: var(--gray-400);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.divider-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.divider-icon {
    color: var(--primary-color);
    filter: drop-shadow(0 2px 4px var(--rgba-primary-03));
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Enhanced Destination Cards */
.destination-card {
    position: relative;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
    /* box-shadow: 0 15px 40px var(--rgba-black-15); */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.destination-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--rgba-primary-01) 0%,
        var(--rgba-secondary-03) 100%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.destination-card:hover::before {
    opacity: 1;
}

.destination-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px var(--rgba-black-25);
}

.destination-card img {
    transition: transform 0.5s ease;
}

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

.destination-card .card-img-overlay {
    z-index: 2;
}

.destination-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px var(--rgba-black-08);
    position: relative;
    z-index: 3;
    font-family: var(--bs-font-sans-serif);
}

/* Enhanced Deals Cards */
.deals-card {
    background: var(--rgba-white-48);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px var(--rgba-black-01);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.deals-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--rgba-black-02);
}

.deals-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.deals-card:hover .card-img-top {
    transform: scale(1.1);
}

.discount-badge {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    font-weight: 700;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px var(--rgba-red-04);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.price-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.original-price {
    color: var(--gray-800);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.current-price {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.3rem;
}

.deals-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Enhanced Why Choose Us Section */
.why-choose-section {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-radius: 32px;
    padding: 4rem;
    box-shadow: 0 20px 60px var(--rgba-black-01);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle,
        var(--rgba-primary-15) 0%,
        transparent 70%
    );
    z-index: 0;
}

.feature-item {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    box-shadow: 0 10px 30px var(--rgba-primary-03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon i {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.feature-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.feature-item:hover .feature-icon::before {
    left: 100%;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px var(--rgba-primary-04);
}

.feature-title {
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-family: var(--bs-font-sans-serif);
}

.feature-description {
    color: var(--gray-400);
    line-height: 1.6;
    font-size: 1rem;
}

/* Enhanced Testimonials */
.testimonial-card {
    background: var(--rgba-white-98);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px var(--rgba-black-01);
    border: 1px solid var(--rgba-primary-01);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px var(--rgba-black-15);
    border-color: var(--rgba-primary-03);
}

.client-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1.2rem;
    margin-right: 1rem;
    box-shadow: 0 8px 25px var(--rgba-primary-03);
}

.star-rating {
    color: var(--yellow);
    margin-bottom: 0.5rem;
}

.testimonial-text {
    color: var(--gray-500);
    font-style: italic;
    line-height: 1.7;
    margin: 1.5rem 0;
}

/* Enhanced Instagram Section */
.instagram-section {
    /* background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); */
    padding-bottom: 5rem;
}

.instagram-post {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--rgba-black-01);
    transition: all 0.3s ease;
    cursor: pointer;
}

.instagram-post:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px var(--rgba-black-02);
}

.instagram-post::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--rgba-primary-08),
        var(--rgba-secondary-08)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.instagram-post:hover::before {
    opacity: 1;
}

.instagram-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.instagram-post:hover .instagram-overlay {
    opacity: 1;
}



/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .carousel-indicators {
        bottom: 0.2rem;
    }

    .why-choose-section {
        padding: 2rem;
    }


}

/* Scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling enhancement */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
.loading-shimmer {
    background: linear-gradient(90deg, var(--gray-050) 25%, var(--gray-025) 50%, var(--gray-050) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* =============================================== */
/* Carousel Controls - Corner Circles             */
/* =============================================== */

/* Adjust the main control buttons */
.carousel-control-prev,
.carousel-control-next {
    width: 40px; /* Make them a fixed small width */
    height: 40px; /* Make them a fixed small height */
    background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
    border-radius: 50%; /* Make them perfectly circular */
    opacity: 0.8; /* Slightly less opaque by default */
    transition: opacity 0.3s ease, background-color 0.3s ease;
    top: 50%; /* Vertically center them */
    transform: translateY(-50%); /* Adjust for perfect centering */
    margin: 0 20px; /* Add some margin from the sides */
    position: absolute; /* Ensure absolute positioning */
    z-index: 10; /* Make sure they are above carousel content */
    display: flex; /* Use flex to center the icon inside */
    align-items: center;
    justify-content: center;
}

/* Position specifically for prev and next */
.carousel-control-prev {
    left: 20px; /* Position further to the left */
    right: auto; /* Ensure it doesn't interfere with right positioning */
}

.carousel-control-next {
    right: 20px; /* Position further to the right */
    left: auto; /* Ensure it doesn't interfere with left positioning */
}

/* Hover effect */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.4); /* Brighter on hover */
    opacity: 1; /* Fully opaque on hover */
}

/* Style the icons inside the buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 15px; /* Adjust icon size */
    height: 15px; /* Adjust icon size */
    background-size: 100% 100%; /* Make icon fill the span */
    filter: invert(1) grayscale(1) brightness(1.5); /* Makes Bootstrap's default icon white */
}

/* Optional: Hide default Bootstrap arrow icons if you want to use FontAwesome or custom */
/* You would need to add an <i> tag inside the button if you do this */
/*
.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
    content: "";
    display: block;
}
*/

/* --- Image Popup Modal Styles --- */

/* The Modal Background */
.image-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1050; /* High z-index to be on top of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0; /* Start invisible for fade-in effect */
    transition: opacity 0.3s ease;
}

/* When the modal is active */
.image-modal.active {
    display: flex; /* Use flexbox to easily center the image */
    justify-content: center;
    align-items: center;
    opacity: 1; /* Fade in */
}

/* The Image Itself */
.modal-content {
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    transform: scale(0.8); /* Start smaller for zoom-in effect */
    transition: transform 0.3s ease;
}

.image-modal.active .modal-content {
    transform: scale(1); /* Zoom in to full size */
}

/* The Close Button */
.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal-btn:hover {
    color: #bbb;
}
