@charset "UTF-8";
/* General */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- Estilos Generales y Fuentes --- */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding-top: 4.9rem;
  background-color: #4d4d4d; /* Fondo gris oscuro, aplicado en caso de no usar el linear-gradient */
  color: #ffffff;
}

main {
  padding: 2%;
  background-image: linear-gradient(to bottom right, #383838, #ffffff);
}

a {
  color: #ffcc33;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: 3rem;
  margin-bottom: 10px;
  animation: titulos 20s infinite;
}

h2,
h3,
h4 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  text-align: center;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

h4 {
  font-family: "Oswald", sans-serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
  padding-bottom: 2rem;
}

.container {
  margin: 0 auto;
  padding: 0;
}

/* --- Header y Navegación --- */

header {
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 20px 0;
}

#home {
  background-image: url("/images/portada.png");
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.logo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid white;
}

.main-nav {
  background: linear-gradient(to right, #f7b733, #fc4a1a);
  padding: 5px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.logo-mini {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid white;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

.main-nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Botón hamburguesa (oculto en escritorio) */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-left: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: linear-gradient(to right, #f7b733, #fc4a1a);
    flex-direction: column;
    width: 200px;
    overflow: hidden;
    transition: height 0.3s ease;
    border-radius: 0 0 0 15px;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease;
  }

  .nav-links.open {
    padding: 10px 0;
    max-height: 300px;
    opacity: 1;
  }

  .nav-links li {
    text-align: center;
  }

  .nav-links li a {
    display: block;
    padding: 12px;
  }
}

.fecha {
  text-align: right;
  font-size: 14px;
  font-weight: bold;
  margin: 5px 20px;
  color: #ffffff;
}

/* --- Secciones --- */

section {
  padding-bottom: 8rem;
}

.social-links {
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.social-links > a {
  margin: 0 12px;
  font-size: 2rem;
  transition: color 0.3s ease;
}

.social-links > a:hover {
  color: #fc4a1a;
}

.social-links p {
  font-size: 1.3rem;
}
/* --- Sección Inicio --- */

.media-section {
  text-align: center;
  margin-top: 2rem;
}

.media-section h4 {
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Fila de imágenes */
.image-row-first {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  margin: 30px 0;
  align-items: center;
}

.image-row-second {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin: 30px 0;
  align-items: center;
}

.img-first,
.img-second {
  max-width: 100%;
  height: auto;
  border-radius: 7px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-first:hover,
.img-second:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Videos centrados */
.video-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin: 30px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.video-row iframe {
  width: 420px;
  height: 240px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  border: none;
}

.video-row iframe:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .image-row-first,
  .image-row-second {
    grid-template-columns: 1fr;
  }
}

/* --- Sección Nosotros --- */

.about-us-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.carousel-container {
  flex: 1;
  position: relative;
  max-width: 100rem;
  overflow: hidden;
  border-radius: 15px;
}

.carousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
  width: 100%;
  display: none;
  max-height: 40rem;
  object-fit: cover;
}

.carousel-slide img.active {
  display: block;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 5px;
}

.prev {
  left: 10px;
}
.next {
  right: 10px;
}

.about-us-text {
  flex: 1;
  text-align: left;
}

.title-notice{
    margin-top: 5rem;
}

.notices-text-content {
  max-height: 350px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.notices-text-content.expanded {
  max-height: 3000px;
}

.read-more-btn {
  margin-top: 10px;
  background-color: #fc4a1a;
  border: none;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #f7b733;
  text-decoration: none;
}

/* --- Sección Contacto --- */
#contacto {
  background-color: #3a3a3a;
}
.contact-content {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

form,
.contact-info {
  flex: 1;
  background: #fdfdfd;
  padding: 30px;
  border-radius: 15px;
}

form {
  display: flex;
  flex-direction: column;
}

form input,
form textarea {
  margin-bottom: 15px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
}

form button {
  padding: 15px;
  border: none;
  background-color: #ffcc33;
  color: white;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #fc4a1a;
}

.contact-info iframe {
  border-radius: 15px;
}

/* --- Footer --- */
footer {
  background-color: #1c1c1c;
  color: #f3f3f3;
  padding: 10px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  padding: 0 10px;
}

/* Contenedores de los logos (izquierda y derecha) */
.footer-logos {
  flex: 1;
  padding: 5px 10px;
}

/* Logo de la izquierda */
.footer-logos:first-child {
  display: flex;
  justify-content: flex-start;
}

/* Logo de la derecha */
.footer-logos:last-child {
  display: flex;
  justify-content: flex-end;
}

.footer-logos img {
  height: 8rem;
  width: auto;
}

/* Contenedor central para redes y texto */
.footer-social {
  text-align: center;
  flex-grow: 2;
}

.footer-social--p {
  margin: 0 0 10px 0;
  font-size: 1rem;
  font-weight: bold;
}

/* Iconos de redes sociales */
.footer-social > a {
  color: white;
  margin: 0 12px;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.footer-social > a:hover {
  color: #f7b733;
}

.footer-by {
  margin-top: 15px;
}

.footer-by p {
  margin: 4px 0;
  font-size: 0.8rem;
  color: #aaa;
}

.footer-by a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer-by a:hover {
  color: #f7b733;
}

@keyframes titulos {
  50% {
    color: #000000;
  }
}

/* --- Responsividad para móviles --- */

@media (max-width: 1024px) {
  .main-nav ul {
    gap: 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .about-us-content,
  .contact-content {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }

  .footer-logos {
    justify-content: center !important;
  }
}

footer {
  text-align: center;
  padding: 10px;
}

.construccion {
  border: 1px solid #f1c40f;
  border-radius: 6px;
  display: inline-block;
  padding: 6px 12px;
}

/* Swiper galería */

.mySwiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.mySwiper .swiper-slide {
  display: flex;
  background-position: center;
  background-size: cover;
  width: 800px;
  height: 500px;
  justify-content: center;
  align-items: center;
}

.mySwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
  background-color: #c5c2c279;
}

/* Swiper galería kids*/

.mySwiperKids {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.mySwiperKids .swiper-slide {
  display: flex;
  background-position: center;
  background-size: cover;
  width: 800px;
  height: 500px;
  justify-content: center;
  align-items: center;
}

.mySwiperKids .swiper-slide img {
  height: 100%;
  border-radius: 20px;
  object-fit: contain;
  background-color: #c5c2c279;
}

/*  Ajustes Responsive Galerias */
@media (max-width: 768px) {
  .swiper {
    max-width: 100%;
  }

  .swiper-slide {
    width: 80% !important;
    background-color: #c5c2c2;
    border-radius: 10px;
  }

  .swiper-slide img {
    object-fit: contain;
  }

  #galeria-wrapper-kids img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 480px) {
  .swiper-slide {
    width: 90% !important;
  }

  .swiper-slide img {
    border-radius: 8px;
  }
}

/* --- Enlace Galería Completa --- */

.ver-mas {
  float: right;
  margin-right: 2rem;
  margin-bottom: 2rem;
  background-color: #fc4a1a;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.ver-mas:hover {
  background-color: #f7b733;
  text-decoration: none;
}

/* Botón volver */
.back-btn {
  display: inline-block;
  margin: 20px auto;
  text-align: center;
  padding: 10px 20px;
  border-radius: 8px;
  background-color: #ffcc33;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.back-btn:hover {
  background-color: #fc4a1a;
}

/* --- Estilos Galería Completa --- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 20px 40px 80px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background-color: #ffcc33;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 204, 51, 1);
}

/* Botón volver */
.back-btn {
  display: inline-block;
  margin: 20px auto;
  text-align: center;
  padding: 10px 20px;
  border-radius: 8px;
  background-color: #ffcc33;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.back-btn:hover {
  background-color: #fc4a1a;
}

/* --- LIGHTBOX --- */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 204, 51, 0.7);
  animation: fadeIn 0.3s ease;
  transition: transform 0.2s ease;
  cursor: zoom-in;
  max-height: 90vh;
  max-width: 90vw;
}

.lightbox:target {
  display: flex;
}

.lightbox.show {
  display: flex;
}

/* Botones de navegación */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  transform: translateY(-50%);
  transition: opacity 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.7;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #fc4a1a;
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.5rem;
  }
  .gallery-grid {
    padding: 15px;
    gap: 10px;
  }
  .gallery-grid img {
    height: 200px;
  }

  .lightbox img {
    max-width: 95%;
    max-height: 70%;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.2rem;
  }
  .gallery-grid img {
    height: 180px;
  }
  section h2 {
    font-size: 1.3rem;
  }
}

/* Indicador de doble clic */
.hint {
  text-align: center;
  font-size: 1.2rem;
  color: #fc4a1a;
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.mySwiper:hover + .hint,
.mySwiperKids:hover + .hint {
  opacity: 1;
}

/* Ajustes responsive */
@media (max-width: 768px) {
  .hint {
    font-size: 14px;
    color: #ffcc33;
  }
}

@media (max-width: 480px) {
  .hint {
    font-size: 12px;
  }
}

.image-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
  gap: 20px;
}

.image-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 15px;
}


/* Banner Fiestas */

.image-banner-fiestas {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 3rem;
  gap: 20px;
}

.image-banner-fiestas img {
  width: 70%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 15px;
}


/* Noticias Collage */
.notices-layout {
  display: flex;
  gap: 40px;
  align-items: center;
}

.notices-text {
  flex: 1;
  text-align: left;
}

.notices-collage {
  flex: 1.2;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 150px;
}

.notices-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notices-collage img:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Imagen principal más grande */
.notices-collage img.big {
  grid-column: span 2;
  grid-row: span 2;
}

/* Imagen horizontal */
.notices-collage img.wide {
  grid-row: span 2;
}

/* Modal ampliar imagen */
.modal-img {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-img img {
  display: flex !important;
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

.modal-img.show {
  display: flex !important;
}

.close-modal {
  position: absolute;
  top: 25px;
  right: 40px;
  font-size: 3rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .notices-layout {
    flex-direction: column;
  }
  .notices-collage {
    grid-auto-rows: 120px;
  }
}
@media (max-width: 480px) {
  .notices-collage {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 100px;
  }
}
