﻿
/* =========================================================
   TICKET #16 — WIZBIT HOME PAGE
   File: wwwroot/css/home.css

   Styles for the Home page only.
   Does not modify navigation, About Us, or other pages.
========================================================= */


/* =========================================================
   1. HOME HERO
========================================================= */

.home-hero {
    position: relative;
    display: flex;
    align-items: center;
    width: calc(100% - 24px);
    min-height: 720px;
    margin: 8px 12px 0;
    padding: 65px 5%;
    overflow: hidden;
    box-sizing: border-box;
    isolation: isolate;
    background: radial-gradient( ellipse at 78% 42%, rgba(38, 40, 110, 0.42), transparent 55% ), linear-gradient( 115deg, #08071a 0%, #0a1230 53%, #090915 100% );
    color: #ffffff;
}

    /* Hero stars */

    .home-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background-image: radial-gradient( circle, rgba(255,255,255,.75) 1px, transparent 2px ), radial-gradient( circle, rgba(65,181,255,.65) 1px, transparent 2px );
        background-size: 210px 170px, 310px 230px;
        background-position: 20px 30px, 115px 95px;
        opacity: .65;
    }


/* =========================================================
   2. HERO LEFT TEXT
========================================================= */

.home-hero-content {
    position: relative;
    z-index: 2;
    flex: 0 0 48%;
    width: 48%;
    max-width: 680px;
}

.home-hero-tag {
    display: block;
    margin-bottom: 22px;
    color: #67d9ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
}

.home-hero-content h1 {
    margin: 0 0 22px;
    font-size: clamp(44px, 4.4vw, 76px);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -1.5px;
}

    .home-hero-content h1 span {
        background: linear-gradient( 90deg, #eb72ff, #41caff );
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.home-hero-content p {
    max-width: 600px;
    margin: 0;
    color: #e5e8f5;
    font-size: clamp(16px, 1.25vw, 20px);
    line-height: 1.65;
}


/* =========================================================
   3. HERO BUTTONS
========================================================= */

.home-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 32px;
}

.home-btn-primary,
.home-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 25px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.home-btn-primary {
    color: #ffffff;
    border: 1px solid #f18aff;
    background: linear-gradient( 110deg, #8a13ee, #5515c9 );
    box-shadow: 0 0 22px rgba(191, 60, 255, .55);
}

.home-btn-secondary {
    color: #ffffff;
    border: 1px solid #41bfff;
    background: rgba(5, 21, 50, .9);
    box-shadow: 0 0 17px rgba(30, 151, 255, .3);
}

    .home-btn-primary:hover,
    .home-btn-secondary:hover {
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 0 28px rgba(153, 87, 255, .7);
    }


/* =========================================================
   4. HERO BENEFIT ICONS
========================================================= */

.home-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    margin-top: 55px;
}

    .home-benefits > div {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        padding: 0 6px;
        border-right: 1px solid rgba(64, 169, 255, .38);
    }

        .home-benefits > div:first-child {
            padding-left: 0;
        }

        .home-benefits > div:last-child {
            border-right: none;
        }

    .home-benefits img {
        display: block;
        width: 100%;
        max-width: 150px;
        height: auto;
        object-fit: contain;
    }


/* =========================================================
   5. HERO BUNNY ARTWORK
========================================================= */

.home-hero-art {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    width: 76%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

.home-hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
}


/* =========================================================
   6. WHO WE SERVE — BLACK STAR BACKGROUND
========================================================= */

section.who-we-serve {
    position: relative;
    width: calc(100% - 24px);
    margin: 0 12px;
    padding: 75px 35px 95px;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
    background-color: #020307;
    background-image: linear-gradient( 180deg, rgba(0, 0, 0, .53) 0%, rgba(0, 0, 0, .68) 55%, rgba(0, 0, 0, .86) 100% ), url('/images/home/home-stars.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-top: 2px solid #21c9ff;
    border-bottom: 1px solid #2076ca;
    box-shadow: 0 -2px 12px rgba(0, 183, 255, .35), inset 0 10px 30px rgba(0, 183, 255, .06);
}


/* Extra subtle stars */

.who-we-serve::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient( circle, rgba(255,255,255,.75) 1px, transparent 2px ), radial-gradient( circle, rgba(78,180,255,.65) 1px, transparent 2px );
    background-size: 240px 180px, 360px 260px;
    background-position: 35px 45px, 130px 110px;
    opacity: .20;
}


/* Keep text and cards above stars */

.who-we-serve > * {
    position: relative;
    z-index: 1;
}


/* =========================================================
   7. WELCOME HEADING
========================================================= */

.who-we-serve h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(36px, 4.2vw, 64px);
    font-weight: 800;
    line-height: 1.12;
    text-shadow: 0 0 18px rgba(255,255,255,.12);
}

    /* Neon line below Welcome heading */

    .who-we-serve h2::after {
        content: "";
        display: block;
        width: 150px;
        height: 2px;
        margin: 20px auto 0;
        background: linear-gradient( 90deg, transparent, #00d9ff, #e375ff, transparent );
        box-shadow: 0 0 12px rgba(0,217,255,.45);
    }


/* Subtitle */

.serve-subtitle {
    max-width: 850px;
    margin: 0 auto 26px;
    color: #e0e7ff;
    font-size: 18px;
    line-height: 1.65;
}


/* WHO WE SERVE heading */

.who-we-serve h3 {
    margin: 0 0 45px;
    color: #67d9ff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(0,217,255,.35);
}


/* =========================================================
   8. SIX BUSINESS CARDS
========================================================= */

.serve-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}

