/* =========================================================
   1. VARIABLES, TYPOGRAPHY & GLOBALS
   ========================================================= 
:root {
    --primary-color: #0284c7; 
    --primary-dark: #0369a1;
    --dark-bg: #111827;
    --text-body: #4b5563;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
} */
:root {
    --primary-color: #0284c7; 
    --primary-dark: #0369a1;
    --dark-bg: #111827;
    --text-body: #4b5563;
    --font-heading: 'Outfit', sans-serif; /* Changed to Outfit */
    --font-body: 'Inter', sans-serif;     /* Changed to Inter */
}
html, body {
    /* overflow-x: hidden; This absolutely prevents horizontal scrolling */
    /*width: 100%;*/
}
body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.8;
    background-color: #ffffff;
}
/* main {
    overflow-x: hidden;
} */
h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-bg);
}
/* Global Utilities */
.font-heading {
    font-family: var(--font-heading);
}
.rounded-4 {
    border-radius: 1rem !important;
}
.text-primary {
    color: var(--primary-color) !important;
}
.bg-primary {
    background-color: var(--primary-color) !important;
}
.border-primary {
    border-color: var(--primary-color) !important;
}
.tracking-wide {
    letter-spacing: 2px;
}
/* Buttons */
.btn-primary, .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
/* Section Titles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-bg);
}
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}
.section-title.text-start::after {
    margin-left: 0;
}

/* =========================================================
   2. NAVBAR
   ========================================================= */
.navbar-custom {
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
}
.navbar-custom.scrolled {
    background: #ffffff;
    padding: 0.8rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.navbar-custom .navbar-brand {
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: 2px;
    transition: color 0.4s ease;
}
.navbar-custom.scrolled .navbar-brand {
    color: var(--dark-bg);
}
.navbar-custom .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px; /* Reduced slightly from 15px to fit laptop screens better */
    white-space: nowrap; /* THIS FIXES THE SQUEEZING - Forces text to stay on one line */
    transition: color 0.3s ease;
}
.navbar-custom.scrolled .nav-link {
    color: var(--text-body) !important;
}
.navbar-custom .nav-link:hover, 
.navbar-custom.scrolled .nav-link:hover {
    color: var(--primary-color) !important;
}
.navbar-custom .menu-icon {
    color: #ffffff;
    transition: color 0.3s ease;
}
.navbar-custom.scrolled .menu-icon {
    color: var(--dark-bg);
}
.btn-nav-cta {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-nav-cta:hover {
    background-color: var(--primary-dark);
}

/* =========================================================
   DROPDOWN MENU STYLING
   ========================================================= */
/* The Dropdown Box */
.dropdown-menu-custom {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 0.8rem 0;
    margin-top: 5px; /* Adds breathing room below navbar */
}
/* Dropdown Links */
.dropdown-menu-custom .dropdown-item {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-body);
    padding: 10px 25px;
    transition: all 0.3s ease;
}
/* Hover Effect - Subtle slide right and text color change */
.dropdown-menu-custom .dropdown-item:hover {
    background-color: transparent;
    color: var(--primary-color);
    padding-left: 32px; /* Smoothly slides the text to the right */
}
/* Ensure the carets align nicely */
.navbar-custom .nav-link.dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 6px;
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-left: 0.35em solid transparent;
}
/* Hover to open dropdown on Desktop (Removes need to click) */
@media (min-width: 992px) {
    .navbar-expand-lg .dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeInDown 0.3s ease forwards;
    }
    /* Creates a small invisible bridge so the menu doesn't close when moving mouse down */
    .navbar-expand-lg .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -15px;
        left: 0;
        right: 0;
        height: 15px;
    }
}
/* Keyframe for smooth dropdown appearance */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================================================
   3. ANIMATED HERO SLIDER
   ========================================================= */
.hero-slider, .carousel-inner, .carousel-item {
    height: 100vh;
    min-height: 600px;
    width: 100%;
}
.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
}
.slide-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); 
}
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 100%;
    padding: 0 20px;
}
.slide-content span {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 15px;
}
.slide-content h1 {
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.btn-custom {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.btn-custom:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}
/* Slider CSS Animations */
.anim-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-item.active .anim-slide-up {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.3s; }
.delay-2 { transition-delay: 0.5s; }
.delay-3 { transition-delay: 0.7s; }
/* =========================================================
   4. PROPERTIES SECTION
   ========================================================= */
.price-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.price-tag small {
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-body);
}
/* =========================================================
   5. AMENITIES (Premium Perks)
   ========================================================= */
