/* ==========================================================================
   Agromobil Service — pagina "Under Construction"
   ========================================================================== */

/* ---------- Variabile ---------- */
:root {
  --amber: #ffb400;
  --amber-soft: #ffcf4d;
  --dark: #0d0f12;
  --text: #e8e8e8;
  --muted: #b9bec6;
}

/* ---------- Reset & fundal ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  min-height: 100svh; /* inaltime corecta pe browserele mobile (bara de adresa) */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 64px 20px;
  background-color: var(--dark);
  background-image:
    linear-gradient(rgba(255, 180, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 180, 0, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  text-align: center;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Benzi de avertizare (sus / jos) ---------- */
.tape {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 10;
  height: 26px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 28px, #101010 28px 56px);
  background-size: 80px 80px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.6);
  animation: tape-move 6s linear infinite;
}

.tape.top {
  top: 0;
  border-bottom: 3px solid #000;
}

.tape.bottom {
  bottom: 0;
  border-top: 3px solid #000;
  animation-direction: reverse;
}

@keyframes tape-move {
  from { background-position: 0 0; }
  to   { background-position: 80px 0; }
}

/* ---------- Lampa de avertizare ---------- */
.beacon {
  width: clamp(56px, 9vw, 84px);
  height: clamp(56px, 9vw, 84px);
  margin-bottom: clamp(20px, 4vw, 36px);
  border: 4px solid #2a2a2a;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--amber-soft), var(--amber) 45%, #b97e00 90%);
  box-shadow: 0 0 0 6px #1c1f24, 0 0 40px 6px rgba(255, 180, 0, 0.55);
  animation: beacon-pulse 1.6s ease-in-out infinite;
}

@keyframes beacon-pulse {
  0%, 100% { box-shadow: 0 0 0 6px #1c1f24, 0 0 25px 3px rgba(255, 180, 0, 0.35); }
  50%      { box-shadow: 0 0 0 6px #1c1f24, 0 0 60px 14px rgba(255, 180, 0, 0.75); }
}

/* ---------- Titlu ---------- */
h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05em;
  font-family: "Anton", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.word {
  font-size: clamp(2.2rem, 9vw, 6rem);
  color: transparent;
  -webkit-text-stroke: 2px var(--amber);
}

/* ---------- Subtitlu ---------- */
.subtitle {
  margin-top: clamp(18px, 3.5vw, 30px);
  max-width: 34ch;
  font-size: clamp(0.95rem, 2.4vw, 1.2rem);
  color: var(--muted);
}

/* ---------- Bara de progres ---------- */
.progress {
  width: min(420px, 78vw);
  height: 22px;
  margin-top: clamp(24px, 4vw, 40px);
  overflow: hidden;
  border: 2px solid #3a3f47;
  border-radius: 999px;
  background: #0a0c0e;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7);
}

.progress .bar {
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 16px, #cc8f00 16px 32px);
  background-size: 46px 46px;
  animation: barber 1.2s linear infinite;
}

@keyframes barber {
  from { background-position: 0 0; }
  to   { background-position: 46px 0; }
}

.progress-label {
  margin-top: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #7d838c;
}

/* ---------- Footer ---------- */
footer {
  position: fixed;
  right: 0;
  bottom: 40px;
  left: 0;
  z-index: 5;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #6b7078;
}

/* ---------- Mobile ---------- */
@media (max-width: 480px) {
  body { padding: 56px 16px; }
  .tape { height: 20px; }
  footer { bottom: 32px; font-size: 0.7rem; }
}

/* ---------- Accesibilitate: miscare redusa ---------- */
@media (prefers-reduced-motion: reduce) {
  .tape,
  .beacon,
  .progress .bar {
    animation: none;
  }
}
