/* GENENRAL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Bebas Neue", sans-serif;
  background-color: #680303;
  color: #2b2b2b;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
 /* CABECERA */
 .header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #333;
  color: #FF0000;
  height: 100px;
  padding: 0 20px;
  box-sizing: border-box;
  gap: 10px;
  top: 0;
  z-index: 999;
}
.logo {
  height: 80px;
  width: auto;
  cursor: pointer;
 }
body h1 {
  text-align: center;
  font-size: 45px;
}
.menu {
  position: relative;
  display: flex;
  align-items: center;
}
.side {
  font-size: 60px;
  cursor: pointer;
  color: #ffffff;
  padding: 5px 20px;
}
.menu-items {
  display: none;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: #000;
  width: 220px;
  border-radius: 15px;
  box-shadow: 0px 4px 8px rgb(124, 231, 195);
  overflow: hidden;
  z-index: 1000;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.menu-items.show {
  transform: scaleY(1); 
  display: block;
  opacity: 1;
  visibility: visible;
}
.menu-items a {
  font-family: "Oswald", sans-serif;
  display: flex;
  font-size: 20px;
  align-items: center;
  padding: 12px;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid #444;
  gap: 10px;
}
.menu-items a:hover {
  background-color: #410000;
}
.menu-items a:last-child {
  border-bottom: none;
}
.menu-icon {
  width: 30px;
  height: 30px;
  margin-left: 10px;
  margin-right: 15px;
}
/* CUERPO */
.contenido {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
article {
    font-family: "Oswald";
    background: white;
    text-align: justify;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-in-out forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
article:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
article h2{
 font-family: "Bebas Neue", sans-serif;
 font-size: 30px;
 color: #040529;
 text-align: center;
}
article img {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
article img:hover {
    transform: scale(1.05);
}
.contact-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
}
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
form .form-control {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  width: 95%;
}
button {
  width: 50%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: #007BFF;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}
button:hover {
  background-color: #0056b3;
}
/* ✅ Animación  */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
    }
  100% {
    opacity: 1;
    transform: translateY(0);
    }
}
/* MODAL ADMINISTRADOR */
.admin-modal {
  display: none;
  position: fixed;
  z-index: 2000; 
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
}
.admin-content {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  width: 400px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.modal-buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}
.modal-buttons button {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
#btnAceptar {
  background-color: #007bff;
  color: #fff;
}
#btnCancelar {
  background-color: #ccc;
}
/* PIE DE PAGINA */
footer {
  background-color: #1a1a1a;
  color: #ffffff;
  width: 100%;
  padding: 20px 0;
  text-align: center;
  margin-top: auto;
}
footer .row.primary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; 
  align-items: flex-start;
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
}
footer h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #FF0000;
  text-transform: uppercase;
}
footer .column {
  flex: 1;
  min-width: 200px; 
  text-align: center;
  box-sizing: border-box;
}
footer .column.about {
  flex: 1.5; 
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 50%;
}
footer .column.contact,
footer .column.subscribe,
footer .column.links {
  flex: 1;
  min-width: 200px;
}
footer .logo-text {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}
footer .logo-text img.logo {
  width: 80px; 
  height: auto;
  flex-shrink: 0; 
}
footer .contact p {
  margin: 5px 0;
  font-size: 1rem;
}
footer .contact a {
  color: #f7c606;
  text-decoration: none;
}
footer .contact i {
  font-size: 1.5rem;
  margin-right: 5px;
  vertical-align: middle;
}
footer .social img {
  width: 40px;
  margin-right: 10px;
  cursor: pointer;
}
footer .social img:hover {
  opacity: 0.8;
}
footer .subscribe input {
  width: 80%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}
footer .subscribe button {
  font-size: 1.1rem;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background-color: #f7c606;
  color: #000000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
footer .subscribe button:hover {
  background-color: #d4a505;
}
footer .column.links {
  text-align: center;
}
footer .column.links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer .column.links ul li {
  margin-bottom: 10px;
}
footer .column.links ul li a {
  color: #f7c606;
  text-decoration: none;
  font-size: 1rem;
}
footer .column.links ul li a:hover {
  text-decoration: underline;
}
footer .row.copyright {
  width: 100%;
  background-color: #25262e;
  padding: 15px 0;
  text-align: center;
}
footer .copyright p {
  font-size: 1rem;
  color: #e5d335;
}
/* RESPONSIVIDAD */
@media screen and (max-width: 768px) {
  .header {
    flex-direction: column;
    height: auto;
    padding: 10px;
    text-align: center;
  }
  .menu-items {
    position: static;
    width: 100%;
    border-radius: 0;
    max-height: none; 
    overflow-y: auto;
  }
  .contenido {
    grid-template-columns: 1fr;
    }
    footer .row.primary {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }
  footer .column.about,
  footer .column.contact,
  footer .column.social,
  footer .column.subscribe,
  footer .column.links {
    max-width: 100%;
    margin-bottom: 20px;
  }
  footer .logo-text {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  footer .logo-text img.logo {
    margin-bottom: 10px;
  }
}