/* ==========================================================================
   Homepage V2 — Modernized Layout
   All classes prefixed with hv2- to avoid collisions with global styles.
   ========================================================================== */

/* ---------- Custom Properties ---------- */
:root {
    --hv2-green: #53AD55;
    --hv2-black: #000;
    --hv2-dark: #1A1A1A;
    --hv2-white: #fff;
    --hv2-grey: #F5F5F5;
    --hv2-grey-dark: #ECECEC;
    --hv2-radius: 1rem;
    --hv2-radius-sm: 0.5rem;
    --hv2-radius-pill: 100px;
    --hv2-max-width: 1140px;
    --hv2-font: 'Poppins', sans-serif;
    --hv2-shadow: 0 2px 12px rgba(0,0,0,0.06);
    --hv2-shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
}

/* ---------- Page Wrapper ---------- */
.hv2-page {
    background-color: var(--hv2-white);
    overflow-x: hidden;
}

/* ---------- Container ---------- */
.hv2-container {
    max-width: var(--hv2-max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    width: 100%;
}

@media (min-width: 992px) {
    .hv2-container {
        padding: 0 2rem;
    }
}

/* ---------- Section Base ---------- */
.hv2-section {
    padding: 4rem 0;
}

@media (min-width: 992px) {
    .hv2-section {
        padding: 6rem 0;
    }
}

/* ---------- Section Headers ---------- */
.hv2-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.hv2-section-title {
    font-family: var(--hv2-font);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--hv2-black);
    margin: 0 0 0.75rem;
}

.hv2-section-title--accent {
    font-family: var(--hv2-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--hv2-green);
    text-transform: uppercase;
    margin: 0;
}

.hv2-section-subtitle {
    font-family: var(--hv2-font);
    font-size: 1.1rem;
    font-weight: 400;
    color: #666;
    margin: 0;
}

@media (min-width: 768px) {
    .hv2-section-title {
        font-size: 2.75rem;
    }
    .hv2-section-title--accent {
        font-size: 2.75rem;
    }
}

@media (min-width: 992px) {
    .hv2-section-title {
        font-size: 3.25rem;
    }
    .hv2-section-title--accent {
        font-size: 3.25rem;
    }
}

/* ---------- Buttons ---------- */
.hv2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--hv2-font);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--hv2-radius-pill);
    padding: 0.85rem 2rem;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.hv2-btn--primary {
    background-color: var(--hv2-green);
    color: var(--hv2-white);
    border-color: var(--hv2-green);
}

.hv2-btn--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(83, 173, 85, 0.3);
}

.hv2-btn--ghost {
    background: transparent;
    color: var(--hv2-white);
    border-color: rgba(255,255,255,0.5);
}

.hv2-btn--ghost:hover {
    border-color: var(--hv2-white);
    background: rgba(255,255,255,0.1);
}

.hv2-btn--large {
    font-size: 1.15rem;
    padding: 1rem 2.5rem;
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hv2-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--hv2-black);
}

@media (min-width: 1025px) {
    .hv2-hero {
        min-height: calc(100vh - 72px);
        margin-top: 0;
    }
}

.admin-bar .hv2-hero {
    min-height: calc(100vh - 32px);
}

@media (min-width: 1025px) {
    .admin-bar .hv2-hero {
        min-height: calc(100vh - 72px - 32px);
    }
}

.hv2-hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hv2-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        160deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(83, 173, 85, 0.12) 100%
    );
    z-index: 1;
}

.hv2-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 0;
}

.hv2-hero__title {
    margin: 0 0 1.5rem;
}

.hv2-hero__line {
    display: block;
    font-family: var(--hv2-font);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--hv2-white);
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hv2-hero__line--accent {
    color: var(--hv2-green);
    font-size: 2.75rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .hv2-hero__line {
        font-size: 3.5rem;
    }
    .hv2-hero__line--accent {
        font-size: 4.25rem;
    }
}