.serve-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 22px 12px 20px;
    box-sizing: border-box;
    background: rgba(2, 7, 22, .88);
    border: 1px solid rgba(82, 135, 255, .4);
    border-radius: 17px;
    box-shadow: 0 0 16px rgba(33, 116, 255, .14);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .serve-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 25px rgba(95, 153, 255, .32);
    }

    .serve-card img {
        display: block;
        width: 100%;
        max-width: 150px;
        height: auto;
        margin: 0 auto 16px;
        object-fit: contain;
    }

    .serve-card span {
        display: block;
        color: #ffffff;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
    }


    /* =========================================================
   9. INDIVIDUAL NEON CARD COLORS
========================================================= */

    /* Restaurants — orange/red */

    .serve-card:nth-child(1) {
        border-color: rgba(255, 100, 65, .75);
        box-shadow: 0 0 15px rgba(255, 76, 40, .22);
    }

    /* Salons — pink */

    .serve-card:nth-child(2) {
        border-color: rgba(255, 75, 218, .75);
        box-shadow: 0 0 15px rgba(255, 75, 218, .22);
    }

    /* Gyms — cyan */

    .serve-card:nth-child(3) {
        border-color: rgba(0, 190, 255, .75);
        box-shadow: 0 0 15px rgba(0, 190, 255, .22);
    }

    /* Retail Stores — green */

    .serve-card:nth-child(4) {
        border-color: rgba(70, 255, 151, .75);
        box-shadow: 0 0 15px rgba(70, 255, 151, .20);
    }

    /* Professional Services — purple */

    .serve-card:nth-child(5) {
        border-color: rgba(183, 85, 255, .75);
        box-shadow: 0 0 15px rgba(183, 85, 255, .22);
    }

    /* Startups — gold */

    .serve-card:nth-child(6) {
        border-color: rgba(255, 201, 65, .75);
        box-shadow: 0 0 15px rgba(255, 201, 65, .22);
    }


/* =========================================================
   10. HERO — TABLET
========================================================= */

@media (max-width: 1100px) {

    .home-hero {
        min-height: 620px;
        padding: 55px 4%;
    }

    .home-hero-content {
        flex-basis: 52%;
        width: 52%;
    }

    .home-hero-art {
        width: 72%;
    }

    .home-hero-content h1 {
        font-size: clamp(38px, 4.5vw, 58px);
    }

    .home-benefits {
        margin-top: 35px;
    }
}


/* =========================================================
   11. WHO WE SERVE — TABLET
========================================================= */

@media (max-width: 1200px) {

    .serve-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .serve-card img {
        max-width: 140px;
    }
}


/* =========================================================
   12. HOME — MOBILE
========================================================= */

