/*
Colors:
    verd: #8ec099
    verd clar: #c6e2c9
    gris: #383732
    #95b291
*/


@font-face {
    font-family: Druk-Medium;
    src:url('../assets/fonts/DrukTextWide-Medium-Trial.woff2');;
   }

   @font-face {
    font-family: Apple;
    src:url('../assets/fonts/System San Francisco Display Regular.ttf');;
   }


* {
    margin: 0;
    padding: 0;
    font-family: 'Apple', Arial, Helvetica, sans-serif; 
    /* color: #383732; */
    box-sizing: border-box;
    scroll-behavior: smooth;

}

body {
display: flex;
flex-direction: column; 
height: 100%;
  min-height: 100vh;
}

 .no-mostrar {
      display: none !important;
    }

footer {
    background-color: #383732;
    width: 100%;
    text-align: center;
    /* margin-top: 101px; */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 101px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 25px;
  align-self: center;
  width: 100%;
  color: white;
  padding-top: 50px;
}
.footer-content a {
    color: #edf5ee;
    text-decoration: none;

}

.footer-content div h3 {
  margin-bottom: 20px;
  font-size: 30px;
}

.logo-footer {
  max-width: 300px;
  max-height: 300px;
}

.logo-footer img {
  width: 100%;
  height: 100%;
}



.footer-content ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;

}


.bottom-bar {
  background-color: #1e1e1b;
  color: white;
  padding: 10px;
}

.bottom-bar a {
  color: #8ec099;
  text-decoration: none;
}

footer >  a, footer > p {
  color: white;
}

main { 
    background-color: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center; 
    /* padding-bottom: 101px; */
}

.container {
  max-width: 1400px;
    width: 90%;
  /* max-width: 1200px; */
  margin: auto;
  padding: 2rem 1rem;
}

.font-druk-medium {
    font-family: 'Druk-Medium',Arial, Helvetica, sans-serif;
    font-size: 45px;
}

#page-title {
    color: #fbc14e;
}


.menu-inicial {
    position: fixed;
    top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(56, 55, 50, 0);
    color: #ffffff !important;
    padding: 7px 30px;
    justify-self: center;
    z-index: 10;
    width: 100%;
    transition: background-color 0.6s ease; 

}

.logo {
  width: 90px;
  height: 90px;
  /* border-radius: 100%; */
 
}

.call-to-action {
display: flex;
flex-grow: 1;
flex-basis: 0;
justify-content: end;
}

.call-to-action a {
  border: 2px solid #fff;
  /* border: 2px solid #383732; */
  padding: 10px;
  border-radius: 5px;
}

.menu-inicial .links {
  display: flex;
  gap: 20px;
  flex-grow: 1;
  flex-basis: 0;
  align-items: center;
}

.menu-inicial.scrolled {
   background-color: rgba(56, 55, 50, 0.9);
   backdrop-filter: blur(10px);
}

#mobile-menu-icon {
  display: none !important;
  font-size: 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;

}

#mobile-menu-icon.animate {
  transform: rotate(90deg);
  opacity: 0.7;
}




.menu-inicial a, .menu-inicial p {
    text-decoration: none;
    color: #ffffff;
    /* color: #383732; */
    font-family: 'Druk-Medium',Arial, Helvetica, sans-serif;
}

.background-img {
    position: relative;
    width: 100%;
    height: 100vH;
    /* background-image: url('../assets/imgs/quedada-tortugues.jpeg'); */
    background-image: url('../assets/imgs/logo.png');
    background-size: contain; /*Asegura que l'imatge ocupta tot el contenidor */
    background-repeat: no-repeat; /*Evita la repetició de l'imatge*/
    background-position: center center;
   
}

.background-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.3); Capa negra amb 50% d'opacitat */
}



.scroll-down {
  position: absolute;
    bottom: 3vh;
    width: 100%;
    text-align: center;
    /* color: #fff; */
    color: #383732;
    font-size: 13px;
    z-index: 8;
}

 .mouse-down {
  position: relative;
  display: flex;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
  height: 50px;
  width: 30px;
  line-height: 60px !important;
  border-radius: 30px;
  /* border: 2px solid #ffffff; */
    border: 2px solid #383732;
  display: inline-block;
  /* color: #fff; */
  color: #383732;
  font-size: 12px;
}
 


