/* General */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3 {
    text-align: center;
}

a {
    text-decoration: none;
    color: white;
}

a:hover {
    color: #D19A76;
}

/* Header */
header {
    background-color: #333;
    padding: 10px 0;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-list li {
    display: inline;
}

/* Sección 1 */
.seccion1 {
    text-align: center;
    padding: 20px 20px;
    background-color: #ffffff;
}

.logo {
    max-height: 150px;
}

.slogan {
    font-size: 2.5em;
    color: #4A2C2A;
}

/* Sección 2 */
/* background: linear-gradient(135deg, #c6e6f5, #f2c9dd); */
/* background: linear-gradient(135deg, #4A2C2A 0%, #6B4A3C 50%, #A67B5B 100%); */
/* .seccion2 {
    display: flex;
    gap: 20px;
    padding: 50px;
    background: linear-gradient(
        135deg,
        #CBB49A,
        #D6BCA4 50%,
        #EBD5B3 100%
    );
} */

.seccion2 {
    display: flex;
    gap: 20px;
    padding: 50px;
    background-image: url('Fotos/gettyimages-483752419-2048x2048.jpg');
    background-size: cover; /* Ajusta la textura para cubrir toda la sección */
    background-repeat: no-repeat; /* Evita que la textura se repita */
    background-position: center; /* Centra la textura en la sección */
}

.sobre-izquierda {
    max-width: 50%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagen-flotante {
    max-width: 90%;
    border-radius: 10px;
    border: 2px solid #000;
}

.sobre-derecha {
    max-width: 50%;
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recuadro {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    margin: 0 auto; 
}

.recuadro h2 {
    color: #06318d;
}

.recuadro p {
    color: #916C49;
}

/* Sección 3 */
.seccion3 {
    padding: 30px;
    /* background: linear-gradient(135deg, #f0d9b5, #f7f6d9); */
    /* background: linear-gradient(135deg, #EBD5B3 0%, #916C49 50%, #6B4A3C 100%); */
    background: linear-gradient(
        135deg,
        #EBD5B3, /* Color base */
        #D9C2A6 50%, /* Color ligeramente más oscuro */
        #CBB49A 100% /* Tono más oscuro al final */
    );
    text-align: center;
}

.seccion3 h1 {
    font-size: 2em;
    color: #06318d;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.tarjetas-contenedor {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Asegura que las tarjetas se ajusten en pantallas pequeñas */
}

.tarjeta {
    max-width: 300px;
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tarjeta-imagen {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
    border: 1px solid #666;
}

.tarjeta h3 {
    font-size: 1.5em;
}

.tarjeta p {
    color: #916C49;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 10px; /* Reducir un poco el padding lateral */
}

.footer-botones {
    display: flex; /* Activar flexbox */
    justify-content: center; /* Centrar los elementos horizontalmente */
    align-items: center; /* Alinear verticalmente */
    gap: 20px; /* Espaciado entre los elementos */
    flex-wrap: wrap; /* Permitir ajuste en pantallas pequeñas */
    margin-bottom: 10px; /* Separar del copyright */
}

.footer-botones p {
    margin: 0; /* Eliminar márgenes extra */
}

.footer-botones a {
    text-decoration: none; /* Sin subrayado */
    color: white;
    font-size: 0.95em;
}

.footer-botones a:hover {
    color: #D19A76;
}

.copyright {
    font-size: 0.95em;
    margin-top: 10px;
}

/* Esta parte es de redes sociales */
.social { 
    margin-block: 24px; 
    text-align: center; 
}
.social h2 {
  font: 700 1.4rem/1.2 system-ui, sans-serif;
  color: #f8e9cf; /* ajusta al tema de tu sitio */
  margin-bottom: 12px;
}

.social-redes h2{
    color: white;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.social-links a {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;                 /* cuadrado con puntas redondeadas */
  background-image: url('Fotos/gettyimages-483752419-2048x2048.jpg');                /* color de fondo del botón */
  color: #faf9f8;                     /* color del icono */
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: #f3f3f1;
  color: #000;                        /* icono más oscuro al hover */
}

.social-links i {
  font-size: 1.25rem;                 /* tamaño del icono */
}
/* Aquí finaliza la parte de redes sociales */

/* Media Queries para Responsividad */
@media (max-width: 768px) {
    /* Header */
    .nav-list {
        flex-direction: column;
        gap: 10px;
    }

    /* Sección 1 */
    .logo {
        max-width: 90%; /* Ajustar ancho del logo */
        max-height: 150px; /* Limitar altura del logo */
        margin: 0 auto; /* Centrar logo */
    }

    /* Sección 2 */
    .seccion2 {
        padding: 25px 5px;
        flex-direction: column;
        align-items: center;
    }

    .sobre-izquierda, .sobre-derecha {
        max-width: 95%;
    }

    .imagen-flotante {
        max-width: 90%;
        margin-bottom: 20px;
    }

    .recuadro {
        max-width: 90%;
    }

    /* Sección 3 */
    .tarjetas-contenedor {
        flex-direction: column;
        gap: 20px;
    }

    .tarjeta {
        max-width: 90%; /* Tarjetas ocupan 90% del ancho */
        margin: 0 auto;
    }
}

/* Ajustes adicionales para pantallas muy pequeñas */
@media (max-width: 480px) {
    .slogan {
        font-size: 1.8em;
    }

    .seccion3 h1 {
        font-size: 1.5em;
    }

    .tarjeta {
        padding: 15px;
    }

    footer {
        font-size: 0.8em;
    }

    .logo {
        max-height: 120px;
    }
}
