/* ZENITH ECO — Shared Styles */

/* ═══ TRANSPARENT HEADER TRANSITION ═══ */
#header {
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
#header #mainNav a {
  transition: color 0.3s ease;
}
#header #menuToggle span {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 130, 0, 0.3); }
  50% { box-shadow: 0 0 20px 4px rgba(255, 130, 0, 0.15); }
}
.animate-fade-up {
  animation: fade-up 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.animate-float {
  animation: float 3s ease-in-out infinite;
}
.animate-pulse-glow {
  animation: pulse-glow 2.5s ease-in-out infinite;
}
/* Scroll animations — disabled during development, re-enable for production */
[data-animate] {
  opacity: 1;
  transform: none;
}
.card-hover {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card-hover:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.form-input {
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: #ff8200;
  box-shadow: 0 0 0 3px rgba(255, 130, 0, 0.08);
}
select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  appearance: none;
  padding-right: 40px;
}

/* Promo badge */
.promo-badge {
  position: relative;
  overflow: hidden;
}
.promo-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  animation: shine 3s ease-in-out infinite;
}
@keyframes shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

/* Article prose */
.prose h2 { font-size: 1.5rem; font-weight: 700; color: #1a1a2e; margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h3 { font-size: 1.2rem; font-weight: 700; color: #1a1a2e; margin-top: 2rem; margin-bottom: 0.75rem; }
.prose p { margin-bottom: 1.25rem; line-height: 1.8; color: #555; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: 0.5rem; line-height: 1.7; color: #555; }
.prose strong { color: #1a1a2e; font-weight: 600; }

/* ═══ PRINT STYLESHEET ═══ */
@media print {
  header, footer, .whatsapp-float, #cookie-banner, nav, noscript { display: none !important; }
  main { padding: 0 !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
  a[href^="tel:"]::after, a[href^="mailto:"]::after, a[href^="#"]::after { content: ""; }
  img { max-width: 100% !important; }
  section { page-break-inside: avoid; }
}

/* ═══ PERFORMANCE: CONTENT VISIBILITY ═══ */
/* Sections below the fold skip rendering until scrolled into view */
section:not(:first-of-type) {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
