:root {
  --crema: #f1eee9;
  --cafe-oscuro: #2e1f14;
  --terracota: #b2694a;
  --azul-marino: #1f2a37;
  --dorado: #d6bfa8;
}

body {
  background-color: var(--crema);
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  color: var(--azul-marino);
  margin: 0;
}

.navbar-custom {
  background-color: var(--cafe-oscuro);
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
  color: var(--dorado);
  font-family: 'Gloock', serif;
  font-weight: 600;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--terracota);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-item .nav-link {
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active,
.nav-item .nav-link:focus,
.nav-item .nav-link:active {
  background-color: var(--terracota);
  color: var(--crema) !important;
  outline: none;
}

.footer {
  background-color: var(--cafe-oscuro);
  color: var(--dorado);
  font-family: 'Quicksand', sans-serif;
  font-size: 0.9rem;
  border-top: 2px solid var(--terracota);
  padding: 2rem 1rem;
  min-height: 150px;
}

.footer-title {
  font-family: 'Gloock', serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.footer-text {
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.social-icons {
  margin-top: 0.2rem;
}

.social-link {
  color: var(--dorado);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.social-link:hover {
  color: var(--terracota);
  text-decoration: underline;
}

.container {
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  font-family: 'Gloock', serif;
  font-size: 2.8rem;
  margin-bottom: 2rem;
  color: var(--cafe-oscuro);
  border-bottom: 3px solid var(--terracota);
  padding-bottom: 0.5rem;
}

.menu-texto {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: 'Quicksand', sans-serif;
  color: var(--cafe-oscuro);
}

.menu-texto h2 {
  font-family: 'Gloock', serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--terracota);
}

.menu-doble-columna {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.columna-menu {
  flex: 0 0 45%;
  max-width: 45%;
  min-width: 280px;
  box-sizing: border-box;
}

.subtitulo {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--azul-marino);
  font-weight: 600;
  text-align: center;
}

.item-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #fff;
  border-left: 4px solid var(--terracota);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border-radius: 0.75rem;
}

.item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.item-text h4 {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.item-text p {
  font-size: 0.95rem;
  color: #444;
}

.botones-volver {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.btn-volver {
  background-color: var(--terracota);
  color: var(--crema);
  font-family: 'Gloock', serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.9rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(178, 105, 74, 0.6);
  transition: background-color 0.3s ease;
}

.btn-volver:hover {
  background-color: var(--cafe-oscuro);
  color: var(--dorado);
}

@media (max-width: 600px) {
  .container {
    padding: 1rem;
    max-width: 100%;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .menu-texto {
    padding: 1.5rem 1rem;
    max-width: 100%;
  }

  .menu-texto h2 {
    font-size: 1.6rem;
  }

  .menu-doble-columna {
    flex-direction: column;
    gap: 1.5rem;
  }

  .columna-menu {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: auto;
  }

  .subtitulo {
    font-size: 1.3rem;
  }

  .item-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .item-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 0.5rem;
  }

  .item-text h4 {
    font-size: 1rem;
    flex-direction: column;
    gap: 0.3rem;
  }

  .item-text p {
    font-size: 0.9rem;
  }

  .botones-volver {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-volver {
    width: 100%;
    font-size: 1.1rem;
    padding: 0.8rem 0;
    text-align: center;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .container {
    padding: 1rem 1.5rem;
    max-width: 95%;
  }

  .section-title {
    font-size: 2.4rem;
    margin-bottom: 1.8rem;
  }

  .menu-texto {
    max-width: 90%;
    padding: 2rem 1rem;
  }

  .menu-texto h2 {
    font-size: 1.8rem;
  }

  .menu-doble-columna {
    gap: 2rem;
  }

  .columna-menu {
    flex: 0 0 48%;
    max-width: 48%;
    min-width: auto;
  }

  .subtitulo {
    font-size: 1.4rem;
  }

  .item-info {
    gap: 0.8rem;
  }

  .item-img {
    width: 70px;
    height: 70px;
  }

  .item-text h4 {
    font-size: 1.05rem;
  }

  .item-text p {
    font-size: 0.93rem;
  }

  .botones-volver {
    gap: 1.5rem;
  }

  .btn-volver {
    font-size: 1.15rem;
    padding: 0.85rem 2rem;
  }
}