@media (min-width: 992px) {
    .hv2-hero__line {
        font-size: 4rem;
    }
    .hv2-hero__line--accent {
        font-size: 5rem;
    }
}

.hv2-hero__subtitle {
    font-family: var(--hv2-font);
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (min-width: 768px) {
    .hv2-hero__subtitle {
        font-size: 1.2rem;
    }
}

.hv2-hero__ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Hero reveal animation — triggered by JS adding .is-loaded */
.hv2-hero.is-loaded .hv2-hero__line {
    opacity: 1;
    transform: translateY(0);
}

.hv2-hero.is-loaded .hv2-hero__line:nth-child(1) {
    transition-delay: 0.2s;
}

.hv2-hero.is-loaded .hv2-hero__line:nth-child(2) {
    transition-delay: 0.5s;
}

.hv2-hero.is-loaded .hv2-hero__subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.hv2-hero.is-loaded .hv2-hero__ctas {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.1s;
}

/* Hero scroll indicator */
.hv2-hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    animation: hv2-bounce 2s infinite;
}

.hv2-hero__scroll svg {
    width: 28px;
    height: 28px;
    stroke: rgba(255, 255, 255, 0.6);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes hv2-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 767px) {
    .hv2-hero__scroll {
        display: none;
    }
}

/* ==========================================================================
   2. LOGOS (Social Proof)
   ========================================================================== */
.hv2-logos {
    background: var(--hv2-black);
    padding: 3rem 0;
    overflow: hidden;
}

.hv2-logos__label {
    font-family: var(--hv2-font);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
    margin: 0 0 2rem;
}

.hv2-logos__track {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hv2-logos__swiper {
    width: 100%;
    overflow: hidden;
}

.hv2-logos__swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.hv2-logos__slide {
    width: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--hv2-radius-sm);
    padding: 1rem 1.5rem;
    height: 70px;
}

.hv2-logos__slide img {
    max-height: 36px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.55;
    transition: opacity 0.3s ease;
}

.hv2-logos__slide:hover img {
    opacity: 0.9;
}

/* ==========================================================================
   3. SERVICES (Bento Grid)
   ========================================================================== */
.hv2-services {
    background: var(--hv2-grey);
}

.hv2-services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 576px) {
    .hv2-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .hv2-services__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.hv2-service-card {
    display: flex;
    flex-direction: column;
    background: var(--hv2-white);
    border-radius: var(--hv2-radius);
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: var(--hv2-black);
    border-bottom: 3px solid var(--accent, var(--hv2-green));
    box-shadow: var(--hv2-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hv2-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hv2-shadow-hover);
}

.hv2-service-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hv2-service-card__icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent, var(--hv2-green));
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hv2-service-card__title {
    font-family: var(--hv2-font);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--hv2-black);
}

.hv2-service-card__desc {
    font-family: var(--hv2-font);
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.hv2-service-card__arrow {
    font-size: 1.25rem;
    color: var(--accent, var(--hv2-green));
    margin-top: 1rem;
    transition: transform 0.3s ease;
    align-self: flex-end;
}

.hv2-service-card:hover .hv2-service-card__arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   4. STATS (Numbers)
   ========================================================================== */
.hv2-stats {
    background: var(--hv2-dark);
    padding: 4rem 0;
}

.hv2-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .hv2-stats__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.hv2-stat {
    padding: 1rem;
}

.hv2-stat__number {
    font-family: var(--hv2-font);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--hv2-green);
    line-height: 1;
    display: inline;
}

.hv2-stat__suffix {
    font-family: var(--hv2-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--hv2-green);
}

.hv2-stat__label {
    font-family: var(--hv2-font);
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.75rem 0 0;
}

