/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
  flex: 1;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #333;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1500px;
  margin: 0 auto;
}

.logo img {
  height: 50px;
}

/* Menú enlaces */
.nav-links {
  list-style: none;
  display: flex;
  gap: 3rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #d5b97d;
}

/* Menú hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: white;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #2c2c2c;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }
}

/* Estilos para la sección Hero */
.hero {
  min-height: calc(100vh - 70px); /* ocupa toda la pantalla menos el header */
  padding: 0 20px;
  background-image: url('./images/fondo-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px;
    }
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1rem;
    color: white;
    background-color: #ff6600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #ff4500;
}

/* Estilos del footer */
.footer {
    background-color: #2c2c2c;
    color: #ffffff;
    padding: 20px;
    text-align: left;
    font-family: Arial, sans-serif;
    margin-top: auto;
}

html, body {
    margin: 0;
    padding: 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 100px;
}

.footer-column h3 {
    margin: 0 0 10px;
    font-size: 1.5em;
    color: #ffffff;
}

.footer-column p {
    margin: 10px 0;
    line-height: 1.6;
    font-size: 0.9em;
    color: #cccccc;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #00bcd4;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.social-grid a img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-grid a:hover img {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8em;
    color: #bbb;
}

/* Texto del pie de página */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8em;
    color: #cccccc;
}

.catalogo {
  min-height: calc(100vh - 70px);
  padding: 60px 20px;
  background-color: #4b4b4b;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.catalogo-titulo {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #ffffff;
}

.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas en desktop */
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .catalogo-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
  }
}

@media (max-width: 600px) {
  .catalogo-grid {
    grid-template-columns: 1fr; /* 1 columna en móviles */
  }
}

.boton-card {
  background-color: #d4d4d4;
  border-radius: 12px;
  padding: 30px 20px;
  width: 100%;
  height: 100%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  display: block;
}

.boton-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.boton-card > div {
  transform: scale(1.1);
  transform-origin: top center;
}

.terms-section {
  background-color: #1c1b18;
  color: #f0f0f0;
  padding: 4rem 2rem;
  padding-top: 120px;
  font-family: sans-serif;
}

.terms-container {
  max-width: 900px;
  margin: 0 auto;
}

.terms-container h1 {
  color: #b38f45;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.terms-container h2 {
  color: #b38f45;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.terms-container p {
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.catalogo {
  flex: 1;
}