/* =========================
   VARIABLES GLOBALES
========================= */
:root {
  --color-principal: #8b4513;
  --color-secundario: #f39c12;
  --fondo-oscuro: #1e1e1e;
  --fondo-gris: #2a2a2a;
  --texto-claro: #f5f5f5;
}

/* =========================
   RESET / BASE
========================= */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: var(--fondo-oscuro);
  color: var(--texto-claro);
  font-size: 18px;
  line-height: 1.6;
  padding-top: 70px; /* espacio menú fijo */
}

/* =========================
   ANIMACIONES
========================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fondoMovimiento {
  from { transform: translate(-50%, -50%); }
  to { transform: translate(0%, 0%); }
}

/* =========================
   HEADER / INICIO
========================= */
header {
  background: linear-gradient(135deg, var(--color-principal), var(--color-secundario));
  color: white;
  padding: 40px 20px;
  text-align: center;
}

header h1,
header p {
  animation: fadeUp 1s ease;
}

/* =========================
   MENU (ÚNICO – LIMPIO)
========================= */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(6px);
}

/* ===== DESKTOP ===== */
@media (min-width: 601px) {
  .menu {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 14px;
  }

  .menu-section { display: contents; }
  .menu-title { display: none; }
  .menu-links { display: contents; }

  .menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
  }
}



/* ===== MOBILE (VERTICAL POR SECCIONES) ===== */
@media (max-width: 600px) {
  .menu {
    display: flex;
    flex-direction: column;
  }

  .menu-title {
    width: 100%;
    padding: 14px;
    background: #111;
    color: white;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
  }

  .menu-links {
    display: none;
    background: #1a1a1a;
  }

  .menu-links a {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    font-size: 14px;
  }

  .menu-section.active .menu-links {
    display: block;
  }
}






/* =========================
   SECCIÓN INICIO
========================= */
.inicio {
  min-height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #3a1c1c, #7a2e2e, #c97b63);
  position: relative;
  overflow: hidden;
}

.inicio::before {
  content: "";
  position: absolute;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 60%);
  animation: fondoMovimiento 15s linear infinite;
}

.inicio-contenido {
  position: relative;
  z-index: 2;
}

/* =========================
   SECCIONES GENERALES
========================= */
section {
  padding: 40px;
  background-color: var(--fondo-gris);
  margin: 30px auto;
  border-radius: 12px;
  max-width: 1000px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  animation: fadeUp 0.8s ease;
  position: relative;
}

h2 { color: var(--color-principal); }

/* =========================
   BIOGRAFÍA
========================= */
.bio-contenido {
  display: flex;
  gap: 30px;
  align-items: center;
}

.bio-foto img {
  width: 280px;
  height: 350px;
  object-fit: cover;
  border-radius: 15px;
}

/* =========================
   SERVICIOS
========================= */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.servicio-card {
  background: linear-gradient(145deg, #2b2b2b, #1f1f1f);
  border-radius: 18px;
  padding: 22px;
}

.media-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 200px;
  background: #000;
}


/* Imágenes */
.media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Videos */
.media-box video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* mantiene proporción */
  display: block;
}


/* Videos */
.media-box video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 🔑 NO se deforma */
  background: black;
}

/* 🔒 Tamaño fijo para videos de servicios */
.servicios .media-box {
  height: 180px;
}


/* =========================
   PRESENTACIONES / FLYERS
========================= */
.presentaciones {
  padding: 60px 20px;
  text-align: center;
}

.flyers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.flyer-card {
  background: #111;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.flyer-card:hover {
  transform: translateY(-8px);
}

.flyer-img {
  width: 100%;
  aspect-ratio: 3 / 4; /* como tu CSS original */
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flyer-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* NO se deforma */
  display: block;
}

.flyer-card p {
  padding: 10px;
  font-size: 0.9rem;
  color: #ddd;
}




.media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}







/* =========================
   TESTIMONIOS
========================= */
.testimonios {
  padding: 80px 20px;
  text-align: center;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 15px;
  background: #1e1e1e;
  color: white;
}

/* =========================
   RESPONSIVE GENERAL
========================= */
@media (max-width: 768px) {
  .bio-contenido {
    flex-direction: column;
    text-align: center;
  }
}




@media (max-width: 600px) {
  .flyers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}




.reservas {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(
    135deg,
    #3a1c1c,
    #5c2b2b,
    #8c4a3c
  );
}

.reservas-card {
  max-width: 500px;
  margin: auto;
  background-color: #2f2f2f;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
  animation: fadeUp 1s ease;
}

.reservas input,
.reservas textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: none;
}






.whatsapp-btn {
  display: inline-block;
  background: linear-gradient(135deg, #25D366, #1ebe5d);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}





/* =========================
   FIX SERVICIOS MOBILE
========================= */
@media (max-width: 600px) {
  .servicios-grid {
    grid-template-columns: 1fr; /* una columna */
  }

  .servicio-card {
    max-width: 360px;
    margin: 0 auto;
  }
}






/* =========================
   REDES SOCIALES
========================= */
.redes-sociales {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 50px 0;
  flex-wrap: wrap;
}

.btn-red {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 40px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-red i {
  font-size: 20px;
}

/* Instagram */
.instagram {
  background: linear-gradient(
    45deg,
    #f58529,
    #dd2a7b,
    #8134af,
    #515bd4
  );
}

/* YouTube */
.youtube {
  background: #ff0000;
}

.btn-red:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* 📱 Celular */
@media (max-width: 600px) {
  .btn-red {
    width: 100%;
    justify-content: center;
  }
}




