* {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.header {
    background: rgba(30, 30, 30, 0.55);
    color: #fff;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    min-height: 70px;
    box-shadow: 0 2px 8px #223;
    backdrop-filter: blur(6px);
    transition: background 0.3s;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    position: relative;
}

.header.scrolled {
    background: rgba(30, 30, 30, 0.75);
}

.icono {
    height: 50px;
    width: auto;
    z-index: 2;
    transition: height 0.3s;
    margin-right: 24px;
}

.menu-alt {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: #fff;
    text-shadow: 0 2px 8px #000;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    border-radius: 5px;
    position: relative;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #aa8c65;
}

.main-nav li {
    margin: 0;
    padding: 0;
}

.header h1 {
    text-align: center;
    font-size: 2.2rem;
    font-family: 'Georgia', serif;
    font-weight: bold;
    margin: 0;
    padding: 8px 0 16px 0;
    letter-spacing: 1px;
}

.hero {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
    border-bottom: none;
    
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.8) contrast(1.1) saturate(1.2);
}


/* Estilo general de la sección */
.fundadores {
  background: linear-gradient(180deg, #eee0cd, #ddc8aa ); /* Fondo claro y elegante */
  padding: 40px 20px;
  text-align: center;
  color: #333;
}

/* Título principal */
.fundadores h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 700;
  color: #2c3e50; /* Azul elegante */
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

/* Línea decorativa debajo del título */
.fundadores h2::after {
    content: "";
    display: block;
    width: 60%;
    height: 3px;
    background: #8A4A3C; /* Verde elegante */
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

/* Contenedor de los fundadores */
.fundadores-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

/* Tarjeta de cada fundador */
.fundador {
  background: #e7e6e6;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animación hover */
.fundador:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  background-color: #d8bdb7;
}

/* Imagen del fundador */
.fundador img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%; /* Foto redonda */
  border: 4px solid #8A4A3C;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

/* Pequeña animación a la foto */
.fundador:hover img {
  transform: scale(1.05);
}

/* Nombre del fundador */
.fundador h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

/* Texto del fundador */
.fundador p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

/* Párrafo general de la historia */
.fundadores-historia {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  font-style: italic;
  padding: 20px;
  background: #e7e6e6;
  border-left: 5px solid #8A4A3C;
  border-radius: 8px;
}

#nosotros {
  padding: 60px 20px;
  background-color: #e7e6e6;
  text-align: center;
  background: linear-gradient(to top, #eee0cd, #ddc8aa ); /* Fondo claro y elegante */;
  border: none;
  box-shadow: none;
}

#nosotros h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 700;
  color: #2c3e50; /* Azul elegante */
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  
}

.nosotros h2::after {
    content: "";
    display: block;
    width: 60%;
    height: 3px;
    background: #27ae60; /* Verde elegante */
    margin: 10px auto 0 auto;
    border-radius: 2px;
    padding: auto;
}

.contenedor-tarjetas {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.tarjeta {
  background: #e7e6e6;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  max-width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  background-color:#d8bdb7;
}

.tarjeta h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #8A4A3C; /* Verde elegante */
}

.tarjeta p {
  color: #555;
  line-height: 1.6;
  font-size: 1.05em;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #8A4A3C; 
    color: #ffffff;
    padding: 1rem 0.5rem;
    width: auto;
    border-top: none;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}
.footer-marcas {
    text-align: center;
    margin-bottom: 1rem;
    justify-content: center;
    align-items: center;
}

 .footer-marcas img {
    height: 80px;
    width: auto;
    margin: 0;
    z-index: 2;
}

.footer-rrss {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.social-rrss-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1rem;
    align-items: center;
}

.legal-info p {
    margin: 0 0 0.5rem 0; 
    text-align: center;
}

.social-rrss-links a {
    color: #ffffff;
    font-size: 2rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-rrss-links a:hover {
    color: #e0e0e0;
    transform: scale(1.2);
}

.legal-info {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

.legal-info a {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-info a:hover {
    color: #e0e0e0;
}

/* Menú desplegable */
#menu_bar {
    display: none;
}

.menu-alt {
    display: none;
    cursor: pointer;
    padding: 10px;
    color: #fff;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .menu-alt {
        display: block;
    }
    .header-container {
        justify-content: space-between;
    }
    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(95, 95, 95, 0.7);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    #menu_bar:checked ~ .header .main-nav {
        transform: translateX(0);
    }
}

@media (min-width: 769px) {
    .header-container {
        justify-content: center;
    }
    .menu-alt {
        display: none;
    }
    .main-nav {
        margin-left: auto;
        transform: none;
        background: none;
        box-shadow: none;
        backdrop-filter: none;
    }
    .main-nav ul {
        flex-direction: row;
        gap: 30px;
        padding: 0;
        align-items: center;
    }
    .main-nav a {
        padding: 10px 15px;
        text-align: center;
        border-radius: 5px;
    }
}