.amenity-box {
    background: #ffffff;
    padding: 30px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.amenity-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.1);
}
.amenity-box i {
    font-size: 2.5rem;
    display: block;
}
/* =========================================================
   6. LIFESTYLE (Live Like a Local)
   ========================================================= */
.lifestyle-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.4s ease;
}
.lifestyle-card:hover {
    transform: translateY(-10px);
}
.lifestyle-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.lifestyle-content {
    padding: 30px;
}
.lifestyle-content .badge {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 12px;
}
/* =========================================================
   7. REVIEWS (Parallax & Cards)
   ========================================================= */
.review-parallax {
    background: url('images/home/review-section-bg.avif') center/cover no-repeat fixed;
}
.review-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
.review-card:hover {
    transform: translateY(-8px) !important; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}
/* =========================================================
   8. EXPLORE SECTION
   ========================================================= */
.explore-card {
    height: 350px; 
    display: block; 
    overflow: hidden;
    position: relative;
    border-radius: 0.5rem;
}
.explore-card img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover; 
    transition: transform 0.5s ease;
}
.explore-card:hover img {
    transform: scale(1.05);
}
.explore-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.9), transparent);
}
/* =========================================================
   9. FOOTER
   ========================================================= */
.footer-modern {
    background-color: #0f172a; 
    color: #f8fafc;
}
.footer-text {
    color: #fafafa; 
}
.footer-links a, .footer-contact a {
    color: #fafafa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-links a:hover, .footer-contact a:hover {
    color: #ffffff;
    transform: translateX(5px); 
}
.nav-link-hover:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
    transition: all 0.3s ease;
}
.icon-box {
    width: 35px;
    height: 35px;
    background-color: rgba(2, 132, 199, 0.15); 
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-icon:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
}
/* =========================================================
   10. MOBILE & RESPONSIVE QUERIES
   ========================================================= */
