/* style.css - Farelo Digital Modern Theme */

/* Botón de hamburguesa (oculto en pantallas grandes) */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-btn span {
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animación a 'X' cuando el menú está abierto */
.hamburger-btn.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* REGLAS PARA PANTALLAS PEQUEÑAS (MÓVILES Y TABLETS) */
@media (max-width: 768px) {
  .hamburger-btn {
    display: flex; /* Muestra el botón de 3 barras */
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%; /* Oculto fuera de pantalla a la derecha */
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: #0a0a0a;
    border-left: 1px solid #222;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 25px rgba(0,0,0,0.8);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0; /* Desliza hacia adentro al presionar el botón */
  }

  .nav-links a {
    font-size: 1.2rem;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000000;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* COLORES DE ACENTO PARA TÍTULOS Y TEXTOS */
.text-blue { color: #0070f3; }
.text-green { color: #10b981; }
.text-orange { color: #f97316; }
.text-yellow { color: #facc15; }
.text-red { color: #ef4444; }

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: #fff;
}

.lang-switch {
  background: #222;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700 !important;
  color: #fff !important;
}

/* HERO SECTION */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: #aaa;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-primary {
  background: #0070f3;
  color: #fff;
}

.btn-secondary {
  background: #222;
  color: #fff;
  border: 1px solid #444;
}

/* SECCIÓN DE SERVICIOS (GRID) */
.services-overview {
  padding: 80px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.services-overview h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.card {
  background: #111;
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #0070f3;
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 25px;
}

.card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.card-body p {
  color: #999;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* HEADSHOTS PREVIEW */
.headshots-preview {
  padding: 80px 5%;
  text-align: center;
  background: #050505;
  border-top: 1px solid #111;
}

.headshots-preview h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.subtitle {
  color: #888;
  margin-bottom: 40px;
}

.headshot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.headshot-grid img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #222;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.headshot-grid img:hover {
  transform: scale(1.05);
  border-color: #10b981;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px;
  color: #666;
  border-top: 1px solid #111;
  font-size: 0.9rem;
}

/* ==========================================
   ESTILOS PARA MENÚ RESPONSIVO / HAMBURGUESA
   ========================================== */

