/* ==========================================================================
   CASA CAVU CENTRAL SPECIFICATION DESIGN SHEET
   ========================================================================== */
/* Premium Editorial Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --hacienda-white: #FBF9F6;
    --terracotta: #D96B43;
    --deep-ocean: #1C3144;
    --parchment-dark: #F5EFEB;
    --font-header: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Helvetica Neue', Arial, sans-serif;
}

/* GLOBAL CONFIGURATION RESETS */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    background-color: var(--hacienda-white);
    color: var(--deep-ocean);
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* WIDESCREEN ASYMMETRIC NAVBAR ENGINE */
.rental-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(251, 249, 246, 0.92);
    border-bottom: 1px solid rgba(28, 49, 68, 0.05);
    z-index: 1000;
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
}

.nav-container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 25px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-title {
    font-family: var(--font-header);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--deep-ocean);
    letter-spacing: 3px;
    line-height: 1;
}

.brand-tagline {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--terracotta);
    font-weight: bold;
    padding-left: 2px;
}

.nav-links {
    display: flex;
    gap: 45px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--deep-ocean);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.7;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--terracotta);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active-link::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active-link {
    color: var(--terracotta);
    opacity: 1;
}

/* 3D STAGGERED HOMEPAGE HERO SYSTEM */
.rental-hero-stage {
    min-height: 95vh;
    padding: 180px 40px 100px 40px;
    background-color: var(--hacienda-white);
    background: linear-gradient(rgba(251, 249, 246, 0.8), rgba(251, 249, 246, 0.85)), url('images/hero/7.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(28, 49, 68, 0.05);
}

.hero-balanced-container {
    width: 100%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: 58fr 42fr;
    gap: 80px;
    align-items: center;
}

.hero-popup-card {
    background-color: var(--hacienda-white);
    padding: 60px;
    border: 1px solid rgba(28, 49, 68, 0.05);
    box-shadow: 25px 25px 0px rgba(217, 107, 67, 0.15);
    transform: translateY(-20px);
}

.hero-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--terracotta);
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}

.hero-title {
    font-family: var(--font-header);
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--deep-ocean);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.15rem;
    opacity: 0.85;
    margin-bottom: 35px;
}

.hero-canvas-frame {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    transform: translateY(20px);
}

.hero-canvas-frame img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border: 1px solid rgba(28, 49, 68, 0.05);
    box-shadow: 25px 25px 0px var(--parchment-dark);
}

.hero-action-row { 
    display: flex; gap: 20px; 
}

.cta-primary-btn {
    text-decoration: none;
    background-color: var(--deep-ocean);
    color: var(--hacienda-white);
    padding: 15px 30px;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}
.cta-primary-btn:hover { 
    background-color: var(--terracotta); 
}

.cta-secondary-btn {
    text-decoration: none;
    border: 1px solid var(--deep-ocean);
    color: var(--deep-ocean);
    padding: 15px 30px;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.cta-secondary-btn:hover { 
    background-color: rgba(28, 49, 68, 0.05); 
}

/* PROPERTY SPECIFICATION BAR SUMMARY MODULE */
.property-spec-bar { 
    background-color: var(--parchment-dark); padding: 35px 20px; 
}

.spec-container { 
    max-width: 900px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; 
}

.spec-item { 
    text-align: center; flex: 1; 
}

.spec-number { 
    display: block; font-family: var(--font-header); font-size: 2.6rem; color: var(--terracotta); font-weight: bold; line-height: 1; margin-bottom: 5px; 
}

.spec-label { 
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; opacity: 0.8; 
}

.spec-divider { 
    width: 1px; height: 40px; background-color: rgba(28, 49, 68, 0.15); 
}

/* HOMEPAGE CORE IMAGE SLIDER CAROUSEL TRACKS */
.showcase-container { max-width: 1200px; margin: 0 auto; padding: 80px 20px; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase-text h2 { font-family: var(--font-header); font-size: 2.4rem; color: var(--deep-ocean); margin-bottom: 15px; }
.accent-line { width: 60px; height: 3px; background-color: var(--terracotta); margin-bottom: 25px; }
.showcase-text p { font-size: 1.15rem; opacity: 0.85; margin-bottom: 20px; text-align: justify; }

.showcase-slider-frame {
    position: relative;
    width: 100%;
    height: 480px;
    box-shadow: 15px 15px 0px var(--parchment-dark);
    border: 1px solid rgba(28, 49, 68, 0.05);
    background-color: var(--parchment-dark);
    overflow: hidden;
}

.rental-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    cursor: zoom-in;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.5s ease;
}

.rental-slide.active-slide { opacity: 1; visibility: visible; }
.rental-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.slide-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(251, 249, 246, 0.85); 
    border: 1px solid rgba(28, 49, 68, 0.1);
    color: var(--deep-ocean);
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    user-select: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.showcase-slider-frame:hover .slide-nav-btn { opacity: 1; visibility: visible; }
.slide-nav-btn:hover {
    background-color: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--hacienda-white);
    box-shadow: 0 4px 12px rgba(217, 107, 67, 0.3);
}

