/* TIPOGRAFÍA POPPINS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* { font-family: 'Poppins', sans-serif;}


body {
    text-align: justify;
    background: #f7f7f7;
}

/*MENÚ SUPERIOR */
#menu {
    background-image: url(../images/pleca.png);
    background-repeat: repeat-x;
    height: 50px;
}

#menu ul li {
    display: inline-block;
}

#menu ul li a {
    text-decoration: none;
    color: #fff;
    width: 100px;
    height: 35px;
    display: block;
    padding-top: 15px;
    text-align: center;
}

#menu ul li a:hover {
    background-color: red;
    transition: ease-in-out 600ms;
}

/*CONTENIDOS */
#contenidos h1, #contenidos h2, #contenidos h3 {
    background-image: url(../images/icono.png);
    background-repeat: no-repeat;
    text-indent: 40px;
    margin: 10px 0;
}

#contenidos p {
    margin: 20px 0;
}


#top-bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1280px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 20px;
    z-index: 999;

    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 0 0 20px 20px;
    transition: all 0.3s ease;
}

#top-bar.scrolled {
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(15px);
}

#logo-mini {
    width: 120px;
}

#btn-contacto {
    background: #b44728;
    padding: 10px 25px;
    border-radius: 20px;
    color: white;
    text-decoration: none;
}


#hero {
    margin-top: 110px;
}

#hero img {
    width: 100%;
    display: block;
    margin: 20px 0;
}


#categorias {
    position: relative;
    margin: 50px 0;
}


#carrusel {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
}


#carrusel .item {
    flex: 0 0 25%;
    margin-right: 30px;
    background: #f3f0ec;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

#carrusel .item:hover {
    transform: translateY(-6px);
}

#carrusel .item img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 15px;
}

#carrusel .item h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2545;
    margin-bottom: 10px;
}


.btn-ir {
    display: inline-block;
    background: #1a2545;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 15px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.25);
    transition: 0.3s ease;
}

.btn-ir:hover {
    background: #233466;
    transform: scale(1.05);
}


.flecha {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: #1a2545;
    color: white;
    border: none;
    padding: 12px 16px;
    font-size: 22px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.25);
    z-index: 10;
}

.flecha.izquierda { left: -20px; }
.flecha.derecha { right: -20px; }

/* RESPONSIVE*/
@media (max-width: 900px) {
    #carrusel .item {
        flex: 0 0 60%;
    }
}

@media (max-width: 500px) {
    #carrusel .item {
        flex: 0 0 90%;
    }
}


#acerca {
    padding: 60px 0;
    margin-top: 50px;
}

.acerca-contenedor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}


.acerca-img img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.1);
}


.acerca-texto {
    max-width: 550px;
}

.acerca-texto h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2545;
    margin-bottom: 15px;
}

.acerca-texto p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}


@media (max-width: 900px) {
    .acerca-contenedor {
        flex-direction: column;
        text-align: center;
    }

    .acerca-img img {
        max-width: 70%;
    }
}


#acerca {
    margin: 80px 0;
    font-family: Poppins, sans-serif;
}

.acerca-contenedor {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.acerca-img img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.acerca-texto {
    flex: 1;
}

.acerca-texto h2 {
    font-size: 32px;
    color: #1a2545;
    margin-bottom: 15px;
}

.acerca-texto p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}


.acerca-bloques {
    margin-top: 30px;
    display: flex;
    gap: 50px;
}

.acerca-bloque h3 {
    font-size: 20px;
    color: #1a2545;
    margin-bottom: 10px;
}

.acerca-bloque ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.acerca-bloque li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 15px;
}

.icono {
    width: 26px;
    height: 26px;
    margin-right: 10px;
}

#acerca ul li {
    display: flex;
    align-items: center;
    gap: 10px; 
    margin-bottom: 10px;
}


.icono {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.acerca-contenedor {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
    text-align: left;
}

.acerca-img img {
    display: block;
    margin: 0;
}


.acerca-texto {
    text-align: left;
}

.acerca-bloque ul li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;              
    text-align: left;
    margin-bottom: 8px;
}


.acerca-bloque ul li .icono {
    width: 28px;
    height: 28px;
    flex-shrink: 0;        
    object-fit: contain;
}
#carrusel .item img {
    width: 100%;
    height: 450px;        
    object-fit: cover;    
    border-radius: 15px;
}



#contenidos h1,
#contenidos h2,
#contenidos h3 {
    color: #b44728 !important;
}


#acerca h2 {
    color: #b44728;
}


#acerca h3 {
    color: #b44728;
}


#carrusel .item h3 {
    color: #b44728;
}
a.btn,
button.btn,
.boton,
.btn-ir,
.categoria a {
  background-color: #b44728 !important;
  border-color: #b44728 !important;
}

#introduccion {
    display: flex;
    justify-content: center; 
    align-items: center;     
    text-align: center;      
    padding: 4rem 2rem;     
    background: #fdfdfd;    
}

#introduccion .intro-contenedor {
    max-width: 800px;        
    font-size: 1.1rem;       
    line-height: 1.7;        
    color: #333;             
    font-family: 'Poppins', sans-serif;
}

#introduccion p + p {
    margin-top: 1.5rem;      
}
.ilustracion-descripcion {
    margin-bottom: 80px; 
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

#pagina {
    max-width: 1280px;
    margin: auto;
    padding: 0 20px;
}


body, html {
    width: 100%;
    overflow-x: hidden;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}


@media (max-width: 768px) {
    #top-bar {
        padding: 8px 15px;
    }

    #logo-mini {
        width: 85px;
    }

    #btn-contacto,
    #btn-menu {
        padding: 7px 15px;
        font-size: 14px;
    }
}


@media (max-width: 768px) {
    .ilustracion-titulo {
        font-size: 26px;
        text-align: center;
    }

    .ilustracion-intro {
        font-size: 16px;
        text-align: center;
    }
}


@media (max-width: 768px) {
    .carrusel-container {
        width: 100%;
    }

    .carrusel-img {
        width: 100%;
        height: auto;
    }
}


@media (max-width: 768px) {
    .modal-content {
        width: 90%;
    }

    .modal-img {
        max-height: 60vh;
    }

    .modal-text {
        font-size: 14px;
    }
}


#pie {
    margin-top: 80px;
    padding-bottom: 50px;
}

@media (max-width: 768px) {
    #pie img {
        width: 80%;
        margin: auto;
    }

    #pie {
        margin-top: 100px; 
    }
}

.btn,
button,
#btn-contacto,
#btn-menu,
.btn-ir {
    transition: 0.3s ease;
}


@media (max-width: 900px) {

    .btn,
    button,
    #btn-contacto,
    #btn-menu,
    .btn-ir {
        padding: 8px 18px;
        font-size: 14px;
        border-radius: 18px;
    }
}


@media (max-width: 500px) {

    .btn,
    button,
    #btn-contacto,
    #btn-menu,
    .btn-ir {
        padding: 7px 15px;
        font-size: 13px;
        border-radius: 16px;
    }
}
