/*
Theme Name: WAAO INDIA V3
Theme URI: https://waaoindia.com/
Author: WAAO INDIA
Description: Custom WAAO INDIA one-page WordPress theme with responsive design, video hero, contact form, and WP Mail SMTP compatibility.
Version: 3.1.0
Requires at least: 6.0
Requires PHP: 7.4
*/


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

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

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #000;
    color: #fff;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}


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

.hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.42);
    z-index: -1;
}

.hero-content {
    width: min(90%, 900px);
    max-width: 100%;
    text-align: center;
    padding: 30px;
    margin-top: -110px;
}

.hero-content h1 {
    font-size: 49px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.6;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.92);
    margin-top: -15px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    color: #fff;
    background: rgba(0, 0, 0, 0.28);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    transition: 0.25s ease;
    margin-top: -12px;
}

.cta-button:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}


/* =========================================
   CONTACT SECTION
   ========================================= */

.contact-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: #0a0a0a;
    overflow: hidden;
}


/* Contact background image */

.contact-background {
    margin-top: 10px;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


/* Optional dark layer over background */

.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.42); */
    z-index: 1;
    pointer-events: none;
}


/* Contact box */

.contact-inner {
    position: relative;
    z-index: 2;
    width: min(100%, 650px);
    max-width: 650px;
    text-align: center;
    font-size: 12px;
    background: #0a0a0a;
    border-radius: 8px;
    padding: 30px;
    margin: 0 auto;
}

.contact-inner h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-inner p {
    color: #aaa;
    margin-bottom: 35px;
}


/* =========================================
   CONTACT FORM
   ========================================= */

