/* Reset + easier sizing */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    min-height:100vh;

    background-image:url("../images/cross2.png");
    background-size: 110% auto;
    background-position: center 0%;
    background-repeat:no-repeat;
    background-color: #111;
    font-family:'Times New Roman', Times, serif, sans-serif;
    min-height: 100vh;
    background-attachment: fixed;
}

/* Main content container */
.container{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;

    background-color:lightgrey;
    padding:50px;
    border-radius:50px;
    box-shadow:0 4px 12px rgba(0,0,0,0.15);

    width:90%;
    max-width:700px;
    min-height:250px;

    margin:auto;
}

h1,
h2{
    text-align:center;
    color:white;
}

.title{
    margin-top:100px;
    text-align:center;
    padding:80px;
}

.title h2{
    font-size: 18px;
    letter-spacing: 5px;
    margin-bottom: 8px;
    font-weight: 500;
}
.title h1{
    font-size: 52px;
    margin-top: 0;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px black;
}
.hero{
    min-height: 720px;
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.35)),
    url("../images/cross2.pgn");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.hero h1{
    position: relative;
}
.hero h1::after{
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #d4af37;
    margin: 12px auto 0;
}
.service-info{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 6px;
    width: 520px;
    max-width: 90%;
    margin: 20px auto 0;
}
.service-item{
    flex: 0 0 50%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    color: white;
}
.service-item:first-child{
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}
.service-item .icon{
    font-size: 24px;
}
.service-item p{
    margin: 4px 0 0;
}
.service-item a{
    color: white;
    text-decoration: none;
}
.service-item a:hover{
    color: #d4af37
}
/* Navigation */

nav{
    width:100%;
    height: 70px;

    display:flex;
    justify-content:flex-start;
    align-items:center;
    gap: 25px;
    padding:0 30px;
    box-sizing: border-box;
}
.church-logo{
    color:white;
    font-weight: bold;
    font-size: 18px;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}
.church-logo span:first-child{
    color: #d4af37;
    font-size: 28px;
}

nav a{
    color:white;
    text-decoration: none;
    font-weight:bold;
}

nav a:hover {
    color: #d4af37

}
nav button{
    padding:8px 15px;
    cursor:pointer;
}

/* Bottom section */

.bottom{
    width:90%;
    max-width:600px;
    margin:35px auto;
    padding: 20px 30px;
    text-align:center;
    color:white;
    background: rgba(0,0,0,.55);
    border-radius: 12px;
    box-sizing: border-box;
}
.bottom h3{
    font-size: 20px;
    margin: 0 0 10px 0;
}
.bottom p{
    font-size: 17px;
    margin: 5px 0;
    font-weight: bold;
}

