/*==========================================================
    CONEXIÓN A.L.M
    indexcss.css
==========================================================*/


/*==========================================================
    GOOGLE VARIABLES
==========================================================*/

:root{

    --primary:#7A1F5C;
    --primary-light:#9A3E78;

    --secondary:#F4E8D5;

    --background:#F7F7F7;

    --white:#FFFFFF;

    --text:#1D1D1D;

    --gray:#6E6E6E;

    --shadow:0 18px 45px rgba(0,0,0,.08);

    --radius:24px;

    --transition:.35s ease;

}


/*==========================================================
    RESET
==========================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Poppins",sans-serif;

    background:var(--background);

    color:var(--text);

    overflow-x:hidden;

}

img{

    display:block;

    width:100%;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

button{

    font-family:inherit;

}


/*==========================================================
    CONTENEDOR GENERAL
==========================================================*/

.container{

    width:min(1400px,92%);

    margin:auto;

}


/*==========================================================
    HEADER
==========================================================*/

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    transition:.4s ease;

}


/*==========================================================
    HEADER INTERIOR
==========================================================*/

.header-container{

    width:min(1400px,94%);

    margin:auto;

    height:90px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}


/*==========================================================
    LOGO
==========================================================*/

.logo{

    display:flex;

    align-items:center;

}

.logo img{

    width:80px;

    height:auto;

    transition:.35s;

}


/*==========================================================
    NAVEGACIÓN
==========================================================*/

.navigation ul{

    display:flex;

    gap:38px;

}

.navigation a{

    position:relative;

    color:white;

    font-weight:500;

    transition:.3s;

}

.navigation a:hover{

    color:var(--secondary);

}

.navigation a.active{

    font-weight:600;

}

.navigation a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--secondary);

    transition:.3s;

}

.navigation a:hover::after,

.navigation a.active::after{

    width:100%;

}


/*==========================================================
    DERECHA HEADER
==========================================================*/

.header-actions{

    display:flex;

    align-items:center;

    gap:20px;

}


/*==========================================================
    BUSCADOR
==========================================================*/

.search-box{

    display:flex;

    align-items:center;

    gap:10px;

    padding:12px 18px;

    border-radius:999px;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(14px);

    border:1px solid rgba(255,255,255,.18);

}

.search-box span{

    color:white;

}

.search-box input{

    width:170px;

    border:none;

    outline:none;

    background:transparent;

    color:white;

    font-size:.95rem;

}

.search-box input::placeholder{

    color:rgba(255,255,255,.8);

}


/*==========================================================
    BOTÓN PERFIL
==========================================================*/

.profile-button{

    display:flex;

    align-items:center;

    gap:10px;

    padding:14px 28px;

    border:none;

    border-radius:999px;

    cursor:pointer;

    color:var(--primary);

    background:var(--secondary);

    font-weight:600;

    font-size:.95rem;

    transition:var(--transition);

}

.profile-button:hover{

    transform:translateY(-4px);

    box-shadow:0 15px 35px rgba(0,0,0,.15);

}


/*==========================================================
    HEADER AL HACER SCROLL
==========================================================*/

.header.scrolled{

    background:rgba(255,255,255,.97);

    backdrop-filter:blur(18px);

    box-shadow:0 10px 35px rgba(0,0,0,.08);

}

.header.scrolled .navigation a{

    color:var(--text);

}

.header.scrolled .navigation a:hover{

    color:var(--primary);

}

.header.scrolled .navigation a::after{

    background:var(--primary);

}

.header.scrolled .search-box{

    background:#f1f1f1;

    border:none;

}

.header.scrolled .search-box span{

    color:#555;

}

.header.scrolled .search-box input{

    color:#333;

}

.header.scrolled .search-box input::placeholder{

    color:#888;

}
/*==========================================================
    HERO
==========================================================*/

.hero{

    position:relative;

    width:100%;

    height:60vh;

    min-height:750px;

    overflow:hidden;

    object-fit:cover;

    object-position:center 5000%;



}


