/* ===== COACH PRO PAGE STYLES ===== */

/* Fix image paths for pseudo-element backgrounds (template CSS uses ../images/, we use ../mc-images/) */
.services-section::before {
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 20%, transparent 80%, rgba(0,0,0,0.8)),
        url('../mc-images/coachservicesbg.jpg') center/cover no-repeat;
}

.contact-section::before {
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 20%, transparent 80%, rgba(0,0,0,0.8)),
        url('../mc-images/contactfornbg.jpg') center/cover no-repeat;
}

/* ===== Hero CTA — block so share links sit below with clear gap ===== */
.hero-content2 .hero-cta {
    display: block;
    width: fit-content;
    margin-bottom: 1.6rem;
}

/* ===== Hero Share Links ===== */
.hero-share-links {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.hero-share-links .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.4px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.hero-share-links .share-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.hero-share-links .share-btn.facebook  { border-color: rgba(24,119,242,0.4);   color: #4e93f5; }
.hero-share-links .share-btn.instagram { border-color: rgba(225,48,108,0.4);   color: #e1306c; }

.hero-share-links .share-btn.facebook:hover {
    background: rgba(24,119,242,0.15);
    border-color: rgba(24,119,242,0.7);
    color: #4e93f5;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24,119,242,0.25);
}
.hero-share-links .share-btn.instagram:hover {
    background: rgba(225,48,108,0.12);
    border-color: rgba(225,48,108,0.7);
    color: #e1306c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(225,48,108,0.3);
}

/* ===== ASP.NET CheckBoxList — styled as 2-column grid ===== */
.checkbox-grid-aspnet {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.checkbox-grid-aspnet li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.checkbox-grid-aspnet input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #FFD700;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-grid-aspnet label {
    color: #b0b0b0;
    cursor: pointer;
    font-size: 0.95rem;
    margin: 0;
}

/* ===== Submit Button (ASP.NET Button renders as <input type="submit">) ===== */
.submit-btn {
    display: block;
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    border-radius: 12px;
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    letter-spacing: 1px;
    margin-top: 1rem;
    text-align: center;
}

.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.5);
}

/* ===== ASP.NET TextBox overrides for form-input class ===== */
.form-input {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.form-input::placeholder { color: rgba(255, 255, 255, 0.4); }

/* ===== Success Stories Grid ===== */
.stories-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    padding: 0 20px;
}

.stories-cards-grid .client-review-item {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 260px;
    display: flex;
    flex-direction: column;
}

/* Static fallback group */
.stories-fallback-group {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    width: 100%;
}

.stories-fallback-group .client-review-item {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 260px;
    display: flex;
    flex-direction: column;
}

/* ===== Coach photo — slide below fixed navbar ===== */
.coach-showcase {
    margin-top: 75px;
    height: calc(100vh - 75px);
}

/* ===== Services section — fix sidebar overflow ===== */
.content-split {
    gap: 2rem;
    padding: 0 2rem;
    box-sizing: border-box;
    max-width: 100%;
}

.content-split .main-content {
    min-width: 0;
}

.content-split .right-sidebar-section {
    min-width: 0;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .stories-cards-grid .client-review-item,
    .stories-fallback-group .client-review-item {
        flex: 0 0 calc(50% - 12px);
    }

    .checkbox-grid-aspnet {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section2 {
        grid-template-columns: 1fr;
        min-height: auto;
        overflow-x: hidden;
    }

    .coach-showcase {
        height: 60vh;
    }

    .hero-content2 {
        padding: 90px 1.25rem 2rem 1.25rem;
        box-sizing: border-box;
        width: 100%;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .hero-subtitle {
        font-size: 1rem;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .hero-cta {
        padding: 1rem 2rem;
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        justify-content: center;
    }

    .hero-title { font-size: 3rem; }
    .hero-share-links { flex-direction: column; align-items: flex-start; }

    .section-title {
        font-size: 1.8rem;
        word-break: break-word;
    }

    .contact-section {
        padding: 4rem 1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-form {
        width: 100%;
        box-sizing: border-box;
        padding: 2rem 1rem;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .stories-cards-grid .client-review-item,
    .stories-fallback-group .client-review-item {
        flex: 0 0 100%;
    }

    .hero-content2 {
        padding: 80px 1rem 2rem 1rem;
    }

    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.5rem; }
    .contact-container { grid-template-columns: 1fr; }

    .contact-form {
        padding: 1.5rem 0.85rem;
    }

    .form-input {
        padding: 0.9rem;
    }
}
