/* Theme CSS */

:root {
    --color-primary: #C41E3A;
    --color-primary-dark: #8B0000;
    --color-primary-light: #DC143C;
    --color-secondary: #1B5E20;
    --color-accent: #DAA520;
    --color-bg: #FFFAFA;
    --color-bg-alt: #FFF8DC;
    --color-surface: #FFFFFF;
    --color-border: #E8D5C4;
    --color-text: #2C1810;
    --color-text-secondary: #6B4423;
    --color-hero-gradient-start: #8B0000;
    --color-hero-gradient-end: #C41E3A;
    --color-hero-text: #FFFFFF;
    --color-hero-text-secondary: #FFE4E1;
}

/* Natale - Decorazioni festive */
:root { --font-heading: 'Mountains of Christmas', cursive !important; }
h1, h2, h3, .hero__title, .section__title, .logo { font-family: var(--font-heading) !important; }
.logo::after { content: " 🎅"; font-size: 0.7em; vertical-align: middle; }
.card { position: relative !important; border: 1px solid rgba(196, 30, 58, 0.35) !important; box-shadow: 0 2px 12px rgba(196, 30, 58, 0.08) !important; }
.card::before { content: "❄️"; position: absolute; top: 6px; right: 10px; font-size: 1rem; opacity: 0.5; pointer-events: none; }
.card:hover { border-color: rgba(196, 30, 58, 0.6) !important; box-shadow: 0 6px 24px rgba(196, 30, 58, 0.15) !important; }
.btn--primary { box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3) !important; border: 1px solid rgba(255,255,255,0.25) !important; }
.btn--primary:hover { box-shadow: 0 6px 25px rgba(196, 30, 58, 0.5) !important; transform: translateY(-2px) !important; border-color: rgba(255,255,255,0.45) !important; }
.hero__title { text-shadow: 0 2px 10px rgba(139, 0, 0, 0.3), 0 0 50px rgba(196, 30, 58, 0.15) !important; }
.section--alt { background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 0v24M0 12h24M3.5 3.5l17 17M3.5 20.5l17-17' stroke='%23FFFFFF' stroke-width='0.5' stroke-opacity='0.06' fill='none'/%3E%3C/svg%3E") !important; }
html::before { content: "❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄"; position: fixed; top: -5%; left: 0; width: 100%; font-size: 1rem; color: rgba(255,255,255,0.6); white-space: nowrap; word-spacing: 7vw; text-align: left; pointer-events: none; z-index: 100; animation: snowfall1 10s linear infinite; }
html::after { content: "❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄ ❄"; position: fixed; top: -5%; left: 4vw; width: 100%; font-size: 0.625rem; color: rgba(255,255,255,0.4); white-space: nowrap; word-spacing: 11vw; text-align: left; pointer-events: none; z-index: 100; animation: snowfall2 15s linear infinite; }
@keyframes snowfall1 { to { transform: translateY(120vh) rotate(360deg); } }
@keyframes snowfall2 { to { transform: translateY(120vh) rotate(-360deg); } }

/* Bottoni hero uniformi (tema: natale) */
html[data-theme="natale"] .hero__actions .btn { background: var(--color-primary) !important; color: #fff !important; }
html[data-theme="natale"] .hero__actions .btn:hover { background: var(--color-primary-dark) !important; color: #fff !important; }

/* Bottoni card footer standard in tutti i temi (tema: natale) */
html[data-theme="natale"] .card__footer .btn--primary { background: var(--color-primary) !important; background-image: none !important; color: #fff !important; border-color: transparent !important; box-shadow: none !important; }
html[data-theme="natale"] .card__footer .btn--primary:hover { background: var(--color-primary-dark) !important; color: #fff !important; box-shadow: none !important; }
html[data-theme="natale"] .card__footer .btn--ghost { background: transparent !important; border-color: transparent !important; color: var(--color-primary) !important; box-shadow: none !important; }
html[data-theme="natale"] .card__footer .btn--ghost:hover { background: var(--color-primary) !important; color: #fff !important; }