/*Qui som*/

#qui-som {
    background-color: #edf5ee;
    /* background-color:rgba(149, 178, 145, 0.4); */
    /* align-self: center; */
    padding: 20px 50px  120px 50px;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

#qui-som h2 {
    text-align: center;
    /* font-size: 45px; */
}

#qui-som hr {
    width: 60%;
    align-self: center;
    height: 3px;
    background-color: #383732;
    margin-bottom: 55px;
}

.contenedor-qui-som {
    width: 100%;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.div-imatge-qui-som {
    max-height: 700px;
    max-width: 1000px;
}

.div-imatge-qui-som img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}


.qui-som-text  {
     width: 100%; 
    padding: 0px 25px;
   font-size: 18px;
   display: flex;
    flex-direction: column;
    gap: 10px;
}



.qui-som-text  span {
    font-weight: bold;
}

/*Volta Menorca*/

.slider {
    /* aspect-ratio: 10 / 16; */
    width: 100%;
    position: relative;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* Hace que las etapas se ajusten al scroll */
    gap: 15px; /* Espacio entre etapas */
    padding: 10px; /* Espacio interno */
    user-select: none;
    cursor: grab;
    scrollbar-width: none; /*Ocultar barra scroll a Firebox */
    scroll-behavior: smooth; /* Hace el scroll más fluido */
    transition: transform 0.2s ease-out; /* Agrega suavidad al movimiento */

}

.slider::-webkit-scrollbar {
    display: none; /* Ocultar en Chrome, Safari y Edge */
}

#volta-menorca {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 150px;
    gap: 30px;
    width: 100%;
}

.contenedor-text-volta-menorca {
    width: 90vW;
    background-color: #383732;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
}

.contenedor-text-volta-menorca h2 {
    /* font-size: 45px; */
    color: #ffffff;
}

.contenedor-text-volta-menorca h3 {
    font-size: 30px;
    font-style:italic ;
    color: #ffffff;

}

#volta-menorca .etapa {
    flex: 0 0 33%;
    object-fit: cover;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2); /* Sombra para efecto 3D */
    border-radius:20px;
    width: 100%;
    padding: 15px;
    align-items: center; 
    color: #8ec099;
    gap: 25px;

}

#volta-menorca .info-etapa {
   text-align: center;
    width: 100%;
    color: #8ec099;
}



#volta-menorca .detalls-etapa {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-right: 40px;
}

#volta-menorca .detall-etapa {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;
    gap: 15px;
}

#volta-menorca P  {
    color: #383732;
    font-weight: bold;
}

.ubicacio-etapa {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.ubicacio-etapa i {
    color: #8ec099;
}

.foots-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.detall-etapa .font-awesome-icon {
    font-size: 55px;
    color: #8ec099;
}

.etapa .mes-info {
    background-color: #8ec099;
    color: #383732;
    font-size: 15px;
    padding: 10px;
    border-radius: 6px;
    width: 125px;
    border: none;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2); /* Sombra para efecto 3D */
    text-align: center;
    text-decoration: none;
}

.etapa .mes-info:hover {
    cursor: pointer;
}



.nav-btn {
    background-color: #ddd;
    border: none;
    padding: 7px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.nav-btn.active {
    background-color: #383732;
    color: white;
}

/*Qui som*/

.div-podcast {
    background-image: url('../assets/imgs/logo.png'); 
    background-size: cover;
    background-position: center;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Alinear els controles baix */
    align-items: center;
    max-width: 1200px;
    height: 400px; 
    position: relative;
    margin-right: 35px;
}

.audio-wrapper {
    background: rgba(0, 0, 0, 0.7); /* Fondo semitransparente */
    padding: 10px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    display: flex;
    justify-content: center;
} 

.contenedor-podcast {
    margin-top: 100px;
    flex-direction: row-reverse;
    padding: 0px 30px;
}


.podcast-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
    
}

.podcast-text div {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 18px;

}

