/* General */
@import url('https://fonts.googleapis.com/css2?family=Baloo+Tamma+2:wght@400..800&family=Varela+Round&display=swap');

:root {
    --primary: #ff9f21;
    --seconday: #ffcd5f;
    --brown: #d07a52;
    --brownSecondary: #f0a26b;
    --background: #fffdd0;
    --botones: #e84954;
    --nav: #ff7700;
  }

  html{
    animation: fadeIn 1s ease-in-out;
  }

  @keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
  }
body {
    margin: 0;
    display:flex;
    justify-content: center;
    flex-direction: column;
    font-family: 'Varela Round', sans-serif;
    background-color: var(--background);
    overflow-x: hidden;
}
  
  .items-container {
    width: 77%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .items {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: right;
    gap: 5rem;
    color: var(--nav);
    font-family: "Baloo Tamma 2", serif;
    font-weight: 800;
  }
  
  .items p {
    cursor: pointer;
    padding: 10px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    
  }
  
  .items p img {
    height: 1.2rem;
    width: auto;
    margin-right: 0.5rem; 
  }
  
  .items p:hover img {
    filter: brightness(0) saturate(100%) invert(1); /* Cambia el color del SVG */
  }
  
  
  .items p:hover{
    color: var(--background);
    background-color: var(--nav);
    border-radius: 20px;
  }
  
  .logo-nav img {
    height: 5rem;
    width: 5rem;
  }

/* SECCIÓN DESCRUBRE */
.descubre {
    position: relative;
    display: flex;
    align-items: flex-start;
    font-family: "baloo tamma 2", serif;
    font-weight: 900;
    margin: 5rem;
    margin-top:13rem;
    padding-left: 2rem;
}

.texto {
    font-size: 60px;
    font-weight: bold;
    line-height: 120%;
    position: relative;
    z-index: 1;
    margin: 0;
}

.ola {
    position: relative;
    top: -4rem;
    left: -2rem;
    width: 8rem;
    height: 8rem;
    /* transform: rotate(-10deg); */
    z-index: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .descubre {
        margin: 3rem auto;
        padding: 0 1.5rem;
    }
    
    .texto {
        font-size: 3rem;
    }
    
    .ola {
        width: 8rem;
        right: -1.5rem;
        bottom: -1rem;
    }
}

@media (max-width: 480px) {
    .texto {
        font-size: 2.2rem;
    }
    
    .ola {
        width: 6rem;
        right: -1rem;
        bottom: -0.5rem;
    }
}

/* FIN SECCION DESCUBRE */
.marqueeContainer1{
    margin-top:60px;
  }
  
  .marquee-container1,
  .marquee-container2 {
    width: 100%;
    overflow: hidden;
    background-color: #FF7700;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 20px 0px;
  }
  
  .marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 180s linear infinite;
  }
  
  
  .marquee span {
    display: inline-block;
    color: #FFF;
    font-size: 40px;
    font-weight: bold;
    line-height: 140%;
  }
  
  @keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
  }

.listOrgContainer {
    width: 90vw;
    margin: 5rem auto; /* Centrado más seguro */
}

.searchbar-container {
    display: flex;
    justify-content: flex-end; /* Alinea todo a la derecha */
    width: 100%;
    padding: 0px; /* Padding opcional para no pegarse a los bordes */
}

.searchbar {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Espacio entre icono y input */
    border: 3px solid var(--primary);
    border-radius: 50px;
    margin-top: 6rem;
    margin-right: 5rem;
    padding: 0.8rem 1.5rem; /* Padding más proporcional */
    max-width: 600px; /* Ancho máximo controlado */
    width: auto; /* Ancho según contenido */
}

.search-icon {
    height: 24px;
    width: 24px;
    flex-shrink: 0; /* Evita que se encoja */
}

.search-input {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    outline: none;
    width: 100%; 
    min-width: 250px; 
    padding: 0 5px;
}


/* INICIO DE LA GALERIA DE IMAGENES */
.card {
    width: 17rem;
    margin: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover .galery-image::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

.card:hover .nombre-evento {
    text-decoration: underline;
}
.ubicacion-evento a{
text-decoration: none;
color:#5393d8;
}
.ubicacion-evento:hover{
    text-decoration: underline;
    
}

.galery-image {
    position: relative;
    height: 17rem;
    width: 17rem;
    border-radius: 20px;
    overflow: hidden; 
    cursor: pointer;
    background: rgb(0, 0, 0, 0.5);
    transition: transform 0.3s ease,opacity 0.3s ease-in;
    background-size: cover;
    background-position: center;

}

.contenido-container {
    display: none; 
}

.texto-container {
    text-align: center;
    padding: 1rem;
    height:10rem;
    width: 13rem;
    font-family: "varela round", serif;
    font-weight: 900;
    cursor: pointer;
    transition: transform 1s ease-in;
}
.texto-container ul {
    list-style-type: none;
    padding-left: 0;
   }
   
   
   .texto-container li{
     display: flex;
     justify-content: start;
     align-items: center;
     color: black;
     text-decoration: none;
     list-style: none;
     margin-top:0.8rem;
     margin-bottom:0.8rem;
     font-size: 14px;
   }

   .texto-container ul li:first-child {
    font-size:22px;
  }

   .imagenes-contenido img {
    width: 30px; 
    height: 30px;
    margin: 10px 5px; 
  }
  
  .contenido li .imagenes-contenido {
    width: 50px;
    height: 10px;
  }
.texto-container h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.texto-container p {
    font-size: 1rem;
    color: #666;
}

/* Mantener grid original */
.img-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.galery-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 3rem 0;
}


