/* =========================================
   LU7ALF — Tema Sobrio A1
   Estética tipo "Broadcast / Club / Técnico"
   ========================================= */

/* PALETA */
:root {
  --bg: #0e1117;
  --bg2: #161b22;
  --card: #161b22;
  --border: #262c36;

  --text: #e2e8f0;
  --muted: #94a3b8;

  /* acento tipo iluminación ámbar RF */
  --accent: #eab308;
  --accent2: #f1c93b;
}

/* GENERAL RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  min-height: 100vh;
  margin: 0;
}

/* eliminar watermark anterior */
body::after {
  content: none !important;
}

/* SECCIONES */
.bg-body {
  background: var(--bg);
}
.bg-section {
  background: var(--bg);
}
.bg-section-alt {
  background: var(--bg2);
}

/* NAV */
.bg-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.navbar-brand {
  font-weight: 600;
  letter-spacing: 0.04em;
}
.text-muted-2 {
  color: var(--muted) !important;
}

/* RELÓJES (limpios) */
.navbar-clocks {
  padding-left: .75rem;
  border-left: 1px solid var(--border);
}
@media (max-width: 991.98px) {
  .navbar-clocks {
    margin-top: .75rem;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: .75rem;
  }
}
.clock-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.clock-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.clock-time {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.clock-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

/* MAIN OFFSET por navbar */
.main-content {
  padding-top: 72px;
}

/* HERO */
.hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url("../img/hero-bg.jpg");

}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1rem;
}
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}
.hero-subtitle {
  margin-top: .35rem;
  font-size: 1rem;
  letter-spacing: .12em;
  color: var(--muted);
}
.hero-meta {
  margin-top: .5rem;
  font-size: .9rem;
  color: var(--muted);
}

/* SECCIONES GENERALES */
.section-py {
  padding: 4rem 0;
}
.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .5rem;
}
.section-desc {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* CARD */
.card-soft {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.card-soft .card-title {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
}

/* BOTONES */
.btn-accent {
  background: var(--accent);
  color: #1e1e1e;
  border: none;
  font-weight: 600;
  border-radius: 6px;
  padding: .45rem 1.1rem;
}
.btn-accent:hover {
  background: var(--accent2);
  color: #1e1e1e;
}
.btn-outline-accent {
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  border-radius: 6px;
  padding: .45rem 1.1rem;
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: #1e1e1e;
}

/* CAROUSEL */
#stationCarousel {
  border-radius: 10px;
}
.carousel-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* DX LIST */
.dx-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .85rem;
}
.dx-list li {
  display: flex;
  gap: .75rem;
  padding: .35rem .5rem;
  border-bottom: 1px solid var(--border);
}
.dx-list li:last-child {
  border-bottom: none;
}
.dx-time {
  min-width: 3rem;
  color: var(--muted);
}
.dx-freq {
  min-width: 4.5rem;
  font-weight: 600;
  color: var(--accent);
}
.dx-call {
  min-width: 4.4rem;
  font-weight: 600;
  color: var(--text);
}
.dx-mode {
  min-width: 3.2rem;
  color: var(--accent2);
}
.dx-note {
  flex: 1;
  color: var(--muted);
}

/* QSL thumbnails */
.img-card-sm {
  border-radius: 10px;
  overflow: hidden;
}
.img-wrap-sm img {
  width: 100%;
  display: block;
}

/* FORMULARIO CONTACTO */
.contact-form .form-label {
  font-size: .85rem;
  color: var(--muted);
}
.contact-form .form-control {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
}
.contact-form .form-control:focus {
  border-color: var(--accent);
  outline: none;
}
#estadoForm {
  min-height: 1.25rem;
}

/* QRZ */
.qrz-iframe-container {
  width: 100%;
  height: 520px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
}
.qrz-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* FOOTER */
.bg-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-title {
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
}
.small {
  font-size: .82rem;
}

/* RESPONSIVE */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.2rem;
    letter-spacing: .1em;
  }
  .section-py {
    padding: 3rem 0;
  }
}

.card-soft p,
.card-soft li,
.card-soft span,
.card-soft strong {
  color: var(--text) !important;
}

.card-soft .text-muted,
.card-soft .small {
  color: var(--muted) !important;
}

/* HERO colors restaurados */
.hero-title {
  color: #ffffff !important;
}

.hero-subtitle {
  color: var(--accent) !important; /* ámbar */
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-meta {
  color: #e2e8f0 !important; /* gris claro */
}

/* Bloque sombra detrás del texto */
.hero-content {
  position: relative;
  padding: 2rem 2.5rem;
  border-radius: 6px;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45); /* sombra suave */
  border-radius: inherit;
  backdrop-filter: blur(2px); /* opcional: mejora detalle */
  z-index: -1;
}
/* PANEL DE RELOJES — IGUAL PARA AMBOS */

.navbar-clocks {
  display: flex;
  gap: .75rem;
  align-items: center;
}

/* Etiqueta (LU / UTC) */
.clock-label {
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

/* Bloque del reloj */
.clock-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .35rem .65rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
}

/* Hora */
.clock-time {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: #f8fafc;
}

#stationCarousel .carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 280px; /* AJUSTÁ ACÁ LA ALTURA */
  object-fit: contain; /* NO CORTA NADA */
  background: #0e1117; /* COLOR DEL TEMA */
  padding: 4px;
}

@media (max-width: 575.98px) {
  #stationCarousel .carousel-item img {
    max-height: 200px;
  }
}

.footer-icon {
  display:inline-flex;
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid var(--border);
  align-items:center;
  justify-content:center;
  color:var(--accent);
  font-size:1.1rem;
  transition:.2s ease;
}
.footer-icon:hover {
  background:var(--accent);
  color:#000;
}