/* Tablets & Smaller (Under 992px) */
@media (max-width: 991.98px) {
    .offcanvas-end {
        width: 85% !important; /* Doesn't take up the full screen, leaving a dark overlay */
        max-width: 400px;
        border-left: none;
    }
    .mobile-nav-custom .nav-link {
        color: var(--dark-bg) !important;
        font-family: var(--font-heading);
        font-size: 1.1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    /* Convert Dropdown to a clean Accordion */
    .mobile-nav-custom .dropdown-menu {
        position: static !important; /* Stops it from floating */
        float: none;
        box-shadow: none !important;
        border: none;
        background-color: #fff;
        margin: 0;
        padding: 0.5rem 1rem;
        border-radius: 0 0 8px 8px;
        transform: none !important;
    }
    .mobile-nav-custom .dropdown-item {
        padding: 10px 0;
        font-family: var(--font-heading);
        font-weight: 500;
        color: var(--text-body);
        font-size: 1.1rem;
        text-transform: uppercase;
    }
    .mobile-nav-custom .dropdown-item:hover {
        background-color: transparent;
        color: var(--primary-color);
        padding-left: 5px; /* Subtle interaction */
    }
    /* Navbar Mobile Dropdown */
    .navbar-collapse {
        background-color: #ffffff; 
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        margin-top: 15px;
    }
    .navbar-custom .navbar-brand{
        font-size: 1rem;
    }
    .navbar-custom .nav-link {
        color: var(--dark-bg) !important; 
        text-align: center;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .navbar-custom .nav-link:hover {
        color: var(--primary-color) !important;
    }
    /* Properties Layout Fix */
    .property-details {
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: -60px; 
        padding: 1.5rem !important; /* Slightly less padding so content breathes */
        width: 92%; /* Widened slightly so it doesn't look so narrow */
        position: relative;
        z-index: 10;
        box-sizing: border-box; /* Ensures padding doesn't push it off screen */
    }
    .property-image img {
        height: 400px !important; 
    }
    .price-tag {
        top: 20px;
        bottom: auto;
        left: 20px;
        z-index: 5;
    }
    /* Disable Review Card desktop offset */
    .review-card {
        transform: none !important; 
    }
}
/* Mobile Phones (Under 768px) */
@media (max-width: 767.98px) {
    /* Hero Title Size */
    .slide-content h1 {
        font-size: 2.5rem !important;
    }
    /* Amenities Grid Padding */
    .amenity-box {
        padding: 20px 10px;
    }
    .amenity-box i {
        font-size: 2rem;
    }
    .amenity-box h6 {
        font-size: 0.85rem;
    }
    .owner-card {
        padding: 12px 15px !important;
    }
    .owner-card .font-heading {
        font-size: 1.1rem !important; /* Smaller font so name fits on one line */
        line-height: 1.2;
    }
    .owner-card .small {
        font-size: 0.75rem; /* Shrink title slightly */
        line-height: 1.2;
    }
     /* 2. Fix the squished/tall sliver images */
    .experience-images .stagger-img-1 {
        height: 250px !important; /* Cap the height so it doesn't look like a noodle */
        margin-bottom: 0 !important;
    }
    .experience-images .stagger-img-2 {
        height: 280px !important;
    }
    .experience-images .col-6 {
        padding-left: 8px; /* Adds a bit more breathing room between the two images */
        padding-right: 8px;
    }
}
/* =========================================================
   INTERNAL PAGE HEADERS
   ========================================================= */
.page-header {
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Adds a premium parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0;
}
/* =========================================================
   CTA PARALLAX SECTION (For Internal Pages)
   ========================================================= */
.cta-parallax {
    /* High-end coastal boardwalk image */
    background: url('images/cta-parallax-bg.avif') center/cover no-repeat fixed;
}
/* =========================================================
   CONTACT PAGE STYLES
   ========================================================= */
/* Contact Information Cards */
.transition-all {
    transition: all 0.3s ease;
}
.contact-info-card:hover {
    background-color: #ffffff !important;
    border-color: rgba(2, 132, 199, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}
.contact-info-card:hover .contact-icon-wrapper {
    background-color: var(--primary-color) !important;
}
.contact-info-card:hover .contact-icon-wrapper i {
    color: #ffffff !important;
}
/* Premium Form Styling */
.form-control-custom {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.8rem 1.2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--dark-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
}
.form-control-custom:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1);
    outline: none;
}
.form-control-custom::placeholder {
    color: #94a3b8;
    font-weight: 300;
}
/* Button Lift Animation */
.btn-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.3) !important;
}
/* =========================================================
   ATTRACTIONS PAGE STYLES (Premium Cards)
   ========================================================= */
.attraction-card-premium {
    position: relative;
    height: 380px; /* Forces all cards to be the exact same beautiful height */
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    /* Fix for Safari corner overflow during scale animation */
    -webkit-mask-image: -webkit-radial-gradient(white, black); 
}
/* Image styling with smooth zoom transition */
.attraction-card-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.attraction-card-premium:hover img {
    transform: scale(1.08);
}
/* Dark gradient overlay that sits over the bottom half of the image */
.card-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
    transition: background 0.4s ease;
}
/* Darken the overlay slightly when hovered to make text pop more */
.attraction-card-premium:hover .card-gradient-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.6) 60%, transparent 100%);
}
/* Badge styling inside the cards */
.attraction-card-premium .badge {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color) !important;
    border: 1px solid rgba(255,255,255,0.2);
    /* Subtle slide-up animation on hover */
    transform: translateY(10px);
    opacity: 0.9;
    transition: all 0.4s ease;
}
.attraction-card-premium:hover .badge {
    transform: translateY(0);
    opacity: 1;
}
/* Card title styling */
.attraction-card-premium h4 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    /* Subtle slide-up animation on hover */
    transform: translateY(5px);
    transition: all 0.4s ease;
}
.attraction-card-premium:hover h4 {
    transform: translateY(0);
    color: #ffffff;
}
/* Fix for mobile screens - Cards slightly shorter */
@media (max-width: 767.98px) {
    .attraction-card-premium {
        height: 320px;
    }
}
/* =========================================================
   RESTAURANTS PAGE STYLES
   ========================================================= */
