/* Explain: Styles for website components, including buttons, cards, and forms. */
/* ---------- Header ---------- */
.site-header {
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    transition: background 300ms ease, box-shadow 300ms ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 40px rgba(11, 59, 46, 0.12);
}

.nav-link {
    position: relative;
    color: var(--text-muted);
    transition: color 250ms ease;
}

.nav-link::after {
    position: absolute;
    inset-inline-start: 0;
    bottom: -0.4rem;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    content: "";
    transition: width 300ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--accent-dark);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    width: 100%;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    background: var(--background-color);
}

.nav-overlay.is-open {
    display: flex;
}

/* ---------- Kicker ---------- */
.lux-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--accent-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.lux-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color));
    content: "";
}

/* ---------- Buttons ---------- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3rem;
    padding: 0.85rem 1.9rem;
    border: 1px solid rgba(168, 126, 30, 0.45);
    border-radius: 999px;
    background: linear-gradient(135deg, #EFDCA0, #C9A227 55%, #A9861C);
    color: #14100A;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: var(--shadow-gold);
    transition: transform 300ms ease, filter 300ms ease, box-shadow 300ms ease;
}

.btn-gold:hover {
    filter: brightness(1.05);
    box-shadow: 0 22px 46px rgba(168, 126, 30, 0.32);
    transform: translateY(-2px);
}

.btn-gold:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 3px;
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3rem;
    padding: 0.85rem 1.9rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    transition: border-color 300ms ease, background 300ms ease, transform 300ms ease;
}

.btn-outline-gold:hover {
    border-color: var(--accent-color);
    background: rgba(168, 126, 30, 0.08);
    transform: translateY(-2px);
}

/* ---------- Panels ---------- */
.lux-panel {
    border: 1px solid var(--border-color);
    border-radius: 1.75rem;
    background: linear-gradient(160deg, #FFFFFF, #F8FBF9);
    box-shadow: var(--shadow-soft);
}

.lux-panel-soft {
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    background: #FAFCFA;
    padding: 1.1rem 1.2rem;
}

/* ---------- Hero ---------- */
.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.55;
    pointer-events: none;
}

.hero-glow-gold {
    width: 22rem;
    height: 22rem;
    inset-inline-end: 4%;
    top: 6%;
    background: rgba(201, 162, 39, 0.24);
}

.hero-glow-green {
    width: 26rem;
    height: 26rem;
    inset-inline-start: -6%;
    bottom: 0;
    background: rgba(11, 59, 46, 0.09);
}

.hero-badge {
    position: absolute;
    inset-inline-start: -1rem;
    bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    max-width: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.96);
    padding: 1rem 1.3rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

/* ---------- Arch frames ---------- */
.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(168, 126, 30, 0.35);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(76vh, 700px);
    min-height: 460px;
    border-radius: 999px 999px 2.25rem 2.25rem;
}

.arch-frame-medium {
    height: 560px;
    max-width: 430px;
    border-radius: 999px 999px 2rem 2rem;
}

/* ---------- Services ---------- */
.service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 1.75rem;
    background: #FFFFFF;
    transition: transform 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}

.service-card:hover {
    border-color: var(--glass-border);
    box-shadow: 0 26px 60px rgba(11, 59, 46, 0.14);
    transform: translateY(-6px);
}

.service-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.service-media img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.service-card:hover .service-media img {
    transform: scale(1.06);
}

