/* =========================================
   HOSMI CHURCH WEBSITE
   ========================================= */


/* ---------- BASIC RESET ---------- */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #222222;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ---------- NAVIGATION ---------- */

.navbar {
    width: 100%;
    min-height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    background: #ffffff;
    border-bottom: 1px solid #eeeeee;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #3182b8;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar nav a {
    font-size: 15px;
    font-weight: 600;
    color: #333333;
    transition: color 0.2s ease;
}

.navbar nav a:hover {
    color: #3182b8;
}

.nav-button {
    background: #3182b8;
    color: #ffffff;

    padding: 12px 20px;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;
}

.nav-button:hover {
    background: #25678f;
}


/* ---------- HERO ---------- */

.hero {
    min-height: 680px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 80px 20px;

    background:
        linear-gradient(
            rgba(30, 100, 145, 0.86),
            rgba(30, 100, 145, 0.86)
        ),
        linear-gradient(
            135deg,
            #3182b8,
            #25678f
        );

    color: white;
}

.hero-content {
    max-width: 850px;
}

.small-title {
    font-size: 14px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 25px;

    color: #d8efff;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 82px);

    line-height: 1.05;

    margin-bottom: 30px;

    font-weight: 800;
}

.hero-text {
    max-width: 650px;

    margin: 0 auto 35px;

    font-size: 18px;

    color: #eeeeee;
}

.hero-buttons {
    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}


/* ---------- BUTTONS ---------- */

.primary-button {
    display: inline-block;

    padding: 14px 25px;

    border-radius: 6px;

    background: #8fc9eb;

    color: #12364d;

    font-weight: 700;

    transition: 0.2s ease;
}

.primary-button:hover {
    background: #b1ddf4;
    transform: translateY(-1px);
}

.secondary-button {
    display: inline-block;

    padding: 14px 25px;

    border-radius: 6px;

    border: 1px solid rgba(255, 255, 255, 0.6);

    color: white;

    font-weight: 700;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.12);
}


/* ---------- GENERAL SECTIONS ---------- */

section {
    width: 100%;
}

.section-content {
    max-width: 1100px;

    margin: 0 auto;

    padding: 100px 30px;
}

.section-label {
    color: #3182b8;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 15px;
}

.section-content h2,
.section-heading h2 {
    font-size: clamp(36px, 5vw, 52px);

    line-height: 1.15;

    margin-bottom: 25px;

    color: #173d56;
}


/* ---------- WELCOME ---------- */

.welcome {
    background: #ffffff;

    text-align: center;
}

.welcome .section-content {
    max-width: 800px;
}

.welcome p:not(.section-label) {
    font-size: 18px;

    color: #666666;
}


/* ---------- PREACHINGS ---------- */

.preachings {
    background: #f1f7fb;

    padding: 100px 7%;
}

.section-heading {
    max-width: 1100px;

    margin: 0 auto 45px;

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 30px;
}

.view-all {
    color: #3182b8;

    font-weight: 700;

    white-space: nowrap;
}

.preaching-grid {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


/* ---------- PREACHING CARD ---------- */

.preaching-card {
    background: white;

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.06);
}

.video-placeholder {
    height: 210px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #3182b8,
            #25678f
        );

    color: white;
}

.video-placeholder span {
    width: 60px;
    height: 60px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #8fc9eb;

    color: #12364d;

    font-size: 22px;

    padding-left: 4px;
}

.card-content {
    padding: 25px;
}

.date {
    color: #3182b8;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.card-content h3 {
    font-size: 24px;

    margin-bottom: 12px;

    color: #173d56;
}

.card-content p:not(.date) {
    color: #666666;

    margin-bottom: 20px;
}

.card-content a {
    color: #3182b8;

    font-weight: 700;

    font-size: 14px;
}


/* ---------- EVENTS ---------- */

.events {
    background: #ffffff;
}

.event-list {
    display: flex;

    flex-direction: column;

    gap: 15px;

    margin-top: 35px;
}

.event {
    display: flex;

    align-items: center;

    gap: 20px;

    padding: 20px;

    background: #f1f7fb;

    border-radius: 8px;
}

.event-date {
    min-width: 65px;

    height: 65px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    border-radius: 8px;

    background: #3182b8;

    color: white;
}

.event-date strong {
    font-size: 22px;

    line-height: 1;
}

.event-date span {
    font-size: 11px;

    margin-top: 4px;

    letter-spacing: 1px;
}

.event h3 {
    margin-bottom: 3px;

    color: #173d56;
}

