/* ================================================
   HARISTHENICS - MAIN STYLESHEET
   style.css - Base styles, Hero, Philosophy, Footer
   ================================================ */

/* ================================
   RESET & BASE STYLES
   ================================ */
* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background: #000000;
    color: #d1d1d1;
}

/* ================================
   SCROLL PROGRESS BAR
   ================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #7C9CB5, #A3C1D8);
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* ================================
   PAGE LOADER
   ================================ */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 3rem;
    font-weight: bold;
    color: #f5f5f5;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* ================================
   NAVBAR STYLES
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease-in-out;
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

.navbar a:hover {
    color: #7C9CB5 !important;
}

/* Mobile Menu */
.mobile-menu {
    transition: max-height 0.4s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

.mobile-menu.active {
    max-height: 300px;
}

/* ================================
   HERO SECTION STYLES
   ================================ */
.hs-hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    padding: 3rem 1rem 2rem;
    overflow: hidden;
    padding-top: 80px;
}

/* Hero Gradient Background with Grid */
.hs-hero-gradient {
    position: absolute;
    inset: 0;
    background-color: #000000;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 49px,
            rgba(255, 255, 255, 0.05) 49px,
            rgba(255, 255, 255, 0.05) 50px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 49px,
            rgba(255, 255, 255, 0.03) 49px,
            rgba(255, 255, 255, 0.03) 50px
        ),
        radial-gradient(circle at 20% 50%, rgba(26, 26, 26, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(26, 26, 26, 0.8) 0%, transparent 50%);
    background-size: 50px 50px, 50px 50px, 200% 200%, 200% 200%;
    animation: hs-gridMove 20s linear infinite, hs-gradientShift 15s ease infinite;
    opacity: 1;
    z-index: 1;
}

@keyframes hs-gridMove {
    0% { background-position: 0 0, 0 0, 0% 50%, 0% 50%; }
    100% { background-position: 50px 50px, 50px 50px, 0% 50%, 0% 50%; }
}

@keyframes hs-gradientShift {
    0%, 100% { background-position: 0 0, 0 0, 0% 50%, 100% 50%; }
    50% { background-position: 0 0, 0 0, 100% 50%, 0% 50%; }
}

/* Particle Canvas */
.hs-particle-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

/* Hero Content Wrapper */
.hs-hero-content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
    opacity: 0;
    animation: hs-fadeInUp 1.2s ease-out 0.3s forwards;
}

@keyframes hs-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image Section */
.hs-image-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Background Text Wrapper */
.hs-bg-text-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.hs-bg-text {
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.03);
    font-weight: bold;
    user-select: none;
    white-space: nowrap;
    transition: transform 0.1s ease-out;
    text-transform: uppercase;
}

/* Image Container */
.hs-image-container {
    position: relative;
    z-index: 10;
    width: 320px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.hs-coach-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 15px 50px rgba(0, 0, 0, 0.9));
    transition: filter 0.3s ease;
    will-change: filter;
    position: relative;
    bottom: 50px;
    
}

/* Image Hover Effect - Desktop Only */
@media (hover: hover) and (pointer: fine) {
    .hs-image-container:hover {
        transform: translateY(-8px);
    }
    
    .hs-image-container:hover .hs-coach-image {
        filter: drop-shadow(0 20px 60px rgba(255, 255, 255, 0.15));
    }
}

/* Text Content Section */
.hs-text-content-section {
    text-align: center;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: -40px;
    margin-bottom: -50px;
}

/* Coaching Title with Typing Effect */
.hs-coaching-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    min-height: 1.2rem;
    margin: 0;
}

/* Typing Cursor - NO BLINK after typing */
.hs-typing-cursor {
    color: rgba(255, 255, 255, 0.7);
    transition: opacity 0.3s ease;
}

/* Coach Name */
.hs-coach-name {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    cursor: default;
    transition: all 0.3s ease;
}

.hs-coach-name:hover {
    letter-spacing: 0.05em;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

/* Coach Subtitle */
.hs-coach-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    max-width: 600px;
    padding: 0 1rem;
    margin: 0;
}