.prev-arrow { left: 20px; }
.next-arrow { right: 20px; }

.slider-dots-row {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.showcase-slider-frame:hover .slider-dots-row { opacity: 1; visibility: visible; }
.slider-dot {
    width: 8px;
    height: 8px;
    background-color: rgba(251, 249, 246, 0.5);
    border: 1px solid rgba(28, 49, 68, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dot.active-dot, .slider-dot:hover { background-color: var(--terracotta); width: 20px; border-radius: 4px; }

/* THE LUXURY REAL-ESTATE GALLERY THEATER SYSTEM PANEL */
.archive-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 150px;
    padding-bottom: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 0 auto;
}

.gallery-heading {
    text-align: center;
    font-family: var(--font-header);
    font-size: 2.6rem;
    color: var(--deep-ocean);
    margin-bottom: 10px;
}

.vault-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 45px;
    flex-wrap: wrap;
    width: 100%;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--deep-ocean);
    color: var(--deep-ocean);
    padding: 12px 26px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active-tag {
    background-color: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--hacienda-white);
    box-shadow: 0 5px 15px rgba(217, 107, 67, 0.25);
}

.gallery-theater-stage {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 30px auto;
    background-color: var(--parchment-dark);
    border: 1px solid rgba(28, 49, 68, 0.05);
    box-shadow: 20px 20px 0px var(--parchment-dark);
    height: 560px; 
}

.theater-view-window {
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: zoom-in;
}

.theater-view-window img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: transform 0.4s ease;
}
.theater-view-window:hover img { transform: scale(1.02); }

.theater-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(251, 249, 246, 0.85);
    border: 1px solid rgba(28, 49, 68, 0.1);
    color: var(--deep-ocean);
    width: 50px;
    height: 50px;
    font-size: 2rem;
    line-height: 45px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    user-select: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-theater-stage:hover .theater-nav-btn { opacity: 1; visibility: visible; }
.theater-nav-btn:hover {
    background-color: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--hacienda-white);
    box-shadow: 0 4px 12px rgba(217, 107, 67, 0.3);
}
.prev-theater { left: 20px; }
.next-theater { right: 20px; }

.ribbon-carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 45px; 
    margin-bottom: 60px; 
}

.thumbnail-ribbon {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    padding: 10px 0;
    flex-wrap: nowrap; 
    overflow-x: auto; 
    scroll-behavior: smooth;
}
.thumbnail-ribbon::-webkit-scrollbar { height: 4px; }
.thumbnail-ribbon::-webkit-scrollbar-track { background: transparent; }
.thumbnail-ribbon::-webkit-scrollbar-thumb { background: rgba(217, 107, 67, 0.15); border-radius: 10px; }

.ribbon-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--hacienda-white);
    border: 1px solid rgba(28, 49, 68, 0.1);
    color: var(--deep-ocean);
    width: 32px;
    height: 32px;
    font-size: 1.4rem;
    line-height: 26px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    z-index: 20;
    user-select: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.ribbon-arrow-btn:hover { background-color: var(--terracotta); border-color: var(--terracotta); color: var(--hacienda-white); }
.prev-ribbon { left: 0; }
.next-ribbon { right: 0; }