.restaurant-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Safari Fix */
    -webkit-mask-image: -webkit-radial-gradient(white, black); 
}
.restaurant-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.restaurant-img-wrapper {
    height: 240px;
    overflow: hidden;
}
.restaurant-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
/* Image zooms slightly when the card is hovered */
.restaurant-card:hover .restaurant-img-wrapper img {
    transform: scale(1.08);
}
/* Badge styling */
.restaurant-img-wrapper .badge {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 12px;
}
/* Interaction for the "Visit Website" text */
.card-link-text i {
    transition: transform 0.3s ease;
}
.restaurant-card:hover .card-link-text i {
    transform: translateX(6px);
}
/* Subtle hover effect for the phone number inside the card */
.phone-hover {
    transition: color 0.2s ease;
}
.phone-hover:hover {
    color: var(--primary-color) !important;
}
/* =========================================================
   ACTIVITIES & INFO PAGE STYLES
   ========================================================= */
/* Tennis Club Cards */
.club-card {
    cursor: pointer;
}
.club-card:hover {
    background-color: #ffffff !important;
    border-color: rgba(2, 132, 199, 0.2) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06) !important;
    transform: translateY(-4px);
}
/* Digital Concierge / Resource Links */
.resource-link {
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}
.resource-link:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(2, 132, 199, 0.1) !important;
    transform: translateX(5px); /* Gentle slide to the right */
}
.resource-link:hover div {
    background-color: var(--primary-color) !important;
}
.resource-link:hover i {
    color: #ffffff !important;
}
.resource-link:hover span {
    color: var(--primary-color) !important;
}
/* =========================================================
   FEEDBACK PAGE STYLES (Interactive Star Rating)
   ========================================================= */
.star-rating {
    display: flex;
    flex-direction: row-reverse; /* Clever trick to allow hovering preceding siblings */
    gap: 0.5rem;
}
.star-rating input {
    display: none; /* Hide the actual radio buttons */
}
.star-rating label {
    cursor: pointer;
    font-size: 2.5rem;
    color: #e2e8f0; /* Light gray for unselected stars */
    transition: color 0.2s ease, transform 0.2s ease;
}
/* Hover and Checked states for stars */
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #f59e0b; /* Beautiful golden yellow */
}
/* Micro-interaction: slight grow on hover */
.star-rating label:hover {
    transform: scale(1.15);
}
/* Styling for the custom Select Dropdown to match Floating Inputs */
select.form-control-custom {
    appearance: none; /* Removes default browser styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' class='bi bi-chevron-down' viewBox='0 0 16 16'%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");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}
/* =========================================================
   PROPERTY DETAILS PAGE STYLES
   ========================================================= */
/* Top Quick Stats Bar */
.border-start-md {
    border-left: 0;
}
@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid #e2e8f0;
    }
}
/* Sticky Booking Widget */
.sticky-booking-card {
    position: -webkit-sticky; /* Required for Safari */
    position: sticky;
    top: 90px; /* Gives perfect clearance for your fixed top navbar */
    z-index: 100;
    align-self: start; /* Prevents the card from stretching vertically */
}
/* Custom Table Styling for Rates */
.table-custom {
    border-collapse: separate;
    border-spacing: 0;
}
.table-custom thead th {
    background-color: var(--primary-color);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 1rem;
    border: none;
}
.table-custom thead th:first-child {
    border-top-left-radius: 8px;
}
.table-custom thead th:last-child {
    border-top-right-radius: 8px;
}
.table-custom tbody tr {
    transition: background-color 0.2s;
}
.table-custom tbody tr:hover {
    background-color: #f8fafc;
}
.table-custom tbody td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    border-top: none;
}
.table-custom tbody tr:last-child td {
    border-bottom: none;
}
/* Pill Badge Hover Effect */
.badge.bg-light.text-dark.border {
    transition: all 0.2s ease;
    cursor: default;
    font-size: 0.8rem;
}
.badge.bg-light.text-dark.border:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

/* =========================================================
   MOBILE RESPONSIVE TABLE FIX (Card Layout)
   ========================================================= */

