/* Explain: Styles for various site components like headers, cards, and layout elements. */
.site-header {
    background: linear-gradient(180deg, rgba(245, 249, 253, 0.86), rgba(245, 249, 253, 0.52));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

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

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(245, 249, 253, 0.78), rgba(255, 255, 255, 0.48));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(47, 102, 144, 0.38);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(245, 249, 253, 0.62);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(72vh, 700px);
    min-height: 480px;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

.arch-frame-medium {
    height: 580px;
    max-width: 450px;
    border-radius: 999px 999px 2.1rem 2.1rem;
}

.floating-note {
    position: absolute;
    left: 50%;
    bottom: 2.5rem;
    transform: translateX(-50%);
    display: flex;
    width: max-content;
    max-width: calc(100% - 2rem);
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    border-radius: 999px;
    padding: 1rem 1.2rem;
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}

.story-card {
    position: absolute;
    right: 0;
    bottom: 2.5rem;
    max-width: 290px;
    border-radius: 2rem;
    padding: 1.5rem;
}

.quiet-detail {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(245, 249, 253, 0.58);
    padding: 1.25rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
}

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

.room-card {
    border-radius: 2.2rem;
    padding: 1.35rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.room-card:hover {
    border-color: rgba(47, 102, 144, 0.58);
    box-shadow: 0 26px 80px rgba(26, 42, 56, 0.11);
    transform: translateY(-6px);
}

.room-media {
    overflow: hidden;
    border-radius: 1.6rem;
    background: var(--surface-color);
}

.room-media img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.room-card:hover .room-media img {
    transform: scale(1.04);
}

.amenity-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(245, 249, 253, 0.58);
    padding: 1.25rem;
}

.amenity-icon {
    display: inline-flex;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 1rem;
}

.amenity-image-wrap {
    height: 460px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 3rem 999px 999px 3rem;
    box-shadow: var(--shadow-soft);
}

.amenity-image-wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.review-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    gap: 1rem;
    border-radius: 2rem;
    padding: 1.75rem;
}

.review-stars {
    display: inline-flex;
    gap: 0.28rem;
    color: var(--accent-color);
    font-size: 0.8rem;
}

.review-card blockquote {
    margin: 0;
    flex: 1;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.attraction-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    background: rgba(245, 249, 253, 0.62);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.attraction-card:hover {
    border-color: rgba(47, 102, 144, 0.58);
    box-shadow: 0 26px 80px rgba(26, 42, 56, 0.11);
    transform: translateY(-6px);
}

.attraction-media img {
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
}

.attraction-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.5rem;
}

.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: var(--surface-color);
    padding: 0;
    width: 100%;
    cursor: pointer;
    transition: border-color 300ms ease, box-shadow 300ms ease;
}

.gallery-tile:hover {
    border-color: rgba(47, 102, 144, 0.58);
    box-shadow: 0 22px 60px rgba(26, 42, 56, 0.12);
}

.gallery-tile img {
    aspect-ratio: 1 / 1;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

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

.gallery-tile-caption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    display: block;
    padding: 1.6rem 0.9rem 0.8rem;
    background: linear-gradient(180deg, rgba(20, 33, 46, 0) 0%, rgba(20, 33, 46, 0.72) 100%);
    color: #F5F9FD;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: left;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(20, 33, 46, 0.84);
    backdrop-filter: blur(6px);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-panel {
    position: relative;
    display: flex;
    max-width: min(100%, 62rem);
    max-height: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    border-radius: 1.75rem;
    background: var(--background-color);
    padding: 1rem;
    box-shadow: 0 30px 90px rgba(20, 33, 46, 0.35);
}

.lightbox-image {
    display: none;
    max-width: 100%;
    max-height: 74vh;
    width: auto;
    border-radius: 1.15rem;
    object-fit: contain;
}

.lightbox-image.is-ready {
    display: block;
}

.lightbox-loading {
    display: none;
    min-height: 45vh;
    min-width: min(80vw, 32rem);
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.75rem;
}

.lightbox-loading.is-visible {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: -0.75rem;
    right: -0.75rem;
    display: inline-flex;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--background-color);
    color: var(--text-color);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.lightbox-caption {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
}

.contact-panel {
    border-radius: 2.2rem;
    padding: clamp(1.5rem, 4vw, 2.25rem);
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.9rem;
}

.contact-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-row i {
    margin-top: 0.2rem;
    color: var(--accent-color);
}

.map-frame {
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.map-frame iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 0;
}

.cta-band {
    border-radius: 2.5rem;
    background: linear-gradient(125deg, var(--sage-dark) 0%, var(--primary-color) 100%);
    color: var(--background-color);
    box-shadow: 0 30px 80px rgba(26, 42, 56, 0.18);
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

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

.form-status.error {
    color: #9B4A3D;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .arch-frame-large,
    .arch-frame-medium {
        height: 480px;
        min-height: 0;
        max-width: 430px;
        margin-right: auto;
        margin-left: auto;
    }

    .floating-note,
    .story-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -2.25rem auto 0;
    }

    .amenity-image-wrap {
        height: 320px;
        border-radius: 2rem;
    }

    .lightbox-close {
        top: 0.35rem;
        right: 0.35rem;
    }
}

.review-modal {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(20, 33, 46, 0.72);
    backdrop-filter: blur(6px);
}

.review-modal.is-open {
    display: flex;
}

.review-modal-panel {
    position: relative;
    overflow-y: auto;
    max-height: 92vh;
    width: min(100%, 34rem);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    background: var(--background-color);
    padding: clamp(1.5rem, 4vw, 2.25rem);
    box-shadow: 0 30px 90px rgba(20, 33, 46, 0.35);
}

.review-modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    display: inline-flex;
    height: 2.6rem;
    width: 2.6rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-color);
    cursor: pointer;
}

.star-rating {
    display: inline-flex;
    gap: 0.35rem;
}

.review-star {
    border: 0;
    background: transparent;
    padding: 0.15rem;
    color: rgba(47, 102, 144, 0.35);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: color 200ms ease, transform 200ms ease;
}

.review-star.is-active {
    color: var(--accent-color);
}

.review-star:hover {
    transform: scale(1.08);
}

.groups-photo-rotated {
    transform: rotate(90deg) scale(1.34);
}

.lang-switcher {
    position: relative;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0 0.95rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--glass-bg);
    color: var(--text-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    transition: background 300ms ease, border-color 300ms ease, color 300ms ease;
}

.lang-toggle:hover {
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.lang-caret {
    font-size: 0.6rem;
    transition: transform 300ms ease;
}

.lang-switcher.is-open .lang-caret {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    z-index: 60;
    display: none;
    min-width: 11rem;
    margin: 0;
    padding: 0.4rem;
    list-style: none;
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    background: var(--background-color);
    box-shadow: var(--shadow-soft);
}

.lang-switcher.is-open .lang-menu {
    display: block;
}

.lang-option {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0.85rem;
    border: 0;
    border-radius: 0.9rem;
    background: transparent;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 200ms ease, color 200ms ease;
}

.lang-option:hover {
    background: var(--surface-color);
    color: var(--primary-color);
}

.lang-option.is-active {
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-weight: 700;
}

.lang-code {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    opacity: 0.65;
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.lang-grid .lang-option {
    justify-content: center;
    border: 1px solid var(--glass-border);
    background: var(--field-bg);
}

.lang-grid .lang-option.is-active {
    border-color: var(--accent-color);
    background: var(--sage-soft);
    color: var(--sage-dark);
}