.event p {
    color: #666666;
}


/* ---------- ABOUT ---------- */

.about {
    background:
        linear-gradient(
            135deg,
            #3182b8,
            #25678f
        );

    color: white;
}

.about-content {
    max-width: 900px;

    margin: 0 auto;

    padding: 110px 30px;

    text-align: center;
}

.about .section-label {
    color: #d8efff;
}

.about h2 {
    font-size: clamp(38px, 5vw, 55px);

    line-height: 1.15;

    margin-bottom: 25px;
}

.about p:not(.section-label) {
    font-size: 18px;

    color: #e1e1e1;

    margin-bottom: 35px;
}


/* ---------- LIVE VIDEO ---------- */

.live-video-container {
    width: 100%;

    max-width: 850px;

    margin: 40px auto 0;

    background: #102f43;

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.18);
}

.live-video-placeholder {
    min-height: 390px;

    padding: 50px 30px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #173d56,
            #102f43
        );
}

.live-icon {
    font-size: 42px;

    margin-bottom: 15px;
}

.live-video-placeholder h3 {
    font-size: 30px;

    color: white;

    margin-bottom: 10px;
}

.live-video-placeholder p {
    color: #d5e2e9;

    font-size: 16px;

    margin-bottom: 25px;
}


/* ---------- CONTACT ---------- */

.contact {
    background: #f1f7fb;

    text-align: center;
}

.contact .section-content {
    max-width: 800px;
}

.contact p:not(.section-label) {
    color: #666666;

    font-size: 17px;
}

.contact-details {
    margin-top: 35px;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 20px;
}

.contact-details p {
    background: white;

    padding: 15px 20px;

    border-radius: 7px;

    box-shadow:
        0 3px 15px rgba(0, 0, 0, 0.05);
}


/* ---------- FOOTER ---------- */

footer {
    background: #173d56;

    color: white;

    padding: 60px 7% 25px;
}

.footer-content {
    max-width: 1100px;

    margin: 0 auto 50px;

    display: flex;

    justify-content: space-between;

    gap: 40px;
}

.footer-content h2 {
    letter-spacing: 2px;

    margin-bottom: 10px;
}

.footer-content p {
    color: #c5d9e6;
}

.footer-links {
    display: flex;

    gap: 25px;

    flex-wrap: wrap;

    align-items: center;
}

.footer-links a {
    color: #d9e8f1;

    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    max-width: 1100px;

    margin: auto;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    text-align: center;

    color: #aebfca;

    font-size: 13px;
}


/* ---------- PAGE HEADER ---------- */

.preachings-page-header {
    padding: 100px 30px 80px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #3182b8,
            #25678f
        );

    color: white;
}

.preachings-page-header .section-label {
    color: #d8efff;
}

.preachings-page-header h1 {
    font-size: clamp(48px, 7vw, 72px);

    line-height: 1.1;

    margin-bottom: 20px;
}

.preachings-page-header p:not(.section-label) {
    font-size: 18px;

    color: #e1e1e1;

    max-width: 650px;

    margin: 0 auto;
}


/* ---------- MOBILE ---------- */

@media (max-width: 850px) {

    .navbar {
        padding: 15px 5%;

        flex-wrap: wrap;

        gap: 15px;
    }

    .navbar nav {
        order: 3;

        width: 100%;

        justify-content: center;

        overflow-x: auto;

        padding-bottom: 5px;
    }

    .navbar nav a {
        white-space: nowrap;
    }

    .nav-button {
        display: none;
    }

    .preaching-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: start;

        flex-direction: column;
    }

    .hero {
        min-height: 600px;
    }

    .footer-content {
        flex-direction: column;
    }

    .live-video-placeholder {
        min-height: 330px;
    }
}


@media (max-width: 550px) {

    .navbar nav {
        gap: 18px;
    }

    .navbar nav a {
        font-size: 13px;
    }

    .hero {
        padding: 70px 20px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero-text {
        font-size: 16px;
    }

    .section-content {
        padding: 75px 20px;
    }

    .preachings {
        padding: 75px 20px;
    }

    .event {
        align-items: flex-start;
    }

    .contact-details {
        flex-direction: column;
    }

    .contact-details p {
        width: 100%;
    }

    .live-video-container {
        border-radius: 8px;
    }

    .live-video-placeholder {
        min-height: 280px;

        padding: 40px 20px;
    }

    .live-video-placeholder h3 {
        font-size: 25px;
    }

}