@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

/* =========================================
   1. Variables & Theme
   ========================================= */
:root {
    /* Modern Palette */
    --color-primary: #1B4D3E;
    /* Deep Jungle Green */
    --color-primary-light: #2c6e5a;
    --color-secondary: #C19A6B;
    /* Muted Gold/Earth */
    --color-accent: #D4AF37;
    /* Bright Gold */
    --color-bg: #FAFAFA;
    /* Modern Light Grey/White */
    --color-surface: #FFFFFF;
    --color-text-dark: #1A1A1A;
    --color-text-muted: #666666;
    --color-text-light: #F9F9F9;
    --color-border: #E5E5E5;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    --spacing-xl: 8rem;

    /* Modern Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   2. Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-color: #f0f7f4;
    position: relative;
}

/* =========================================
   3. Ambient Background Animation (NEW)
   ========================================= */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background-color: var(--color-bg);
}

/* Common Shape Styles */
.shape-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: ambientFloat 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shape 1: Primary Green (Top Left) */
.shape-blob.one {
    background: var(--color-primary-light);
    width: 600px;
    height: 600px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

/* Shape 2: Muted Gold (Bottom Right) */
.shape-blob.two {
    background: var(--color-secondary);
    width: 500px;
    height: 500px;
    bottom: -100px;
    right: -100px;
    opacity: 0.3;
    animation-duration: 25s;
    animation-direction: alternate-reverse;
}

/* Shape 3: Bright Gold Accent (Floating Middle) */
.shape-blob.three {
    background: var(--color-accent);
    width: 300px;
    height: 300px;
    top: 40%;
    left: 40%;
    opacity: 0.2;
    animation-duration: 18s;
    animation-name: ambientFloatMid;
}

/* Noise Texture for Premium Feel */
.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Animations */
@keyframes ambientFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

@keyframes ambientFloatMid {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-40px, 20px) rotate(10deg);
    }

    100% {
        transform: translate(20px, -40px) rotate(-10deg);
    }
}

@media (max-width: 768px) {
    .shape-blob {
        filter: blur(50px);
    }

    .shape-blob.one {
        width: 300px;
        height: 300px;
    }

    .shape-blob.two {
        width: 250px;
        height: 250px;
    }

    .shape-blob.three {
        display: none;
    }
}

/* =========================================
   4. Typography & General Styles
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

/* =========================================
   5. Layout Utilities
   ========================================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
    position: relative;
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

.flex {
    display: flex;
    gap: var(--spacing-sm);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-white);
}

.mb-2 {
    margin-bottom: 2rem;
}

/* =========================================
   6. Components (Buttons & Cards)
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-primary,
a.btn-primary,
button.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff !important;
    /* Force white hex */
    box-shadow: var(--shadow-md);
    text-decoration: none !important;
}

.btn-primary:visited,
a.btn-primary:visited {
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
    border-color: transparent;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-img {
    height: 240px;
    object-fit: cover;
    width: 100%;
    border-radius: 0;
}

.card-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3,
.card-content h4 {
    margin-bottom: 0.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--color-bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    background-color: var(--color-surface);
    box-shadow: 0 0 0 3px rgba(193, 154, 107, 0.2);
}

/* =========================================
   7. Header & Navigation (Dynamic Sticky)
   ========================================= */
.header {
    background: transparent;
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: none;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    color: white;
}

.header.scrolled {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: inherit;
    position: relative;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: inherit;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        background: var(--color-primary);
        /* Solid Dark Green */
        flex-direction: column;
        width: 280px;
        /* Fixed width sidebar */
        text-align: center;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        padding-top: 6rem;
        z-index: 2000;
        color: white;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }
}

/* =========================================
   8. Footer
   ========================================= */
