:root {
    --primary-color: #2c5f58;
    /* Muted Ocean Teal */
    --primary-hover: #1e4540;
    --bg-sand: #fafafa;
    --bg-sand-dark: #f0ede5;
    --text-main: #1c2833;
    --text-light: #5a6268;
    --accent-gold: #d4af37;
    --font-serif: "Playfair Display", serif;
    --font-sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
    --radius-pill: 9999px;
    --radius-lg: 16px;
    --radius-md: 12px;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-sand);
}

/* Navigation */
.nav {
    background: rgba(255, 255, 255, 0.85);
    /* Glassmorphism start */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.logo {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    height: 100%;
    /* Ensure the link takes full height */
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
}

.nav-links a.cta-button {
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    /* Add padding for better clickability */
    display: flex;
    /* Flexbox for vertical centering */
    align-items: center;
    /* Center text vertically */
}

.nav-links a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    height: 80vh;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
}

.slideshow {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Dark overlay as a separate layer */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Slideshow navigation buttons */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 3;
}

.prev {
    left: 2rem;
}

.next {
    right: 2rem;
}

.prev:hover,
.next:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Higher than the overlay */
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    /* Subtle inner glass blur */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    display: inline-block;
}

.hero h1 {
    font-size: 4.5rem;
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--accent-gold)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

.feature-card h3 {
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-light);
    font-weight: 300;
}

/* Image Gallery Preview */
.gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Booking Section */
.booking-section {
    background: #f8f9fa;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--primary-hover)
    );
    color: white;
    text-decoration: none;
    border-radius: var(--radius-pill);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 95, 88, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 95, 88, 0.4);
    background: linear-gradient(
        135deg,
        var(--primary-hover),
        var(--primary-color)
    );
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer h3 {
    margin-bottom: 1rem;
}

.footer a {
    color: white;
    text-decoration: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 18px;
    justify-content: space-between;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #2c3e50;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Booking Page Styles */
.booking-page {
    margin-top: 80px;
    padding-bottom: 8rem;
}

.booking-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* New Grid Layout */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: start;
}