.thumb-tile {
    flex: 0 0 112px; 
    height: 75px; 
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    background-color: var(--parchment-dark);
    transition: all 0.3s ease;
    opacity: 0.5;
}
.thumb-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-tile:hover, .thumb-tile.active-thumb { opacity: 1; border-color: var(--terracotta); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

/* DIRECT INQUIRY CONTACT PANELS CONFIGURATIONS */
.contact-layout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 160px 20px 80px; 
    flex: 1 0 auto;
    display: flex;
    align-items: center;
}

.contact-grid-card {
    display: grid;
    grid-template-columns: 55fr 45fr;
    background-color: white;
    border: 1px solid rgba(28, 49, 68, 0.05);
    box-shadow: 20px 20px 0px var(--parchment-dark);
    width: 100%;
}

.contact-details-panel { padding: 60px; }
.panel-subtitle { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 3px; color: var(--terracotta); font-weight: bold; display: block; margin-bottom: 5px; }
.panel-heading { font-family: var(--font-header); font-size: 2.6rem; color: var(--deep-ocean); margin-bottom: 15px; }
.panel-intro { font-size: 1.15rem; opacity: 0.85; margin-bottom: 35px; text-align: justify; }

.direct-channels-list { display: flex; flex-direction: column; gap: 25px; margin-bottom: 40px; }
.channel-row { display: flex; align-items: center; gap: 20px; background-color: var(--hacienda-white); padding: 15px 20px; border-left: 4px solid var(--terracotta); }
.channel-icon { font-size: 1.6rem; }
.channel-text { display: flex; flex-direction: column; }
.channel-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.6; }
.channel-link { font-family: var(--font-header); font-size: 1.4rem; font-weight: bold; color: var(--deep-ocean); text-decoration: none; transition: color 0.3s ease; }
.channel-link:hover { color: var(--terracotta); }
.seasonal-notice { font-size: 0.95rem; opacity: 0.75; border-top: 1px dashed rgba(28, 49, 68, 0.15); padding-top: 20px; }
.contact-visual-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* AMENITIES FEATURE MATRIX SYSTEM LAYOUT */
.amenities-layout-container { max-width: 1200px; margin: 0 auto; padding: 160px 20px 80px 20px; flex: 1 0 auto; text-align: center; }
.amenities-heading { font-family: var(--font-header); font-size: 2.6rem; color: var(--deep-ocean); margin-bottom: 10px; }
.section-subtitle { font-style: italic; opacity: 0.7; margin-bottom: 50px; }

.amenities-grid-matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin-bottom: 50px; align-items: stretch; }
.amenity-card { background-color: white; border: 1px solid rgba(28, 49, 68, 0.05); box-shadow: 15px 15px 0px var(--parchment-dark); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease; text-align: left; }
.amenity-card:hover { transform: translateY(-5px); }
.amenity-image-box { width: 100%; height: 220px; overflow: hidden; border-bottom: 1px solid rgba(28, 49, 68, 0.03); }
.amenity-image-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.amenity-content-box { padding: 35px; display: flex; flex-direction: column; flex: 1; }
.amenity-card-header { border-bottom: 2px solid var(--parchment-dark); padding-bottom: 15px; margin-bottom: 20px; }
.amenity-card h3 { font-family: var(--font-header); font-size: 1.6rem; color: var(--deep-ocean); }

.amenity-details-list { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.amenity-details-list li { font-size: 1.05rem; opacity: 0.9; position: relative; padding-left: 20px; line-height: 1.5; }
.amenity-details-list li::before { content: '✦'; position: absolute; left: 0; color: var(--terracotta); font-size: 0.8rem; }
.amenity-details-list strong { color: var(--deep-ocean); }

.neighborhood-grid-matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; text-align: left; }
.experience-card { background-color: white; border: 1px solid rgba(28, 49, 68, 0.05); box-shadow: 15px 15px 0px var(--parchment-dark); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease; }
.experience-card:hover { transform: translateY(-5px); }
.experience-image-box { width: 100%; height: 220px; overflow: hidden; }
.experience-image-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.experience-content-box { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.experience-tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--terracotta); font-weight: bold; margin-bottom: 10px; display: block; }
.experience-content-box h3 { font-family: var(--font-header); font-size: 1.6rem; color: var(--deep-ocean); margin-bottom: 15px; line-height: 1.2; }
.experience-content-box p { font-size: 1.05rem; opacity: 0.8; text-align: justify; line-height: 1.5; }

