/* Explain: Classic, professional component styles */
.site-header {
    background: var(--background-color);
    box-shadow: var(--shadow-soft);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2rem;
    height: 2px;
    background: var(--accent-color);
    content: "";
}

.solid-panel {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
}

.img-frame {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
}

.img-frame-large {
    height: min(65vh, 600px);
    min-height: 400px;
}

.img-frame-medium {
    height: 500px;
    max-width: 500px;
}

.quiet-detail,
.amenity-row,
.contact-note {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--background-color);
    padding: 1.5rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.quiet-detail p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.class-card {
    min-height: 360px;
    border-radius: 4px;
    padding: 2rem;
    transition: transform 300ms ease, box-shadow 300ms ease;
    background: var(--background-color);
    border: 1px solid var(--border-color);
}

.class-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.amenity-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.amenity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 4px;
    background: var(--primary-color);
    color: #fff;
    flex-shrink: 0;
}

.amenity-image-wrap {
    height: 500px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
}

.booking-form,
.booking-overlay-panel {
    border-radius: 4px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--background-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 700;
}

.input,
.textarea {
    border-radius: 4px !important;
    border: 1px solid var(--border-color) !important;
    background: #FFFFFF !important;
}

.input:focus,
.textarea:focus {
    border-color: var(--primary-color) !important;
    outline: none;
    box-shadow: 0 0 0 1px var(--primary-color);
}

.btn-custom {
    border-radius: 4px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--button-color) !important;
    color: #FFFFFF !important;
    border: none !important;
}

.btn-custom:hover {
    background-color: #B71C1C !important;
}

.form-status.success {
    color: #2E7D32;
}

.form-status.error {
    color: #C62828;
}

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--border-color);
    background: var(--background-color);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(11, 44, 82, 0.7);
    padding: 1rem;
}

.booking-overlay.is-open {
    display: block;
}

.booking-overlay-panel {
    min-height: calc(100vh - 2rem);
}

@media (max-width: 767px) {
    .img-frame-large,
    .img-frame-medium,
    .amenity-image-wrap {
        height: 400px;
        min-height: 0;
    }

    .img-frame-large {
        margin-right: auto;
        margin-left: auto;
        width: min(100%, 450px);
    }
}