body {
    background-color: #F8F8F9;
    margin: 0;
    padding: 0 20px 20px;
    min-height: 100vh;
}

section#rezw-page-intro {
    display: none;
}

.rz-modal-full {
    top: 100px !important;
}

.rz-fd-button {
    --rz-bg: var(--rz-btn-bg_p);
    --rz-fg: var(--rz-btn-fg_p);
    --rz-sz: 22px;
    --rz-pad: 8px;
    --rz-bc: var(--rz-btn-bg_p);
    --rz-br: var(--rz-btn-br);
    display: flex;
    position: relative;
    height: 50px;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    background-color: var(--rz-bg);
    color: var(--rz-fg);
    font-size: var(--rz-sz);
    border: var(--rz-bw) var(--rz-bt) var(--rz-bc);
    border-radius: var(--rz-br);
    text-transform: var(--rz-btn-text, none);
    box-shadow: var(--rz-shadow);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.3s ease-out;
    cursor: pointer;
    padding: var(--rz-pad);
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.rz-fd-button:hover {
    --rz-pad: calc(var(--rz-btn-pad) - 1px);
    --rz-bw: calc(var(--rz-btn-bw) + 1px);
    --rz-bc: var(--rz-btn-bc_h);
    --rz-shadow: none;
    box-shadow: none;
    transform: none;
    opacity: 0.5;
    --rz-fg: var(--rz-btn-fg_ph);
    --rz-bg: var(--rz-btn-bg_ph);
}


.rezw--facility-detail {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 2rem;
}

.rezw--facility-detail-header {
    position: relative;
    margin: -2rem -2rem 2rem -2rem; /* Negative margin to extend to edges */
}

.rezw--facility-detail-header img {
    width: 100%;
    height: 400px;
    object-fit: fill;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

#facility-detail-content {
    display: flex;
    padding: 0 1rem;
}

#facility-detail {
    flex: 2;
    padding-right: 2rem;
    overflow: hidden;
}

#facility-detail h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

#facility-detail p {
    line-height: 1.6;
    color: #555;
}

/* Booking widget styles */
#rezw-bn-event {
    flex: 0 0 300px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 0;
}

#rez-be {
    margin-top: 100px;
    position: relative;
}

/* Image gallery improvements */
.image-slideshow {
    border-radius: 8px;
    margin: 2rem 0;
    width: 100%;
}

.slide img {
    width: 100%;
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* Inclusion list styling */
ul {
    background: white;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
}

li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    background: white;
}

li:before {
    content: "✓";
    color: #27ae60;
    margin-right: 1rem;
    font-weight: bold;
}

.exclusions li:before {
    content: "x";
    color: #e74c3c;
    margin-right: 1rem;
    font-weight: bold;
}

li:last-child {
    border-bottom: none;
}

/* Update primary image styles */
.primary-image {
    margin: 1rem 0;
}

.primary-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Update slideshow styles */
.slideshow-container {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    position: relative;
}

.slide img {
    width: 100%;
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* Update navigation arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 50%;
    user-select: none;
    background: rgba(0, 0, 0, 0.3);
    text-decoration: none;
    z-index: 2;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Optional: Add hover effect to show/hide arrows */
.slideshow-container:hover .prev,
.slideshow-container:hover .next {
    opacity: 1;
}

.prev, .next {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

/* Add these styles */
.inclusions h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e1e8ed;
    position: relative;
}

.inclusions h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #3498db;
}

/* Add or update these styles */
.description {
    margin: 2rem 0;
    padding: 1rem 0;
}

.description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c3e50;
    margin: 0;
}

.inclusion-exclusion-container {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.inclusions-section,
.exclusions-section {
    flex: 1;
}

.inclusions-section h4,
.exclusions-section h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e1e8ed;
    position: relative;
}

.inclusions-section h4::after,
.exclusions-section h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
}

.inclusions-section h4::after {
    background-color: #27ae60;
}

.exclusions-section h4::after {
    background-color: #e74c3c;
}

/* Responsive design */
@media (max-width: 768px) {
    .inclusion-exclusion-container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Add these styles for notes and cancellation policy */
.notes,
.cancellation-policy {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    background: white;
}

.notes h4,
.cancellation-policy h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e1e8ed;
    position: relative;
}

.notes h4::after,
.cancellation-policy h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
}

.notes h4::after {
    background-color: #f39c12; /* Orange for notes */
}

.cancellation-policy h4::after {
    background-color: #e74c3c; /* Red for cancellation */
}

.notes p,
.cancellation-policy p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c3e50;
    margin: 0.5rem 0;
}

.notes p {
    padding-left: 1.5rem;
    position: relative;
}

.notes p::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: #f39c12;
}

/* Landscape mobile styles */
@media screen and (max-width: 1024px) and (orientation: landscape) {
    #facility-detail-content {
        flex-direction: column;
    }

    #rezw-bn-event {
        position: fixed;
        bottom: 0;
        right: 0;
        left: auto;
        top: auto;
        width: auto;
        flex: none;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        margin: 0;
        background: white;
        z-index: 2;
        min-width: 180px;
    }

    #rezw-bn-event div {
        white-space: nowrap;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    #rezw-bn-event div.SmallInteger {
        padding: 0 !important;
    }

    /* More specific selectors for the number input */
    #rezw-bn-event input[type="number"] {
        display: inline-block !important;
        width: 27px !important;
        text-align: center !important;
        padding: 0.25rem !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        margin: 0 0.25rem !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Container for the number input group */
    #rezw-bn-event .rz-small-int {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.5rem !important;
        margin: 0.5rem 0 !important;
        min-width: 120px !important;
    }

    header.masthead{
        z-index: 1;
    }

    .row {
        gap:0;
    }

    /* Ensure the buttons don't overlap */
    #rezw-bn-event .rz-small-int button {
        min-width: 30px !important;
        padding: 0.25rem !important;
        flex-shrink: 0 !important;
    }

    /* Add padding to prevent content from being hidden behind fixed button */
    #facility-detail {
        padding-bottom: 40px;
    }
}

/* Portrait mobile styles */
@media screen and (max-width: 768px) and (orientation: portrait) {
    body {
        padding: 0;
    }

    #rezw-bn-event {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        width: 100%;
        flex: none;
        padding: 1rem;
        border-radius: 8px 8px 0 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        margin: 0;
        background: white;
        z-index: 2;
    }

     /* Add padding to prevent content from being hidden behind fixed button */
     #facility-detail {
        padding-bottom: 40px;
    }

    header.masthead {
        padding: 0;
        z-index: 1;
    }
    .row {
        gap: 0;
    }

    #rez-be {
        z-index: 3;
    }
}
