/* ========================================
   M2FT - Professional Coaching Website
   Colors: Black #0A0A0A | Navy #0D1B2A | White #FFFFFF
   ======================================== */

/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0A0A0A;
    --navy: #0D1B2A;
    --white: #FFFFFF;
    --light-grey: #F5F5F5;
    --medium-grey: #CCCCCC;
    --dark-grey: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--black);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--medium-grey);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--navy);
    padding: 1.25rem 5%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

nav .logo {
    font-size: 1.75rem;
    font-weight: 800;
    font-style: italic;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

nav ul li a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

nav ul li a:hover {
    opacity: 0.7;
}

.btn-primary {
    background-color: var(--white);
    color: var(--black);
    padding: 0.75rem 1.75rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    padding: 0.75rem 1.75rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--black);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--black);
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
}

/* Hero Background Video */
.hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(13, 27, 42, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--medium-grey);
}

.badge-item::before {
    content: "✓";
    color: var(--white);
    font-weight: bold;
}

.hero-image {
    position: relative;
    min-height: 500px;
    background-color: var(--navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-placeholder {
    color: var(--medium-grey);
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background-color: var(--light-grey);
    padding: 2.5rem 5%;
    border-top: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    color: var(--black);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-grey);
}

/* ===== SECTION GENERAL ===== */
section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== VIDEO SLIDER ===== */
.video-slider-section {
    background-color: var(--navy);
    padding: 5rem 5%;
}

.video-slider {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    min-width: 100%;
    position: relative;
}

.slider-item video {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.slider-btn {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--black);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--white);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* ===== PRO PLAYERS SLIDER ===== */
.pro-players-section {
    background-color: var(--black);
    padding: 5rem 5%;
}

.pro-players-slider {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.pro-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.pro-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.pro-player-card {
    min-width: 100%;
    background-color: var(--navy);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0 10px;
}

.pro-player-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.pro-player-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Desktop: show full image */
    object-position: center;
    display: block;
}

.pro-player-info {
    padding: 2rem;
    text-align: center;
}

.pro-player-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.pro-player-club {
    color: var(--medium-grey);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.pro-player-quote {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--white);
}

.pro-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--black);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.pro-slider-btn:hover {
    background-color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.pro-prev {
    left: 1rem;
}

.pro-next {
    right: 1rem;
}

@media (max-width: 768px) {
    .pro-player-card {
        margin: 0;
    }
    
    .pro-player-image {
        height: 350px;
    }
    
    .pro-player-image img {
        object-fit: cover; /* Mobile: fill space and crop */
        object-position: center top;
    }
    
    .pro-player-info {
        padding: 1.5rem;
    }
    
    .pro-player-info h3 {
        font-size: 1.5rem;
    }
    
    .pro-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* ===== SERVICES SPLIT ===== */
.services-split {
    background-color: var(--black);
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.split-item {
    padding: 5rem 4rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.split-item:hover {
    transform: translateY(-5px);
}

.split-item.football {
    background-color: var(--navy);
}

.split-item.fitness {
    background-color: var(--dark-grey);
}

.split-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.split-item h3 {
    margin-bottom: 1rem;
}

.split-item ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.split-item ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--medium-grey);
}

.split-item ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: bold;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background-color: var(--navy);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.testimonial-card {
    background-color: var(--black);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--white);
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--light-grey);
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--white);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--medium-grey);
}

/* ===== CREDENTIALS ===== */
.credentials {
    background-color: var(--light-grey);
    padding: 3rem 5%;
}

.credentials-list {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.credential-item {
    color: var(--black);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
}

.credential-item::before {
    content: "✓";
    margin-right: 0.5rem;
    color: var(--navy);
    font-weight: bold;
}

/* ===== APP SECTION ===== */
.app-section {
    background-color: var(--black);
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-text h2 {
    margin-bottom: 1.5rem;
}

.app-text p {
    margin-bottom: 2rem;
}

.app-features {
    list-style: none;
    margin: 2rem 0;
}

.app-features li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--medium-grey);
}

.app-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: bold;
}

.app-badges {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.app-badge {
    background-color: var(--navy);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--navy);
}

.app-badge:hover {
    border-color: var(--white);
}

.app-image {
    background-color: var(--navy);
    min-height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--navy);
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 1rem;
    line-height: 1.6;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--medium-grey);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--medium-grey);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--medium-grey);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--white);
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .split-container {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .app-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav ul.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--navy);
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .hero {
        padding: 6rem 5% 3rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    section {
        padding: 3rem 5%;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .slider-item video {
        height: 400px;
    }
    
    .split-item {
        padding: 3rem 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .slider-item video {
        height: 300px;
    }
    
    .slider-controls {
        padding: 0 1rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
