/* Reset basic layout baselines */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #fcfcfc;
    padding-top: 70px; /* Prevents sticky header from overlapping hero content */
}

/* Sticky Header Layout */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo a {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #111111;
    text-decoration: none;
}

/* Desktop Navigation Link Blocks */
.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #555555;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-menu a:hover, 
.nav-menu a.active {
    color: #0070f3;
}

/* Mobile Toggle Hamburger Layout */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #111111;
    position: relative;
    transition: background 0.2s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #111111;
    left: 0;
    transition: transform 0.2s ease;
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* Interactive Toggle States for Hamburger */
.menu-toggle.open .hamburger {
    background: transparent;
}
.menu-toggle.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.menu-toggle.open .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Core Layout Page Content styling */
.hero-section {
/*    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('coach.jpg') no-repeat center center/cover; */
    background-color: #222222;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.hero-content h1 { font-size: 2.5rem; letter-spacing: 2px; margin-bottom: 10px; }
.hero-content .tagline { font-size: 1.2rem; font-weight: 300; opacity: 0.9; }

.content-container { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.services-intro { text-align: center; margin-bottom: 50px; }
.services-intro h2 { font-size: 2rem; margin-bottom: 5px; letter-spacing: 1px; }
.sub-tagline { font-size: 1.1rem; color: #777777; margin-bottom: 40px; }

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.grid-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    text-align: left;
    border-top: 3px solid #111111;
}

.card-number { font-size: 1.5rem; font-weight: 700; color: #0070f3; display: block; margin-bottom: 10px; }
.grid-card h3 { margin-bottom: 10px; font-size: 1.2rem; }

.main-footer { background: #111111; color: #ffffff; text-align: center; padding: 30px 20px; margin-top: 60px; }
.footer-socials a { color: #aaaaaa; text-decoration: none; margin: 0 10px; font-size: 0.9rem; }
.footer-socials a:hover { color: #ffffff; }
.main-footer p { font-size: 0.85rem; margin-top: 15px; color: #666666; }

/* Responsive Mobile Viewport Breakpoint Media Query Rules */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show hamburger icon */
    }

    .nav-menu {
        position: fixed;
        top: 60px; /* Directly below the sticky navigation bar height container */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        max-height: 0; /* Keeps dropdown hidden initially */
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    /* Open Class triggered by JS */
    .nav-menu.open {
        max-height: 350px; /* Smoothly drops menu downward */
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 10px 0;
    }

    .nav-menu li {
        margin: 0;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
}