.service-duration {
    position: absolute;
    inset-block-start: 0.9rem;
    inset-inline-start: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    background: rgba(11, 59, 46, 0.86);
    padding: 0.35rem 0.85rem;
    color: #F5E6BC;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* ---------- Packages ---------- */
.package-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    background: linear-gradient(170deg, #FFFFFF, #F8FBF9);
    padding: 2rem;
    transition: transform 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}

.package-card:hover {
    border-color: var(--glass-border);
    box-shadow: 0 24px 56px rgba(11, 59, 46, 0.12);
    transform: translateY(-6px);
}

.package-card--featured {
    border-color: rgba(168, 126, 30, 0.55);
    background: linear-gradient(170deg, #FFFDF6, #FDF4E2);
    box-shadow: 0 26px 60px rgba(168, 126, 30, 0.16);
}

.package-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    background: var(--accent-soft);
    padding: 0.35rem 0.8rem;
    color: var(--accent-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

/* ---------- Experience ---------- */
.amenity-card {
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    background: #FFFFFF;
    padding: 1.5rem;
    transition: border-color 300ms ease, background 300ms ease, box-shadow 300ms ease;
}

.amenity-card:hover {
    border-color: var(--glass-border);
    background: #FDFBF4;
    box-shadow: 0 18px 40px rgba(11, 59, 46, 0.08);
}

.amenity-icon {
    display: grid;
    height: 2.75rem;
    width: 2.75rem;
    place-items: center;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.experience-media {
    height: 560px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2.5rem 999px 999px 2.5rem;
    box-shadow: var(--shadow-soft);
}

.experience-media img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.step-item {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 1.6rem;
    background: #FFFFFF;
    padding: 1.75rem;
    box-shadow: 0 14px 36px rgba(11, 59, 46, 0.07);
}

/* ---------- FAQ ---------- */
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    background: #FFFFFF;
    padding: 0 1.3rem;
    transition: border-color 300ms ease, background 300ms ease;
}

.faq-item[open] {
    border-color: var(--glass-border);
    background: #FEFCF6;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0;
    font-size: 1rem;
    font-weight: 600;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    color: var(--accent-color);
    transition: transform 300ms ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-item p {
    padding-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.9;
}

/* ---------- Forms ---------- */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.lux-input {
    width: 100%;
    min-height: 3.25rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: var(--field-bg);
    padding: 0.8rem 1.1rem;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color-scheme: light;
    transition: border-color 250ms ease, background 250ms ease, box-shadow 250ms ease;
}

.lux-input::placeholder {
    color: rgba(94, 112, 104, 0.7);
}

.lux-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(168, 126, 30, 0.10);
}

.lux-input option {
    background: #FFFFFF;
    color: #14241F;
}

textarea.lux-input {
    min-height: 8.5rem;
    padding-top: 0.95rem;
}

.form-status {
    font-size: 0.9rem;
    line-height: 1.8;
}

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

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

#bookingNotifyNote.is-sent {
    border-color: rgba(27, 122, 74, 0.32);
    background: rgba(27, 122, 74, 0.08);
    color: #15653D;
}

#bookingNotifyNote.is-warn {
    border-color: var(--glass-border);
    background: var(--accent-soft);
    color: var(--accent-dark);
}

/* ---------- Booking confirmation ---------- */
.booking-summary {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    background: var(--field-bg);
    padding: 1rem 1.15rem;
    list-style: none;
}

.booking-summary li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.88rem;
    line-height: 1.8;
}

.booking-summary .summary-label {
    flex-shrink: 0;
    color: var(--text-muted);
}

.booking-summary .summary-value {
    font-weight: 600;
    text-align: start;
}

/* ---------- Mobile action bar ---------- */
.mobile-book-bar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 45;
    border-top: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.96);
    padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
    box-shadow: 0 -12px 30px rgba(11, 59, 46, 0.08);
    backdrop-filter: blur(16px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
    .arch-frame-large {
        height: auto;
        min-height: 0;
        width: min(100%, 320px);
        aspect-ratio: 4 / 5;
        margin-inline: auto;
    }

    .arch-frame-medium {
        height: auto;
        min-height: 0;
        width: min(100%, 400px);
        aspect-ratio: 4 / 5;
        margin-inline: auto;
    }

    .experience-media {
        height: 420px;
        border-radius: 999px 999px 2rem 2rem;
    }

    .hero-badge {
        position: relative;
        inset-inline-start: auto;
        bottom: auto;
        margin: -2.5rem auto 0;
        width: max-content;
    }
}

@media (max-width: 639px) {
    .package-card {
        padding: 1.6rem;
    }

    .faq-item {
        padding: 0 1rem;
    }
}