/*==========================================================
    IMAGEN DE FONDO
==========================================================*/

.hero-image{

    position:absolute;

    inset:0;

}

.hero-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    animation:zoomHero 18s ease-in-out infinite alternate;

}


/*==========================================================
    CAPA OSCURA
==========================================================*/

.hero-overlay{

    position:absolute;

    inset:0;

    background:

    linear-gradient(

        90deg,

        rgba(26,18,24,.82) 0%,

        rgba(50,28,42,.62) 35%,

        rgba(0,0,0,.18) 65%,

        rgba(0,0,0,.05) 100%

    );

}


/*==========================================================
    CONTENIDO HERO
==========================================================*/

.hero-content{

    position:relative;

    z-index:5;

    max-width:680px;

    height:100%;

    margin-left:8%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    color:white;

}


.hero-label{

    display:inline-flex;

    width:max-content;

    padding:10px 22px;

    border-radius:999px;

    background:rgba(255,255,255,.14);

    backdrop-filter:blur(14px);

    margin-bottom:30px;

    font-weight:600;

    letter-spacing:.5px;

}


.hero-content h1{

    font-size:5rem;

    font-weight:700;

    line-height:1;

    margin-bottom:15px;

}


.hero-content h2{

    font-size:2.2rem;

    font-weight:500;

    margin-bottom:28px;

    color:#F4E8D5;

}


.hero-content p{

    font-size:1.1rem;

    line-height:2;

    max-width:620px;

    margin-bottom:45px;

}


/*==========================================================
    BOTÓN HERO
==========================================================*/

.hero-button{

    display:inline-flex;

    align-items:center;

    gap:12px;

    width:max-content;

    padding:18px 34px;

    border:none;

    border-radius:999px;

    cursor:pointer;

    background:var(--secondary);

    color:var(--primary);

    font-size:1rem;

    font-weight:600;

    transition:var(--transition);

}

.hero-button:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 45px rgba(0,0,0,.18);

}

.hero-button span{

    transition:.3s;

}

.hero-button:hover span{

    transform:translateX(5px);

}


/*==========================================================
    ABOUT
==========================================================*/

.about{

    padding:120px 0;

}

.about-container{

    width:min(900px,92%);

    margin:auto;

    display:flex;

    justify-content:center;

}


