/* YHW Athletics Modern Redesign - Elite Perform Center Style */

:root {
    --yhw-primary: #000000;
    --yhw-secondary: #ff0000;
    --yhw-accent: #ffcc00;
    --yhw-dark: #0a0a0a;
    --yhw-light: #ffffff;
    --yhw-gray: #666666;
    --yhw-gray-light: #f5f5f5;
    --yhw-font-heading: 'Bebas Neue', sans-serif;
    --yhw-font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.yhw-athletics-redesign {
    font-family: var(--yhw-font-body);
    color: var(--yhw-primary);
    line-height: 1.6;
}

/* Container */
.yhw-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.yhw-section-title {
    font-family: var(--yhw-font-heading);
    font-size: clamp(48px, 8vw, 80px);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.yhw-section-subtitle {
    font-size: 18px;
    color: var(--yhw-gray);
    margin-bottom: 40px;
}

/* Hero Section */
.yhw-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000000;
}

.yhw-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.yhw-hero-video,
.yhw-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.yhw-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.yhw-hero-content {
    text-align: center;
    color: var(--yhw-light);
    z-index: 2;
    padding: 40px 20px;
    position: relative;
}

.yhw-hero-subtitle {
    display: block;
    font-size: 24px;
    color: var(--yhw-secondary);
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.yhw-hero-title {
    font-family: var(--yhw-font-heading);
    font-size: clamp(60px, 10vw, 120px);
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.yhw-hero-description {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

.yhw-hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Buttons */
.yhw-btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--yhw-font-body);
}

.yhw-btn-primary {
    background: var(--yhw-secondary);
    color: var(--yhw-light);
}

.yhw-btn-primary:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

.yhw-btn-secondary {
    background: transparent;
    color: var(--yhw-light);
    border: 2px solid var(--yhw-light);
}

.yhw-btn-secondary:hover {
    background: var(--yhw-light);
    color: var(--yhw-primary);
}

.yhw-btn-outline {
    background: transparent;
    color: var(--yhw-primary);
    border: 2px solid var(--yhw-primary);
}

.yhw-btn-outline:hover {
    background: var(--yhw-primary);
    color: var(--yhw-light);
}

.yhw-btn-full {
    width: 100%;
}

/* Hero Stats */
.yhw-hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.yhw-stat {
    text-align: center;
}

.yhw-stat-number {
    display: block;
    font-family: var(--yhw-font-heading);
    font-size: 48px;
    color: var(--yhw-accent);
    line-height: 1;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { text-shadow: 0 0 10px rgba(255,204,0,0.5); }
    100% { text-shadow: 0 0 20px rgba(255,204,0,0.8), 0 0 30px rgba(255,204,0,0.4); }
}

.yhw-stat-label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    opacity: 0.9;
}

/* Scroll Indicator */
.yhw-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--yhw-light);
    animation: bounce 2s infinite;
}

.yhw-scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--yhw-light);
    border-bottom: 2px solid var(--yhw-light);
    transform: rotate(45deg);
    margin: 10px auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Advanced Animations */
.yhw-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.yhw-fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.yhw-fade-in {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.yhw-fade-in.in-view {
    opacity: 1;
}

/* Text animations */
.yhw-text-reveal {
    display: inline-block;
    overflow: hidden;
    position: relative;
}

.yhw-text-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--yhw-secondary);
    transform: translateX(-100%);
    animation: revealText 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0.5s forwards;
}

@keyframes revealText {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

.yhw-text-slide {
    display: inline-block;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInText 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
}

.yhw-text-slide[data-delay="200"] {
    animation-delay: 1s;
}

@keyframes slideInText {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hover lift effect */
.yhw-hover-lift {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.yhw-hover-lift:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Pulse animation */
.yhw-pulse {
    position: relative;
    overflow: hidden;
}

.yhw-pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.yhw-pulse:hover::before {
    width: 300px;
    height: 300px;
}

/* Parallax images */
.yhw-parallax-img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Stagger children animation */
.yhw-stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.yhw-stagger-children.in-view > * {
    opacity: 1;
    transform: translateY(0);
}

.yhw-stagger-children.in-view > *:nth-child(1) { transition-delay: 0.1s; }
.yhw-stagger-children.in-view > *:nth-child(2) { transition-delay: 0.2s; }
.yhw-stagger-children.in-view > *:nth-child(3) { transition-delay: 0.3s; }
.yhw-stagger-children.in-view > *:nth-child(4) { transition-delay: 0.4s; }

/* Rotating border animation */
@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.yhw-rotating-border {
    position: relative;
}

.yhw-rotating-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--yhw-secondary), transparent, var(--yhw-accent));
    z-index: -1;
    animation: rotateBorder 3s linear infinite;
}

