@import url('/home-announcements.css');

/* =========================================================
   ZENITH KARATE ACADEMY
   HOMEPAGE FINAL VISUAL POLISH
   Visual-only enhancement layer
========================================================= */

/* ---------------------------------------------------------
   SECTION HEADING SYSTEM
--------------------------------------------------------- */

.why-join-us .information .titleText,
.training .information .titleText,
.stats .information .titleText,
.home-gallery-heading h2,
.meet-our-instructor .instructor-information > .titleText {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.why-join-us .information .secondaryInfoText,
.training .information .secondaryInfoText,
.stats .information .secondaryInfoText {
    text-transform: uppercase;
}

.why-join-us .information .titleText::after,
.meet-our-instructor .instructor-information > .titleText::after {
    content: "";
    display: block;
    width: clamp(4rem, 9vw, 7rem);
    height: 3px;
    margin-top: 0.85rem;
    background: linear-gradient(90deg, #e60f32 0%, #fdb203 62%, transparent 100%);
}

.why-join-us .information .titleText::before {
    display: none;
}

.home-gallery-heading::after {
    width: clamp(4rem, 9vw, 7rem);
    height: 3px;
    margin-top: 0.4rem;
    background: linear-gradient(90deg, transparent, #fdb203, #e60f32);
}

.meet-our-instructor .instructor-information > .titleText {
    width: fit-content;
}

/* ---------------------------------------------------------
   REMOVE HOMEPAGE SECTION SIDE RULES
--------------------------------------------------------- */

.training::after,
.announcements::after {
    display: none !important;
}

/* ---------------------------------------------------------
   SECTION RHYTHM
--------------------------------------------------------- */

.why-join-us,
.training,
.stats,
.home-gallery,
.meet-our-instructor {
    scroll-margin-top: 4.5rem;
}

.why-join-us .information,
.training .information,
.stats .information,
.home-gallery-header,
.meet-our-instructor .instructor-information {
    position: relative;
}

/* ---------------------------------------------------------
   HERO TEXT VISIBILITY
   Keep the existing dark overlay, but give the hero text
   stronger contrast so it remains clear on every device.
--------------------------------------------------------- */

.home .secondaryTitleText,
.home .primaryTitleText1,
.home .primaryTitleText2,
.home .descriptionText {
    opacity: 1 !important;
    filter: brightness(1.15);
}

.home .secondaryTitleText {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.28);
}

.home .primaryTitleText1 {
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.32);
}

.home .primaryTitleText2 {
    text-shadow: 0 0 18px rgba(230, 15, 50, 0.38);
}

.home .descriptionText {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

/* ---------------------------------------------------------
   HERO CTA HIERARCHY
--------------------------------------------------------- */

.home .homeEnquiriesButton {
    width: 11.5rem;
    background: rgba(230, 15, 50, 0.08);
    border: 1px solid rgba(230, 15, 50, 0.65);
    color: #ff6b7f;
    box-shadow: 0 12px 34px rgba(230, 15, 50, 0.06);
}

.home .homeEnquiriesButton:hover {
    color: white;
    background: #e60f32;
    border-color: #e60f32;
}

/* ---------------------------------------------------------
   MOBILE RHYTHM
--------------------------------------------------------- */

@media (max-width: 700px) {
    .why-join-us,
    .training,
    .stats,
    .home-gallery,
    .meet-our-instructor {
        scroll-margin-top: 4rem;
    }

    .why-join-us,
    .training,
    .stats,
    .home-gallery {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .why-join-us .information .titleText::after,
    .meet-our-instructor .instructor-information > .titleText::after {
        width: 3.75rem;
        height: 2px;
        margin-top: 0.7rem;
    }

    .why-join-us .information .secondaryInfoText,
    .training .information .secondaryInfoText,
    .stats .information .secondaryInfoText {
        line-height: 1.4;
    }

    .home-gallery-heading::after {
        width: 3.75rem;
        height: 2px;
    }

    .home .button-group {
        width: 100%;
        max-width: 31rem;
        gap: 0.7rem;
    }

    .home .homeAboutButton,
    .home .homeTimetableButton,
    .home .homeEnquiriesButton {
        flex: 1 1 calc(50% - 0.35rem);
        width: auto;
        min-width: 0;
    }

    .home .homeEnquiriesButton {
        flex-basis: 100%;
    }
}

@media (max-width: 430px) {
    .home .button-group {
        flex-direction: column;
        max-width: 20rem;
    }

    .home .homeAboutButton,
    .home .homeTimetableButton,
    .home .homeEnquiriesButton {
        width: 100%;
        flex-basis: auto;
    }
}

/* ---------------------------------------------------------
   MOTION CONSISTENCY
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .slide-animation,
    .slide-animation.reveal-active {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    .home .tertiaryText {
        animation: none !important;
    }
}
