/* Explain: Styles for UI components including the music toggle button. */
.site-header {
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(169, 133, 63, 0.32);
    backdrop-filter: blur(16px);
}

/* Brand */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--ink);
    transition: opacity 0.3s ease;
}

.brand:hover {
    opacity: 0.8;
}

.brand-monogram {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: radial-gradient(circle at 50% 30%, rgba(203, 166, 97, 0.26), rgba(250, 245, 234, 0.5));
    color: var(--gold-deep);
    font-family: var(--font-script);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.05;
    color: var(--ink);
}

.brand-sub {
    margin-top: 0.2rem;
    color: var(--text-muted);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

/* Nav */
.nav-link {
    position: relative;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--gold-deep);
}

/* Buttons */
.btn-gold,
.btn-outline,
.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3rem;
    padding: 0 1.9rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.btn-gold {
    border: 1px solid var(--gold-deep);
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    color: #1C1710;
    box-shadow: var(--shadow-button);
}

.btn-gold:hover {
    background: linear-gradient(180deg, #DDBE7C, var(--gold-bright));
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold-deep);
}

.btn-outline:hover {
    background: var(--gold-soft);
}

.btn-outline-light {
    border: 1px solid rgba(203, 166, 97, 0.6);
    background: transparent;
    color: var(--cream);
}

.btn-outline-light:hover {
    background: rgba(203, 166, 97, 0.14);
}

.btn-gold:focus-visible,
.btn-outline:focus-visible,
.btn-outline-light:focus-visible,
.nav-link:focus-visible,
.brand:focus-visible {
    outline: 2px solid var(--gold-deep);
    outline-offset: 3px;
}

/* Kicker */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gold-deep);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.kicker::before {
    display: inline-block;
    width: 2.2rem;
    height: 1px;
    background: var(--gold);
    content: "";
}

.kicker-light {
    color: var(--gold-bright);
}

.kicker-light::before {
    background: var(--gold-bright);
}

/* Frames & cards */
.vintage-frame {
    position: relative;
    border: 1px solid var(--gold);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.vintage-frame::after {
    position: absolute;
    inset: 0.6rem;
    border: 1px solid rgba(169, 133, 63, 0.4);
    content: "";
    pointer-events: none;
}

.photo-frame {
    position: relative;
    overflow: hidden;
    height: min(74vh, 640px);
    border: 1px solid var(--gold);
    border-radius: 999px 999px 14px 14px;
    box-shadow: var(--shadow-soft);
}

.photo-frame::after {
    position: absolute;
    inset: 0.6rem;
    border: 1px solid rgba(250, 245, 234, 0.5);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.card-vintage {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 1.4rem;
    background: linear-gradient(150deg, rgba(250, 245, 234, 0.9), rgba(255, 255, 255, 0.5));
    padding: clamp(1.6rem, 4vw, 2.5rem);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-vintage:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-soft);
    transform: translateY(-6px);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--gold-deep);
    font-size: 1.3rem;
}

.principle {
    display: grid;
    gap: 0.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.1rem;
    background: rgba(250, 245, 234, 0.6);
    padding: 1.3rem;
}

.principle-num {
    color: var(--gold-deep);
    font-family: var(--font-script);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
}

.point-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    align-items: start;
}

.point-dot {
    width: 0.5rem;
    height: 0.5rem;
    margin-top: 0.6rem;
    border-radius: 999px;
    background: var(--gold);
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    padding: 0.5rem 1.05rem;
    background: rgba(250, 245, 234, 0.7);
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 600;
}

.tag-pill i {
    color: var(--gold-deep);
}

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

.form-status.success {
    color: #4A6B53;
}

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

.field-input {
    width: 100%;
    min-height: 3.25rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--field-bg);
    padding: 0 1.25rem;
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.field-input:focus {
    border-color: var(--gold);
    outline: none;
}

.field-area {
    width: 100%;
    min-height: 8rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.4rem;
    background: var(--field-bg);
    padding: 1.1rem 1.25rem;
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.field-area:focus {
    border-color: var(--gold);
    outline: none;
}

/* Mobile bar + overlays */
.mobile-book-bar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: var(--nav-bg);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(16px);
}

.booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(23, 19, 14, 0.42);
    padding: 1rem;
}

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

.booking-overlay-panel {
    min-height: calc(100vh - 2rem);
    max-width: 34rem;
    margin-inline: auto;
    border: 1px solid var(--gold);
    border-radius: 1.8rem;
    background: var(--background-color);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 30px 90px rgba(23, 19, 14, 0.35);
}

/* Footer */
.footer-link {
    color: rgba(244, 236, 220, 0.72);
    font-size: 0.92rem;
    transition: color 0.3s ease;
}

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

/* Background music toggle */
.music-toggle {
    position: fixed;
    inset-inline-end: 1rem;
    bottom: 6.75rem;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: var(--nav-bg);
    color: var(--gold-deep);
    font-size: 1.05rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.music-toggle:hover {
    background: var(--gold-soft);
    transform: translateY(-2px);
}

.music-toggle:focus-visible {
    outline: 2px solid var(--gold-deep);
    outline-offset: 3px;
}

.music-toggle.is-playing {
    border-color: var(--gold-deep);
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    color: #1C1710;
}

.music-toggle.is-playing::after {
    position: absolute;
    inset: -0.3rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    content: "";
    pointer-events: none;
    animation: music-pulse 2.4s ease-out infinite;
}

@keyframes music-pulse {
    0% {
        opacity: 0.7;
        transform: scale(0.9);
    }

    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}

@media (min-width: 1024px) {
    .music-toggle {
        bottom: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .music-toggle.is-playing::after {
        animation: none;
    }
}