/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Tenor+Sans&family=Poppins:wght@500;700&family=Lora&display=swap');

/* BRAND COLORS & FONTS */
:root {
    --green: #0A3944;
    --beige: #F1F0E7;
    --yellow: #F0932B;
    --red: #7C0E39;
    --teal: #4EDEED;
    --font-headline: 'Tenor Sans', sans-serif;
    --font-subhead: 'Poppins', sans-serif;
    --font-body: 'Lora', serif;
}

/* GENERAL STYLES */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    transition: background-color 0.5s ease;
    overflow-y: scroll;
}

.hidden {
    display: none !important;
}

/* HEADER & NAVIGATION */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1000;
    transition: background-color 0.5s ease;
}

.logo-container {
    position: relative;
    height: 60px;
    min-width: 260px;
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}


.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    font-family: var(--font-subhead);
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

nav a:hover {
    border-bottom-color: var(--yellow);
}

nav a.active {
    border-bottom-color: var(--yellow);
}

/* PAGE-SPECIFIC STYLES */
#home.page-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
}

#about.page-content {
    padding: 100px 5% 40px;
}

/* --- HOMEPAGE --- */
body.home-bg {
    background-color: var(--green);
    color: var(--beige);
}

.home-bg header {
    background-color: var(--green);
}

.home-bg nav a {
    color: var(--beige);
}

.home-bg .logo-light {
    display: block;
}

.home-bg .logo-dark {
    display: none;
}

#home .prayer-container {
    text-align: center;
    max-width: 600px;
}

#home .prayer-container p {
    font-size: 2.2rem;
    line-height: 1.6;
    margin: 0;
    font-family: var(--font-body);
}

/* --- ABOUT PAGE --- */
body.about-bg {
    background-color: var(--beige);
    color: var(--green);
}

.about-bg header {
    background-color: var(--beige);
}

.about-bg nav a {
    color: var(--green);
}

.about-bg .logo-dark {
    display: block;
}

.about-bg .logo-light {
    display: none;
}

#about .article-container {
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
}

#about h1 {
    font-family: var(--font-headline);
    font-size: 3rem;
    color: var(--yellow);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
}

#about h3 {
    font-family: var(--font-subhead);
    font-weight: 500;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: var(--green);
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(10, 57, 68, 0.2);
    padding-bottom: 10px;
}

#about p,
#about li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

#about strong {
    font-weight: bold;
    color: var(--red);
}

#about blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    border-left: 4px solid var(--yellow);
    background-color: rgba(10, 57, 68, 0.05);
}

#about blockquote p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin: 0;
}

#about ul,
#about ol {
    padding-left: 25px;
    margin-bottom: 30px;
}

#about li {
    margin-bottom: 15px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }
    
    body {
        overflow-y: auto;
    }
    
    header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        padding: 20px 0;
    }

    nav {
        gap: 20px;
        justify-content: center;
    }

    .logo-container {
        height: 48px;
        min-width: auto;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .logo {
        height: 48px;
        position: static;
        left: auto;
        transform: none;
    }

    nav a {
        font-size: 14px;
    }

    #home .prayer-container p {
        font-size: 1.6rem;
    }

    #about h1 {
        font-size: 2rem;
    }

    #about h3 {
        font-size: 1.2rem;
    }

    #about p,
    #about li {
        font-size: 1rem;
    }

    #about blockquote p {
        font-size: 1.1rem;
    }

    #about .article-container {
        padding: 20px 10px;
    }
}

@media (max-width: 480px) {
    #home .prayer-container p {
        font-size: 1.1rem;
    }

    #about h1 {
        font-size: 1.6rem;
    }
    
    #about blockquote p {
        font-size: 1.05rem;
    }
}

@media (max-width: 375px) {
    #home .prayer-container p {
        font-size: 1rem;
    }
    
    #home .prayer-container {
        padding: 0 10px;
    }
    
    #about blockquote p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    #about blockquote {
        padding: 15px 20px;
    }
}
