/* ==================================
TRUE WORSHIPERS
RESPONSIVE DESIGN
================================== */


/* ==================================
TABLETS
================================== */

@media (max-width: 1000px) {

    nav {
        padding: 20px 4%;
    }

    nav ul {
        gap: 14px;
    }

    nav ul li a {
        font-size: 13px;
    }

    .hero-content h1 {
        font-size: 45px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

}


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

@media (max-width: 900px) {

    nav {
        position: absolute;

        top: 0;
        left: 0;

        width: 100%;

        padding: 15px 20px;

        display: flex;

        flex-direction: row;

        justify-content: space-between;

        align-items: center;

        z-index: 1000;

        background: rgba(0, 0, 0, 0.45);

        backdrop-filter: blur(10px);

        -webkit-backdrop-filter: blur(10px);
    }


    /* LOGO */

    .logo {
        display: flex;

        align-items: center;

        gap: 8px;

        min-width: 0;
    }


    .logo img {
        width: 45px;
        height: 45px;

        object-fit: contain;
    }


    .logo span {
        color: #FFD700;

        font-size: 14px;

        font-weight: 600;

        line-height: 1.1;

        white-space: nowrap;
    }


    /* MENU BUTTON */

    .menu-toggle {
        display: block;

        position: relative;

        margin-left: auto;

        font-size: 30px;

        line-height: 1;

        color: #FFD700;

        cursor: pointer;

        padding: 5px;

        z-index: 1100;
    }


    /* MENU */

    nav ul {
        position: absolute;

        top: 75px;

        left: 0;

        width: 100%;

        max-height: calc(100vh - 75px);

        overflow-y: auto;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px 0 20px;

        margin: 0;

        list-style: none;

        background: rgba(5, 11, 24, 0.98);

        border-top: 1px solid rgba(255, 215, 0, 0.25);

        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);

        z-index: 1050;
    }


    nav ul.active {
        display: flex;
    }


    nav ul li {
        width: 100%;

        margin: 0;
    }


    nav ul li a {
        display: block;

        width: 100%;

        padding: 10px 25px;

        text-align: left;

        font-size: 14px;

        color: white;

        transition: 0.3s;
    }


    nav ul li a:hover,
    nav ul li a:active {
        color: #FFD700;

        background: rgba(255, 215, 0, 0.08);

        padding-left: 32px;
    }


    /* HERO */

    .hero-content {
        width: 94%;

        padding-top: 70px;
    }


    .hero-content h3 {
        font-size: 14px;

        letter-spacing: 3px;
    }


    .hero-content h1 {
        font-size: 35px;

        line-height: 1.15;

        letter-spacing: 2px;
    }


    .hero-content h2 {
        font-size: 19px;

        line-height: 1.4;
    }


    .hero-content p {
        font-size: 14px;

        line-height: 1.7;
    }


    /* HERO BUTTONS */

    .hero-buttons {
        display: flex;

        flex-direction: column;

        align-items: center;
    }


    .btn,
    .btn2 {
        width: 90%;

        max-width: 400px;

        text-align: center;

        padding: 13px 20px;

        font-size: 13px;
    }


    /* COUNTDOWN */

    .countdown {
        gap: 10px;
    }


    .countdown div {
        width: 85px;

        padding: 18px 5px;
    }


    .countdown span {
        font-size: 28px;
    }


    /* OTHER SECTIONS */

    .upper-room-preview h2 {
        font-size: 35px;
    }


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


    .prayer input,
    .prayer textarea {
        font-size: 14px;
    }


    footer {
        font-size: 14px;
    }

}


/* ==================================
SMALL PHONES
================================== */

@media (max-width: 500px) {

    nav {
        padding: 13px 15px;
    }


    .logo img {
        width: 40px;
        height: 40px;
    }


    .logo span {
        font-size: 12px;
    }


    .menu-toggle {
        font-size: 28px;
    }


    nav ul {
        top: 66px;

        max-height: calc(100vh - 66px);
    }


    nav ul li a {
        padding: 9px 20px;

        font-size: 13px;
    }


    .hero-content {
        width: 94%;

        padding-top: 80px;
    }


    .hero-content h1 {
        font-size: 30px;

        line-height: 1.15;
    }


    .hero-content h2 {
        font-size: 16px;

        line-height: 1.35;
    }


    .hero-content p {
        font-size: 13px;

        line-height: 1.6;
    }


    .btn,
    .btn2 {
        width: 92%;

        font-size: 12px;

        padding: 12px 15px;
    }


    .countdown div {
        width: 72px;

        padding: 15px 4px;
    }


    .countdown span {
        font-size: 24px;
    }

}


/* ==================================
VERY SMALL PHONES
================================== */

@media (max-width: 360px) {

    .logo span {
        font-size: 11px;
    }


    .logo img {
        width: 36px;
        height: 36px;
    }


    .menu-toggle {
        font-size: 26px;
    }


    nav ul {
        top: 62px;
    }


    nav ul li a {
        padding: 8px 18px;

        font-size: 12px;
    }


    .hero-content h1 {
        font-size: 27px;
    }


    .hero-content h2 {
        font-size: 15px;
    }


    .countdown div {
        width: 65px;
    }

}


/* ==================================
GENERAL MOBILE TITLE FIX
================================== */

@media (max-width: 768px) {

    h1 {
        line-height: 1.2;
        word-break: break-word;
    }


    h2 {
        line-height: 1.3;
    }


    h3 {
        line-height: 1.3;
    }

}