/* ========================================
   Silver Bells — Christmas theme
   Loaded after style.css; overrides colors and adds holiday details.
   ======================================== */

:root {
    --xmas-red: #B3202A;
    --xmas-red-dark: #8E1820;
    --xmas-red-soft: #FBECEC;
    --xmas-green: #1E4D3A;
    --xmas-green-dark: #133528;
    --xmas-silver: #A9B1B9;
    --xmas-silver-dark: #6E7780;
    --xmas-silver-light: #EEF1F4;
    --xmas-gold: #C9A227;
    --xmas-snow: #FBFBF8;
}

body {
    background-color: var(--xmas-snow);
}

/* --- Navbar --- */
.navbar-craft {
    border-bottom: 3px solid var(--xmas-red);
}

.navbar-craft .nav-link:hover,
.navbar-craft .nav-link:focus {
    color: var(--xmas-red);
}

/* --- Hero + snowfall --- */
.hero-section:not(.hero-video-section) {
    background: radial-gradient(ellipse at top, var(--white) 0%, var(--xmas-snow) 55%, var(--xmas-silver-light) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.snowfall {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(3px 3px at 20px 30px, var(--xmas-silver) 50%, transparent 51%),
        radial-gradient(2px 2px at 80px 120px, var(--xmas-silver) 50%, transparent 51%),
        radial-gradient(4px 4px at 150px 60px, var(--xmas-silver-light) 50%, transparent 51%),
        radial-gradient(2px 2px at 210px 160px, var(--xmas-silver) 50%, transparent 51%),
        radial-gradient(3px 3px at 260px 20px, var(--xmas-silver) 50%, transparent 51%);
    background-size: 300px 200px;
    opacity: 0.55;
    animation: snowfall 18s linear infinite;
}

@keyframes snowfall {
    from { background-position: 0 0; }
    to { background-position: 60px 200px; }
}

@media (prefers-reduced-motion: reduce) {
    .snowfall {
        animation: none;
    }
}

.hero-dates {
    color: var(--xmas-red);
}

/* --- Buttons --- */
.btn-signup {
    background-color: var(--xmas-red);
    box-shadow: 0 4px 12px rgba(179, 32, 42, 0.25);
}

.btn-signup:hover,
.btn-signup:focus {
    background-color: var(--xmas-red-dark);
}

/* --- Section titles + bell divider --- */
.section-divider {
    position: relative;
    width: 280px;
    max-width: 90%;
    height: 2px;
    margin: 1.75rem auto 3rem;
    overflow: visible;
    background: linear-gradient(90deg, transparent 0%, var(--xmas-silver) 15%, var(--xmas-silver) 33%, transparent 33%, transparent 67%, var(--xmas-silver) 67%, var(--xmas-silver) 85%, transparent 100%);
}

.about-section .section-divider,
.vendor-section .section-divider,
.signup-section .section-divider,
.gallery-divider {
    background-color: transparent;
}

/* Small bow-and-bells ornament (cut from the banner frame) */
.section-divider::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 84px;
    height: 41px;
    transform: translate(-50%, -50%);
    background: url('../images/silver-bells-icon.webp') center / contain no-repeat;
}

/* --- About --- */
.about-section {
    background-color: var(--white);
}

.about-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--xmas-red);
    background-color: var(--xmas-red-soft);
    border: 2px solid rgba(179, 32, 42, 0.2);
}

.about-section .col-md-4:nth-child(2) .about-icon {
    color: var(--xmas-green);
    background-color: #E8F1EC;
    border-color: rgba(30, 77, 58, 0.2);
}

.about-section .col-md-4:nth-child(3) .about-icon {
    color: var(--xmas-silver-dark);
    background-color: var(--xmas-silver-light);
    border-color: rgba(110, 119, 128, 0.25);
}

/* --- Show section --- */
.show-section-silver,
.show-section-default {
    position: relative;
    background-color: var(--xmas-green);
    background-image:
        radial-gradient(2px 2px at 25px 35px, rgba(255, 255, 255, 0.35) 50%, transparent 51%),
        radial-gradient(3px 3px at 110px 90px, rgba(255, 255, 255, 0.25) 50%, transparent 51%),
        radial-gradient(2px 2px at 180px 20px, rgba(255, 255, 255, 0.3) 50%, transparent 51%);
    background-size: 220px 140px;
}

.show-card {
    border-top: 6px solid var(--xmas-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.show-card .show-badge,
.badge-secondary.show-badge {
    background-color: var(--xmas-red);
    color: var(--white);
}

.show-card h2 {
    color: var(--xmas-green);
}

.show-day {
    background-color: var(--xmas-silver-light);
    border-left: 4px solid var(--xmas-silver);
}

.show-day-label {
    color: var(--xmas-red);
}

.show-detail-silver i,
.show-detail-default i {
    color: var(--xmas-red);
}

/* --- Gallery --- */
.gallery-filter-btn:hover {
    border-color: var(--xmas-red);
    color: var(--xmas-red);
}

.gallery-filter-btn.active {
    border-color: var(--xmas-green);
    background-color: var(--xmas-green);
}

/* --- Vendors --- */
.vendor-section {
    background-color: var(--xmas-silver-light);
}

.vendor-show-heading {
    color: var(--xmas-green);
}

.vendor-card {
    border-top: 4px solid var(--xmas-red);
}

.vendor-grid .vendor-card:nth-child(even) {
    border-top-color: var(--xmas-green);
}

.vendor-card-placeholder {
    background: linear-gradient(135deg, var(--white) 0%, var(--xmas-silver-light) 100%);
    color: var(--xmas-silver);
}

/* --- Signup --- */
.signup-section {
    background-color: var(--xmas-red);
    background-image:
        radial-gradient(2px 2px at 30px 40px, rgba(255, 255, 255, 0.3) 50%, transparent 51%),
        radial-gradient(3px 3px at 140px 100px, rgba(255, 255, 255, 0.2) 50%, transparent 51%),
        radial-gradient(2px 2px at 200px 30px, rgba(255, 255, 255, 0.25) 50%, transparent 51%);
    background-size: 240px 150px;
}

.signup-section {
    padding-bottom: calc(5rem + min(4.4vw, 60px));
}

.signup-section .section-title,
.signup-section .section-subtitle {
    color: var(--white);
}

.signup-section .section-divider {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 15%, rgba(255, 255, 255, 0.6) 33%, transparent 33%, transparent 67%, rgba(255, 255, 255, 0.6) 67%, rgba(255, 255, 255, 0.6) 85%, transparent 100%);
}

.signup-form-wrapper {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.signup-form-wrapper .form-control:focus {
    border-color: var(--xmas-red);
    box-shadow: 0 0 0 0.2rem rgba(179, 32, 42, 0.15);
}

/* --- Footer --- */
.footer-section {
    position: relative;
    background-color: var(--xmas-green-dark);
    color: #D5DBD8;
    padding-top: calc(2.5rem + min(4.4vw, 60px));
}

/* Garland draped along the top edge of the footer */
.footer-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: calc(min(8.75vw, 120px) / -2);
    height: min(8.75vw, 120px);
    background: url('../images/garland-strip.webp') center top / 100% 100% no-repeat;
    pointer-events: none;
}

.footer-section a,
.footer-bottom .powered-by a {
    color: var(--xmas-silver);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.15);
}