.bottom a{
    color:white;
    font-size: 16px;
    font-weight: bold;
}
.welcome-section{
    background: linear-gradient(
        to bottom, #f3dfc3, #fffaf3
    );
    padding: 90px, 20px;
    text-align: center;
}
.welcome-section{
    position: relative;
}
.welcome-section::before{
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(
        to bottom, transparent, #f3dfc3
    );
}
.welcome-content{
    max-width: 750px;
    margin: 0 auto;
}
.welcome-content h2{
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 10px;
    color: #8b6f2f;
}
.welcome-content h3{
    font-size: 36px;
    margin: 0 0 20px;
    color: #222;
}
.welcome-content p{
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}
.welcome-button{
    display: inline-block;
    padding: 13px 25px;
    background-color: #222;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}
.welcome-button:hover{
    background-color: #8b6f2f;
}
.events-preview{
    background-color: #1f1f1f;
    color: white;
    padding: 80px 20px;
    text-align: center;
}
.events-preview-content{
    max-width: 1100px;
    margin: 0 auto;
}
.section-label{
    color: #d4af37;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
}
.events-preview h2{
    font-size: 38px;
    margin: 10px 0;
}
.event-cards{
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 40px 0;
}
.event-card{
    background-color: white;
    color: #222;
    width: 280px;
    min-height: 180px;
    padding: 25px;
    border-radius: 10px;
    box-sizing: border-box;
    text-align: left;
}
.event-card h3{
    margin-top: 0;
}
.events-button{
    display: inline-block;
    padding: 13px 25px;
    background-color: #d4af37;
    color: #111;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3;
}
.events-button:hover{
    background-color: white;
}
.site-footer{
    background-color: #111;
    color: white;
    padding: 50px 20px 20px;
}
.footer-content{
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}
.footer-section{
    flex:1
}
.footer-section h3{
    margin-top: 0;
    margin-bottom: 15px;
    color: #d4af37;
}
.footer-section p{
    margin: 6px 0;
    line-height: 1.5;
}
.footer-section a{
    display:block;
    color: white;
    text-decoration: none;
    margin-bottom: 8px;
}
.footer-section a:hover{
    text-decoration: underline;
}
.footer-bottom{
    max-width: 1100px;
    margin: 35px auto 0;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 14px;
}
/* Groups page */

.groups-container{
    display:flex;
    justify-content:space-between;
    gap:60px;

    margin-top:60px;
    padding-top:40px;
    flex-wrap:wrap;
}

.groups-page{
    width:85%;
    max-width:1100px;

    margin:120px auto;

    padding:30px;

    background:rgba(0,0,0,.6);
    border-radius:15px;

    display:flex;
    flex-direction:column;
    align-items:center;
}

.group-card h3{
    text-decoration:underline;
    font-weight:bold;
    color:white;
}

.group-card p{
    color:white;
    font-weight:bold;
}

/* About page */
.about-header{
    margin-top: 0px;
    margin-left: 40px;
}
.about-label{
    display: flex;
    align-items: center;
    gap:14px;
    color: #d9a62e;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
}
.yellow-line{
    display: inline-block;
    width: 35px;
    height: 3px;
    background-color: #d9a62e;
    flex-shrink: 0;
}
.about-title{
    font-size: 64px;
    color: white;
    margin: 10px 0 0 0;
    line-height: 1;
    text-align: left;
}
.title-line{
    width: 35px;
    height: 3px;
    background-color: #d9a62e;
    margin-top: 20px;
    margin-bottom: 30px;
}
.about-subtitle{
    font-size: 15px;
    color:white;
    margin: 10px 0 0 0;
    line-height: 0;
    text-align: left;
}
.history{
    width: 85;
    max-width:1200px;
    margin: 30px auto 70px auto;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 35px;
    background: rgba(10, 15, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    color: white;
    box-sizing: border-box;
}
.history-text{
    flex: 2;
}
.history-text ul{
    padding-left: 22px;
    margin: 0;
}
.history-text li{
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}
.history-text li::marker{
    color:#d9a62e;
    font-size: 1.2em;
}
.history-image{
    width: 32%;
    flex-shrink: 0;
}
.history-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.image-placeholder{
    width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed #d9a62e;
    border-radius: 10px;
    color: #d9a62e;
    font-size: 13px;
    letter-spacing: 2px;
}
.nuestra-fe::before{
    content: "";
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: #d9a62e;
    margin-right: 12px;
    vertical-align: middle;
}
.nuestra-fe{
    color:#d9a62e;
    font-size: 20px;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 8px;
}
.creemos h2{
    font-size: 48px;
    text-align: center;
}
.fundamentos{
    text-align: center;
    color: white;
    font-size: 13px;
    letter-spacing: 3px;
    margin-top: 8px;
    margin-bottom: 0;
}
.belief-line{
    width: 55px;
    height: 2px;
    background-color: #d9a62e;
    margin: 12px auto 30px;
}
.creemos ul{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 25px;
    width: 90%;
    max-width: 1100px;
    margin: 30px auto 0;
    padding: 0;
}
.creemos li{
    list-style: none;
    background: rgba(15. 20, 24, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 20px 25px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}
.belief-icon{
    width: 45px;
    height: 45px;
    min-width: 45px;
    border: 1px solid #d6a84b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
}
.belief-box li{
    display: flex;
    align-items: center;
    padding: 14px 18px;
}
/* Connect page */
.leadership-header{
    width: 85%;
    max-width: 1200px;
    margin: 55px auto 25px;
    color: white;
    text-align: left;
}
.leadership-label{
    color: #f4b41a;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    margin: 0 0 10px;
}
.leadership-label::after{
    content: "";
    display: inline-block;
    width: 50px;
    height: 2px;
    background: #f4b41a;
    margin-left: 12px;
    vertical-align: middle;
}
.leadership-header h1{
    font-size: 52px;
    margin: 0;
    line-height: 1.1;
    text-align: left;
}
.leadership-subtitle{
    font-size: 20px;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.85);
}
.connect-content{
    width: 85%;
    max-width: 950px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 18px;
    background: none;
    padding: 0;
    border-radius: 0;
}
.connect-content h2 i{
    color: #f4b41a;
    margin-right: 12px;
    font-size: 25px;
}
.directors,
.Ancianos,
.Diaconos{
    background: rgba(15, 15, 15, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 18px;
    padding: 28px 32px;
    color: white;
    text-align: left;
}
.directors{
    grid-column: 1;
    grid-row: 1 /3;
    align-self: start;
    height: fit-content;
}
.Ancianos{
    grid-column: 2;
    grid-row: 1;
}
.Diaconos{
    grid-column: 2;
    grid-row: 2;
}
.directors h2,
.Ancianos h2,
.Diaconos h2{
    font-size: 27px;
    margin: 0 0 22px;
    text-align: left;
}
.directors h2::after,
.Ancianos h2::after,
.Diaconos h2::after{
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    background: #f4b41a;
    margin-top: 10px;
}
.directors ul,
.Ancianos ul,
.Diaconos ul{
    margin: 0;
    padding-left: 24px;
}
.directors li,
.Ancianos li,
.Diaconos li{
    color: white;
    font-size: 17px;
    line-height: 1.55;
    text-align: left;
}
.directors li::marker,
.Ancianos li::marker,
.Diaconos li::marker{
    color: #f4b41a;
}
.card-description{
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.pastor-box{
    margin-top: 20px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(244, 180, 26, 0.5);
    border-radius: 8px;
    color: white;
    font-size: 22px;
}
.pastor-icon{
    color: #f4b41a;
    font-size: 22px;
}

/* services page */

.services-content{
    padding: 120px 8% 80px;
    min-height: 100vh;
    color: white;
}
.services-header{
    text-align: center;
    max-width: 900px;
    margin: 0 auto 70px;
}
.services-label{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #d6a84b;
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 600;
}
.services-label .yellow-line{
    width: 45px;
    height: 2px;
    background: #d6a84b;
}
.services-title{
    font-size: 60px;
    margin: 20px 0 10px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    letter-spacing: 2px;
}
.services-subtitle{
    font-size: 15px;
    letter-spacing: 3px;
    color: #c7c7c7;
}
.services-header .title-line{
    width: 90px;
    height: 2px;
    background: #d6a84b;
    margin: 25px auto 0;
}
.events-content{
    padding: 120px 8% 80px;
    min-height: 100vh;
    color: white;
}
.events-header{
    text-align: center;
    max-width: 900px;
    margin: 0 auto 70px;
}
.events-label{
    font-size: 18px;
    letter-spacing: 3px;
    font-weight: 600;
    color:#d6a84b
}
.events-label .yellow-line{
    width: 45px;
    height: 2px;
    background: #d6a84b;
}
.events-title{
    font-size: 60px;
    margin: 20px 0 10px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    letter-spacing: 2px;
}
.events-subtitle{
    font-size: 15px;
    letter-spacing: 3px;
    color: #c7c7c7;
}
.events-header .title-line{
    width: 90px;
    height: 2px;
    background: #d6a84b;
    margin: 25px auto 0;
}
.menu-toggle{
    display: none;
}
.nav-links{
    display: flex;
    align-items: center;
    gap: 20px;
}
.menu-toggle{
    display: none;
}
.services-grid{
    width: 90%;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.service-card{
    background: rgba(10, 10, 10, 0.88);
    border: 1px solid #d6a84b;
    border-radius: 12px;
    padding: 35px 30px;
    text-align: center;
    min-height: 330px;
    box-sizing: border-box;
    min-width: 0;
}
.service-card h2{
    font-size: 28px;
    margin-bottom: 18px;
    color: white;
}
.service-card > p{
    font-size: 16px;
    line-height: 1.6;
    color: #d0d0d0;
    margin-bottom: 30px;
}
.service-icon{
    font-size: 48px;
    color: #d6a84b;
    margin-bottom: 20px;
}
.service-info{
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(214, 168, 75, 0.35);
}
.service-schedule{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.calendar-icon{
    font-size: 26px;
}
.schedule-text{
    text-align: left;
}
.schedule-text p{
    margin: 3px 0;
}
.service-info p:first-child{
    color:#d6a84b;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.service-info p:last-child{
    color: white;
    font-size: 18px;
    margin-top: 8px;
}

/* =================== */
/* Responsive settings */
/* =================== */

@media (max-width:480px){
    nav{
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 18px;
        box-sizing: border-box;
    }
    .nav-links{
        display: none;
    }
    .menu-toggle{
        display: block;
        margin-left: auto;
        background: transparent;
        border: none;
        color: white;
        font-size: 32px;
        cursor: pointer;
    }
    nav.mobile-open .nav-links{
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        background: rgba(10, 10, 10, 0.97);
        padding: 15px 20px;
        z-index: 1000;
    }
    nav.mobile-open .nav-links a{
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 0;
        margin: 0;
    }
    nav.mobile-open #languageButton{
        display: block;
        margin: 10px auto 0;
    }
    .church-logo{
        width: auto;
    }
    /*ABOUT PAGE: PHONE */
    .about-content{
        width: 100%;
        max-width: 100%;
        padding: 40px 18px 60px;
        box-sizing: border-box;
    }
    .about-header{
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    .about-label{
        font-size: 40px;
        line-height: 1.1;
        text-align: center;
        margin: 12px 0;
    }
    .about-subtitle{
        font-size: 14px;
        line-height: 1.4;
        text-align: center;
        letter-spacing: 1px;
    }
    /*NUESTRA HISTORIA*/
    .history{
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 22px;
    }
    .history-image{
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0 0 25px 0;

    }
    .history-image img{
        width: 100%;
        height: 250px;
        object-fit: cover;
        object-position: center;
        border-radius: 8px;
        display: block;
    }
    .history-text{
        width: 100%;
        max-width: 100%;
        font-size: 16px;
        line-height: 1.6;
    }
    .history-text ul{
        padding-left: 20px;
        margin: 0;
    }
    .history-text li{
        margin-bottom: 16px;
    }
    /*QUE CREEMOS */
    .belief-content{
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 14px;
    }
    .belief-box{
        width: 100%;
    }
    .belief-box li{
        padding: 14px;
        font-size: 15px;
        line-height: 1.4;
    }
    .belief-icon{
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 18px;
    }
    /*SERVICES MOBILE*/
    .services-content{
        width: 100%;
        overflow-x: hidden;
    }
    .services-header{
        padding: 120px 20px 30px;
        text-align: center;
    }
    .services-title{
        font-size: 38px;
        line-height: 1.1;
    }
    .services-subtitle{
        font-size: 13px;
        line-height: 1.5;
    }
    .services-grid{
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 20px;
        padding: 20px;
    }
    .service-card{
        width: 100%;
        max-width: 100%;
        min-height: 150px;
        padding: 20px;
        display: grid;
        grid-template-columns: 70px 1fr;
        grid-template-rows: auto auto auto;
        column-gap: 15px;
        text-align: left;
    }
    .service-icon{
        font-size: 38px;
        margin-bottom: 15px;
    }
    .service-card h2{
        font-size: 25px;
    }
    .service-card > p{
        font-size: 15px;
        line-height: 1.5;
    }
    .service-info{
        width: 100%;
        margin-top: 25px;
    }
    .service-schedule{
        justify-content: flex-start;
    }
    .calendar-icon{
        font-size: 24px;
    }

    /* connect page */
    .leadership-header{
        width: 90%;
        margin: 35px auto 25px;
        text-align: center;
    }
    .leadership-header{
        color: #f4b41a;
        font-size: 14px;
        text-align: center;
    }
    .leadership-header h1{
        color: white;
        font-size: 36px;
        line-height: 1.05;
        text-align: center;
        margin: 8px 0;
    }
    .leadership-subtitle{
        color: white;
        font-size: 16px;
        text-align: center;
    }
    .connect-content{
        width: 90%;
        display: flex;
        flex-direction: column;
        gap: 18px;
        margin: 0 auto;
        padding: 30px;
    }
    .directors,
    .Diaconos,
    .Ancianos{
        width: 100%;
        box-sizing: border-box;
        padding: 24px 22px;
        border-radius: 16px;
        background: rgba(15, 15, 15, 0.78);
    }
    .directors h2,
    .Diaconos h2,
    .Ancianos h2{
        font-size: 25px;
        text-align: left;
        margin-bottom: 15px;
    }
    .directors ul,
    .Diaconos ul,
    .Ancianos ul{
        padding-left: 22px;
    }
    .directors li,
    .Diaconos li,
    .Ancianos li{
        font-size: 16px;
        line-height: 1.6;
        text-align: left;
    }
    .pastor-box{
        font-size: 16px;
        text-align: left;
        margin-top: 18px;
    }

}