.contact-form {
    width: 100%;
    max-width: 100%;
    display: grid;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #111;
    color: #fff;
    font: inherit;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #fff;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    border: 0;
    border-radius: 4px;
    background: #fff;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.contact-form button:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}


/* =========================================
   FORM MESSAGE
   ========================================= */

.form-message {
    padding: 13px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 0.95rem;
}

.form-message.success {
    background: #123d25;
    color: #d7ffe5;
}

.form-message.error {
    background: #421717;
    color: #ffdada;
}


/* =========================================
   HONEYPOT
   ========================================= */

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/* =========================================
   COMING WEBSITE
   ========================================= */

.coming-website {
    position: relative;
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 50px 20px;
    background: #0A0A0A;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -61px;
    overflow: hidden;
}

.upcoming {
    margin: 0 20px;
    border: 2px solid #fff;
    border-radius: 20px;
    width: 200px;
    height: 50px;
    align-items: center;
    display: grid;
    background: white;
    color: black;
    font-weight: bold;
    font-size: 20px;
    justify-content: center;
}

.upcoming img {
    width: 233px;
    max-width: 100%;
    margin-top: -38px;
    height: auto;
    justify-content: center;
    display: grid;
}


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

@media (max-width: 1024px) {

    .hero-content {
        width: 92%;
        max-width: 900px;
    }

    .contact-section {
        padding: 70px 20px;
    }

    .contact-inner {
        width: 100%;
        max-width: 650px;
    }
}


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

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }


    /* -----------------------------------------
       HERO MOBILE
       ----------------------------------------- */

    .hero {
        width: 100%;
        max-width: 100%;
        height: 100svh;
        min-height: 600px;
        overflow: hidden;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .hero-overlay {
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.42);
    }

    .hero-content {
        width: 100%;
        max-width: 900px;
        padding: 25px 20px;
        margin-top: -110px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 49px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: 0.04em;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-top: -15px;
        margin-bottom: 34px;
    }

    .cta-button {
        padding: 15px 30px;
        margin-top: -12px;
        font-size: 0.9rem;
    }


    /* -----------------------------------------
       CONTACT MOBILE
       ----------------------------------------- */

    .contact-section {
        position: relative;
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        padding: 60px 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .contact-background {   
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }

    .contact-section::before {
        z-index: 1;
    }

    .contact-inner {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
        padding: 30px 20px;
        text-align: center;
    }

    .contact-inner h2 {
        font-size: 48px;
        line-height: 1.1;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .contact-inner p {
        color: #aaa;
        margin-bottom: 35px;
        line-height: 1.5;
    }


    /* -----------------------------------------
       FORM MOBILE
       ----------------------------------------- */

    .contact-form {
        width: 100%;
        max-width: 100%;
        display: grid;
        gap: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 10px;
    }

    .contact-form textarea {
        width: 100%;
        max-width: 100%;
    }

    .contact-form button {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 15px;
    }


    /* -----------------------------------------
       FORM MESSAGE MOBILE
       ----------------------------------------- */

    .form-message {
        width: 100%;
        max-width: 100%;
        padding: 13px 15px;
        margin-bottom: 20px;
    }


    /* -----------------------------------------
       COMING WEBSITE MOBILE
       ----------------------------------------- */

    .coming-website {
        width: 100%;
        max-width: 100%;
        padding: 50px 15px;
        margin-top: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .upcoming {
        width: 200px;
        max-width: 100%;
        height: 50px;
        margin: 0;
    }

    .upcoming img {
        width: 233px;
        max-width: 100%;
        margin-top: -47px;
        height: auto;
    }
}


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

@media (max-width: 480px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }


    /* HERO */

    .hero {
        width: 100%;
        height: 100svh;
        min-height: 600px;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-content {
        width: 100%;
        padding: 20px 15px;
        margin-top: -110px;
    }

    .hero-content h1 {
        font-size: 49px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: 0.04em;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-top: -15px;
        margin-bottom: 34px;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 0.9rem;
        margin-top: -12px;
    }


    /* CONTACT */

    .contact-section {
        width: 100%;
        min-height: 100vh;
        padding: 50px 12px;
        overflow: hidden;
    }

    .contact-inner {
        width: 100%;
        max-width: 650px;
        padding: 25px 15px;
        margin: 0 auto;
    }

    .contact-inner h2 {
        font-size: 48px;
        line-height: 1.1;
    }

    .contact-inner p {
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .contact-form {
        width: 100%;
        gap: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 10px;
    }

    .contact-form button {
        width: 100%;
        max-width: 100%;
        padding: 15px;
    }


    /* COMING WEBSITE */

    .coming-website {
        width: 100%;
        padding: 45px 10px;
        margin-top: 0;
    }

    .upcoming {
        width: 200px;
        height: 50px;
        margin: 0;
    }

    .upcoming img {
        width: 233px;
        max-width: 100%;
        margin-top: -7px;
    }
}


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

@media (max-width: 360px) {

    .hero {
        min-height: 600px;
    }

    .hero-content {
        padding: 20px 10px;
        margin-top: -100px;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 15px 25px;
    }


    .contact-section {
        padding: 45px 10px;
    }

    .contact-inner {
        padding: 22px 12px;
    }

    .contact-inner h2 {
        font-size: 48px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px;
    }

    .contact-form button {
        padding: 15px;
    }


    .upcoming {
        width: 200px;
        height: 50px;
    }

    .upcoming img {
        width: 233px;
    }
}


/* =========================================
   ACCESSIBILITY
   ========================================= */

.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px 0 0 -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
/* WordPress fallback page */
.waao-fallback {
    width: min(100% - 40px, 900px);
    margin: 80px auto;
}

/* =========================================
   FINAL LAYOUT / RESPONSIVE FIXES
   ========================================= */

img,
video {
    max-width: 100%;
}

.hero-content h1,
.contact-inner h2 {
    overflow-wrap: anywhere;
}

.coming-website {
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 0;
}

.upcoming {
    margin: 0;
    flex: 0 1 200px;
    overflow: hidden;
}

.moneyhype-card {
    padding: 0;
}

.upcoming-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: inherit;
    cursor: pointer;
}

.upcoming-link:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

.upcoming img {
    display: block;
    width: 180px;
    max-width: 90%;
    height: auto;
    margin-top: -27px;
}

@media (max-width: 768px) {
    .hero-content {
        margin-top: 0;
    }

    .hero-content h1 {
        font-size: clamp(2.35rem, 10vw, 3.1rem);
        line-height: 1.02;
    }

    .contact-inner h2 {
        font-size: clamp(2.1rem, 10vw, 3rem);
    }

    .coming-website {
        padding: 40px 15px;
        gap: 15px;
    }

    .upcoming {
        flex: 1 1 200px;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 520px;
    }

    .hero-content h1 {
        font-size: clamp(2.1rem, 11vw, 2.8rem);
    }

    .contact-section {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .contact-inner {
        padding: 24px 16px;
    }

    .coming-website {
        flex-direction: column;
    }

    .upcoming {
        width: min(100%, 280px);
        flex-basis: 50px;
    }
}