/* LIGHTBOX INTERACTIVE COMPONENT SYSTEM */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 49, 68, 0.95);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox-overlay.active-view { display: flex; }
.lightbox-close { position: absolute; top: 30px; right: 40px; font-size: 3rem; color: var(--hacienda-white); cursor: pointer; user-select: none; transition: color 0.2s ease; }
.lightbox-close:hover { color: var(--terracotta); }
.lightbox-content { max-width: 90vw; max-height: 85vh; object-fit: contain; border: 3px solid var(--hacienda-white); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }



/* ==========================================================================
   ADVANCED DUAL-MONTH COASTAL AVAILABILITY HUB
   ========================================================================== */
.calendar-section-wrapper {
    padding-top: 20px;
    width: 100%;
    background-color: white;
    width: 100%;
}

/* ==========================================================================
   WIDESCREEN CALENDAR BOUNDS ALIGNMENT CENTERER
   ========================================================================== */
.calendar-layout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px 20px; /* Aligns perfectly with your upper contact card borders */
    width: 100%;
}

.calendar-section-header { 
    margin-bottom: 35px; 
    text-align: left;
    padding: 0 60px; /* 🌟 Matches the exact indentation of the upper 'Arrange Your Stay' panel text */
}

/* Responsive adjustment keeps padding tight on narrow smartphone glass screens */
@media (max-width: 900px) {
    .calendar-section-header {
        padding: 0 20px; /* Snaps safely to mobile padding rules on small viewports */
    }
}

.calendar-heading-main { font-family: var(--font-header); font-size: 2.2rem; color: var(--deep-ocean); margin-bottom: 5px; }
.calendar-subheading { font-style: italic; opacity: 0.7; font-size: 1.05rem; }

/* THE SIDE-BY-SIDE TIMELINE CHANNELS */
.calendar-timeline-toolbar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

.calendar-nav-btn {
    background: var(--hacienda-white);
    border: 1px solid rgba(28, 49, 68, 0.1);
    color: var(--deep-ocean);
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    line-height: 38px;
    cursor: pointer;
    border-radius: 50%;
    user-select: none;
    transition: all 0.3s ease;
}
.calendar-nav-btn:hover { background-color: var(--terracotta); border-color: var(--terracotta); color: white; }

.calendar-months-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two clean months side by side across monitors */
    gap: 40px;
    flex: 1;
}

/* MONTH CONTAINER BLOCKS */
.month-card { background-color: var(--hacienda-white); padding: 25px; border: 1px solid rgba(28, 49, 68, 0.04); box-shadow: 5px 5px 0px var(--parchment-dark); }
.month-title { font-family: var(--font-header); font-size: 1.4rem; color: var(--deep-ocean); text-align: center; margin-bottom: 15px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }

