
/* =========================================
   CHRISTMAS HOMEPAGE BANNER
   ========================================= */

.holiday-banner {
    position: relative;
    display: block;
    width: 100%;
    max-width: 1480px;
    height: 250px;
    margin: 18px 10px 24px;

    background: #0b140b;
    overflow: hidden;
    box-sizing: border-box;
    isolation: isolate;
    text-decoration: none !important;
}

/* CHRISTMAS IMAGE */

.holiday-banner-image {
    position: absolute;
    z-index: -1;

    right: 0;
    top: 0;

    width: 55%;
    height: 100%;

    object-fit: cover;
    object-position: right 30%;
}

/* TEXT CONTENT */

.holiday-banner-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    width: 65%;
    height: 100%;
    padding: 18px 35px;

    box-sizing: border-box;
}

.holiday-kicker {
    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #e5c48b;
    margin-bottom: 7px;
}

.holiday-title {
    font-family: 'Berkshire Swash', Georgia, serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    color: #fff0d8;
    max-width: 650px;
}

.holiday-subtitle {
    font-family: Georgia, serif;
    font-size: 19px;
    font-weight: 500;
    font-style: italic;
    color: #e9cc98;
    margin-top: 5px;
}

.holiday-description {
	font-family: Georgia, serif;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: .2px;
    color: #eee4d4;
    margin-top: 7px;
    max-width: 480px;
}

.holiday-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 12px 26px;
    margin-top: 14px;

    border: 1px solid #f8e5b5;
    border-radius: 50px;

    background: linear-gradient(
        135deg,
        #f9e7b5 0%,
        #e8c77e 35%,
        #c99b4e 65%,
        #f5dfa4 100%
    );

    color: #49351c;

    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: .3px;

    box-shadow:
        0 3px 10px rgba(0,0,0,.22),
        0 0 12px rgba(231,198,142,.25),
        inset 0 1px 2px rgba(255,255,255,.8);

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
}

/* Moving shimmer */

.holiday-button::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -80%;

    width: 45%;
    height: 200%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.65),
        transparent
    );

    transform: rotate(25deg);
    animation: goldShimmer 4s ease-in-out infinite;
}

@keyframes goldShimmer {
    0%, 55% {
        left: -80%;
    }

    85%, 100% {
        left: 140%;
    }
}

/* Hover effect */

.holiday-banner:hover .holiday-button {
    transform: translateY(-2px);

    box-shadow:
        0 5px 18px rgba(0,0,0,.3),
        0 0 20px rgba(245,215,142,.55),
        inset 0 1px 3px rgba(255,255,255,.9);

    filter: brightness(1.08);
}

/* Keyboard focus */

.holiday-banner:focus-visible .holiday-button {
    outline: 3px solid #fff0c9;
    outline-offset: 5px;
}

/* =========================================
   TWINKLING LIGHTS
   ========================================= */

.holiday-sparkles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.twinkle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;

    animation: holidayTwinkle 3s ease-in-out infinite;
}

.twinkle.gold {
    background: #f5d78e;
    box-shadow: 0 0 9px 3px rgba(245,215,142,.7);
}

.twinkle.ivory {
    background: #fff8df;
    box-shadow: 0 0 9px 3px rgba(255,248,223,.7);
}

.twinkle.red {
    background: #d98b83;
    box-shadow: 0 0 8px 3px rgba(217,139,131,.6);
}

.twinkle:nth-child(1)  { left: 5%; top: 20%; animation-delay: 0s; }
.twinkle:nth-child(2)  { left: 18%; top: 35%; animation-delay: .8s; }
.twinkle:nth-child(3)  { left: 35%; top: 17%; animation-delay: 1.4s; }
.twinkle:nth-child(4)  { left: 12%; top: 75%; animation-delay: .4s; }
.twinkle:nth-child(5)  { left: 30%; top: 65%; animation-delay: 1.8s; }
.twinkle:nth-child(6)  { left: 46%; top: 48%; animation-delay: .6s; }
.twinkle:nth-child(7)  { left: 7%; top: 48%; animation-delay: 2s; }
.twinkle:nth-child(8)  { left: 25%; top: 85%; animation-delay: 1s; }
.twinkle:nth-child(9)  { left: 42%; top: 82%; animation-delay: 2.2s; }
.twinkle:nth-child(10) { left: 52%; top: 25%; animation-delay: 1.2s; }
.twinkle:nth-child(11) { left: 19%; top: 10%; animation-delay: 2.5s; }
.twinkle:nth-child(12) { left: 38%; top: 45%; animation-delay: .3s; }

@keyframes holidayTwinkle {
    0%, 100% {
        opacity: .2;
        transform: scale(.7);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* KEYBOARD ACCESSIBILITY */

.holiday-banner:focus-visible {
    outline: 3px solid #d9b875;
    outline-offset: 3px;
}

/* =========================================
   MOBILE
   ========================================= */

@media screen and (max-width: 700px) {

    .holiday-banner {
        height: 210px;
        margin: 12px auto 18px;
    }

    .holiday-banner-image {
        width: 75%;
        height: 100%;
        right: -10%;
        opacity: .65;
    }

    .holiday-banner-content {
        width: 95%;
        padding: 15px 18px;
    }

    .holiday-title {
        font-size: 26px;
        max-width: 340px;
    }

    .holiday-subtitle {
        font-size: 16px;
    }

    .holiday-description {
        font-size: 10px;
        line-height: 1.4;
        max-width: 260px;
        margin-top: 5px;
    }

    .holiday-kicker {
        font-size: 10px;
    }

 .holiday-button {
        padding: 10px 21px;
        font-size: 13px;
        margin-top: 11px;
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    .holiday-button::before {
        animation: none;
        display: none;
    }

    .holiday-banner:hover .holiday-button {
        transform: none;
    }
}

/* REDUCED MOTION */

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

    .holiday-button {
        transition: none;
    }
}