@media (max-width: 767.98px) {
    /* Hide the standard table header on mobile */
    .table-custom thead {
        display: none; 
    }
    
    /* Convert rows and cells into block elements */
    .table-custom, 
    .table-custom tbody, 
    .table-custom tr, 
    .table-custom td {
        display: block;
        width: 100%;
    }
    
    /* Style each row to look like a separate white card */
    .table-custom tr {
        margin-bottom: 1.5rem;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    }
    
    /* Flexbox layout: Pushes the label to the left, data to the right */
    .table-custom td {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: center;
        text-align: right !important;
        padding: 7px 15px !important;
        border-bottom: none !important;
    }
    
    /* Remove border from the last item in the card */
    .table-custom td:last-child {
        border-bottom: none;
    }

    /* INJECT THE HEADERS AS LABELS ON THE LEFT */
    .table-custom td::before {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 0.85rem;
        color: var(--primary-color);
        text-transform: uppercase;
        letter-spacing: 1px;
        text-align: left;
        padding-right: 15px;
    }

    /* Assign the specific text for each column */
    /* .table-custom td:nth-child(1)::before { content: ""; } */
    .table-custom td:nth-child(2)::before { content: "Nightly"; }
    .table-custom td:nth-child(3)::before { content: "Weekly"; }
    .table-custom td:nth-child(4)::before { content: "Monthly"; }
}
/* =========================================================
   PROPERTY GALLERY STYLES (Airbnb Style Masonry)
   ========================================================= */
.gallery-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 500px; /* Adjust height based on preference */
    border-radius: 16px;
    overflow: hidden;
}
/* Position the images in the grid */
.gallery-main { grid-column: 1 / 2; grid-row: 1 / 3; }
.gallery-side-1 { grid-column: 2 / 3; grid-row: 1 / 2; }
.gallery-side-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.gallery-side-3 { grid-column: 2 / 3; grid-row: 2 / 3; }
.gallery-side-4 { grid-column: 3 / 4; grid-row: 2 / 3; }
/* Image Styling */
.gallery-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
}
/* Hover effects (dim other images when hovering over one) */
.gallery-wrapper:hover .gallery-item img {
    filter: brightness(0.8);
}
.gallery-wrapper .gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1); /* Brighten the hovered image */
}
/* Floating Button */
.btn-view-photos {
    position: absolute;
    bottom: 25px;
    right: 25px;
    z-index: 5;
    background-color: white;
    color: var(--dark-bg);
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}
.btn-view-photos:hover {
    transform: scale(1.05);
    background-color: #f8fafc;
}
/* Mobile Adjustments */
@media (max-width: 767.98px) {
    .gallery-wrapper {
        display: block; /* Turns off grid on mobile */
        height: 350px;
    }
    .gallery-main {
        height: 100%;
    }
    .btn-view-photos {
        bottom: 15px;
        right: 15px;
        font-size: 0.9rem;
    }
}
/* Fix for Fullscreen Modal Images */
.modal-fullscreen .carousel-item img {
    max-height: 100vh;
    object-fit: contain; /* Ensures images are never cropped in the full screen viewer */
}


/* =========================================================
   CLEAN & ELEGANT FLATPICKR DATEPICKER
   ========================================================= */

/* Main Calendar Container */
.flatpickr-calendar {
    font-family: var(--font-body);
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    padding: 10px;
}

/* Month & Year Header */
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month .numInputWrapper {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-bg);
}

/* Weekday Labels */
span.flatpickr-weekday {
    color: #94a3b8 !important;
    font-weight: 600;
}

/* Standard Available Days */
.flatpickr-day {
    border-radius: 8px !important;
    color: var(--text-body) !important;
    font-weight: 500;
    border: 1px solid transparent !important;
}

.flatpickr-day:hover:not(.flatpickr-disabled):not(.selected) {
    background: #f1f5f9 !important; /* Soft gray hover */
    color: var(--dark-bg) !important;
}

/* Disabled / Booked Days (Clearly grayed out with a strike) */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: #cbd5e1 !important;
    text-decoration: line-through;
    background: transparent !important;
    cursor: not-allowed !important;
}

/* Selected Range (Beautiful Primary Blue) */
.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3) !important;
}

/* Days in between the selected range */
.flatpickr-day.inRange {
    background: rgba(2, 132, 199, 0.1) !important;
    border-color: transparent !important;
    box-shadow: none !important;
}