.days-header-row, .days-grid-matrix { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.days-header-row span { font-size: 0.8rem; font-weight: bold; text-transform: uppercase; opacity: 0.5; margin-bottom: 8px; }

/* 🌟 DYNAMIC SHADING SYSTEM RULES (CLAY TERRACOTTA BRUSHED FIXED) */
.date-tile {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    border: 1px solid rgba(28, 49, 68, 0.05);
    background-color: white; /* Default Available */
    color: var(--deep-ocean);
    position: relative;
    overflow: hidden;
    user-select: none;
}
.date-tile.empty-space { background: transparent; border: none; cursor: default; }
.date-tile.selectable-day { cursor: pointer; transition: all 0.2s ease; }
.date-tile.selectable-day:hover { transform: scale(1.05); z-index: 5; box-shadow: 0 4px 10px rgba(0,0,0,0.08); }

/* Status Classes Assignment Layers */
.date-tile.status-unavailable { background-color: var(--terracotta) !important; color: white !important; border-color: var(--terracotta); }

.date-tile.status-arrive {
    background: linear-gradient(135deg, white 50%, var(--terracotta) 50%) !important;
    color: var(--deep-ocean) !important;
}
.date-tile.status-depart {
    background: linear-gradient(135deg, var(--terracotta) 50%, white 50%) !important;
    color: white !important;
}

/* ==========================================================================
   PRISTINE CLOUD REEF TRANSITION CELLS SYSTEM
   ========================================================================== */
.date-tile {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 600; /* Keeps numbers beautifully bold and highly readable */
    border-radius: 4px;
    border: 1px solid rgba(28, 49, 68, 0.05);
    background-color: white; /* Default available night */
    color: var(--deep-ocean); /* Clean navy typography */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* SOLID UNAVAILABLE BLOCKS STYLING */
.date-tile.status-unavailable {
    background-color: var(--terracotta) !important;
    color: white !important;
    border-color: var(--terracotta) !important;
}

/* 🌟 DUAL COUPLING FIX FOR THE ARRIVE ONLY SPLIT CELLS */
.date-tile.status-arrive {
    background-color: white !important;
    color: var(--deep-ocean) !important; /* Locks text color safely to your primary deep navy */
}
/* This draws a clean terracotta triangle in the bottom-right corner behind the text */
.date-tile.status-arrive::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 45px 45px; /* Creates a clean 45px diagonal slant shape */
    border-color: transparent transparent var(--terracotta) transparent;
    z-index: -1; /* Pushes the color slant behind the number so text never loses contrast! */
}

/* 🌟 DUAL COUPLING FIX FOR THE DEPART ONLY SPLIT CELLS */
.date-tile.status-depart {
    background-color: white !important;
    color: var(--deep-ocean) !important; /* Locks text color safely to deep navy so it remains crystal clear */
}
/* This draws a clean terracotta triangle in the top-left corner behind the text */
.date-tile.status-depart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 45px 45px 0 0;
    border-color: var(--terracotta) transparent transparent transparent;
    z-index: -1; /* Pushes the color slant behind the number so text remains perfectly legible! */
}

/* Enforce active selection border anchors remain crisp on top during editing */
.date-tile.admin-selected-focus {
    border: 2px solid var(--deep-ocean) !important;
}


/* ==========================================================================
   PREMIUM NOTIFICATION TOAST MOTOR
   ========================================================================== */
.custom-toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--deep-ocean);
    color: var(--hacienda-white);
    padding: 16px 28px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(28, 49, 68, 0.2);
    border-left: 4px solid var(--terracotta);
    font-size: 1rem;
    font-weight: 500;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    
    /* 🌟 Smooth slide-in and fade-out animation engine */
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Class applied by JavaScript to trigger the slide-up animation */
.custom-toast-notification.toast-active {
    transform: translateY(0);
    opacity: 1;
}

/* Quick smartphone optimization keeps toast centered at the bottom of small screens */
@media (max-width: 480px) {
    .custom-toast-notification {
        bottom: 20px;
        left: 20px;
        right: 20px;
        transform: translateY(150px);
        font-size: 0.9rem;
        padding: 12px 20px;
    }
}



.date-tile.admin-selected-focus { border: 2px solid var(--deep-ocean) !important; font-weight: bold; }

/* THE CONTROLS LEGEND LAYOUT TRACK */
.calendar-legend-bar { display: flex; gap: 25px; flex-wrap: wrap; margin-bottom: 40px; padding: 15px 20px; background-color: var(--parchment-dark); justify-content: flex-start; }
.legend-item { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 500; }
.legend-box { width: 24px; height: 24px; border-radius: 4px; border: 1px solid rgba(28, 49, 68, 0.1); display: inline-block; }
.legend-box.state-available { background-color: white; }
.legend-box.state-unavailable { background-color: var(--terracotta); }
.legend-box.state-arrive { background: linear-gradient(135deg, white 50%, var(--terracotta) 50%); }
.legend-box.state-depart { background: linear-gradient(135deg, var(--terracotta) 50%, white 50%); }

