/* ==========================================================================
   PRAGATHI CIVIL CONSTRUCTION - CORPORATE CHRISTMAS FESTIVE THEME
   Strict Non-Destructive Styles: Preserves 100% of core layout and footer.
   ========================================================================== */

/* --- 1. Festive Top Greeting Bar --- */
.festive-greeting-bar {
  background: linear-gradient(135deg, #0a2316 0%, #113822 35%, #701424 70%, #8e1a2e 100%);
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.55);
  color: #ffffff;
  padding: 0.5rem 0;
  font-size: 0.84rem;
  line-height: 1.4;
  position: relative;
  z-index: 1002;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.festive-greeting-bar.is-hidden {
  display: none !important;
}

.festive-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.festive-text-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1;
  min-width: 260px;
}

.festive-tree-icon {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-block;
  animation: festiveGlow 2.5s infinite alternate ease-in-out;
}

.festive-message {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.festive-message strong {
  color: #ffd166;
  font-weight: 700;
}

.festive-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.festive-desk-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 209, 102, 0.6);
  color: #ffffff !important;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.festive-desk-btn:hover {
  background: #ffd166;
  color: #03132B !important;
  border-color: #ffd166;
  transform: translateY(-1px);
}

.festive-toggle-snow {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.festive-toggle-snow:hover {
  background: rgba(255, 255, 255, 0.25);
}

.festive-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0 0.35rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.festive-close-btn:hover {
  color: #ffffff;
}

@keyframes festiveGlow {
  0% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 2px rgba(255, 209, 102, 0.4)); }
  100% { transform: scale(1.15) rotate(4deg); filter: drop-shadow(0 0 7px rgba(255, 209, 102, 0.85)); }
}

/* --- 2. Logo Santa Hat (Pure overlay, does NOT touch brand-logo display or footer) --- */
.brand-logo {
  position: relative !important;
}

.logo-santa-hat {
  position: absolute;
  top: -12px;
  left: -8px;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 10;
  transform: rotate(-14deg);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo:hover .logo-santa-hat {
  transform: rotate(-6deg) scale(1.08);
}

/* Mobile Drawer Santa Hat */
.mobile-drawer-header {
  position: relative;
}

.mobile-drawer-header .mobile-santa-hat {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 26px;
  height: 26px;
  pointer-events: none;
  transform: rotate(-12deg);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

/* --- 3. Hero Snowfall Canvas (Layer 10: Sits above hero content, 100% visible and click-through) --- */
#festiveSnowCanvas {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 10 !important;
}

/* --- 4. Section & Footer Safety Spacing --- */
#news {
  padding-bottom: 5.5rem !important;
}

/* Ensure bottom clearance so fixed floating FABs (WhatsApp & Back-to-Top) never overlap footer copyright */
.footer-bottom {
  padding-bottom: 5.5rem !important;
}

@media (max-width: 640px) {
  .footer-bottom {
    padding-bottom: 5rem !important;
  }
}

/* Media Queries */
@media (max-width: 768px) {
  .festive-greeting-bar {
    font-size: 0.78rem;
    padding: 0.45rem 0;
  }
  .festive-text-wrap {
    justify-content: center;
    text-align: center;
  }
  .festive-actions {
    margin: 0 auto;
  }
  .logo-santa-hat {
    top: -9px;
    left: -5px;
    width: 26px;
    height: 26px;
  }
}