.about-card{

    background:white;

    padding:55px;

    border-radius:28px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.about-card:hover{

    transform:translateY(-10px);

}

.about-card:last-child{

    background:var(--secondary);

}

.card-label{

    display:inline-block;

    padding:8px 18px;

    border-radius:999px;

    background:rgba(122,31,92,.08);

    color:var(--primary);

    font-size:.9rem;

    font-weight:600;

    margin-bottom:22px;

}

.about-card h2{

    font-size:2rem;

    margin-bottom:22px;

}

.about-card p{

    color:var(--gray);

    line-height:2;

    margin-bottom:30px;

}

.about-card a{

    color:var(--primary);

    font-weight:600;

}


/*==========================================================
    ANIMACIÓN HERO
==========================================================*/

@keyframes zoomHero{

    from{

        transform:scale(1);

    }

    to{

        transform:scale(1.08);

    }

}


/*==========================================================
    RESPONSIVE
==========================================================*/

@media(max-width:1000px){

    .hero-content{

        margin:0 6%;

        max-width:90%;

    }

    .hero-content h1{

        font-size:3.7rem;

    }

    .hero-content h2{

        font-size:1.8rem;

    }

    .about-container{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    .hero{

        min-height:700px;

    }

    .hero-content h1{

        font-size:2.8rem;

    }

    .hero-content h2{

        font-size:1.5rem;

    }

    .hero-content p{

        font-size:.98rem;

    }

    .hero-button{

        padding:16px 28px;

    }

    .about{

        padding:80px 0;

    }

    .about-card{

        padding:35px;

    }

}
/*==========================================================
    NOTICIAS
==========================================================*/

.news{

    padding:120px 0;

    background:#fafafa;

}

.section-header{

    width:min(750px,90%);

    margin:0 auto 70px;

    text-align:center;

}

.section-tag{

    display:inline-block;

    padding:8px 18px;

    border-radius:999px;

    background:rgba(122,31,92,.08);

    color:var(--primary);

    font-weight:600;

    margin-bottom:20px;

}

.section-header h2{

    font-size:2.8rem;

    margin-bottom:20px;

}

.section-header p{

    color:var(--gray);

    line-height:1.9;

}

.news-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.news-card{

    background:white;

    border-radius:28px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.news-card:hover{

    transform:translateY(-10px);

}

.news-image{

    height:250px;

    overflow:hidden;

}

.news-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}

.news-card:hover .news-image img{

    transform:scale(1.08);

}

.news-content{

    padding:30px;

}

.news-category{

    display:inline-block;

    padding:7px 16px;

    border-radius:999px;

    background:rgba(122,31,92,.08);

    color:var(--primary);

    font-size:.85rem;

    font-weight:600;

    margin-bottom:18px;

}

.news-content h3{

    margin-bottom:18px;

    font-size:1.4rem;

}

.news-content p{

    color:var(--gray);

    line-height:1.8;

    margin-bottom:22px;

}

.news-content a{

    color:var(--primary);

    font-weight:600;

}


/*==========================================================
    EVENTOS
==========================================================*/

.events{

    padding:120px 0;

    background:var(--secondary);

}

.events-list{

    width:min(1100px,90%);

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:25px;

}

.event-card{

    background:white;

    border-radius:24px;

    padding:30px;

    display:flex;

    align-items:center;

    gap:30px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.event-card:hover{

    transform:translateX(10px);

}

.event-date{

    min-width:90px;

    height:90px;

    border-radius:20px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    color:white;

}

.event-date span{

    font-size:2rem;

    font-weight:700;

}

.event-date small{

    letter-spacing:2px;

}

.event-content h3{

    margin-bottom:10px;

    font-size:1.3rem;

}

.event-content p{

    color:var(--gray);

}


/*==========================================================
    FOOTER
==========================================================*/

.footer{

    background:#1D1D1D;

    color:white;

}

.footer-container{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

    padding:90px 0;

}

.footer-logo{

    width:190px;

    margin-bottom:25px;

}

.footer-brand p{

    color:#d4d4d4;

    line-height:1.9;

    max-width:420px;

}

.footer-links h3,

.footer-contact h3{

    margin-bottom:25px;

}

.footer-links a{

    display:block;

    margin-bottom:14px;

    color:#dcdcdc;

    transition:.3s;

}

.footer-links a:hover{

    color:var(--secondary);

}

.footer-contact p{

    margin-bottom:12px;

    color:#d4d4d4;

}

.footer-bottom{

    text-align:center;

    padding:22px;

    border-top:1px solid rgba(255,255,255,.08);

    color:#bdbdbd;

}


/*==========================================================
    RESPONSIVE
==========================================================*/

@media(max-width:1200px){

    .news-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .footer-container{

        grid-template-columns:1fr;

        text-align:center;

    }

    .footer-brand p{

        margin:auto;

    }

    .footer-logo{

        margin:0 auto 25px;

    }

}

@media(max-width:900px){

    .navigation{

        display:none;

    }

    .search-box{

        display:none;

    }

    .header-container{

        justify-content:space-between;

    }

    .news-grid{

        grid-template-columns:1fr;

    }

    .event-card{

        flex-direction:column;

        text-align:center;

    }

}

@media(max-width:600px){

    .section-header h2{

        font-size:2rem;

    }

    .hero-content h1{

        font-size:2.4rem;

    }

    .hero-content h2{

        font-size:1.3rem;

    }

    .profile-button{

        padding:12px 20px;

        font-size:.9rem;

    }

    .logo img{

        width:165px;

    }

}
/*==========================================================
    ANIMACIONES
==========================================================*/

.hidden{

    opacity:0;

    transform:translateY(50px);

    transition:

    opacity .8s ease,

    transform .8s ease;

}

.show{

    opacity:1;

    transform:translateY(0);

}