/* =========================================================
   PASCU CLAUDIUS — INSTRUCTOR ÎNOT
   Sport Club Performance
   ========================================================= */


/* =========================================================
   01. ROOT / DESIGN TOKENS
   ========================================================= */
@font-face {
    font-family: "Montserrat";
    src: url("/assets/fonts/Montserrat/Montserrat-VariableFont_wght.woff2")
        format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Primary Colors */
    --color-green: #39B549;
    --color-green-dark: #005700;

    --color-blue: #00A5FF;
    --color-blue-dark: #0072E4;

    /* Backgrounds */
    --color-bg-dark: #0B1F2D;
    --color-bg-light: #0F2F44;
    --color-card: #1A4E6B;

    /* Text */
    --color-text-primary: #F3FCF2;
    --color-text-muted: #A1AFA0;

    /* Borders */
    --color-border: #1B2A33;

    /* Alerts */
    --color-error: #FF4D4D;

    /* Gradients */
    --gradient-green:
        linear-gradient(
            135deg,
            #39B549 0%,
            #005700 100%
        );

    --gradient-blue:
        linear-gradient(
            135deg,
            #00A5FF 0%,
            #0072E4 100%
        );

    --gradient-dark:
        linear-gradient(
            135deg,
            #0B1F2D 0%,
            #0F2F44 100%
        );

    --gradient-green-blue:
        linear-gradient(
            135deg,
            #005700 0%,
            #00A5FF 100%
        );

    /* Typography */
    --font-primary: "Montserrat", sans-serif;

    /* Layout */
    --container-width: 1280px;
    --container-padding: 32px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    /* Shadows */
    --shadow-green:
        0 10px 35px rgba(57, 181, 73, 0.22);

    --shadow-blue:
        0 10px 35px rgba(0, 165, 255, 0.18);
}


/* =========================================================
   02. RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;

    background: var(--color-bg-dark);
    color: var(--color-text-primary);

    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   03. GLOBAL CONTAINER
   ========================================================= */

.container {
    width: min(
        100% - (var(--container-padding) * 2),
        var(--container-width)
    );

    margin-inline: auto;
}


/* =========================================================
   04. PAGE
   ========================================================= */

.page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    background:
        var(--gradient-dark);
}


/* =========================================================
   05. HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 820px;

    display: flex;
    align-items: center;

    isolation: isolate;

    overflow: hidden;

    background-color: var(--color-bg-dark);
}


/* ---------------------------------------------------------
   Hero Background Image
   --------------------------------------------------------- */

.hero__background {
    position: absolute;
    inset: 0;

    z-index: -4;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    filter:
        brightness(0.72)
        saturate(0.88);

    display: block;
}


/* ---------------------------------------------------------
   Dark Blue Gradient
   --------------------------------------------------------- */

.hero__gradient {
    position: absolute;
    inset: 0;
    z-index: -3;

    background:
        linear-gradient(
            90deg,
            rgba(11, 31, 45, 0.94) 0%,
            rgba(11, 31, 45, 0.88) 28%,
            rgba(11, 31, 45, 0.78) 50%,
            rgba(11, 31, 45, 0.62) 72%,
            rgba(11, 31, 45, 0.52) 100%
        );
}


/* ---------------------------------------------------------
   Water Overlay
   --------------------------------------------------------- */

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        url("/assets/images/water-overlay.webp")
        center / cover no-repeat;

    opacity: 0.10;

    mix-blend-mode: screen;

    pointer-events: none;
}


/* ---------------------------------------------------------
   Bottom Fade
   --------------------------------------------------------- */

.hero::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 180px;

    z-index: -1;

    background:
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(11, 31, 45, 0.55) 45%,
            #0B1F2D 100%
        );

    pointer-events: none;
}


/* =========================================================
   06. HERO CONTAINER
   ========================================================= */

.hero__container {
    position: relative;
    z-index: 2;

    width: min(
        100% - (var(--container-padding) * 2),
        var(--container-width)
    );

    margin-inline: auto;

    padding-block: 60px;
}


/* =========================================================
   07. HERO CONTENT
   ========================================================= */

.hero__content {
    width: min(620px, 100%);
    padding-left: 4rem
}


/* =========================================================
   08. LOGO
   ========================================================= */

.hero__logo {
    display: block;

    width: 420px;
    max-width: 42vw;

    margin-bottom: 65px;
}

