/* 
Theme Name: ZiThemes
=========================================
   GLOBAL
========================================= */


/* =========================================
   GLOBAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #1260e8;
    --dark-blue: #03142e;
    --navy: #06172f;
    --text: #101a2e;
    --muted: #697386;
    --border: #e3e7ed;
    --cream: #f7f1e8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
    font-size: 16px;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
    font-weight: 500;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1240px, calc(100% - 60px));
    margin: auto;
}

.section {
    padding: 80px 0;
}

.eyebrow {
    display: block;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 14px;
}

.eyebrow.light {
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    transition: .25s;
}

.btn-primary {
    background: var(--blue);
    color: white;
}

.btn-primary:hover {
    background: #084dcc;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.85);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #111;
}


/* =========================================
   HEADER
========================================= */

.header {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 20;
    color: white;
}

.nav {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    gap: 12px;
    align-items: center;
    line-height: 1;
}

.logo-cross {
    font-size: 38px;
}

.logo strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 18px;
}

.logo small {
    display: block;
    font-size: 10px;
    letter-spacing: 4px;
    margin-top: 5px;
}

.desktop-nav {
    display: flex;
    gap: 42px;
    font-size: 15px;
}

.desktop-nav a {
    opacity: .95;
}

.desktop-nav a:hover {
    color: #80b0ff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.language {
    font-size: 14px;
}

.menu-btn {
    display: none;
    border: 0;
    background: transparent;
    color: white;
    font-size: 28px;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 720px;
    position: relative;
    display: flex;
    align-items: center;
    background:
        url("https://images.unsplash.com/photo-1511632765486-a01980e01a18?auto=format&fit=crop&w=2000&q=85")
        center/cover;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(2,8,15,.88) 0%,
            rgba(2,8,15,.60) 45%,
            rgba(2,8,15,.12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0,0,0,.35),
            transparent
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 70px;
}

.hero h1 {
    font-size: clamp(65px, 7vw, 105px);
    line-height: .94;
    letter-spacing: -4px;
    margin: 22px 0 30px;
}

.hero-text {
    max-width: 500px;
    font-size: 19px;
    color: rgba(255,255,255,.86);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}


/* =========================================
   TICKER
========================================= */

.ticker {
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    background: white;
}

.ticker-track {
    display: flex;
    gap: 70px;
    width: max-content;
    padding: 13px 0;
    font-size: 12px;
    color: #465168;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    to {
        transform: translateX(-50%);
    }
}


/* =========================================
   STATS
========================================= */

.stats {
    padding: 42px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: 0;
}

.stat-icon {
    color: var(--blue);
    font-size: 44px;
}

.stat strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 34px;
    line-height: 1;
}

.stat span {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-top: 4px;
}

.stat small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}


/* =========================================
   VERSE
========================================= */

.verse-card {
    min-height: 290px;
    border-radius: 17px;
    overflow: hidden;
    background: var(--cream);
    display: grid;
    grid-template-columns: 1.3fr 1fr;
}

.verse-content {
    padding: 40px 50px;
    position: relative;
    z-index: 2;
}

.verse-content h2 {
    font-size: clamp(32px, 3vw, 45px);
    line-height: 1.12;
    font-style: italic;
    color: #192945;
    max-width: 700px;
}

.verse-content a {
    display: inline-block;
    margin-top: 15px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
}

.verse-image {
    background:
        linear-gradient(90deg, var(--cream), transparent 40%),
        url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=1000&q=80")
        center/cover;
}


/* =========================================
   MISSION
========================================= */

.mission {
    display: grid;
    grid-template-columns: .8fr 1.5fr;
    gap: 70px;
    align-items: center;
}

.mission h2 {
    font-size: 52px;
    line-height: 1.03;
    margin-bottom: 24px;
}

.mission p {
    color: var(--muted);
    max-width: 430px;
    font-size: 16px;
}

.text-link {
    display: inline-block;
    color: var(--blue);
    font-weight: 700;
    font-size: 14px;
    margin-top: 25px;
}

