/* Explain: Styles for various UI components like headers, nav links, cards, and forms. */
.site-header {
    border-bottom: 1px solid var(--border-color);
    background: var(--nav-bg);
    backdrop-filter: blur(18px);
}

.nav-shell {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px);
}

.nav-link {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    padding: 0 0.9rem;
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 250ms ease, background-color 250ms ease;
}

.nav-link:hover {
    background: var(--sage-soft);
    color: var(--text-color);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.42rem 0.95rem;
    color: var(--accent-color);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.section-kicker::before {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
}

.service-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--glass-border);
    border-radius: 1.75rem;
    background: var(--glass-bg);
    padding: 1.1rem;
    backdrop-filter: blur(20px);
    transition: transform 350ms ease, box-shadow 350ms ease, border-color 350ms ease;
}

.service-card:hover {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 30px 60px rgba(11, 37, 69, 0.18);
    transform: translateY(-6px);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
}

.gallery-item img {
    transition: transform 700ms ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

#galleria h2,
#galleria h3,
#galleria p {
    text-shadow: none;
}

.gallery-caption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 1.25rem;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.92) 55%, rgba(255, 255, 255, 0));
}

.quiet-detail {
    border: 1px solid var(--glass-border);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.4rem;
    box-shadow: 0 18px 40px rgba(11, 37, 69, 0.12);
    backdrop-filter: blur(14px);
}

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

.quiet-detail p {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.7;
    text-shadow: none;
}

.about-text-panel {
    border-radius: 1.75rem;
    background: rgba(244, 249, 255, 0.82);
    padding: clamp(1.4rem, 4vw, 2.4rem);
    box-shadow: 0 24px 60px rgba(11, 37, 69, 0.14);
    backdrop-filter: blur(10px);
}

.about-text-panel p,
.about-text-panel h2 {
    text-shadow: none;
}

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

.form-status.success {
    color: #1E9E5A;
}

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

.booking-form,
.booking-overlay-panel {
    border-radius: 2rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--border-color);
    background: rgba(240, 247, 254, 0.9);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

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

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

.booking-overlay-panel {
    min-height: calc(100vh - 2rem);
    background: var(--background-color);
    box-shadow: 0 30px 90px rgba(11, 37, 69, 0.35);
}

.footer-link {
    color: var(--footer-muted);
    transition: color 250ms ease;
}

.footer-link:hover {
    color: var(--footer-heading);
}

.social-pill {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    padding: 0 1.15rem;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 26px rgba(11, 37, 69, 0.1);
    transition: transform 300ms ease, border-color 300ms ease, background-color 300ms ease, box-shadow 300ms ease;
}

.social-pill:hover {
    border-color: var(--accent-color);
    background: var(--sage-soft);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.2);
}

.social-pill i {
    color: var(--accent-color);
}

.scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    z-index: 1;
    display: inline-flex;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-color);
    backdrop-filter: blur(10px);
    animation: cue-bob 2s ease-in-out infinite;
}

@keyframes cue-bob {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

@media (max-width: 767px) {
    .section-kicker {
        letter-spacing: 0.16em;
    }
}