.hero__logo img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   09. EYEBROW
   ========================================================= */

.hero__eyebrow {
    margin: 0 0 12px;

    color: var(--color-green);

    font-size: 15px;
    font-weight: 700;

    letter-spacing: 0.45em;
    text-transform: uppercase;
}


/* =========================================================
   10. HERO SUBTITLE
   ========================================================= */

.hero__subtitle {
    margin: 0 0 12px;

    color: var(--color-text-primary);

    font-size: clamp(
        20px,
        2vw,
        27px
    );

    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =========================================================
   11. HERO TITLE
   ========================================================= */

.hero__title {
    margin: 0;

    color: var(--color-text-primary);

    font-size: clamp(
        58px,
        7vw,
        94px
    );

    font-weight: 800;

    line-height: 0.96;
    letter-spacing: -0.045em;

    text-transform: uppercase;
}


/* First line — GREEN */

.hero__title span {
    display: block;
    margin-bottom: 6px;
}

.hero__title span:last-child {
    margin-bottom: 0;
}

.hero__title .highlight {
    color: var(--color-green);
}


/* =========================================================
   12. HERO DESCRIPTION
   ========================================================= */

.hero__description {
    max-width: 560px;

    margin: 28px 0 34px;

    color: var(--color-text-primary);

    font-size: 18px;
    line-height: 1.65;
}


/* =========================================================
   13. CTA
   ========================================================= */

.hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 62px;

    padding: 0 32px;

    border: 0;
    border-radius: var(--radius-md);

    background: var(--gradient-green);

    color: #0B1F2D;

    font-family: inherit;
    font-size: 16px;
    font-weight: 800;

    letter-spacing: 0.02em;
    text-transform: uppercase;

    cursor: pointer;

    box-shadow: var(--shadow-green);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.hero__cta:hover {
    transform: translateY(-3px);

    background:
        linear-gradient(
            135deg,
            #4BD35C 0%,
            #006B00 100%
        );

    box-shadow:
        0 14px 40px rgba(57, 181, 73, 0.32);
}

.hero__cta:active {
    transform: translateY(-1px);
}


/* CTA Icon */

.hero__cta-icon {
    display: inline-flex;

    font-size: 20px;
    line-height: 1;
}


/* =========================================================
   14. HERO VISUAL GLOW
   ========================================================= */

.hero__glow {
    position: absolute;

    width: 500px;
    height: 500px;

    right: 2%;
    top: 15%;

    z-index: -1;

    background:
        radial-gradient(
            circle,
            rgba(0, 165, 255, 0.20) 0%,
            rgba(0, 165, 255, 0.08) 40%,
            transparent 72%
        );

    pointer-events: none;
}


/* =========================================================
   15. FEATURE BAR
   ========================================================= */

.features {
    position: relative;

    margin-top: -20px;

    padding: 50px 0 70px;

    background:
        linear-gradient(
            to bottom,
            #0B1F2D 0%,
            #0B1F2D 100%
        );
}

.features__grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 0;
}

.feature {
    position: relative;

    padding: 10px 35px;

    text-align: center;
}

.feature + .feature {
    border-left: 1px solid rgba(27, 42, 51, 0.8);
}


/* Feature Icon */

.feature__icon {
    width: 56px;
    height: 56px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-green);

    font-size: 40px;
}


/* Feature Title */

.feature__title {
    margin: 0 0 8px;

    color: var(--color-text-primary);

    font-size: 17px;
    font-weight: 700;

    text-transform: uppercase;
}


/* Feature Accent */

.feature__title span {
    color: var(--color-blue);
}


/* Feature Text */

