
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f72905;
  color: rgb(32, 30, 30);
}
header {
  display: flex;
  align-items: center;   /* centra verticalmente */
  justify-content: flex-start;  /* logo a la izq, texto después */
  padding: 20px 190px;
}

header img {
  height: 60px;   /* ajusta el tamaño del logo */
  margin-right: 15px;  /* espacio entre logo y texto */
}

header h1 {
  font-size: 28px;   /* tamaño del texto */
  color: yellow;     /* tu color */
  margin: 0;         /* quita espacios raros */
}

  nav ul {
  list-style: none;      /* Quita viñetas */
  padding: 0;
  margin: 0;
  display: flex;         /* Coloca los <li> en fila */
  justify-content: center; /* Centra horizontalmente */
}

nav ul li {
  margin: 0 15px;        /* Espacio entre los enlaces */
}

nav ul li a {
  text-decoration: none;
  color: white;          /* Cambia según el color que quieras */
  font-weight: bold;
}




footer {
  background-color: #c4001d;
  text-align: center;
  padding: 20px 190px;
  position: relative;
  bottom: 0;
  
}

.servicios, .galeria {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.card, .foto {
  background:  #408ee0; 
  color: black;
  padding: 0px;
  border-radius: 10px;
  text-align: center;
}

.galeria img {
  max-width: 100px;
  border-radius: 10px;
  
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: 20px auto;
}

form input, form textarea, form button {
  padding: 10px;
  border-radius: 5px;
  border: none;
}

form button {
  background: #c4001d;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

form button:hover {
  background: #a30016;
}
/* Reset */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
}

/* ===== Header ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background:  #ff0000e7;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .logo {
  font-size: 22px;
  font-weight: bold;
}
/*inflables Yafer*/
header .logo span {
  color: #FFD600;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
/*bonton de reserva*/
.btn-reservar {
  background:#FFD600;
  color: #fff;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.btn-reservar:hover {
  background: #FFD600;
}

/* ===== Hero ===== */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 80px;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.2;
}

.hero h1 span {
  font-style: italic;
  font-weight: 600;
}
/*color de texto eslogan*/
.hero p {
  font-size: 18px;
  margin-top: 10px;
  color: #020202;
}
 /*restas de inflables */
.tag {
  background: #e01010;
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 14px;
}

/* ===== Botones ===== */
.btns {
  margin-top: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  margin-right: 15px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
/*boton de promocion*/
.btn-primary {
  background: #a6e237;
  color: #fff;
}
.btn-primary:hover {
  background: #a6e237;
}
/*boton ver inflables*/
.btn-outline {
  border: 2px solid #ff0000e7; 
  color:  #ff0000e7; 
}
.btn-outline:hover {
  background:#a6e237;
  color: #fff;
}
/*cuadro de texto*/
/* ===== Beneficios ===== */
/* Contenedor de la sección principal */
.seccion-principal {
  display: flex;
  flex-direction: column; /* Uno debajo del otro */
  align-items: center;    /* Centrado horizontal */
  text-align: center;     /* Centra el texto */
}

/* Estilos del cuadro de beneficios */
.beneficios {
  background-color: #8BC34A; /* verde */
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;  /* espacio debajo del título */
  max-width: 300px;  /* ancho máximo */

}
.benefits h3 {
  margin-bottom: 15px;
}

.benefits ul {
  list-style: none;
  padding: 0;
}

.benefits ul li {
  margin-bottom: 10px;
  font-size: 15px;
}

.benefits ul li::before {
  content: "✔";
  color: #0056ff;
  margin-right: 8px;
}
/*pie de pagina*/
/* ===== Footer ===== */
footer {
  background:  #ff0000e7; 
  color: #fff;
  text-align: center;
  padding: 40px;
  margin-top: 40px;
}

/* ===== Botón WhatsApp ===== */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.whatsapp:hover {
  background: #1ebe5b;
}
/*-----------------------------------------*/
/*servicios*/
/* Sección servicios */
.servicios {
  padding: 40px;
  text-align: center;
}
/*tamaño de cuadros */
.servicios h1 {
  font-size: 2em;
  margin-bottom: 80px;
}

.servicios p {
  margin-bottom: 70px;
  color: #444;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 3 columnas */
  gap: 25px;
  justify-items: center;
}

/* Que las tarjetas no se estiren demasiado */
.card {
  width: 100%;
  max-width: 300px;
}

/* Estilo de cada card */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}
/*color de letrs*/
.card .tag {
  display: inline-block;
  background: #e6f2ff;
  color: #007BFF;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.card h3 {
  margin: 10px 0;
  font-size: 1.3em;
}

.card p {
  margin: 5px 0;
}

.card .precio {
  font-weight: bold;
  font-size: 1.1em;
  color:  #28a745;
  margin: 10px 0;
}
/* FAQ (Preguntas Frecuentes) */
.faq {
  margin: 40px auto;
  max-width: 800px;
}
.faq h2 {
  text-align: center;
  margin-bottom: 20px;
}
.faq-item {
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: #f1f1f1;
  border: none;
  text-align: left;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}
.faq-question:hover {
  background: #e4e4e4;
}
.faq-answer {
  display: none;
  padding: 15px;
  background: #fff;
  border-left: 3px solid #ff0000e7;
}

/* Opiniones */
.opiniones {
  margin: 60px auto;
  max-width: 1000px;
  text-align: center;
}
.opiniones h2 {
  margin-bottom: 30px;
}
.opiniones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.opinion-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
.opinion-card .stars {
  color: #FFD600;
  font-size: 20px;
  margin-bottom: 10px;
}
.opinion-card small {
  display: block;
  margin-top: 10px;
  color: #666;
}

/* Diseño general (computadora) */
nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Diseño celular */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .cards {
    grid-template-columns: 1fr; /* 1 columna en lugar de varias */
  }
}
/* Estilo normal (pantallas grandes) */
nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
}

/* Estilo especial para pantallas pequeñas (celular) */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;   /* uno debajo de otro */
    align-items: center;      /* centrados */
    gap: 10px;
  }

  nav {
    text-align: center;
  }
}

/* El logo y el texto */
header img {
  height: 60px;   /* agranda el logo */
  margin-right: 10px;
}



/* Ajuste especial en pantallas pequeñas */
@media (max-width: 768px) {
  header {
    flex-direction: column;  /* logo arriba, menú abajo */
    align-items: center;
    text-align: center;
  }

  header nav ul {
    flex-direction: column; /* menú en columna */
    gap: 10px;
  }

}

header nav a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
}

/* ----- PIE DE PÁGINA ----- */
footer {
  background-color: red;
  color: white;
  text-align: center;
   padding: 50px 190px;
  position: relative; 
  bottom: 0;
  left: 0;
  box-sizing: border-box;
  
}

/* ----- RESPONSIVE PARA CELULAR ----- */
@media (max-width: 768px) {
  header nav {
    flex-direction: column; /* menú en columna en pantallas chicas */
    align-items: center;
  }

  footer {
    font-size: 14px; /* texto un poco más chico en móvil */
  }
}