.podcast-text h3 {
    font-size: 30px;
}


/* CSS de etapa individual*/

#etapa-individual {
    margin-top: 34px; /* marge per separar el continfut de la pagina del header*/
    display: flex;
    flex-direction: column;
    gap: 100px;
    align-items: center;
    width: 100%;
}

.etapa-banner {
  position: relative;
  width: 100%;
  height: 200px;
  background-image: url('../assets/imgs/banner.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  color: white; /* para que el texto se vea claro */
  overflow: hidden;
}

.etapa-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* capa oscura */
  z-index: 1;
}

.contenedor-etapa {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 45px;
    width: 100%;
}

.contenedor-etapa > div:first-child {
display: flex;
flex-direction: column;
gap: 50px;
}


.descripcio-etapa {
    max-width: 800px;
    font-size: 18px;
}

.icones-informacio-etapa-individual {
  display: flex;
  justify-content: space-between;
  color: #383732;
  font-size: 30px;
}

.icones-informacio-etapa-individual >  div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.icones-informacio-etapa-individual >  div > i {
  font-size: 50px;
 color: #383732;

}  


.dificultad-etapa {
  display: flex;
  gap: 5px;
}

.dificultad-etapa i {
  color: #f1bf6a;

}

/* inici CSS formulari inscripcio*/



/* From Uiverse.io by kyle1dev */ 
.modern-form {
    --primary:  #8ec099;
    --primary-dark:#c6e2c9;
    --primary-light: rgba(59, 130, 246, 0.1);
    --success: #10b981;
    --text-main:  #383732;
    --text-secondary: #64748b;
    --bg-input: #f8fafc;
  
    position: relative;
    width: 400px;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -2px rgba(0, 0, 0, 0.05),
      inset 0 0 0 1px rgba(148, 163, 184, 0.1);
    font-family:
      system-ui,
      -apple-system,
      sans-serif;
  }
  
  .form-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 24px;
    text-align: center;
    letter-spacing: -0.01em;
  }
  
  .input-group {
    margin-bottom: 16px;
  }
  
  .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .form-input {
    width: 100%;
    height: 40px;
    padding: 0 36px;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: var(--bg-input);
    color: var(--text-main);
    transition: all 0.2s ease;
  }
  
  .form-input::placeholder {
    color: var(--text-secondary);
  }
  
  .input-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    pointer-events: none;
  }
  
  .password-toggle {
    position: absolute;
    right: 12px;
    display: flex;
    align-items: center;
    padding: 4px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .eye-icon {
    width: 16px;
    height: 16px;
  }
  
  .submit-button {
    position: relative;
    width: 100%;
    height: 40px;
    margin-top: 8px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
  }
  
  .button-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    );
    transform: translateX(-100%);
    transition: transform 0.5s ease;
  }
  
  .form-footer {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
  }
  
  .login-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  .login-link span {
    color: var(--primary);
    font-weight: 500;
  }
  
  /* Hover & Focus States */
  .form-input:hover {
    border-color: #cbd5e1;
  }
  
  .form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-light);
  }
  
  .password-toggle:hover {
    color: var(--primary);
    transform: scale(1.1);
  }
  
  .submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow:
      0 4px 12px rgba(59, 130, 246, 0.25),
      0 2px 4px rgba(59, 130, 246, 0.15);
  }
  
  .submit-button:hover .button-glow {
    transform: translateX(100%);
  }
  
  .login-link:hover {
    color: var(--text-main);
  }
  
  .login-link:hover span {
    color: var(--primary-dark);
  }
  
  /* Active States */
  .submit-button:active {
    transform: translateY(0);
    box-shadow: none;
  }
  
  .password-toggle:active {
    transform: scale(0.9);
  }
  
  /* Validation States */
  .form-input:not(:placeholder-shown):valid {
    border-color: var(--success);
  }
  
  .form-input:not(:placeholder-shown):valid ~ .input-icon {
    color: var(--success);
  }
  
  /* Animation */
  @keyframes shake {
    0%,
    100% {
      transform: translateX(0);
    }
    25% {
      transform: translateX(-4px);
    }
    75% {
      transform: translateX(4px);
    }
  }
  
  .form-input:not(:placeholder-shown):invalid {
    border-color: #ef4444;
    animation: shake 0.2s ease-in-out;
  }
  
  .form-input:not(:placeholder-shown):invalid ~ .input-icon {
    color: #ef4444;
  }


  .msg-preu-inscripcio {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    font-weight: 100;
  }

  .msg-preu-inscripcio span {
    font-weight: bold;
  }

  .misatge-error {
    text-align: center;
    margin-top: 10px;
    color: #ef4444;
    font-size: 16px;
  }
  

