/* Import de tipografías */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@300;400;500;700&display=swap');

/* Variables de color */
:root {
  --color-bg: #000000;
  --color-text: #f5f5f5;
  --color-bronze: #c58b3b;      /* bronce cálido */
  --color-blue: #00bfff;        /* azul eléctrico */
  --color-panel: rgba(0, 0, 0, 0.75);
  --color-border: rgba(255, 255, 255, 0.12);
  --max-width: 1100px;
}

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

/* Estilo global */
body {
  min-height: 100vh;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: url('assets/fondo.png') center center / cover fixed no-repeat var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

/* Contenedor principal */
.page-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem;
}

/* Paneles semitransparentes para texto */
.panel {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.75rem;
  backdrop-filter: blur(4px);
}

/* Títulos principales estilo “custom” */
h1,
h2,
h3,
.brand-title {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0.4em;
}

h1,
.brand-title {
  font-size: clamp(2.5rem, 4vw, 3.2rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

/* Texto normal */
p {
  margin: 0 0 0.9rem;
  font-weight: 300;
}

/* Enlaces */
a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: var(--color-bronze);
  text-shadow: 0 0 6px rgba(0, 191, 255, 0.7);
}

/* Palabras clave en bronce o azul eléctrico */
.text-bronze {
  color: var(--color-bronze);
  font-weight: 500;
}

.text-blue {
  color: var(--color-blue);
  font-weight: 500;
}

/* Cabecera básica */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo img {
  height: 56px;
  width: auto;
}

/* Fondo circular para el logo */
.site-logo img {
  height: 90px;            /* antes 56px, ahora más grande */
  width: 90px;             /* que sea cuadrado para el círculo */
  object-fit: contain;
  border-radius: 50%;      /* círculo */
  padding: 10px;           /* margen interno para que respire */
  background: #ffffff;     /* fondo blanco */
  box-shadow: 0 0 12px rgba(0,0,0,0.7); /* sutil sombra para que destaque */
}

/* Navegación */
.nav-links {
  display: flex;
  gap: 1.2rem;
  font-family: 'Bebas Neue', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-bronze), var(--color-blue));
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Secciones */
.section {
  margin-bottom: 2.5rem;
}

/* Footer */
footer.site-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Responsive simple */
@media (max-width: 768px) {
  header.site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-wrapper {
    padding: 1rem;
  }

  .panel {
    padding: 1.25rem;
  }
}

/* =========================
   RESPONSIVE - TABLET / MÓVIL
   ========================= */
@media (max-width: 768px) {
  .page-wrapper {
    padding: 0.75rem;
  }

  header.site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav-links {
    flex-wrap: wrap;
    row-gap: 0.3rem;
    font-size: 0.8rem;
  }

  .panel {
    padding: 1.1rem;
  }

  #hero .panel {
    margin-top: 0.5rem;
  }

  body {
    /* en móvil el fixed a veces da problemas, mejor scroll normal */
    background-attachment: scroll;
  }

  .site-logo img {
    height: 72px;
    width: 72px;
    padding: 8px;
  }
}

/* =========================
   RESPONSIVE - MÓVIL PEQUEÑO
   ========================= */
@media (max-width: 480px) {
  h1,
  .brand-title {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  p {
    font-size: 0.9rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}
