/* Transiciones suaves para logos y header */
.logo img {
  transition: height 0.4s cubic-bezier(0.4,0,0.2,1), max-width 0.4s cubic-bezier(0.4,0,0.2,1), max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.header-container {
  transition: height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* Puedes modificar el tamaño de los logos en móvil aquí:
   - El primer logo (Del Gordo): .logo img:not([alt="logoExito"])
   - El logo de Éxito: .logo img[alt="logoExito"]
   Cambia los valores de height o max-width según tu preferencia.
*/


@font-face {
  font-family: 'dimbo';
  src: url('../src/assets/fonts/DIMBO REGULAR.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* Header general */
.header-container {
  background-color: #de0a17;
  height: 100px;
  margin-top: -15px;
  z-index: 3;
  position: relative;
  background-size: 200px 200px;
  background-position: right 28px top 10px;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;

  font-family: "dimbo", Arial, sans-serif;
}

/* Logo contenedor */
.logo {
  height: 100%;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding-top: 1.2rem;
  gap: 3em; /* Espacio entre los logos */
}

/* Imagen del logo principal */
.logo img {
  height: 6rem;
  width: auto;
  max-width: 100%;
  margin-top: 3.2rem;
}

/* Logo de Éxito más grande */
.logo img[alt="logoExito"] {
  height: 7rem;
}

/* Ola decorativa */
.wave-header {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
  line-height: 1;
  margin-top: -3px;
  transform: scaleY(-1);
  filter: drop-shadow(0px -15px 7px rgba(114, 56, 33, 0.22));
}

/* Header fijo */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
}

/* Evita que el contenido quede debajo del header */
body {
  padding-top: 100px;
}

/* 🔄 Media Queries para Responsividad */
@media (max-width: 768px) {
  .header-container {
    height: 95px;
    background-size: 150px 150px;
    background-position: right 10px top 5px;
  }
  .logo img:not([alt="logoExito"]) {
    height: 4rem;
    max-width: 42vw;
    margin-top: 0.6rem;
  }
  .logo img[alt="logoExito"] {
    height: 5rem;
    max-height: 34vh;
    margin-top: 0.6rem;
  }
  body {
    padding-top: 105px;
  }
  .wave-header{
    margin-top:-1%;
  }
}

@media (max-width: 480px) {
  .header-container {
    height: 80px;
    background-size: 80px 80px;
    background-position: right 2px top 2px;
    padding: 0 0.2rem;
  }
  .logo {
    margin-top: 0;
    gap: 1.2rem; /* Espacio entre los logos en móvil */
    align-items: center;
  }
  .logo img:not([alt="logoExito"]) {
    height: 3.6rem;
    max-width: 46vw;
    margin-top: 1rem;
  }
  .logo img[alt="logoExito"] {
    height: 4.4rem;
    max-height: 15vh;
    margin-top: 1rem;
  }
  .wave-header{
    margin-top: 0;
    height: 32px;
  }
  .wave-header svg {
    height: 32px;
    display: block;
    width: 100vw;
  }
  body {
    padding-top: 88px;
  }
}
@media (max-width: 10px){

  .wave-header svg {
    height: 200px;
  }
   .logo img[alt="logoExito"] {
    height: 4.4rem;
    max-height: 15vh;
    margin-top: 1rem;
}
.logo {
    margin-left: 0px;
  }
}