/*final css formulari inscripcio*/

#etapa-individual .titol-etapa {
   position: relative; /*posam positon realtive perque quedi damunt la capa fosca del banner*/
  margin-top: 70px;
  font-size: 30px;
  text-align: center;
  color: #fff;
  z-index: 2; /*posam z-index major que la capa fosca del banner */
  
}

#map {
  height: 500px !important;
  width: 100%;
  align-self: center;
}

.leaflet-container {
  z-index: 1 !important; /* Evita que esté por encima de otros objetos */
}


/* CSS de la tenda*/
.tenda {
    display: flex;
    flex-direction: column;
    align-items: center;
   height: 100%;
   width: 100%;
   margin-top: 50px;

}



.section-articles-tenda {
    display: grid;
    grid-template-columns: auto auto auto;
    
    gap: 50px;
    padding: 20px;
}

.article {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height:350px;
}

.article div {
    padding: 0px  10px 15px 10px ;
}

.preu {
    font-weight: bold;
}

.article img {
    height: 300px;
    border-radius: 10px;
    align-self: center;
}


/* ------- Inici css formulari alta soci -------*/

.main-alta-soci {
margin-top: 100px;
}
.main-alta-soci > div {
  display: grid;
  grid-template-columns: 60% 40%;
}

.main-alta-soci div img {
  width: 100%;
  /* height: 100%;*/
}
.formulari-soci {
  float: right;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 5px solid #383732;
}
.formulari-soci h3   {
  text-align: center;
}

.formulari-soci label p {
  margin-top: 10px;
}

.formulari-soci input {
  margin-top: 5px;
}
.formulari-soci .preu-producte {
    background-color: #e6f4ea;
    border: 1px solid #b7dfc4;
    padding: 0.8rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    color: #1b4332;
    text-align: center;
}

.checkbox-terminis {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.checkbox-terminis input[type="checkbox"] {
    transform: scale(1.2);
    cursor: pointer;
}

.checkbox-terminis a {
    color: #2d6a4f;
    text-decoration: underline;
}

.checkbox-terminis a:hover {
    text-decoration: none;
}

.valid-fins {
    font-size: 1rem;
    color: #333;
    background-color: #f5f5f5;
    padding: 0.75em 1em;
    border-left: 4px solid #b7dfc4;
    margin: 1em 0;
    border-radius: 4px;
    font-weight: 500;
}

/* ------- Final css formulari alta soci -------*/


/* ------- Inici css colaboradors  -------*/

#colaboradors h2{
  text-align: center;
  margin-top: 100px;
  /* font-size: 45px; */
}

#colaboradors .logos-colaboradors {
  margin-top: 20px;
  max-width: 100%;
}

#colaboradors .logos-colaboradors div img {
  width: 100%;
  height: 100%;
  max-height: 200px;
}

/* slider automatic */
.slider-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  position: relative;
}

.slider-track {
  display: flex;
  /* width: max-content; */
  animation: scrollSlider 25s linear infinite;
    --track-width: 1000px;

}

.slide {
  flex: 0 0 auto;
  width: 200px;
  margin: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Animació per moure els logos */
@keyframes scrollSlider {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--track-width)));
  }
}

/* más rápido en móvil */
@media (max-width: 768px) {
  .slider-track {
    animation-duration: 20s;
  }
}

/* ------- Final css colaboradors  -------*/



/* ------- Inici css pagina contacte -------*/

#pagina-contacte {
  margin-top: 150px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 15px;
}
.iconos-contacte {
  display: flex;
  gap: 30px;
  justify-content: center;

}


