/* ============================================================
   CHRISTMAS (December) — loaded only while the Christmas theme is
   live or being previewed (Admin → Seasonal Theme).
   Markup: resources/views/pages/site/seasons/christmas/*.blade.php
   Snowfall: public/js/seasons/christmas.js
============================================================ */
:root {
  --xmas-red:    #C8102E;
  --xmas-red-dk: #9E0B22;
  --xmas-green:  #1f8a4c;
  --xmas-gold:   #FFD700;
}

/* ---------- 4. Santa hat on the logo ---------- */
.navbar .logo-icon { position: relative; }
.navbar .logo-icon::after {
  content: '';
  position: absolute;
  width: 30px; height: 24px;
  top: -13px; left: -10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 48'%3E%3Cpath fill='%23C8102E' d='M7 38C10 20 22 7 39 8c9 .5 14 6 14 15-4-5-10-6-14-2-4 5 3 11 9 17Z'/%3E%3Cpath fill='%239E0B22' d='M39 21c-4 5 3 11 9 17h-8c-4-5-6-10-1-17Z' opacity='.55'/%3E%3Crect x='3' y='34' width='50' height='11' rx='5.5' fill='%23fff'/%3E%3Crect x='3' y='34' width='50' height='11' rx='5.5' fill='none' stroke='%23dfe5ee' stroke-width='1.2'/%3E%3Ccircle cx='53' cy='24' r='6.5' fill='%23fff' stroke='%23dfe5ee' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat center / contain;
  transform: rotate(-35deg) scaleX(-1);   /* mirrored: tip and pom-pom flop to the left */
  filter: drop-shadow(0 1px 1.5px rgba(10,31,76,.25));
  pointer-events: none;
}
@media (max-width: 680px) {
  .navbar .logo-icon::after { width: 26px; height: 21px; top: -12px; left: -9px; }
}

/* ---------- 1. Snowfall canvas (drawn by christmas.js) ---------- */
.xmas-snow {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 80;                /* under back-to-top (90), navbar (100), menu and lightbox */
  pointer-events: none;
}

/* ---------- 6. Footer: faint snowflakes, holly greeting ---------- */
footer { position: relative; }
footer::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .05;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cg transform='translate(40 46)'%3E%3Cpath d='M0-16V16M-14-8 14 8M-14 8 14-8M-4-12 0-8 4-12M-4 12 0 8 4 12'/%3E%3C/g%3E%3Cg transform='translate(132 120) scale(.7)'%3E%3Cpath d='M0-16V16M-14-8 14 8M-14 8 14-8M-4-12 0-8 4-12M-4 12 0 8 4 12'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat 0 0 / 180px 180px;
}
footer > .container { position: relative; z-index: 1; }

.xmas-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 0;
  padding: 18px 0 2px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  text-align: center;
}
.xmas-footer-note .xmas-holly { flex-shrink: 0; }
@media (max-width: 680px) {
  /* Phones: one holly centred above the greeting, so the wrapped
     text stays centred instead of sitting beside a lone holly. */
  .xmas-footer-note { flex-direction: column; font-size: 13px; gap: 6px; }
  .xmas-footer-note .xmas-holly:last-child { display: none; }
}
