/* ===== RESET Y BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

html {
  scroll-behavior: smooth; /* Para desplazamiento suave al hacer clic en enlaces */
}

body {
  background: #0b0b0b;
  color: white;
}

/* ===== HEADER FIJO ===== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.6));
  backdrop-filter: blur(6px);
  min-height: 50px;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #d4af37;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: white;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  background: url("../img/hero.png") center / contain no-repeat;
  display: flex;
  align-items: center;
  padding-left: 8%;
  padding-top: 200px;       /* Alto del header fijo */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(0,0,0,0.85) 0%,
      rgba(0,0,0,0.6) 40%,
      rgba(0,0,0,0.2) 70%,
      rgba(0,0,0,0) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  max-width: 500px;
  z-index: 2;
}

.hero h1 {
  font-size: 3.2rem;
  color: #d4af37;
}

.hero p {
  font-size: 1.5rem;
  margin: 15px 0 30px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(45deg, #d4af37, #b8962e);
  color: black;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* ===== PERFIL ===== */
.perfil {
  background: #0f0f0f;
  padding: 80px 8%;
}
.perfil-card {
  max-width: 900px;
  margin: auto;
  background: #141414;
  display: flex;
  flex-direction: row;      /* Fuerza fila */
  flex-wrap: wrap;          /* Permite wrap si no hay espacio */
  gap: 30px;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(212,175,55,0.15);
}

.perfil-card img {
  width: 180px; 
  height: 180px; 
  border-radius: 12px;
  object-fit: contain; 
  border: 2px solid #d4af37; 
  flex: 0 0 180px; /* No crece, no se encoge, base 180px */
  
}

.perfil-card > div {
  flex: 1;                   /* Ocupa el espacio restante */
  min-width: 250px;          /* Ancho mínimo antes de wrap */
}

.perfil h2 {
  color: #d4af37;
  margin-bottom: 10px;
}

.perfil p {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ===== SERVICIOS (nuevo) ===== */
.servicios {
  background: #0a0a0a;
  padding: 80px 8%;
  text-align: center;
}

.servicios h2 {
  color: #d4af37;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.servicios-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.servicio-card {
  background: #141414;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(212,175,55,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.servicio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(212,175,55,0.3);
}

.servicio-icono {
  font-size: 3rem;
  margin-bottom: 15px;
}

.servicio-card h3 {
  color: #d4af37;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.servicio-card p {
  color: #ddd;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===== CONTACTO ===== */
.contacto {
  background: linear-gradient(180deg, #0b0b0b, #000);
  padding: 80px 8%;
}

.contacto h2 {
  text-align: center;
  color: #d4af37;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.contacto-grid {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contacto-info p {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

form input,
form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  background: #111;
  border: 1px solid #333;
  color: white;
  border-radius: 5px;
  transition: border-color 0.3s, outline 0.3s;
}

form input:focus,
form textarea:focus {
  outline: 2px solid #d4af37;
  border-color: transparent;
}

form textarea {
  height: 120px;
  resize: vertical;
}

form button {
  background: linear-gradient(45deg, #d4af37, #b8962e);
  border: none;
  padding: 14px;
  width: 100%;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s;
}

form button:hover {
  opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
  background: black;
  text-align: center;
  padding: 30px;
  color: #aaa;
  border-top: 1px solid #222;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
  .nav-container {
      flex-direction: column;
      gap: 15px;
      padding: 15px 20px;
  }

  nav ul {
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
  }

  .hero {
      padding-left: 5%;
      padding-right: 5%;
      padding-top: 140px;
  }

  .hero h1 {
      font-size: 2.5rem;
  }

  .hero p {
      font-size: 1.2rem;
  }

  .perfil-card {
      text-align: center;
      padding: 30px 20px;
  }

  .perfil-card img {
      margin: 0 auto;
  }

  .servicios-grid {
      grid-template-columns: 1fr; /* En móviles, una columna */
  }

  .contacto-grid {
      grid-template-columns: 1fr;
      gap: 30px;
  }

  .contacto h2,
  .servicios h2 {
      font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
      font-size: 2rem;
  }

  .btn {
      padding: 12px 20px;
      font-size: 0.9rem;
  }
}
.redes-sociales {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}
.btn-redes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 30px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: opacity 0.3s;
  border: none;
  cursor: pointer;
}
.btn-redes i {
  font-size: 1.2em;
}
.btn-redes.whatsapp { background-color: #25D366; }
.btn-redes.facebook { background-color: #1877F2; }
.btn-redes.tiktok { background-color: #000000; } /* TikTok usa negro normalmente */
.btn-redes:hover { opacity: 0.8; }
/* Ajuste responsive */
@media (max-width: 480px) {
  .btn-redes { width: 100%; }
}