.contact-section {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-section p {
  color: #666;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

button[name="submit"] {
  background-color: #383732;
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #262623;
}

.icon-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 20px;
}

.icon-box i {
  background-color: #383732;
  color: white;
  padding: 10px;
  border-radius: 50%;
  font-size: 25px;
}

.icon-box a {
  text-decoration: none;
  color: #383732;
}

/* ------- Final css pagina contacte ------- */

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* Capa blanca translúcida */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #cce0ff;
  border-top: 6px solid #007bff; /* Azul más fuerte */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
  #resultat-enviar {
    margin-top: 15px;
    
    font-weight: bold;
    text-align: center;
  }

  #resultat-enviar.correcte {
    color: green;
  }

   #resultat-enviar.error {
    color: #ef4444;
  }


  body.no-scroll {
    overflow: hidden;
    }

    /* ------- Inici css galleria imatges ------- */

    .container-galeria {
      display: flex;
      flex-wrap: wrap;
      gap: 50px;
      margin-top: 100px;
      justify-content: center;
      align-items: flex-start;
    }

    .galeria {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 400px;
      max-height: 350px;
      /* border: 1px solid #383732; */
       box-shadow: 4px 4px 8px rgba(0,0,0,0.15), 
              -4px -4px 8px rgba(255,255,255,0.7);
      border-radius: 10px;
      overflow: hidden;
    }

    .galeria > div {
      width: 100%;
      overflow: hidden;
      text-align: center;
    }

    .galeria > div > img {
      max-width: 100%;
      max-height: 100%;
      max-height: 300px;
    }


    .titol-galeria {
      padding: 10px;
      font-size: 18px;
      color: #383732;
      text-decoration: none;
      text-align: center;
    }

    /* ------- Final css galleria imatges ------- */


  /* ------- Inici css galleria unica d'imatge  ------- */

  .collage-flex {
  display: flex;
  flex-wrap: wrap; 
  gap: 10px;       
  justify-content: center;
  align-items: flex-start; 
  margin-top: 100px;
  padding: 50px;
}

/*.collage-flex img {*/
/*  flex: 1 1;      */
/*  max-width: 49%;*/
/*  height: auto;*/
/*  border-radius: 12px;*/
/*  box-shadow: 2px 4px 10px rgba(0,0,0,0.15);*/
/*} */

.img-container {
  position: relative;
  flex: 1 1 48%;
  max-width: 49%;
}

.img-container img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 2px 4px 10px rgba(0,0,0,0.15);
  display: block;
}

.btn-descargar {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.2s ease;
}

.btn-descargar:hover {
  background: rgba(0,0,0,0.9);
}

/* ------- Final css galleria unica d'imatge  ------- */

/* ------- Inici css activitats club  ------- */

.activitats {
  display: flex;
  flex-direction: column;
  gap: 100px;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
}

.activitat {
  display: flex;
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
   /* max-height: 300px; */
   padding: 20px 40px;
}


.activitat > .portada-activitat img {
  max-width: 80%;
  max-height: 100%;
}