/* Mission Section */
.yhw-mission {
    padding: 120px 0;
    background: var(--yhw-light);
}

.yhw-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.yhw-mission-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--yhw-gray);
}

.yhw-mission-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.yhw-value {
    text-align: center;
}

.yhw-value-icon {
    display: block;
    font-size: 48px;
    margin-bottom: 15px;
}

.yhw-value h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.yhw-value p {
    font-size: 14px;
    color: var(--yhw-gray);
}

.yhw-mission-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 0;
}

/* Services Section */
.yhw-services {
    padding: 120px 0;
    background: var(--yhw-dark);
    color: var(--yhw-light);
}

.yhw-services .yhw-section-title,
.yhw-services .yhw-section-subtitle {
    color: var(--yhw-light);
    text-align: center;
}

.yhw-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.yhw-service-card {
    background: #111111;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.yhw-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,0,0,0.1), transparent);
    transition: left 0.8s ease;
}

.yhw-service-card:hover::before {
    left: 100%;
}

.yhw-service-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.yhw-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.yhw-service-card:hover .yhw-service-image img {
    transform: scale(1.1);
}

.yhw-service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.yhw-service-card:hover .yhw-service-overlay {
    opacity: 1;
}

.yhw-service-icon {
    font-size: 64px;
}

.yhw-service-content {
    padding: 40px 30px;
}

.yhw-service-content h3 {
    font-family: var(--yhw-font-heading);
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--yhw-secondary);
}

.yhw-service-content p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.yhw-service-features {
    list-style: none;
    margin-bottom: 30px;
}

.yhw-service-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    opacity: 0.8;
}

.yhw-service-features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--yhw-accent);
}