.galery-image.a {
    background-image: url("../img/main/images/albufera.webp");
  }
  
  .galery-image.b {
    background-image: url("../img/main/images/albufera.webp");
  }
  
  .galery-image.c {
    background-image: url("../img/main/images/albufera.webp");
  }
  
  .galery-image.d {
    background-image: url("../img/main/images/albufera.webp");
  }
  
  .galery-image.e {
    background-image: url("../img/main/images/albufera.webp");
  }
  
  .galery-image.f {
    background-image: url("../img/main/images/albufera.webp");
  }
  
  .galery-image.g {
    background-image: url("../img/main/images/albufera.webp");
  }
  
  .galery-image.h {
    background-image: url("../img/main/images/albufera.webp");
  }
  
  .galery-image.i {
    background-image: url("../img/main/images/albufera.webp");
  }
  
  .galery-image.j {
    background-image: url("../img/main/images/albufera.webp");
  }
  
  .galery-image.k {
    background-image: url("../img/main/images/albufera.webp");
  }
  
  .galery-image.l {
    background-image: url("../img/main/images/albufera.webp");
  }
  
  /* FIN DE LA GALERIA DE IMAGENES */


.ulOrg {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 7rem;
}

.ulOrg li {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.imgOrg {
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
}

.ulOrg li:hover .imgOrg {
    transition: transform 0.3s;
    filter: brightness(0.9);
}

.ulOrg li:hover {
    text-decoration-line: underline;
}



/* INICIO DEL FOOTER */

.footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 70px 70px 0px 70px;
    background-color: var(--background);
    color: #000;
}

.footer-container {
    display: grid;
    grid-template-rows: auto auto;
    gap: 20px;
}

.footer-left {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.footer-right {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    text-align: right;
}

.footer-right h2 {
    font-size: 55px;
    font-weight: bold;
    text-align: end;
    margin-top: 0px;
    margin-bottom: 30px;
}

.logo {
    width: 100px;
    margin-bottom: 30px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.footer-links li {
    margin-bottom: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #FF6600;
    font-weight: bold;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.circle {
    width: 30px;
    height: 30px;
    background-color: #D9D9D9;
    border-radius: 50%;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.form-input {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    width: 70%;
}

.input {
    width: 60%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid var(--primary);
    border-radius: 50px;
    background-color: var(--background);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-policies {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.footer-policies a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
}

.btn-footer {
    padding: 15px 20px;
    background-color: var(--background);
    color: black;
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: bold;
    font-size: 17px;
    cursor: pointer;
}

.btn-footer:hover {
    background-color: var(--primary);
    color: white;
}


nav {
  font-family: "Baloo Tamma 2";
  font-size: 19px;
  height: 12%;
  width: 100%;
  display: flex;
  gap: 40%;
  justify-content: space-around;
  align-items: center;
  background-color: var(--background);
  position: fixed;
  top: 0;
  z-index: 10;
}

.nav-logo img {
  height: 60px;
}

.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 15px;
  align-items: center;
}

.nav-item a {
  display: flex;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  color: var(--primary);
  font-weight: bold;
  transition: background-color 0.5s ease, color 0.3s ease;
}

.nav-item a:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger-menu span {
  height: 3px;
  width: 25px;
  background: var(--primary);
  margin: 4px 0;
  transition: 0.4s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  align-items: center;
  background-color: var(--background);
  width: 100%;
}

.mobile-nav .nav-list {
  flex-direction: column;
}

.mobile-nav .nav-item {
  margin: 10px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-profile {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.active {
    display: flex;
  }
}

  .form-input {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    width: 71.3%;
  }
  
  .input1,
  .input2{
    padding: 15px;
    font-size: 16px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    background-color: var(--background);
  }
  
  .input1{
    width: 38%;
  }
  
  .input2{
    width: 62%;
  }

.searchbar {
    display: flex;
    justify-content: start;
    align-items: center; /* Mejor alineación vertical */
    gap: 10px;
    border: 3px solid var(--primary);
    border-radius: 50px;
    margin-top: 6rem;
    
    padding-top:1.1rem; 
    padding-bottom:1.1rem;
    padding-left:0.9rem;    /* Reducido para evitar que crezca demasiado */
    max-width: 600px;
    width: 100%; /* Esto lo hace más adaptable */
}

.profile-icon {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
  }
  
  .btn-profile img {
    height: 20px;
    width: 20px;
  }
  
  .btn-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; 
    padding: 15px 20px;
    background-color: var(--primary); 
    color: white; 
    border: none; 
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold; 
    font-family:"Varela Round"; 
    cursor: pointer; 
  }
  
  
  .btn-profile{
    padding: 15px 20px;
  }

  a{
    text-decoration: none;
  }

.footer-left a:hover {
    border-bottom: 2px solid var(--primary); 
  }
  
  .footer-bottom a:hover {
    border-bottom: 2px solid black; 
  }

  .footer-container {
    height: 50vh;
    display: flex;
    justify-content: space-between;
  }
  
  .footer-left {
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: start;
  }

  input::placeholder{
    color: #1c1c1c;
  }

  
.footer-bottom a:hover {
  border-bottom: 1px solid black; 
}