/* Christmas Theme Overrides */

:root {
    --navideño-red: #D42426;
    --navideño-green: #006636;
    /* Mantener el verde original */
    --navideño-gold: #FFD700;
    --navideño-snow: #FFFFFF;
}

/* Override primary highlights to Red */
.btn-get-started,
#hero .btn-get-started {
    background: var(--navideño-red) !important;
    color: var(--navideño-snow) !important;
    border: 2px solid var(--navideño-red) !important;
    /* Fix alignment for all buttons */
    text-align: center;
    display: inline-flex;
    /* Better centering */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
}

#hero .btn-get-started:hover {
    background: #b01b1d !important;
    border-color: #b01b1d !important;
    transform: translateY(-2px);
}

/* Secondary buttons (outlined) */
#hero .btn-outline-light {
    border-color: var(--navideño-snow) !important;
    color: var(--navideño-snow) !important;
    /* Ensure flex centering inherits or is applied */
}

#hero .btn-outline-light:hover {
    background: var(--navideño-snow) !important;
    color: var(--navideño-red) !important;
}

/* Headers and Accents */
.section-title h2 {
    color: var(--navideño-red) !important;
    background: rgba(212, 36, 38, 0.05) !important;
}

.section-title h3 span {
    color: var(--navideño-red) !important;
}

/* Navigation Hover */
.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
    color: var(--navideño-gold) !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Footer Icons */
.social-links a {
    background: var(--navideño-red) !important;
    color: white !important;
}

.social-links a:hover {
    background: var(--navideño-green) !important;
}

/* Back to Top */
.back-to-top {
    background: var(--navideño-red) !important;
}

.back-to-top:hover {
    background: var(--navideño-green) !important;
}

/* Whatsapp/Messenger floating buttons */
.fixed-action-btn a {
    position: relative;
    overflow: hidden;
}

/* Snow Container */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    background-color: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-10px) translateX(0px);
    }

    100% {
        transform: translateY(105vh) translateX(20px);

    }
}

/* --- Alignment Fixes --- */

/* Force back-to-top to sit inside the fixed-action-btn stack correctly */
.fixed-action-btn .back-to-top {
    position: static !important;
    /* Override potential fixed positioning */
    margin-bottom: 10px;
    /* Match other buttons */
    opacity: 1 !important;
    /* Force visible for testing, JS usually controls this */
    visibility: visible !important;
    display: flex !important;
    /* Ensure flex behavior */
    width: 50px !important;
    /* Match other buttons (usually 50px in css) */
    height: 50px !important;
    right: auto !important;
    bottom: auto !important;
    /* Ensure it looks like the others */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* If the JS hides it by removing 'active', we might want to manually show it or let JS handle opacity but keep layout */
/* For now, we trust 'display: block/flex' keeps it in the flow. */

/* --- Santa Hat on Logo --- */
.logo {
    position: relative;
    display: inline-block;
}

.logo a::before {
    content: "";
    display: block;
    width: 30px;
    /* Smaller size */
    height: 30px;
    /* Smaller size */
    position: absolute;
    top: -18px;
    /* Adjusted position */
    left: -8px;
    /* Adjusted position to not cover C too much */
    z-index: 10;

    /* 2D Santa Hat SVG - Adjusted */
    /* Pointing backwards (left) and draping down */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M48 44 C 48 44 40 20 22 10 C 12 4 2 10 2 10 C 2 10 14 16 16 24 C 18 32 8 44 8 44 Z' fill='%23D42426'/%3E%3Ccircle cx='2' cy='12' r='6' fill='white'/%3E%3Crect x='10' y='42' width='44' height='10' rx='5' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;

    /* Static, rotated to look like it's sitting on the letter */
    transform: rotate(-25deg);
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
}

/* Also add a hat to the "Hacerme Socio" button as requested alternative */
.btn-get-started {
    position: relative;
}

.btn-get-started::after {
    content: "🎄";
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 20px;
}