.activitat .info-event {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-event h2 {
  font-size: 25px;
}

.descripcio-activitat {
color: #333;
padding-left: 10px;
}

.btn-apuntet {
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 8px;
  background-color: #10b981;
  width: 150px;
  text-align: center;
  color: #383732;
  align-self: flex-end;
}

/* ------- Final css activitats club  ------- */

  
  /* Responsive design */

  @media (max-width:1630px) {
    .menu-inicial .links {
      gap: 15px;
    }

    .menu-inicial a, .menu-inicial p {
    font-size: 13px;
    }

    .menu-inicial {
      gap: 15px;
    }
  }
  
  
  @media (max-width:1024px) {

    

    #mobile-menu-icon {
      display: block !important;
      z-index: 10;
    }

    #mobile-menu-icon:hover {
      cursor: pointer;
    }

    .menu-inicial {
      flex-direction: row-reverse;
      justify-content: center;
    }   

    .menu-inicial > a {
      flex: 1;
      flex-basis: 0;
      text-align: center;
    }


    .contenedor-qui-som {
      flex-direction: column;
      align-items: center;
    }

    .div-imatge-qui-som {
    max-height:none;
    max-width: 500px;
    }
    
    .mobile-menu {
      position: fixed;
    top: 0;
    right: 0;
    width: 90vW;
    height: 100vH;
    background-color: rgba(56, 55, 50, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    }

    .mobile-menu .links {
      flex-grow: 0;
      flex-direction: column;
      align-items: center;
      gap: 35px;
    }

    .mobile-menu .links > a {
      font-size: 20px;

    }

    .mobile-menu .call-to-action {
      flex-grow: 0;
      margin-top: 35px;
    }

    .mobile-menu .call-to-action > a {
      font-size: 20px;
    }

    /*Nomes mostram una etapa al slider*/
    #volta-menorca .etapa {
    flex: 0 0 100%;
    }

    .font-druk-medium {
      font-size: 30px;
    }

    .main-alta-soci > div > img {
      display: none;
    }

     .main-alta-soci > div {
      display: flex;
      justify-content: center;
      align-items: center;
      background-image: url('../assets/imgs/logo.png');
    background-size: cover; /*Asegura que l'imatge ocupta tot el contenidor */
    background-repeat: no-repeat; /*Evita la repetició de l'imatge*/
    background-position: center center;
     }

     .galeria {
      width: 341px;
      /*height: 291px;*/
     }

  }



  @media (max-width: 850px) {
    #map {
      width: 90%;
    }

    .icones-informacio-etapa-individual { 
      justify-content: space-around;
      font-size: 20px;
    }

    .icones-informacio-etapa-individual > div > i {
    font-size: 40px;
    }

    .descripcio-etapa {
    font-size: 16px;
    width: 90%;
    align-self: center;
  }

  #etapa-individual .titol-etapa {
    font-size: 25px;
  }

  .icon-box {
    flex-direction: column;
    font-size: 18px;
  }

  .galeria {
      width: 300px;
      /*height: 250px;*/
     }

     .galeria > .titol-galeria {
      font-size: 15px;
     }

  }

  /* Responsive para tablets (≤768px) */
@media (max-width: 768px) {
  .container {
    padding: 1.5rem 1rem;
  }

  .logo-footer {
    max-width: 100px;
    max-height: 100px;
    aspect-ratio: 1/1;
  }

}

  @media (max-width: 670px) {
    .icon-box {
      font-size: 15px;
    }

    .btn-apuntet {
      align-self: center;
    }
  }

  @media (max-width:600px) {
    .info-event h2 {
      font-size: 20px;
    }
  }

@media (max-width: 530px) {

    .footer-content {
    grid-template-columns: auto;
    grid-template-rows: 1fr 1fr 1fr;
    justify-content: center;
    align-items: center;
    column-gap: 0;
  }


  .logo-footer {
    justify-self: center;
    max-width: 700px;
    max-height: 100px;
    aspect-ratio: 1/1;
  }

  #qui-som {
    padding: 20px 30px  120px 30px;
  }

  .qui-som-text {
    padding: 0;
    font-size: 15px;
  }

  .div-podcast {
    padding: 0;
    margin-right: 0;
    max-width: 400px;
    background-size: contain;
    background-repeat: no-repeat;
    /* background-color: white; */
  }

  .podcast-text div {
    font-size: 15px;
  }

  .contenedor-podcast {
    padding: 0;
  }

  .form-style {
    width: 350px;
  }

  .iconos-contacte {
    flex-direction: column;
  }

}


/* Responsive para móviles (≤480px) */
@media (max-width: 480px) {


  .container {
    padding: 1rem 0.5rem;
  }

  /* .logo-footer {
    display: none;
  } */



  .descripcio-etapa {
    font-size: 14px;
  }

  .modern-form {
    width: 350px;
  }

   .checkbox-terminis {
    font-size: 14px;
  }

  .info-event h2 {
    font-size: 18px;
  }

}

@media (max-width: 380px) {
  .div-podcast {
    max-width: 250px;
  }

  .modern-form {
    width: 300px;
  }

  .checkbox-terminis {
    font-size: 14px;
  }

}