.feature__text {
    max-width: 230px;

    margin: 0 auto;

    color: var(--color-text-muted);

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   16. COMING SOON SECTION
   ========================================================= */

.coming-soon {
    position: relative;

    padding: 100px 0 130px;

    text-align: center;

    overflow: hidden;

    border-top: 1px solid rgba(58, 111, 137, 0.35);

    background:
        linear-gradient(
            180deg,
            #0B1F2D 0%,
            #0F2F44 100%
        );
}


/* Water Decorative Layer */

.coming-soon::before {
    content: "";

    position: absolute;

    left: -10%;
    right: -10%;
    bottom: 0px;

    height: 100%;

    background:
        url("/assets/images/water-overlay-bottom.webp")
        center bottom / cover no-repeat;

    opacity: 0.30;

    pointer-events: none;
}



/* Coming Soon Eyebrow */

.coming-soon__eyebrow {
    position: relative;

    margin: 0 0 10px;

    color: #9CCFE5;

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 0.45em;
    text-transform: uppercase;
}


/* Coming Soon Title */

.coming-soon__title {
    position: relative;

    margin: 0;

    font-size: clamp(
        48px,
        7vw,
        86px
    );

    font-weight: 800;

    line-height: 1;

    text-transform: uppercase;
}


/* Title Gradient */

.coming-soon__title span {
    background:
        linear-gradient(
            90deg,
            #F3FCF2 0%,
            #F3FCF2 38%,
            #00A5FF 72%,
            #0072E4 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


/* Green underline */

.coming-soon__title::after {
    content: "";

    display: block;

    width: 52px;
    height: 4px;

    margin: 24px auto 0;

    background: var(--color-green);

    border-radius: 99px;
}


/* Coming Soon Text */

.coming-soon__text {
    position: relative;

    max-width: 620px;

    margin: 28px auto 0;

    color: var(--color-text-muted);

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   17. FOOTER
   ========================================================= */

.footer {
    position: relative;

    padding: 45px 0;

    background: #071923;

    border-top: 1px solid rgba(58, 111, 137, 0.35);
}

.footer__grid {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 40px;
}


/* Footer Brand */

.footer__brand strong {
    display: block;

    margin-bottom: 4px;

    color: var(--color-text-primary);

    font-size: 17px;
}

.footer__brand span {
    color: var(--color-text-muted);

    font-size: 14px;
}


/* =========================================================
   18. SOCIAL
   ========================================================= */

.social {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 24px;
}

.social a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    color: var(--color-text-primary);

    border: 1px solid rgba(0, 165, 255, 0.25);
    border-radius: 50%;

    transition:
        color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.social a:hover {
    color: var(--color-green);

    border-color: var(--color-green);

    transform: translateY(-3px);
}


/* =========================================================
   19. FOOTER QUOTE
   ========================================================= */

.footer__quote {
    max-width: 300px;

    justify-self: end;

    color: var(--color-text-muted);

    font-size: 13px;
    line-height: 1.7;

    text-align: right;

    font-style: italic;
}
.footer__bottom a {
    color: var(--color-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer__bottom a:hover {
    color: var(--color-blue);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;

    padding-top: 28px;

    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}



/* =========================================================
   20. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1024px) {

    :root {
        --container-padding: 24px;
    }

    .hero {
        min-height: 760px;
    }

    .hero__logo {
        width: 340px;
        max-width: 50vw;
        margin-bottom: 55px;
    }

    .hero__title {
        font-size: clamp(
            54px,
            8vw,
            78px
        );
    }
    .hero__content{
        padding-left: 4rem;
    }

    .features__grid {
        grid-template-columns:
            repeat(2, 1fr);

        row-gap: 45px;
    }

    .feature:nth-child(3) {
        border-left: 0;
    }

    .footer__grid {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .footer__quote {
        justify-self: center;

        text-align: center;
    }
}


/* =========================================================
   21. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    :root {
        --container-padding: 20px;
    }


    /* ---------------------------------------------
       HERO
       --------------------------------------------- */

    .hero {
        min-height: 760px;

        align-items: flex-end;
    }


    /* ---------------------------------------------
       HERO BACKGROUND
       --------------------------------------------- */

    .hero__background {
        object-fit: cover;
        object-position: 68% 28%;
    }


    /* ---------------------------------------------
       HERO GRADIENT
       --------------------------------------------- */

    .hero__gradient {
        background:
            linear-gradient(
                180deg,
                rgba(11, 31, 45, 0.40) 0%,
                rgba(11, 31, 45, 0.72) 35%,
                rgba(11, 31, 45, 0.94) 68%,
                #0B1F2D 100%
            );
    }


    /* ---------------------------------------------
       WATER OVERLAY
       --------------------------------------------- */

    .hero__overlay {
        opacity: 0.14;
    }


    /* ---------------------------------------------
       HERO CONTAINER
       --------------------------------------------- */

    .hero__container {
        width: min(
            100% - (var(--container-padding) * 2),
            var(--container-width)
        );

        padding-block: 40px 60px;
    }


    /* ---------------------------------------------
    HERO CONTENT
    --------------------------------------------- */

    .hero__content {
        width: 100%;

        padding-left: 1rem;

        text-align: left;
    }


    /* ---------------------------------------------
       LOGO
       --------------------------------------------- */

    .hero__logo {
        display: block;

        width: 220px;
        max-width: 70vw;

        /* margin: 0 auto 42px; */
    }

    .hero__logo img {
        display: block;

        width: 100%;
        height: auto;

        object-fit: contain;
    }

/* ---------------------------------------------
   HERO BACKGROUND — MOBILE
   --------------------------------------------- */

.hero__background {
    background-size: auto 125%;
    background-position: 68% 98%;
}

    /* ---------------------------------------------
       EYEBROW
       --------------------------------------------- */

    .hero__eyebrow {
        margin-bottom: 10px;

        font-size: 11px;

        letter-spacing: 0.28em;
    }


    /* ---------------------------------------------
       SUBTITLE
       --------------------------------------------- */

    .hero__subtitle {
        margin-bottom: 12px;

        font-size: 16px;

        letter-spacing: 0.05em;
    }


    /* ---------------------------------------------
       TITLE
       --------------------------------------------- */

    .hero__title {
        font-size: clamp(
            46px,
            14vw,
            68px
        );

        line-height: 0.96;

        letter-spacing: -0.045em;
    }

    .hero__title span {
        margin-bottom: 5px;
    }

    .hero__title span:last-child {
        margin-bottom: 0;
    }


    /* ---------------------------------------------
       DESCRIPTION
       --------------------------------------------- */

    .hero__description {
        max-width: 520px;

        margin: 26px auto 30px;

        font-size: 15px;

        line-height: 1.65;
    }


    /* ---------------------------------------------
       CTA
       --------------------------------------------- */

    .hero__cta {
        width: min(100%, 500px);

        min-height: 58px;

        margin-inline: auto;

        padding-inline: 22px;

        font-size: 15px;
    }


    /* ---------------------------------------------
       FEATURES
       --------------------------------------------- */

    .features {
        padding: 30px 0 55px;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .feature {
        padding: 25px 20px;
    }

    .feature + .feature {
        border-left: 0;

        border-top:
            1px solid rgba(
                27,
                42,
                51,
                0.8
            );
    }


    /* ---------------------------------------------
       COMING SOON
       --------------------------------------------- */

    .coming-soon {
        padding: 75px 20px 105px;
    }

    .coming-soon__eyebrow {
        font-size: 11px;

        letter-spacing: 0.30em;
    }

    .coming-soon__title {
        font-size: clamp(
            44px,
            14vw,
            64px
        );
    }

    .coming-soon__text {
        font-size: 15px;
    }


    /* ---------------------------------------------
       FOOTER
       --------------------------------------------- */

    .footer {
        padding: 40px 0;
    }

    .footer__grid {
        grid-template-columns: 1fr;

        gap: 30px;

        text-align: center;
    }

    .footer__quote {
        justify-self: center;

        text-align: center;
    }


    /* ---------------------------------------------
       SOCIAL
       --------------------------------------------- */

    .social {
        gap: 16px;
    }

}


/* =========================================================
   22. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* =====================================================
   HERO – WHATSAPP CTA
   Existing WordPress brand variables
   ===================================================== */

.hero .hero__cta--whatsapp {
    background: var(--gradient-green);
    color: var(--color-text-primary);
    border: 1px solid var(--color-green);
    margin-top: 14px;

    box-shadow: 0 8px 24px rgba(57, 181, 73, 0.18);

    transition:
        filter 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.hero .hero__cta--whatsapp:hover,
.hero .hero__cta--whatsapp:focus-visible {
    filter: brightness(1.1);

    box-shadow: 0 10px 28px rgba(57, 181, 73, 0.30);

    transform: translateY(-2px);
}

.hero .hero__cta--whatsapp:focus-visible {
    outline: 3px solid var(--color-green);
    outline-offset: 4px;
}

.hero .hero__cta--whatsapp .hero__cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.hero .hero__cta--whatsapp .hero__cta-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

@media (prefers-reduced-motion: reduce) {
    .hero .hero__cta--whatsapp {
        transition: none;
    }

    .hero .hero__cta--whatsapp:hover {
        transform: none;
    }
}