/* MANAGEMENT DASHBOARD INTERNALS STYLE */
.calendar-admin-panel { background-color: #FFF2ED; border: 2px dashed var(--terracotta); padding: 30px; margin-top: 40px; border-radius: 4px; text-align: left; }
.admin-panel-header h4 { font-family: var(--font-header); font-size: 1.5rem; color: var(--deep-ocean); margin-bottom: 4px; }
.admin-panel-header p { font-size: 0.9rem; opacity: 0.8; margin-bottom: 20px; }
.admin-controls-row { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 20px; }
.control-group { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 200px; }
.control-group label { font-size: 0.85rem; font-weight: bold; text-transform: uppercase; opacity: 0.7; }
.control-group input, .control-group select { padding: 10px; border: 1px solid rgba(28, 49, 68, 0.15); border-radius: 4px; font-size: 1rem; color: var(--deep-ocean); background: white; }
.admin-save-btn { background-color: var(--deep-ocean); color: white; padding: 11px 24px; border: none; font-weight: bold; border-radius: 4px; cursor: pointer; transition: background-color 0.2s; font-size: 1rem; }
.admin-save-btn:hover { background-color: var(--terracotta); }
.admin-export-box { display: flex; flex-direction: column; gap: 6px; }
.admin-export-box label { font-size: 0.85rem; font-weight: bold; opacity: 0.7; }
.admin-export-box textarea { width: 100%; height: 70px; padding: 10px; font-family: monospace; font-size: 0.85rem; border: 1px solid rgba(28, 49, 68, 0.15); border-radius: 4px; background-color: var(--hacienda-white); resize: none; }

/* 🌟 DYNAMIC ADAPTIVE RESPONSION ARRAYS: Stacks columns cleanly on phones */
@media (max-width: 768px) {
    .calendar-months-grid { grid-template-columns: 1fr !important; gap: 25px; }
    .month-card { padding: 15px; }
    .date-tile { height: 40px; font-size: 0.85rem; }
    .calendar-timeline-toolbar { gap: 10px; }
    .calendar-nav-btn { width: 38px; height: 38px; font-size: 1.4rem; line-height: 32px; }
}




/* ==========================================================================
   GLOBAL BULLETPROOF MOBILE DEVICES LAYOUT TUNING OVERRIDES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-balanced-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-popup-card, .hero-canvas-frame { transform: translateY(0); }
    .hero-popup-card { padding: 35px 25px; box-shadow: 15px 15px 0px rgba(217, 107, 67, 0.15); }
    .hero-title { font-size: 2.2rem; }
    .hero-canvas-frame img { height: 350px; box-shadow: 15px 15px 0px var(--parchment-dark); }
    .amenities-grid-matrix, .neighborhood-grid-matrix { grid-template-columns: 1fr; gap: 40px; }
    .amenity-card, .experience-card { box-shadow: 10px 10px 0px var(--parchment-dark); }
}

@media (max-width: 900px) {
    /* THE GLOBAL MULTI-PAGE MOBILE RESET SAFETY GUARD */
    img { max-width: 100% !important; height: auto !important; }
    html, body { max-width: 100vw !important; overflow-x: hidden !important; }
    /* 🛠️ INQUIRY MOBILES PROTECTION LOCKS */
    /* 🌟 INQUIRY FIX: Adds extra headroom so your main heading text isn't cut off */
    .contact-layout-container {
        padding: 220px 0 40px 0 !important; 
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .contact-grid-card {
        display: flex;
        flex-direction: column; /* Flattens side panels into one uniform stack lane */
        width: 92vw; /* Creates flawless balanced side breathing borders on every smartphone */
        max-width: 92vw;
        box-shadow: 10px 10px 0px var(--parchment-dark);
        border: 1px solid rgba(28, 49, 68, 0.05);
        background-color: white;
        overflow: hidden;
    }
    
    .contact-details-panel {
        padding: 35px 20px; /* Snaps text safely inside the card walls */
        width: 100%;
        box-sizing: border-box;
    }
    
    .panel-heading {
        font-size: 2.1rem;
    }
    
    .channel-link {
        font-size: 1.15rem; /* Shrinks links so phone numbers never spill or clip text lines */
    }
    
    /* 🌟 THE INQUIRY IMAGE FIXED: Strips height restrictions so photo bounds remain safely self-contained */
    .contact-visual-frame {
        width: 100%;
        height: auto; /* Switches layout to fluid vertical scaling */
        overflow: hidden;
        border-top: 1px dashed rgba(28, 49, 68, 0.1); /* Adds an elegant divider element track */
    }

    .contact-visual-frame img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important; /* Keeps image heights fluidly matched with width rules */
        object-fit: cover !important;
        display: block;
    }

    /* 🌟 CONTACT FORM MOBILES BUFFER: Guarantees your inquiry title block sits fully exposed */
    .contact-details-panel .panel-subtitle {
        margin-top: 90px !important;
    }
}