.mission-photo {
    height: 350px;
    border-radius: 17px;
    position: relative;
    background:
        url("https://images.unsplash.com/photo-1542810634-71277d95dcbb?auto=format&fit=crop&w=1200&q=85")
        center/cover;
}

.welcome-card {
    position: absolute;
    right: 35px;
    bottom: -40px;
    background: white;
    padding: 30px;
    width: 300px;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0,0,0,.16);
}

.heart {
    color: var(--blue);
    font-size: 44px;
}

.welcome-card p {
    color: #17233b;
    font-size: 15px;
    line-height: 1.7;
    margin-top: 8px;
}


/* =========================================
   PRAYER WALL
========================================= */

.prayer-wall {
    min-height: 340px;
    border-radius: 17px;
    overflow: hidden;
    padding: 45px;
    position: relative;
    color: white;
    background:
        linear-gradient(90deg, rgba(2,16,42,.98), rgba(3,30,66,.78)),
        #061a39;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
}

.live-dot {
    display: block;
    color: #3e87ff;
    font-size: 11px;
    margin-bottom: 10px;
}

.prayer-wall h2 {
    font-size: 45px;
    line-height: 1.03;
    margin: 12px 0 30px;
}

.world-map {
    position: relative;
    background-image:
        radial-gradient(circle, rgba(33,113,255,.7) 1.5px, transparent 1.5px);
    background-size: 8px 8px;
    opacity: .9;
}

.prayer-bubble {
    position: absolute;
    padding: 12px 15px;
    border-radius: 9px;
    background: rgba(40,61,92,.85);
    border: 1px solid rgba(255,255,255,.15);
    font-size: 12px;
    backdrop-filter: blur(8px);
}

.b1 {
    top: 5%;
    left: 5%;
}

.b2 {
    top: 15%;
    right: 5%;
}

.b3 {
    bottom: 10%;
    left: 10%;
}

.b4 {
    bottom: 25%;
    left: 38%;
}

.b5 {
    bottom: 5%;
    right: 0;
}


/* =========================================
   MINISTRIES
========================================= */

.section-heading {
    margin-bottom: 20px;
}

.ministry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ministry-card {
    height: 290px;
    border-radius: 13px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
}

.ministry-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        transparent 25%,
        rgba(0,0,0,.88)
    );
}

.ministry-card > div {
    position: absolute;
    bottom: 22px;
    left: 22px;
    right: 22px;
    z-index: 2;
}

.ministry-card h3 {
    font-family: "DM Sans", sans-serif;
    font-size: 21px;
    font-weight: 600;
}

.ministry-card p {
    font-size: 13px;
    line-height: 1.5;
    opacity: .9;
    margin-top: 3px;
}

.ministry-card span {
    display: inline-flex;
    margin-top: 15px;
    width: 35px;
    height: 35px;
    border: 1px solid white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.ministry-1 {
    background-image: url("https://images.unsplash.com/photo-1532629345422-7515f3d16bb6?auto=format&fit=crop&w=700&q=80");
}

.ministry-2 {
    background-image: url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=700&q=80");
}

.ministry-3 {
    background-image: url("https://images.unsplash.com/photo-1559027615-cd4628902d4a?auto=format&fit=crop&w=700&q=80");
}

.ministry-4 {
    background-image: url("https://images.unsplash.com/photo-1504052434569-70ad5836ab65?auto=format&fit=crop&w=700&q=80");
}


/* =========================================
   SERMON
========================================= */

.sermon-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 15px;
}

.sermon-feature {
    height: 320px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.1)),
        url("https://images.unsplash.com/photo-1478737270239-2f02b77fc618?auto=format&fit=crop&w=1200&q=80")
        center/cover;
    color: white;
}

.sermon-info {
    padding: 32px;
}

.sermon-info h2 {
    font-size: 40px;
    line-height: 1;
}

.sermon-info p {
    margin-top: 18px;
    font-size: 14px;
}