.booking-left-col {
    min-width: 0;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.form-section:first-child {
    border-top: none;
    padding-top: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 95, 88, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Sticky Widget */
.booking-summary-widget {
    position: sticky;
    top: 100px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.widget-header h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.widget-header .price-tag {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
}

.widget-header .price-per-night {
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-light);
}

.widget-inputs {
    border: 1px solid #ddd;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.dates-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #ddd;
}

.date-input-group {
    padding: 0.75rem;
    position: relative;
}

.date-input-group:first-child {
    border-right: 1px solid #ddd;
}

.date-input-group label,
.guests-input-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.date-input-group input {
    width: 100%;
    border: none;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: var(--font-sans);
    outline: none;
    background: transparent;
}

.guests-input-group {
    padding: 0.75rem;
}

.guests-input-group select {
    width: 100%;
    border: none;
    padding: 0;
    font-size: 1rem;
    color: var(--text-main);
    background: transparent;
    outline: none;
    cursor: pointer;
}

.price-breakdown-container {
    margin-bottom: 1.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.price-row.total {
    border-top: 1px solid #ddd;
    padding-top: 1rem;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.placeholder-text {
    color: var(--text-light);
    font-style: italic;
    text-align: center;
}

.submit-button {
    background: var(--primary-color);
    width: 100%;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: var(--primary-hover);
}

.widget-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.form-actions {
    display: none;
    /* Hidden in desktop as it's in the widget */
}

.submit-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.secondary-button {
    padding: 1rem 2rem;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1rem;
}

.secondary-button:hover {
    background: #5a6268;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1002;
        /* Ensure it stays above the mobile nav */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 100%;
        max-width: 350px;
        height: 100vh;
        background: rgba(250, 250, 250, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1001;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        color: var(--text-main);
        font-size: 1.4rem;
        font-weight: 500;
        text-decoration: none;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-align: center;
        background: transparent;
        border: none;
        position: relative;
    }

    .nav-links a::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: width 0.3s ease;
    }

    .nav-links a:hover {
        background: transparent;
        transform: translateY(-2px);
        color: var(--primary-color);
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .nav-links .cta-button {
        background: linear-gradient(
            135deg,
            var(--primary-color),
            var(--primary-hover)
        );
        color: white;
        border: none;
        font-weight: 500;
        padding: 1rem 3rem;
        border-radius: var(--radius-pill);
        box-shadow: 0 4px 15px rgba(44, 95, 88, 0.3);
        margin-top: 1rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-size: 0.9rem;
    }

    .nav-links .cta-button::after {
        display: none;
    }

    .nav-links .cta-button:hover {
        background: linear-gradient(
            135deg,
            var(--primary-hover),
            var(--primary-color)
        );
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(44, 95, 88, 0.4);
        color: white;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .prev,
    .next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .prev {
        left: 1rem;
    }

    .next {
        right: 1rem;
    }

    .booking-form {
        padding: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .submit-button,
    .secondary-button {
        width: 100%;
    }
}

/* ========================================
   CALENDAR COMPONENT
   ======================================== */

/* Calendar Container */
.calendar {
    width: 100%;
    background: transparent;
    padding: 1rem 0;
}

/* Calendar Header (with nav buttons) */
.calendar-header {
    position: relative;
    margin-bottom: 2rem;
    height: 40px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    /* Let clicks pass through container */
}

.calendar-nav {
    pointer-events: auto;
    /* Re-enable clicks */
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    color: var(--text-main);
}

.calendar-nav:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Calendar Months Container */
.calendar-months {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

/* Single Month */
.calendar-month {
    min-width: 280px;
}

.calendar-month-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.calendar-month-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Weekday Labels */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    margin-bottom: 0.5rem;
}

.calendar-weekday {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    padding: 0.5rem 0;
}

/* Days Grid */
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px 0;
    /* Minimal vertical gap, no horizontal gap */
}

/* Day Cell */
.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    z-index: 1;
}

.calendar-day-number {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.day-price {
    font-size: 0.65rem;
    color: var(--text-light);
    margin-top: 2px;
    z-index: 2;
    pointer-events: none;
    font-weight: 400;
}

/* Hover effect for available dates */
.calendar-day--available:hover::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(44px, 100%);
    height: min(44px, 100%);
    border: 1px solid var(--text-main);
    border-radius: 50%;
    z-index: 1;
}

/* Range Backgrounds */
.calendar-day--in-range {
    background: rgba(44, 95, 88, 0.1);
    /* Transparent Teal */
    color: var(--text-main);
}

.calendar-day--selected-start {
    background: linear-gradient(
        to right,
        transparent 50%,
        rgba(44, 95, 88, 0.1) 50%
    );
}

.calendar-day--selected-end {
    background: linear-gradient(
        to left,
        transparent 50%,
        rgba(44, 95, 88, 0.1) 50%
    );
}

/* Selection Circles */
.calendar-day--selected-start::after,
.calendar-day--selected-end::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(44px, 100%);
    /* Fixed size bound by container for mobile */
    height: min(44px, 100%);
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.calendar-day--selected-start .calendar-day-number,
.calendar-day--selected-end .calendar-day-number,
.calendar-day--selected-start .day-price,
.calendar-day--selected-end .day-price {
    color: white;
}

/* Blocked/Booked dates */
.calendar-day--blocked {
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-day--blocked .day-price {
    display: none;
}

/* Past dates */
.calendar-day--past {
    color: #ddd;
    cursor: not-allowed;
}

/* Disabled dates (generic) */
.calendar-day--disabled {
    cursor: not-allowed;
}

/* Loading and Error States */
.calendar-loading,
.calendar-error {
    padding: 3rem;
    text-align: center;
    color: var(--text-light);
}

.calendar-error {
    color: #dc3545;
}

/* Hide old summary */
.calendar-summary {
    display: none;
}

/* ========================================
   CALENDAR POPUP MODAL (Desktop)
   ======================================== */

.calendar-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.calendar-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.calendar-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 90%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.calendar-modal.active .calendar-modal-content {
    transform: scale(1);
    opacity: 1;
}

.calendar-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.calendar-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.calendar-modal-close:hover {
    background: #f0f0f0;
}

.calendar-modal-body {
    padding: 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ========================================
   CALENDAR INLINE (on booking page)
   ======================================== */

.calendar-inline-container {
    margin: 2rem 0;
}

/* ========================================
   STICKY BOOK NOW BUTTON (Mobile)
   ======================================== */

.sticky-book-button {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: white;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1500;
}

.sticky-book-button button {
    width: 100%;
    padding: 1rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.sticky-book-button button:hover:not(:disabled) {
    background: #2980b9;
}

.sticky-book-button button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ========================================
   RESPONSIVE CALENDAR STYLES
   ======================================== */

@media (max-width: 768px) {
    /* Stack months vertically on mobile */
    .calendar-months {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .calendar-month {
        min-width: 100%;
    }

    /* Smaller day cells on mobile */
    .calendar-day-number {
        font-size: 0.85rem;
    }

    /* Modal takes full screen on mobile */
    .calendar-modal-content {
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        width: 100%;
        height: 100%;
    }

    .calendar-modal-body {
        padding-bottom: 80px;
        /* Space for sticky button */
    }

    /* Show sticky button on mobile */
    .sticky-book-button {
        display: block;
    }

    /* Adjust calendar padding on mobile */
    .calendar {
        padding: 1rem;
    }

    /* Smaller nav buttons */
    .calendar-nav {
        width: 36px;
        height: 36px;
    }

    /* Smaller summary text */
    .calendar-summary-value {
        font-size: 1rem;
    }

    .calendar-summary-label {
        font-size: 0.7rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet: still show 2 months but smaller */
    .calendar-months {
        gap: 1.5rem;
    }

    .calendar-month {
        min-width: 240px;
    }
}

/* ========================================
   CALENDAR VARIANTS (for different placements)
   ======================================== */

/* Inline calendar on booking page */
.calendar-inline {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Checkout-only blocked dates (valid checkout day but start of another booking) */
.calendar-day--checkout-only {
    cursor: pointer;
    background: linear-gradient(135deg, #ffe0e0 50%, white 50%);
}

.calendar-day--checkout-only:hover {
    background: linear-gradient(135deg, #ffc0c0 50%, #f0f8ff 50%);
    border-color: #3498db;
}

/* Remove strikethrough for checkout-only days if desired, or keep it to imply night is blocked?
   Usually we want to show it's half-available.
   The blocked style uses ::after for strikethrough.
*/
.calendar-day--checkout-only::after {
    width: 40%;
    left: 0;
    right: auto;
}

@media (max-width: 768px) {
    .booking-container,
    .booking-page,
    .booking-grid,
    .booking-left-col {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group.full-width {
        grid-column: 1 / -1;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .booking-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .booking-summary-widget {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid #e0e0e0;
        border-radius: 0;
        padding: 1.5rem 0;
        margin-top: 1rem;
    }
}

/* Minimum stay badge & notifications */
.min-stay-badge {
    background: #e6f4f1;
    color: var(--primary-color);
    font-size: 0.825rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(44, 95, 88, 0.2);
    letter-spacing: 0.02em;
}

.calendar-notice {
    background: #fff8f0;
    border: 1px solid #fbd38d;
    color: #c05621;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-align: center;
}

.form-notification {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-notification--error {
    background-color: #fde8e8;
    border: 1px solid #f8b4b4;
    color: #9b1c1c;
}

.form-notification--success {
    background-color: #def7ec;
    border: 1px solid #84e1bc;
    color: #03543f;
}

.form-notification--info {
    background-color: #e1effe;
    border: 1px solid #a4cafe;
    color: #1e429f;
}