@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 12px; padding: 20px; }
    .brand-title { font-size: 1.8rem; text-align: center; }
    .brand-tagline { text-align: center; }
    /* 🌟 THE HEADER LINK FIXED: Formats links into a uniform mobile grid structure */
    .nav-links {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Formats menu links into two clean side-by-side rows */
        gap: 12px 25px; /* Spaces links out beautifully on smartphone screens */
        text-align: center;
        width: 100%;
        max-width: 280px; /* Keeps links neatly grouped together on mobile displays */
        margin: 5px auto 0 auto;
    }
    
    .nav-links a {
        font-size: 0.85rem !important; /* Marginally scales link sizes down to fit small phones perfectly */
        display: block;
        padding: 4px 0;
    }
    /* 🌟 HERO FIX: Pushes the 3D text card completely out from under the mobile menu */
    .rental-hero-stage { 
        padding: 200px 20px 60px 20px !important; 
        height: auto; 
    }
    .spec-container { flex-direction: column; gap: 25px; }
    .spec-divider { display: none; }
    .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
    .showcase-image-frame img { height: 300px; }
    .showcase-slider-frame { height: 320px; box-shadow: 10px 10px 0px var(--parchment-dark); }
    .amenities-heading { font-size: 2.1rem; }
    /* 🌟 GALLERY FIX: Safely drops your titles below the mobile navigation header */
    .archive-gallery-container { 
        padding-top: 220px !important; 
        width: 100%; 
        max-width: 100vw; 
        overflow: hidden; 
    }

    /* 🌟 AMENITIES FIX: Keeps your property blueprint headers completely visible on load */
    .amenities-layout-container { 
        padding-top: 220px !important; 
    }
    .gallery-theater-stage { 
        height: 280px !important; 
        width: calc(100vw - 40px) !important; 
        max-width: 100% !important;
        margin: 0 auto 20px auto !important;
        box-shadow: 10px 10px 0px var(--parchment-dark) !important;
        overflow: hidden !important;
    }
    .theater-view-window { width: 100% !important; height: 100% !important; max-width: 100% !important; }
    .theater-view-window img { width: 100% !important; height: 100% !important; max-width: 100% !important; object-fit: cover !important; }
    .theater-nav-btn { width: 38px !important; height: 38px !important; font-size: 1.4rem !important; line-height: 34px !important; }
    .ribbon-carousel-wrapper { padding: 0 40px !important; width: 100% !important; max-width: 100vw !important; }
    .thumbnail-ribbon { width: 100% !important; max-width: 100% !important; gap: 8px !important; }
    .thumb-tile { flex: 0 0 75px !important; height: 55px !important; }
    .ribbon-arrow-btn { width: 28px !important; height: 28px !important; font-size: 1.2rem !important; line-height: 24px !important; }

    /* 🌟 THE BREAKAWAY SPACING OVERRIDE: Forces text down from the screen ceiling */
    .hero-popup-card, 
    .gallery-heading, 
    .amenities-heading {
        margin-top: 110px !important; /* Pushes the elements fully past the sticky nav area on fresh page load */
    }
}



/* ==========================================================================
   MOORING STABLE FOOTER TRACK ENGINE
   ========================================================================== */
.rental-footer {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--deep-ocean);
    color: var(--hacienda-white);
    font-size: 0.95rem;
    margin-top: auto; /* Forces the footer to anchor cleanly to the bottom of the viewport page */
    width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rental-footer p { 
    opacity: 0.7; 
}