@media (max-width: 750px) {

    .home-hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        width: calc(100% - 12px);
        margin: 6px 6px 0;
        padding: 45px 22px 0;
    }

    .home-hero-content {
        flex: none;
        width: 100%;
        max-width: none;
    }

    .home-hero-tag {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .home-hero-content h1 {
        font-size: clamp(35px, 8vw, 52px);
    }

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

    .home-hero-buttons {
        gap: 12px;
    }

    .home-btn-primary,
    .home-btn-secondary {
        padding: 11px 18px;
        font-size: 13px;
    }

    .home-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px 8px;
        margin-top: 24px;
    }

        .home-benefits > div {
            padding: 6px 4px;
        }

        .home-benefits img {
            max-width: 95px;
        }

    .home-hero-art {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        margin-top: 15px;
    }

    .home-hero-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    section.who-we-serve {
        width: calc(100% - 12px);
        margin: 0 6px;
        padding: 65px 20px 75px;
    }

    .who-we-serve h2 {
        font-size: clamp(30px, 8vw, 38px) !important;
        line-height: 1.08;
        margin-bottom: 14px;
    }

    .serve-subtitle {
        max-width: 320px;
        margin: 0 auto 20px;
        font-size: 14px;
        line-height: 1.55;
    }

    .who-we-serve h3 {
        margin-bottom: 28px;
        font-size: 20px;
        letter-spacing: 2px;
    }

    .serve-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .serve-card {
        padding: 16px 8px;
    }

        .serve-card img {
            max-width: 120px;
        }

        .serve-card span {
            font-size: 14px;
        }
}


/* =========================================================
   13. VERY SMALL SCREENS
========================================================= */

@media (max-width: 380px) {

    .home-benefits img {
        max-width: 85px;
    }
 }


/* END — TICKET #16 HOME STYLES */



/* TICKET #16 — HERO HEADLINE FIX */

.home-hero-content h1,
.home-hero-content h1 span {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}


/* TICKET #16 — HERO STAR BACKGROUND */

.home-hero {
    background-color: #050815;
    background-image: linear-gradient( 90deg, rgba(4, 8, 24, 0.45), rgba(4, 8, 24, 0.60) ), url('/images/home/home-stars.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    /* Remove the old dotted stars */
    .home-hero::before {
        opacity: 0;
    }


/* ========================================
   TICKET #16 — HOME CONTACT BANNER
======================================== */

.home-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: calc(100% - 24px);
    min-height: 430px;
    margin: 0 12px;
    padding: 60px 5%;
    box-sizing: border-box;
    overflow: hidden;
    color: white;
    background: linear-gradient(90deg, rgba(3, 8, 28, 0.75) 0%, rgba(3, 8, 28, 0.35) 55%, rgba(3, 8, 28, 0.15) 100%), url('/images/home/cta-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 1px solid #21c9ff;
    border-bottom: 1px solid #2076ca;
}

.home-cta-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.home-cta-label {
    display: block;
    margin-bottom: 18px;
    color: #d9e6ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
}

.home-cta-content h2 {
    margin: 0 0 18px;
    color: white;
    font-size: clamp(34px, 3.3vw, 55px);
    font-weight: 800;
    line-height: 1.12;
}

.home-cta-content p {
    max-width: 650px;
    margin: 0 0 30px;
    color: #f0f3ff;
    font-size: 18px;
    line-height: 1.6;
}

.home-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px 32px;
    color: white;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(110deg, #9813ff, #6214d8);
    border: 1px solid #ec83ff;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(190, 62, 255, 0.7);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .home-cta-button:hover {
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 0 35px rgba(190, 62, 255, 0.9);
    }

/* White handwritten phrase on the right */

.home-cta-phrase {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 230px;
    height: 300px;
    background: url('/images/home/cta-phrase.png') center / contain no-repeat;
    /* Hide the typed duplicate; keep the text accessible */
    font-size: 0;
    color: transparent;
    overflow: hidden;
}

/* TABLET */

@media (max-width: 1100px) {
    .home-cta {
        min-height: 370px;
        padding: 50px 4%;
        gap: 20px;
    }

    .home-cta-phrase {
        width: 170px;
        height: 230px;
    }
}

/* MOBILE */

@media (max-width: 750px) {
    .home-cta {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
        width: calc(100% - 12px);
        margin: 0 6px;
        padding: 55px 24px 30px;
        background-position: 60% center;
    }

    .home-cta-label {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .home-cta-content h2 {
        font-size: 34px;
    }

    .home-cta-content p {
        font-size: 15px;
    }

    .home-cta-button {
        font-size: 15px;
    }

    .home-cta-phrase {
        align-self: flex-end;
        width: 150px;
        height: 190px;
    }
}

/* END — HOME CONTACT BANNER */