/* Public site design tokens — match temple brand + elderly-friendly targets */
:root {
    --buddhist-light-orange: #ffb347;
    --buddhist-nav-orange: #e6952e;
    --buddhist-cream: #fef7e6;
    --buddhist-brown: #8b4513;
    --public-text: #495057;
    --public-font-size: 18px;
}

body {
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    font-size: var(--public-font-size);
    line-height: 1.55;
    color: var(--public-text);
    background-color: var(--buddhist-cream);
    min-height: 100vh;
}

.header-section {
    background-color: var(--buddhist-light-orange);
    color: #fff;
    padding: 2.5rem 0;
    text-align: center;
}
.header-section h1,
.header-section .lead {
    color: #fff;
}
.home-hero {
    padding: 1.75rem 0;
}
.home-cta-band {
    background: #fff;
    border: 1px solid rgba(230, 149, 46, 0.35);
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.06);
}
.home-cta-band .btn-cta {
    min-width: min(100%, 280px);
}

.public-top-nav {
    background-color: var(--buddhist-nav-orange) !important;
}
.public-top-nav .nav-link {
    color: rgba(255, 255, 255, 0.92);
    min-height: 48px;
    display: flex;
    align-items: center;
}
.public-top-nav .nav-link.active,
.public-top-nav .nav-link[aria-current="page"] {
    font-weight: 700;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.18);
    border-radius: 8px;
}
.public-top-nav .navbar-brand {
    min-height: 48px;
    display: flex;
    align-items: center;
    color: #fff !important;
}

.btn,
.btn-register,
.btn-cta,
.btn-primary {
    min-height: 48px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 1.05rem;
}

.btn-primary,
.btn-register {
    background-color: var(--buddhist-light-orange);
    border-color: var(--buddhist-light-orange);
    color: #fff;
    border-radius: 25px;
    font-weight: 600;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-register:hover,
.btn-register:focus {
    background-color: var(--buddhist-nav-orange);
    border-color: var(--buddhist-nav-orange);
    color: #fff;
}

.btn-outline-primary {
    color: var(--buddhist-nav-orange);
    border-color: var(--buddhist-light-orange);
}
.btn-outline-primary:hover {
    background-color: var(--buddhist-light-orange);
    border-color: var(--buddhist-light-orange);
    color: #fff;
}

.form-control,
.form-select {
    min-height: 48px;
    font-size: 1.05rem;
}
.form-label {
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.text-brown,
.heading-brown {
    color: var(--buddhist-brown) !important;
}

.badge-inactive {
    background-color: #6c757d;
    color: #fff;
}
.badge-active {
    background-color: #28a745;
}

.year-nav a {
    color: var(--buddhist-nav-orange);
    text-decoration: none;
    font-weight: 500;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.year-nav a:hover {
    text-decoration: underline;
}

.schedule-table th {
    background-color: rgba(255, 179, 71, 0.15);
}
.schedule-name-link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}
.schedule-name-link:hover {
    color: var(--buddhist-nav-orange);
    text-decoration: underline;
}

.schedule-mobile-card {
    background: #fff;
    border: 1px solid rgba(255, 179, 71, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.85rem;
}

.public-step-indicator {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0 1.5rem;
}
.public-step-indicator .step {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 179, 71, 0.15);
    color: var(--buddhist-brown);
    font-weight: 600;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.public-step-indicator .step.active {
    background: var(--buddhist-light-orange);
    color: #fff;
}

.sticky-total-bar {
    position: sticky;
    bottom: 0;
    z-index: 50;
    background: #fff;
    border-top: 2px solid var(--buddhist-light-orange);
    padding: 0.85rem 1rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

.payment-instructions code {
    color: var(--buddhist-brown);
}

.alert-public {
    font-size: 1.05rem;
    padding: 1rem 1.15rem;
}

@media (prefers-reduced-motion: reduce) {
    .ceremony-card,
    .btn-register {
        transition: none !important;
        transform: none !important;
    }
}
