/* ===========================================
   Forever Mailboxes — Summer / July 4th Theme
   Overrides the earth-toned theme with patriotic red, white & blue
   =========================================== */

/* Override theme CSS custom properties */
:root {
  /* Brand colors — switch from gold/amber to patriotic red */
  --color-brand-400: #ff6b6b !important;
  --color-brand-500: #e63946 !important;
  --color-brand-600: #c1121f !important;
  --color-brand-700: #9b2226 !important;

  /* Background — warm summer sky gradient feel */
  /* Keep earth-950 as base but we'll add overlays */
  
  /* Accent — add blue for patriotic feel */
  --color-summer-blue: #1d3557;
  --color-summer-navy: #0a1a2e;
  --color-patriotic-blue: #3a86ff;
  --color-patriotic-white: #f1faee;
}

/* July 4th announcement banner */
.july-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(90deg, #e63946 0%, #ffffff 50%, #3a86ff 100%);
  padding: 10px 16px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1a1209;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: bannerSlideDown 0.5s ease-out;
  flex-wrap: wrap;
}

.july-banner .stars {
  display: inline-flex;
  gap: 2px;
  font-size: 1.1rem;
}

.july-banner .cta {
  background: #1d3557;
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s;
}

.july-banner .cta:hover {
  background: #e63946;
  transform: scale(1.05);
}

@keyframes bannerSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Patriotic badge overlays on hero */
.patriotic-ribbon {
  position: fixed;
  bottom: 20px;
  left: 0;
  z-index: 100;
  display: flex;
  gap: 0;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.patriotic-ribbon span {
  padding: 6px 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.patriotic-ribbon .stripes { background: repeating-linear-gradient(90deg, #e63946 0px, #e63946 10px, #ffffff 10px, #ffffff 20px); }
.patriotic-ribbon .text {
  background: #1d3557;
  color: #f1faee;
  padding: 6px 16px;
}

/* Make the gradient text more red-white-blue */
.text-gradient {
  background: linear-gradient(135deg, #e63946 0%, #ffffff 30%, #3a86ff 70%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

/* Override nav link hover to patriotic red */
nav a:hover {
  color: #e63946 !important;
}

/* Make buttons red and blue instead of gold */
a[href*="contact"]:not(.july-banner a),
a[href*="quote"] {
  background: linear-gradient(90deg, #e63946, #c1121f) !important;
  border: none !important;
}

/* Summer sparkle effect */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255,107,107,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 40%, rgba(58,134,255,0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

/* Flag floating elements — added via JS */
.flag-sparkle {
  position: fixed;
  pointer-events: none;
  font-size: 1.5rem;
  opacity: 0.6;
  z-index: 999;
  animation: sparkleFloat 6s ease-in-out infinite;
}

@keyframes sparkleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-20px) rotate(10deg); opacity: 0.9; }
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .july-banner {
    font-size: 0.75rem;
    padding: 8px 10px;
  }
  .july-banner .cta {
    font-size: 0.7rem;
    padding: 3px 10px;
  }
}
