/* Start Exploring - Destination Categories */
.destination-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
    margin-bottom: 30px;
    cursor: pointer;
}

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

@media (max-width: 768px) {
    .testi-header-content {
        text-align: center;
        margin-bottom: 20px;
    }
}

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

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: 0.3s;
}

.destination-content h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 5px;
    transform: translateY(0);
    transition: 0.3s;
}

.destination-content span {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Testimonials - Moliva Style */
.testimonial-section {
    background-color: #f8faff;
    background-image: radial-gradient(rgba(41, 160, 177, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/world-map.png');
    opacity: 0.03;
    pointer-events: none;
}

.testimonial-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    position: relative;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.quotation-icon {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.08;
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 0;
}

.testi-text {
    font-size: 1.1rem;
    color: var(--text-body);
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.author-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

/* Section Badge */
.section-badge {
    background: rgba(41, 160, 177, 0.1);
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

/* Swiper Navigation Buttons */
.testi-nav-btns {
    display: flex;
    gap: 15px;
    position: absolute;
    top: 0;
    right: 0;
}

.testi-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid #edf1f4;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testi-nav-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .testi-nav-btns {
        position: relative;
        justify-content: center;
        margin-top: 30px;
        right: auto;
        top: auto;
    }

    .testi-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

.testi-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary);
    opacity: 0.2;
    transition: var(--transition);
}

.testi-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

/* Slider Animations */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.swiper-slide-active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-bg {
    transition: transform 6s ease;
}

.swiper-slide-active .hero-bg {
    transform: scale(1.1);
    /* Slow zoom effect */
}

/* Pagination Bullets */
.swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
}

/* Moliva Style Search Bar Overrides */
.search-area {
    background: #ffffff;
    padding: 10px;
    /* Reduced outer padding */
    border-radius: 100px;
    /* Pill shape */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    max-width: 1000px;
}

.search-form {
    display: flex;
    /* Flex instead of grid for pill layout */
    width: 100%;
    align-items: center;
    gap: 0;
    /* Managed by padding/borders */
}

.form-group {
    flex: 1;
    border-right: 1px solid #eee;
    padding: 10px 30px;
    position: relative;
    margin-bottom: 0 !important;
    /* Override generic form-group */
}

.form-group:last-of-type {
    border-right: none;
}

/* Icons styling */
.form-group label i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-right: 10px;
    vertical-align: middle;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 5px;
    display: block;
    font-weight: 700;
}

/* Input Styling */
.search-area .form-control {
    border: none;
    padding: 0;
    height: auto;
    font-weight: 600;
    font-size: 1rem;
    color: var(--secondary);
    background: transparent;
    cursor: pointer;
}

.search-area .form-control:focus {
    box-shadow: none;
    outline: none;
}

/* Button Styling */
.search-btn {
    border-radius: 50px;
    padding: 15px 40px;
    margin: 5px;
    /* Spacing from container edge */
    background: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    height: 60px;
    /* circle or pill */
    white-space: nowrap;
    transition: 0.3s;
}

.search-btn:hover {
    background: var(--secondary);
    transform: translateY(0);
    /* Reset generic lift */
}

/* Responsive */
@media (max-width: 991px) {
    .search-area {
        border-radius: 20px;
        flex-direction: column;
        padding: 20px;
        margin-top: 20px;
        width: 95%;
        max-width: none;
    }

    .search-form {
        flex-direction: column;
        width: 100%;
    }

    .search-item {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 15px 0;
        border-right: none !important;
    }

    .search-item:last-child {
        border-bottom: none;
    }

    .search-btn-wrap {
        width: 100%;
        padding: 0;
    }

    .search-btn {
        width: 100%;
        margin-top: 15px;
        border-radius: 50px;
        justify-content: center;
    }

    /* Gems Section Header mobile fix */
    .section-head .header-btn {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        display: inline-flex !important;
        margin-top: 20px !important;
    }

    .gems-grid-mobile {
        display: flex !important;
        /* Force flex for Swiper on mobile */
    }
}

@media (min-width: 992px) {
    .localGemsSwiper .swiper-wrapper {
        display: flex !important;
        transform: translate3d(0, 0, 0);
    }
}

/* Local Gems Slider Navigation Styling */
.localGemsSwiper .swiper-button-next,
.localGemsSwiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.localGemsSwiper .swiper-button-next:after,
.localGemsSwiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: 900;
}

.localGemsSwiper .swiper-button-next:hover,
.localGemsSwiper .swiper-button-prev:hover {
    background: var(--primary);
    color: var(--white);
}

.localGemsSwiper .swiper-button-prev {
    left: -25px;
}

.localGemsSwiper .swiper-button-next {
    right: -25px;
}

@media (max-width: 991px) {

    .localGemsSwiper .swiper-button-next,
    .localGemsSwiper .swiper-button-prev {
        width: 40px;
        height: 40px;
        display: none !important;
        /* Hide arrows on mobile for better mobile UI */
    }
}