@media (min-width: 768px) {
    .hv2-stat__number {
        font-size: 3.5rem;
    }
    .hv2-stat__suffix {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) {
    .hv2-stat__number {
        font-size: 4.25rem;
    }
    .hv2-stat__suffix {
        font-size: 3rem;
    }
}

/* ==========================================================================
   5. PHILOSOPHY (Quote + Values)
   ========================================================================== */
.hv2-philosophy {
    background: var(--hv2-white);
}

.hv2-quote {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 0 3rem;
    border-bottom: 1px solid var(--hv2-grey-dark);
}

.hv2-quote blockquote {
    margin: 0;
    padding-left: 1.5rem;
    border-left: 4px solid var(--hv2-green);
}

.hv2-quote blockquote p {
    font-family: var(--hv2-font);
    font-size: 1.25rem;
    font-weight: 400;
    font-style: italic;
    color: #333;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.hv2-quote blockquote footer {
    font-family: var(--hv2-font);
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
}

.hv2-quote blockquote cite {
    font-style: normal;
}

@media (min-width: 768px) {
    .hv2-quote blockquote p {
        font-size: 1.5rem;
    }
    .hv2-quote {
        padding-left: 1rem;
    }
}

.hv2-values__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .hv2-values__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.hv2-value {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: var(--hv2-radius);
    background: var(--hv2-grey);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hv2-value:hover {
    transform: translateY(-3px);
    box-shadow: var(--hv2-shadow);
}

.hv2-value__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hv2-value__icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--hv2-green);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hv2-value__title {
    font-family: var(--hv2-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--hv2-black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem;
}

.hv2-value__desc {
    font-family: var(--hv2-font);
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   6. PORTFOLIO SHOWCASE
   ========================================================================== */
.hv2-portfolio {
    background: var(--hv2-grey);
}

.hv2-portfolio__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .hv2-portfolio__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hv2-portfolio-card {
    display: block;
    text-decoration: none;
    color: var(--hv2-black);
    border-radius: var(--hv2-radius);
    overflow: hidden;
    background: var(--hv2-white);
    box-shadow: var(--hv2-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hv2-portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hv2-shadow-hover);
}

.hv2-portfolio-card__img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.hv2-portfolio-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hv2-portfolio-card:hover .hv2-portfolio-card__img img {
    transform: scale(1.05);
}

.hv2-portfolio-card__info {
    padding: 1.25rem 1.5rem;
}

.hv2-portfolio-card__cat {
    display: inline-block;
    font-family: var(--hv2-font);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--hv2-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--hv2-radius-pill);
    margin-bottom: 0.75rem;
}

.hv2-portfolio-card__title {
    font-family: var(--hv2-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--hv2-black);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.hv2-portfolio-card__link {
    font-family: var(--hv2-font);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--hv2-green);
    transition: transform 0.3s ease;
    display: inline-block;
}

.hv2-portfolio-card:hover .hv2-portfolio-card__link {
    transform: translateX(4px);
}

.hv2-portfolio__empty {
    text-align: center;
    font-family: var(--hv2-font);
    font-size: 1rem;
    color: #999;
    padding: 3rem 0;
}

.hv2-portfolio__cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ==========================================================================
   7. SPORTS & EVENTS BANNER
   ========================================================================== */
.hv2-sport {
    padding: 3rem 0;
    background: var(--hv2-white);
}

.hv2-sport__link {
    display: block;
    position: relative;
    border-radius: var(--hv2-radius);
    overflow: hidden;
    text-decoration: none;
}

.hv2-sport__link img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

@media (max-width: 767px) {
    .hv2-sport__link img {
        aspect-ratio: 16 / 9;
    }
}

.hv2-sport__link:hover img {
    transform: scale(1.03);
}

.hv2-sport__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.hv2-sport__title {
    font-family: var(--hv2-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hv2-white);
    margin: 0;
}

@media (min-width: 768px) {
    .hv2-sport__title {
        font-size: 2rem;
    }
}

.hv2-sport__cta {
    font-family: var(--hv2-font);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--hv2-green);
    transition: transform 0.3s ease;
}

.hv2-sport__link:hover .hv2-sport__cta {
    transform: translateX(4px);
}

/* ==========================================================================
   8. GOOGLE REVIEWS
   ========================================================================== */
.hv2-reviews {
    background: var(--hv2-white);
}

/* ==========================================================================
   9. TEXT CAROUSEL
   ========================================================================== */
.hv2-carousel {
    background: var(--hv2-black);
    text-align: center;
    padding: 5rem 0;
}

.hv2-carousel__title {
    font-family: var(--hv2-font);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--hv2-white);
    margin: 0 0 0.5rem;
}