.footer {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: var(--spacing-lg) 0 2rem;
    margin-top: var(--spacing-xl);
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer h4 {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   9. Booking Bar & Interactive Elements
   ========================================= */
.booking-bar {
    display: flex;
    background: var(--color-surface);
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    padding: 15px 30px;
    margin-bottom: 2rem;
    align-items: center;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.booking-bar:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.booking-field {
    flex: 1;
    padding: 0 25px;
    border-right: 1px solid var(--color-border);
    position: relative;
}

.booking-field:last-child {
    border-right: none;
}

.booking-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.booking-input-display,
.booking-date-input,
.nationality-select {
    border: none;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    background: transparent;
    outline: none;
}

/* Guest Popover */
.guest-popover {
    position: absolute;
    top: 140%;
    left: 0;
    width: 300px;
    background: var(--color-surface);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-md);
    padding: 20px;
    z-index: 10000;
    display: none;
    animation: fadeIn 0.3s ease;
}

.guest-popover.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Counter Control */
.counter-control {
    display: flex;
    align-items: center;
    gap: 15px;
}

.counter-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.counter-btn:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Date Group */
.date-group {
    background: white;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    border: 1px solid var(--color-border);
    transition: box-shadow 0.3s ease, background 0.2s ease;
    overflow: hidden;
    cursor: pointer;
}

.date-group:hover {
    background: #f7f7f7;
    border-color: #dcdcdc;
}

.date-group input {
    border: none;
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-text-dark);
    outline: none;
    background: transparent;
    width: 100%;
    padding: 0;
    line-height: 1.3;
}

.guest-row {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title-center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-title-center p {
    font-size: 1.1rem;
    color: var(--color-secondary);
}

/* =========================================
   10. Availability Calendar & Wizard
   ========================================= */
.availability-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--color-border);
}

.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: 80px repeat(4, 1fr);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: white;
}

.cal-header {
    background: var(--color-bg);
    padding: 1rem;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-primary);
}