.yhw-service-link {
    color: var(--yhw-secondary);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.yhw-service-link:hover {
    color: var(--yhw-accent);
}

/* Services CTA */
.yhw-services-cta {
    text-align: center;
    padding: 60px;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid var(--yhw-secondary);
}

.yhw-services-cta h3 {
    font-family: var(--yhw-font-heading);
    font-size: 48px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* About Section */
.yhw-about {
    padding: 120px 0;
    background: var(--yhw-light);
}

.yhw-about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.yhw-about-image {
    position: relative;
}

.yhw-about-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.yhw-about-badge {
    position: absolute;
    bottom: 40px;
    right: -40px;
    background: var(--yhw-secondary);
    color: var(--yhw-light);
    padding: 30px;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

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

.yhw-badge-number {
    display: block;
    font-family: var(--yhw-font-heading);
    font-size: 48px;
    line-height: 1;
}

.yhw-badge-label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.yhw-lead {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

.yhw-about-text p {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--yhw-gray);
}

.yhw-about-stats {
    display: grid;
    gap: 20px;
    margin: 40px 0;
}

.yhw-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
}

.yhw-stat-icon {
    color: var(--yhw-secondary);
    font-size: 24px;
}

.yhw-about-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Testimonials */
.yhw-testimonials {
    padding: 120px 0;
    background: var(--yhw-gray-light);
}

.yhw-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.yhw-testimonial {
    background: var(--yhw-light);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.yhw-testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: var(--yhw-secondary);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.yhw-testimonial:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.yhw-testimonial-content {
    margin-bottom: 30px;
}

.yhw-testimonial-content p {
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
}

.yhw-testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.yhw-testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.yhw-testimonial-author strong {
    display: block;
    margin-bottom: 5px;
}

.yhw-testimonial-author span {
    font-size: 14px;
    color: var(--yhw-gray);
}

/* Contact Section */
.yhw-contact {
    padding: 120px 0;
    background: var(--yhw-primary);
    color: var(--yhw-light);
}

.yhw-contact .yhw-section-title,
.yhw-contact .yhw-section-subtitle {
    color: var(--yhw-light);
}

.yhw-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.yhw-contact-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.yhw-contact-details {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.yhw-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.yhw-contact-icon {
    font-size: 24px;
}

.yhw-contact-item h4 {
    margin-bottom: 5px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.yhw-contact-item a {
    color: var(--yhw-secondary);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}

.yhw-contact-item a:hover {
    color: var(--yhw-accent);
}

/* Social Links */
.yhw-social-links {
    display: flex;
    gap: 20px;
}

.yhw-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.yhw-social-link:hover {
    background: var(--yhw-secondary);
    border-color: var(--yhw-secondary);
}

.yhw-social-link svg {
    fill: var(--yhw-light);
}

/* Contact Form */
.yhw-contact-form {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
}

.yhw-form-group {
    position: relative;
    margin-bottom: 30px;
}

.yhw-form-group-full {
    grid-column: 1 / -1;
}

.yhw-form-group input,
.yhw-form-group select,
.yhw-form-group textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    color: var(--yhw-light);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.yhw-form-group input:focus,
.yhw-form-group select:focus,
.yhw-form-group textarea:focus {
    outline: none;
    border-color: var(--yhw-secondary);
}

.yhw-form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    pointer-events: none;
}

.yhw-form-group input:focus + label,
.yhw-form-group input:not(:placeholder-shown) + label,
.yhw-form-group textarea:focus + label,
.yhw-form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 12px;
    color: var(--yhw-secondary);
}

.yhw-form-group select {
    cursor: pointer;
}

.yhw-form-group select option {
    background: var(--yhw-primary);
}

.yhw-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.yhw-checkbox input {
    width: auto;
    margin: 0;
}

.yhw-form-message {
    margin-top: 20px;
    padding: 15px;
    text-align: center;
    display: none;
}

.yhw-form-message.success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    color: #4CAF50;
    display: block;
}

.yhw-form-message.error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    color: #f44336;
    display: block;
}

/* Footer */
.yhw-footer {
    padding: 80px 0 20px;
    background: #050505;
    color: var(--yhw-light);
}

.yhw-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.yhw-footer-logo {
    font-family: var(--yhw-font-heading);
    font-size: 36px;
    text-transform: uppercase;
    color: var(--yhw-secondary);
    margin-bottom: 20px;
}

.yhw-footer-brand p {
    opacity: 0.7;
    margin-bottom: 30px;
}

.yhw-footer-social {
    display: flex;
    gap: 15px;
}

.yhw-footer-social a {
    color: var(--yhw-light);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.yhw-footer-social a:hover {
    opacity: 1;
    color: var(--yhw-secondary);
}

.yhw-footer h4 {
    font-family: var(--yhw-font-heading);
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--yhw-accent);
}

.yhw-footer-links ul {
    list-style: none;
}

.yhw-footer-links li {
    margin-bottom: 15px;
}

.yhw-footer-links a {
    color: var(--yhw-light);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.yhw-footer-links a:hover {
    opacity: 1;
    color: var(--yhw-secondary);
}

.yhw-footer-contact a {
    color: var(--yhw-secondary);
    text-decoration: none;
}

.yhw-footer-contact a:hover {
    color: var(--yhw-accent);
}

.yhw-btn-small {
    padding: 12px 24px;
    font-size: 14px;
}

.yhw-footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .yhw-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .yhw-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .yhw-mission-grid,
    .yhw-about-grid,
    .yhw-contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .yhw-about-badge {
        right: 20px;
    }
    
    .yhw-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .yhw-hero-title {
        font-size: 48px;
    }
    
    .yhw-hero-stats {
        gap: 30px;
    }
    
    .yhw-services-grid,
    .yhw-testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .yhw-mission-values {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .yhw-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .yhw-hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .yhw-btn {
        width: 100%;
        max-width: 300px;
    }
}