/* Reset y estilos base */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: arial;
    background-color: #f8f5f2;
    color: #333;
    line-height: 1.6;
}


/* Header */
.imagenprincipal {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.imgPrincipal {
    height: 80px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.imgPrincipal:hover {
    transform: scale(1.05);
}

/* Logo principal */
.logo {
    display: flex;
    justify-content: center;
    padding: 30px 0;
    background: linear-gradient(135deg, white 0%, white 100%);
}

.
.logo {
    justify-content: center;
    display: flex;
    padding: 30px 0;
    background: white; 
}

.logo_cafeteria {
  height: 250px;
  transition: all 0.3s ease;
 
}

.logo_cafeteria: {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Botones principales */
.botones_principales {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0px;
    background-color: white;
}

.botones_principales a {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.botones_principales img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 15px;
   
    border: 0px solid white;
}

.botones_principales img:hover {
   
}

/* Sección principal */
.seccion {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0b5687 0%, #1a7fc9 100%);
    color: white;
}

.seccion h1 {
    font-family: arial;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}

.seccion h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ffcc5c;
    border-radius: 2px;
}

.seccion > img {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Secciones de contenido */
.antecedentes,
.objetivo,
.mision,
.vision {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 260px 100px;
    gap: 40px;
}

.antecedentes {
    background-color:white;
}

.objetivo {
    background: linear-gradient(135deg, #0b5687 0%, #1270b0 100%);
}

.mision {
    background: solid(135deg, white 0%, white  100%);
}

.vision {
    background: linear-gradient(135deg, #0b5687 0%, #09385c 100%);
}

/* Contenedores de texto */
.antecedentes-texto,
.objetivo-texto,
.mision-texto,
.vision-texto {
    flex: 1;
}

.antecedentes .rectangulo_1 {
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.antecedentes h2,
.antecedentes p {
    color: #0b5687 !important;
}
.mision h2,
.mision p {
    color: #052d49 !important;
}


}

.rectangulo_1:hover {
    transform: scale(1.01);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

/* Títulos */
.antecedentes h2,
.objetivo h2,
.mision h2,
.vision h2 {
    font-family: arial;
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.antecedentes h2::after,
.objetivo h2::after,
.mision h2::after,
.vision h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #ffcc5c;
    border-radius: 2px;
}

/* Texto */
.antecedentes p,
.objetivo p,
.mision p,
.vision p {
    font-family: arial;
    font-size: 1.1rem;
    color: white;
    line-height: 1.7;
}

/* Imágenes */
.antecedentes img,
.objetivo img,
.mision img,
.vision img {
    width: 70%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border: 5px solid white;
    transition: transform 0.5s ease;
}

.antecedentes img:hover,
.objetivo img:hover,
.mision img:hover,
.vision img:hover {
    transform: scale(1.03);
}

.imagen-contenedor {
    position: relative;
    display: inline-block; 
    background-color: white;
    padding: 5px; 
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.imagen-contenedor img {
    display: flex;
    border-radius: 10px; 
    width: 100%;
    height: auto;
}
/* Marco blanco reducido */
.imagen-marco {
    display: inline-block;
    background: white;
    padding: 8px; /* Grosor del marco (ajustable) */
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transform: scale(1); /* Reduce todo el conjunto al 90% */
    transform-origin: center;
}

/* Imagen interior */
.imagen-marco img {
    width: max-content; /* Ancho fijo pequeño (ajustable) */
    height: auto;
    border-radius: 8px;
    display: block;
}

/* ===== FOOTER ===== */
.footer-rectangulo {
  width: 100%;
  background-color: #044067;
  color: white;
  text-align: center;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.logo-footer {
  width: 220px;
  height: auto;
  margin-bottom: 20px;
}

.footer-rectangulo p {
  font-size: .5rem;
  margin-top: 10px;
}
/* Animación para el logo */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .antecedentes,
    .objetivo,
    .mision,
    .vision {
        padding: 50px;
    }
}

@media (max-width: 992px) {
    .botones_principales a {
        min-width: 200px;
    }
    
    .antecedentes,
    .objetivo,
    .mision,
    .vision {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 30px;
    }
    
    .antecedentes-texto,
    .objetivo-texto,
    .mision-texto,
    .vision-texto {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .antecedentes img,
    .objetivo img,
    .mision img,
    .vision img {
        width: 80%;
    }
    
    .antecedentes h2::after,
    .objetivo h2::after,
    .mision h2::after,
    .vision h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .seccion h1 {
        font-size: 2rem;
    }
    
    .logo_cafeteria {
        height: 180px;
    }
    
    .antecedentes h2,
    .objetivo h2,
    .mision h2,
    .vision h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .botones_principales {
        flex-direction: column;
        align-items: center;
    }
    
    .botones_principales a {
        width: 90%;
    }
    
    .seccion {
        padding: 30px 15px;
    }
    
    .seccion h1 {
        font-size: 1.8rem;
    }
    
    .antecedentes,
    .objetivo,
    .mision,
    .vision {
        padding: 30px 20px;
    }
    
    .antecedentes img,
    .objetivo img,
    .mision img,
    .vision img {
        width: 100%;
    }
    
    .rectangulo_1 {
        padding: 20px;
    }

    
}
/* ===== SLIDER DE IMÁGENES ===== */
.seccion-slider2 {
text-align: center;
padding: 40px 20px;
background-color: #black;
}

.slider {
position: relative;
width: 90%;
max-width: 600px;
margin: 20px auto;
overflow: hidden;
border-radius: 10px;
background-color: #fff;
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.imagenes-slider2 {
display: flex;
transition: transform 0.5s ease-in-out;
}

.slide2 {
min-width: 100%;
box-sizing: border-box;
display: none;
}

.slide2 img {
width: 100%;
height: auto;
display: block;
object-fit: cover;
}

.prev,
.next {
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: 2.5rem;
color: #fff;
background: rgba(0,0,0,0.5);
border: none;
cursor: pointer;
padding: 8px 12px;
z-index: 2;
border-radius: 50%;
transition: background 0.3s;
}

.prev:hover,
.next:hover {
background: rgba(0,0,0,0.8);
}

.prev {
left: 10px;
}

.next {
right: 10px;
}

.slide2.activo {
display: block;
}