.cal-cell {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.cal-date {
    font-weight: bold;
    background: #fafafa;
    border-right: 2px solid #eee;
    flex-direction: column;
    gap: 0.2rem;
}

.cal-weekday {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #999;
    font-weight: normal;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.available {
    background-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.dot.booked {
    background-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.status-text {
    font-weight: 500;
}

.status-available {
    color: #2ecc71;
}

.status-booked {
    color: #e74c3c;
    opacity: 0.7;
    text-decoration: line-through;
}

@media (max-width: 768px) {
    .calendar-grid {
        grid-template-columns: 60px 1fr;
        gap: 0;
    }

    .cal-header {
        display: none;
    }

    .cal-cell:not(.cal-date) {
        justify-content: flex-start;
        text-align: left;
        border-right: none;
        padding: 0.5rem 1rem;
    }

    .cal-row {
        display: contents;
    }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(5px);
    z-index: 20000 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-content {
    background: white !important;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 500px;
    width: 90%;
    transform: scale(0.9);
    transition: var(--transition);
    z-index: 20001 !important;
    text-align: center;
}

.modal.active,
.modal-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.modal.active .modal-content,
.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-text-muted);
}

/* Wizard Styles */
.wizard-progress {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
    max-width: 100%;
}

.wizard-progress::before {
    display: none;
}

.step-indicator {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--color-border);
    font-weight: 600;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
    min-width: 120px;
    box-shadow: var(--shadow-sm);
}

.step-indicator.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.step-indicator.completed {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    color: white;
    opacity: 0.8;
}

.wizard-step {
    display: none;
    animation: fadeInSlide 0.5s ease;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.room-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.room-select-card {
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.room-select-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.room-select-card.selected {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(193, 154, 107, 0.2);
}

.room-select-card .check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-secondary);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.room-select-card.selected .check-icon {
    opacity: 1;
    transform: scale(1);
}

.room-select-card.unavailable {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}

.availability-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.availability-badge.available {
    background: #10b981;
    color: white;
}

.availability-badge.unavailable {
    background: #ef4444;
    color: white;
}

.booking-summary {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    position: sticky;
    top: 100px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.total-price {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: bold;
    font-family: var(--font-heading);
}

/* =========================================
   11. Flatpickr & Rate Calendar Customization
   ========================================= */
/* Calendar Container */
.flatpickr-calendar {
    font-family: var(--font-body) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    padding: 16px !important;
    margin-top: 10px;
    width: 350px !important;
}

/* Header */
.flatpickr-months {
    background: transparent !important;
    margin-bottom: 1rem !important;
}

.flatpickr-months .flatpickr-month {
    background: transparent !important;
    color: var(--color-primary) !important;
    fill: var(--color-primary) !important;
    margin-bottom: 10px;
}

.flatpickr-current-month {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: 700 !important;
    font-size: 1.1rem;
}

/* Weekdays */
.flatpickr-weekdays {
    background: transparent !important;
    margin-bottom: 5px;
}

.flatpickr-weekday {
    color: #717171 !important;
    font-weight: 600 !important;
    font-size: 0.8rem;
    background: transparent !important;
}

/* Days & Cells */
.flatpickr-days {
    width: 100% !important;
}

.dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

.flatpickr-day {
    height: 48px !important;
    line-height: 48px !important;
    margin: 2px !important;
    width: calc(14.28% - 4px) !important;
    max-width: none !important;
    border-radius: 4px !important;
    /* Square-ish for rate calendar, Circle for regular if specific class not applied. Kept square-ish here for consistency */
    border: 1px solid transparent !important;
    font-weight: 500 !important;
    color: var(--color-text-dark) !important;
}

/* Day Interactions */
.flatpickr-day:hover {
    background: var(--color-bg) !important;
    border-color: var(--color-border) !important;
}

.flatpickr-day.today {
    border-color: #e0e0e0 !important;
}

.flatpickr-day.today:hover {
    background: var(--color-bg) !important;
    color: var(--color-text-dark) !important;
}

/* Selected / Range States (GOLD THEME) */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
    background: var(--color-accent) !important;
    color: #fff !important;
    border-color: var(--color-accent) !important;
    font-weight: bold !important;
}

/* In Range State (Light Gold) */
.flatpickr-day.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.prevMonthDay.inRange {
    background: #F3EAD3 !important;
    color: var(--color-text-dark) !important;
    border-color: transparent !important;
    box-shadow: -5px 0 0 #F3EAD3, 5px 0 0 #F3EAD3 !important;
}

/* Footer Status Bar for Calendar */
.calendar-footer {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
    margin-top: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .booking-bar {
        flex-direction: column;
        border-radius: var(--radius-md);
        padding: 1.5rem;
        align-items: stretch;
    }

    .booking-field {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: 1rem 0;
    }

    .booking-field:last-child {
        border-bottom: none;
    }

    .section {
        padding: 3rem 0;
    }
}

/* =========================================
   12. Hero Section (Updated Grid)
   ========================================= */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: white;
    background-attachment: fixed;
    margin-top: -85px;
    /* Offset header */
    padding-top: 85px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Text wider than gallery */
    gap: 4rem;
    align-items: center;
    width: 100%;
}

/* Left: Text Content */
.hero-content {
    text-align: left;
    z-index: 2;
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.hero-content h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
}

/* Buttons */
.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-glass:hover {
    background: white;
    color: var(--color-text-dark);
    color: var(--color-text-dark);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.flex-start {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* Right: Infinite Scroll Gallery */
.hero-scroll-wrapper {
    position: relative;
    height: 70vh;
    /* Control height of the specific scrolling area */
    overflow: hidden;
    /* Mask the scrolling track */
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    z-index: 2;
}

.scroll-track-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.scroll-track {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: scrollVertical 40s linear infinite;
    width: 100%;
}

.scroll-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    height: 350px;
    /* Fixed height for consistency */
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.scroll-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.scroll-card:hover {
    transform: scale(1.02);
}

@keyframes scrollVertical {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
        /* Move up by half the track height (since duplicated) */
    }
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        order: 1;
        /* Text first */
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .flex-start {
        justify-content: center;
    }

    .hero-scroll-wrapper {
        order: 2;
        height: 50vh;
        /* Smaller on mobile */
        mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    }

    .scroll-card {
        height: 250px;
    }
}

/* =========================================
   13. Custom Modal Popup
   ========================================= */
.modal-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Semi-transparent black */
    z-index: 99999;
    /* Highest priority */
    align-items: center;
    justify-content: center;
    opacity: 1;
    /* Removed opacity: 0 to prevent visibility issues */
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    animation: modalPop 0.3s forwards;
    position: relative;
}

@keyframes modalPop {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.modal-content p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.modal-content button {
    min-width: 120px;
}