/* CTA Wrapper */
.hs-cta-wrapper {
    margin-top: 0.75rem;
}

.hs-cta-button {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: #7C9CB5;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(124, 156, 181, 0.3);
    border: 1px solid #7C9CB5;
}

.hs-cta-button:hover {
    background: #A3C1D8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(124, 156, 181, 0.5);
}

.hs-cta-button:active {
    transform: translateY(0);
}

/* Scroll Indicator */
.hs-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    animation: hs-bounce 2s infinite;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.hs-scroll-indicator:hover {
    opacity: 0.8;
}

.hs-scroll-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}

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

/* Hide scroll indicator on very small screens */
@media (max-height: 600px) {
    .hs-scroll-indicator {
        display: none;
    }
}

/* Desktop - Hide arrow completely */
@media (min-width: 1024px) {
    .hs-scroll-indicator {
        display: none !important;
    }
}

/* ================================
   WHO IS HARISTHENICS SECTION
   ================================ */
.whoisharish-section {
    padding: 40px 20px;
    background: #000000;
}

.Haristhenics-intro {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.Haristhenics-heading {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 700;
    color: #7C9CB5;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.Haristhenics-description {
    font-size: clamp(0.98rem, 2.3vw, 1.1rem);
    line-height: 1.8;
    color: #d1d1d1;
    margin: 0;
    text-align: center;
    
}

/* Achievement Stats */
.achievements-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.achievement-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(124, 156, 181, 0.2);
    border-radius: 12px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    transition: all 0.4s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.achievement-stat-card:hover {
    background: rgba(124, 156, 181, 0.05);
    border-color: rgba(124, 156, 181, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(124, 156, 181, 0.3);
}

.achievement-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.2rem;
    color: #7C9CB5;
    flex-shrink: 0;
}

.achievement-icon svg {
    width: 100%;
    height: 100%;
}

.achievement-number {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 0.4rem;
    line-height: 1;
}

.achievement-label {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 500;
    color: #d1d1d1;
    line-height: 1.4;
}

/* ================================
   FOOTER SECTION STYLES
   ================================ */
.footer-section {
    background: #000000;
    padding: 0px 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto 35px;
}

.footer-heading {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.footer-title {
    font-size: clamp(24px, 5vw, 30px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 24px;
    max-width: 400px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.footer-contact__label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}
/* Grip&Grab Button - Centered */
.footer-contact--centered {
    display: flex;
    justify-content: center;
}

.footer-gripgrab-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #7C9CB5 0%, #A3C1D8 100%);
    color: black;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(124, 156, 181, 0.3);
}

.footer-gripgrab-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(124, 156, 181, 0.5);
}

.footer-gripgrab-btn:active {
    transform: translateY(-1px);
}

.footer-gripgrab-btn__logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    
}

.footer-gripgrab-btn__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-gripgrab-btn__text {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

.footer-gripgrab-btn__name {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

/* Footer Navigation */
.footer-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav__link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav__link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Social Media Icons */
.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social__link:hover {
    background: rgba(124, 156, 181, 0.1);
    border-color: rgba(124, 156, 181, 0.3);
    transform: translateY(-4px);
}

.footer-social__link svg {
    width: 20px;
    height: 20px;
}

/* Copyright */
.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    letter-spacing: 0.3px;
}

/* ================================
   STICKY BOOK BUTTON
   ================================ */
.sticky-book-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    padding: 16px 32px;
    background: linear-gradient(135deg, #7C9CB5 0%, #A3C1D8 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.sticky-book-button.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.sticky-book-button:hover {
    background: linear-gradient(135deg, #A3C1D8 0%, #B8D4E8 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(124, 156, 181, 0.6);
}

.sticky-book-button:active {
    transform: translateY(-2px);
}

/* ================================
   REDUCED MOTION
   ================================ */
@media (prefers-reduced-motion: reduce) {
    .hs-hero-content-wrapper,
    .hs-image-container,
    .hs-coach-image,
    .hs-cta-button,
    .hs-scroll-indicator {
        animation: none !important;
        transition: none !important;
    }
}

/* Performance Optimizations */
.hs-coach-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