@media (min-width: 768px) {
    .hv2-carousel__title {
        font-size: 2rem;
    }
}

.hv2-carousel__words {
    height: 4rem;
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .hv2-carousel__words {
        height: 5.5rem;
    }
}

@media (min-width: 992px) {
    .hv2-carousel__words {
        height: 6.5rem;
    }
}

.hv2-carousel__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hv2-carousel__word {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-family: var(--hv2-font);
    font-size: 3rem;
    font-weight: 700;
    color: var(--hv2-green);
    text-transform: uppercase;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (min-width: 768px) {
    .hv2-carousel__word {
        font-size: 4rem;
    }
}

@media (min-width: 992px) {
    .hv2-carousel__word {
        font-size: 5rem;
    }
}

.hv2-carousel__word.is-active {
    opacity: 1;
    transform: translateY(0);
}

.hv2-carousel__word.is-exiting {
    opacity: 0;
    transform: translateY(-100%);
}

/* ==========================================================================
   10. FINAL CTA
   ========================================================================== */
.hv2-cta {
    background: var(--hv2-black);
    text-align: center;
    padding: 5rem 0;
}

.hv2-cta__title {
    font-family: var(--hv2-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--hv2-white);
    margin: 0 0 0.5rem;
}

.hv2-cta__subtitle {
    font-family: var(--hv2-font);
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 2rem;
}

@media (min-width: 768px) {
    .hv2-cta__title {
        font-size: 3rem;
    }
    .hv2-cta__subtitle {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION SYSTEM
   ========================================================================== */
.hv2-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hv2-anim.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children inside grids */
.hv2-services__grid .hv2-anim:nth-child(1) { transition-delay: 0s; }
.hv2-services__grid .hv2-anim:nth-child(2) { transition-delay: 0.08s; }
.hv2-services__grid .hv2-anim:nth-child(3) { transition-delay: 0.16s; }
.hv2-services__grid .hv2-anim:nth-child(4) { transition-delay: 0.24s; }
.hv2-services__grid .hv2-anim:nth-child(5) { transition-delay: 0.32s; }
.hv2-services__grid .hv2-anim:nth-child(6) { transition-delay: 0.40s; }

.hv2-stats__grid .hv2-anim:nth-child(1) { transition-delay: 0s; }
.hv2-stats__grid .hv2-anim:nth-child(2) { transition-delay: 0.1s; }
.hv2-stats__grid .hv2-anim:nth-child(3) { transition-delay: 0.2s; }
.hv2-stats__grid .hv2-anim:nth-child(4) { transition-delay: 0.3s; }

.hv2-values__grid .hv2-anim:nth-child(1) { transition-delay: 0s; }
.hv2-values__grid .hv2-anim:nth-child(2) { transition-delay: 0.1s; }
.hv2-values__grid .hv2-anim:nth-child(3) { transition-delay: 0.2s; }
.hv2-values__grid .hv2-anim:nth-child(4) { transition-delay: 0.3s; }

.hv2-portfolio__grid .hv2-anim:nth-child(1) { transition-delay: 0s; }
.hv2-portfolio__grid .hv2-anim:nth-child(2) { transition-delay: 0.1s; }
.hv2-portfolio__grid .hv2-anim:nth-child(3) { transition-delay: 0.2s; }