.play-button {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    border: 0;
    border-radius: 50%;
    background: white;
    color: #111;
    font-size: 20px;
}

.next-message {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 30px;
}

.next-message span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.next-message strong {
    font-family: "Playfair Display";
    font-size: 55px;
}

.calendar {
    color: var(--blue);
    margin-top: 25px;
    font-size: 24px;
}

.archive {
    margin-top: 30px;
}

.archive-grid {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.archive-grid > div {
    width: 210px;
}

.archive-img {
    height: 110px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
}

.archive-grid span {
    font-size: 12px;
    color: var(--muted);
    display: block;
    margin-top: 7px;
}


/* =========================================
   EVENTS
========================================= */

.events-layout {
    display: grid;
    grid-template-columns: 1.4fr .9fr;
    gap: 50px;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
}

.section-title-row a {
    color: var(--blue);
    font-size: 13px;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
    margin-top: 18px;
}

.event {
    border: 1px solid var(--border);
    border-radius: 11px;
    overflow: hidden;
    padding-bottom: 15px;
}

.event-img {
    height: 115px;
    background-size: cover;
    background-position: center;
}

.event h3,
.event p,
.event small {
    display: block;
    margin-left: 15px;
}

.event h3 {
    font-family: "DM Sans";
    font-size: 16px;
    margin-top: 12px;
}

.event p {
    font-size: 13px;
}

.event small {
    color: var(--muted);
    font-size: 11px;
}

.small-btn {
    display: inline-block;
    background: var(--blue);
    color: white;
    font-size: 11px;
    padding: 7px 15px;
    border-radius: 20px;
    margin: 10px 15px 0;
}

.reading-plan {
    border-left: 1px solid var(--border);
    padding-left: 40px;
}

.reading-content {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 20px;
}

.progress-circle {
    width: 145px;
    height: 145px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 10px solid #e5e9ef;
    border-top-color: var(--blue);
    border-right-color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.progress-circle strong {
    font-size: 31px;
}

.progress-circle small {
    color: var(--muted);
    font-size: 13px;
}

.reading-content h3 {
    font-size: 24px;
    line-height: 1.15;
    margin: 5px 0 10px;
}

.reading-content p {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 14px;
}


/* =========================================
   STORIES
========================================= */

.stories {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin-top: 18px;
}

.story {
    display: flex;
    gap: 17px;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.person {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.story strong {
    font-size: 13px;
}

.story p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}

.story small {
    font-size: 11px;
    color: var(--blue);
}


/* =========================================
   INVOLVED
========================================= */

.involved {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.involved-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

.involved-grid > div {
    padding: 32px;
    border-right: 1px solid var(--border);
}

.involved-grid > div:last-child {
    border-right: 0;
}

.involved-icon {
    display: block;
    color: var(--blue);
    font-size: 42px;
    margin-bottom: 7px;
}

.involved strong {
    font-size: 15px;
}

.involved p {
    color: var(--muted);
    font-size: 11px;
}


/* =========================================
   GIVE
========================================= */

.give-section {
    color: white;
    background:
        linear-gradient(90deg, rgba(3,16,34,.95), rgba(3,16,34,.55)),
        url("https://images.unsplash.com/photo-1504150558240-0b4fd8946624?auto=format&fit=crop&w=1800&q=80")
        center/cover;
}

.give-content {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.give-content h2 {
    font-size: 47px;
    line-height: 1.03;
}

.give-content p {
    max-width: 500px;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    margin-top: 15px;
}

.give-btn {
    padding: 17px 35px;
}

.give-content small {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 11px;
}


/* =========================================
   NEWSLETTER
========================================= */

.newsletter {
    background: #1260e8;
    color: white;
}

.newsletter-content {
    min-height: 135px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.newsletter-icon {
    font-size: 50px;
}

.newsletter h2 {
    font-size: 27px;
}

.newsletter p {
    font-size: 12px;
    opacity: .85;
}

.newsletter form {
    display: flex;
    margin-left: auto;
}

.newsletter input {
    width: 310px;
    height: 50px;
    border: 0;
    padding: 0 18px;
    outline: none;
    font-size: 13px;
}

.newsletter button {
    width: 120px;
    border: 0;
    background: #0751c9;
    color: white;
    font-weight: 700;
    font-size: 13px;
}


/* =========================================
   FOOTER
========================================= */

footer {
    background: #03172f;
    color: white;
    padding: 55px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
}

footer h3 {
    font-family: "DM Sans";
    color: #5e91ed;
    font-size: 11px;
    letter-spacing: .08em;
    margin-bottom: 17px;
}

footer p,
footer a {
    display: block;
    color: rgba(255,255,255,.65);
    font-size: 11px;
    margin-bottom: 9px;
}

footer a:hover {
    color: white;
}

.footer-about p {
    max-width: 330px;
    line-height: 1.7;
}

.footer-about > a {
    color: #4b91ff;
    margin-top: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 45px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,.4);
    font-size: 10px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .desktop-nav {
        gap: 20px;
        font-size: 13px;
    }

    .ministry-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .events-layout {
        grid-template-columns: 1fr;
    }

    .reading-plan {
        border-left: 0;
        padding-left: 0;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .container {
        width: min(100% - 40px, 1240px);
    }

    .desktop-nav {
        display: none;
        position: absolute;
        top: 75px;
        left: 20px;
        right: 20px;
        background: #06172f;
        padding: 25px;
        flex-direction: column;
        gap: 20px;
        border-radius: 10px;
    }

    .desktop-nav.open {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .language {
        display: none;
    }

    .hero {
        min-height: 650px;
    }

    .hero h1 {
        font-size: 65px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stat {
        border-right: 0;
        justify-content: flex-start;
    }

    .verse-card {
        grid-template-columns: 1fr;
    }

    .verse-image {
        min-height: 200px;
    }

    .mission {
        grid-template-columns: 1fr;
    }

    .prayer-wall {
        grid-template-columns: 1fr;
    }

    .world-map {
        min-height: 220px;
        margin-top: 25px;
    }

    .sermon-layout {
        grid-template-columns: 1fr;
    }

    .stories {
        grid-template-columns: 1fr;
    }

    .involved-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .give-content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 60px 0;
    }

    .newsletter-content {
        flex-wrap: wrap;
        padding: 30px 0;
    }

    .newsletter form {
        margin-left: 0;
        width: 100%;
    }

    .newsletter input {
        flex: 1;
    }

    .footer-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 35px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 600px) {

    .container {
        width: calc(100% - 30px);
    }

    .section {
        padding: 55px 0;
    }

    .hero {
        min-height: 620px;
    }

    .hero h1 {
        font-size: 52px;
        letter-spacing: -2px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 200px;
    }

    .verse-content {
        padding: 30px 25px;
    }

    .verse-content h2 {
        font-size: 30px;
    }

    .mission h2 {
        font-size: 40px;
    }

    .mission-photo {
        height: 250px;
    }

    .welcome-card {
        right: 10px;
        bottom: -55px;
        width: 235px;
        padding: 22px;
    }

    .ministry-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ministry-card {
        height: 210px;
    }

    .ministry-card h3 {
        font-size: 17px;
    }

    .ministry-card p {
        font-size: 11px;
    }

    .prayer-wall {
        padding: 30px 25px;
    }

    .prayer-wall h2 {
        font-size: 36px;
    }

    .event-grid {
        grid-template-columns: 1fr;
    }

    .event {
        display: grid;
        grid-template-columns: 110px 1fr;
        padding: 0;
    }

    .event-img {
        grid-row: span 5;
        height: 100%;
    }

    .archive-grid {
        overflow-x: auto;
    }

    .involved-grid {
        grid-template-columns: 1fr 1fr;
    }

    .involved-grid > div {
        padding: 22px 12px;
    }

    .give-content h2 {
        font-size: 37px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }
}