/* Moliva Style About Section */
.about-section-wrapper {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.about-img-area {
    position: relative;
    padding-right: 50px;
    /* Space for the floating elements */
    padding-bottom: 50px;
}

.about-main-img {
    border-radius: 30px;
    /* Large rounded corners */
    overflow: hidden;
    /* Main image styling */
}

.about-main-img img {
    width: 100%;
    border-radius: 30px;
}

.about-small-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 280px;
    border: 10px solid #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.experience-badge {
    position: absolute;
    top: 40px;
    left: -30px;
    background: var(--accent);
    color: var(--secondary);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 3;
    min-width: 160px;
    animation: floating 3s ease-in-out infinite;
}

.experience-badge h3 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    color: var(--white);
}

.experience-badge span {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.about-content-area {
    padding-left: 30px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two column list */
    gap: 20px;
}

.about-list li {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--secondary);
}

.about-list i {
    width: 25px;
    height: 25px;
    background: rgba(41, 160, 177, 0.1);
    /* Primary light */
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 12px;
}

/* Float Animation */
@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Responsive for About */
@media (max-width: 991px) {
    .about-img-area {
        padding: 0;
        margin-bottom: 80px;
    }

    .about-small-img {
        position: absolute;
        width: 180px;
        bottom: -40px;
        right: 0;
        margin: 0;
    }

    .experience-badge {
        left: 0;
        top: -30px;
        padding: 20px 15px;
        min-width: 120px;
    }

    .experience-badge h3 {
        font-size: 2rem;
    }

    .about-content-area {
        padding-left: 0;
    }

    .about-list {
        grid-template-columns: 1fr;
    }
}

/* Moliva Style Footer */
footer {
    background: #0d233d;
    /* Deep navy */
    color: #ffffff;
    padding: 100px 0 0 0;
    position: relative;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-widget h4 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #b0b0b0;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 10px;
}

.footer-links a::before {
    content: '\f105';
    /* FontAwesome Chevron Right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
    font-size: 12px;
    color: var(--accent);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(253, 199, 3, 0.1);
    /* Accent with low opacity */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.footer-contact-text p {
    margin: 0;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.footer-contact-text span {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 5px;
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.footer-social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: 0.3s;
}

.footer-social-links a:hover {
    background: var(--accent);
    color: var(--secondary);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    margin-top: 60px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 991px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* =========================================
   MOBILE RESPONSIVE FIXES (Global Overrides)
   ========================================= */

@media (max-width: 991px) {

    /* 1. Header & Navigation */
    .top-header {
        display: none;
        /* Hide top bar on mobile to save space */
    }

    .navbar {
        top: 0;
        padding: 10px 0;
    }

    .mobile-menu-toggle {
        display: block !important;
        /* Force show toggle */
        font-size: 24px;
        color: var(--secondary);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        /* Hidden by default */
        width: 280px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        z-index: 999;
        gap: 15px;
    }

    .nav-menu.active {
        right: 0;
        /* Slide in */
    }

    .nav-menu a {
        font-size: 1.1rem;
        border-bottom: 1px solid #f5f5f5;
        padding: 12px 0;
    }

    .navbar .header-btn {
        display: none;
        /* Hide primary book button in header on mobile to save space */
    }

    /* 2. Hero Section */
    .hero-title {
        font-size: 3rem;
    }

    .hero-wrapper {
        height: 50vh;
        /* Reduce height significantly for mobile */
        min-height: 400px;
    }

    /* 3. Global Grids */
    .contact-grid,
    .card-grid {
        grid-template-columns: 1fr !important;
        /* Stack columns */
        gap: 40px;
    }

    /* Set form-group padding for all forms on mobile */
    .form-group {
        padding: 5px !important;
    }

    /* Prevent auto-zoom on focus by ensuring font-size is at least 16px */
    .form-control,
    .contact-form .form-control,
    select,
    input,
    textarea {
        font-size: 16px !important;
    }

    /* In Booking Page, Sidebar should be below form */
    .booking-sidebar {
        order: 2;
    }

    .booking-form-main {
        order: 1;
    }

    /* 4. Page Hero */
    .page-hero {
        height: 300px;
    }

    .page-hero-title {
        font-size: 2.5rem;
    }

    /* 5. Room Features */
    .room-features-grid {
        grid-template-columns: 1fr;
    }

    /* 6. Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* 7. Contact Form internal grids */
    .contact-form div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        /* Force single column for name/email inputs */
    }

    .contact-form div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        /* Force single column for room/adults/children */
    }

    /* Specific fix for specific columns */
    .contact-form div[style*="20px"] {
        grid-template-columns: 1fr !important;
    }

    /* 8. Booking Form specific */
    .booking-form-main .contact-form-wrap {
        padding: 0px 15px 10px 10px;
        /* Reduce padding */
    }

    /* 9. About Section mobile fix (Hide Image) */
    .about-img-area,
    .about-images {
        display: none !important;
    }

    /* 10. About Section Full Width Container */
    .about-section-wrapper .container {
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .about-content-area {
        width: 100% !important;
        padding: 0 20px !important;
        box-sizing: border-box;
    }
}

/* Global Fixes for Mobile X-Scroll */
* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-head h2 {
        font-size: 2rem;
    }

    /* Adjust Booking Form Inputs */
    .form-group {
        margin-bottom: 20px;
    }
}