/* =======================
   BASE & TYPOGRAPHY - (Avada's Color Scheme: Dark BG, Orange/Red Accent)
   ======================== */
:root {
    --primary-color: #ff5722; /* Orange/Red Accent */
    --secondary-color: #00bcd4; /* Light Blue/Cyan for Recovery */
    --dark-color: #1a1a1a; /* Very Dark Background (for Header & Footer) */
    --light-dark-color: #333333;
    --text-dark: #212121;
    --text-light: #757575;
    --bg-light: #f5f5f5;
    --white-text: #ffffff;
    --border-color: #e0e0e0;
    --font-family: 'Vazirmatn', sans-serif;
    --border-radius: 6px;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    direction: rtl;
    text-align: right;
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-full-width {
    width: 100%;
    padding: 0 40px;
}

section {
    padding: 100px 0;
    position: relative;
}

.sub-heading {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--dark-color);
}
.white-text {
    color: var(--white-text) !important;
}

/* --- Buttons --- */
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}
.primary-button:hover {
    background-color: #cc451c; 
}
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--white-text);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--white-text);
    transition: var(--transition);
}
.secondary-button:hover {
    background-color: var(--white-text);
    color: var(--dark-color);
}
.large-button {
    padding: 18px 40px;
    font-size: 16px;
}
.text-center {
    text-align: center;
}
.dark-bg {
    background-color: var(--dark-color);
}


/* =======================
   HEADER (مشکی ثابت - غیر چسبان)
   ======================== */
.gym-header {
    position: relative; /* غیر چسبان */
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background-color: var(--dark-color); /* مشکی ثابت */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.gym-header .logo-text {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--white-text);
}

.gym-header .main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gym-header .nav-menu {
    display: flex;
    gap: 30px;
}

.gym-header .nav-item a {
    color: var(--white-text);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    font-size: 15px;
}

.gym-header .nav-item.active a {
    color: var(--primary-color) !important;
}

.gym-header .nav-item a:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}
.gym-header .nav-item a:hover:after,
.gym-header .nav-item.active a:after {
    width: 100%;
}
.gym-header .cta-button {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.gym-header .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--white-text); 
    cursor: pointer;
}

/* =======================
   1. HERO SECTION (اسلایدر - تک بخش نوشته، مرکزی، با عکس بوکس)
   ======================== */
.hero-section {
    /* Use the user-provided image URL for boxing */
    background: var(--dark-color) url('https://images.daznservices.com/di/library/dazn_news_bet/45/74/boxeo-generico_4jez6ftv7aks1jr10n9khum5q.png?t=-1348790487') no-repeat center center/cover;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center; /* مرکز چین محتوا */
    color: var(--white-text);
    position: relative;
    padding: 0 40px;
}
.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); 
}

.hero-content {
    max-width: 800px;
    position: relative;
    text-align: center; /* مرکز چین متن */
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white-text);
}

.hero-content .highlight {
    color: var(--primary-color);
}

.hero-content .lead-paragraph {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #bdbdbd;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center; /* مرکز چین دکمه‌ها */
}

/* =======================
   2. VALUE BOXES
   ======================== */
.value-boxes-section {
    background-color: var(--bg-light);
    padding: 60px 0;
}
.value-box-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}
.value-box {
    background-color: var(--dark-color);
    color: var(--white-text);
    padding: 40px 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--primary-color);
    transition: transform 0.3s;
}
.value-box:hover {
    transform: translateY(-8px);
    border-top-color: var(--secondary-color);
}
.value-box i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* =======================
   3. SERVICE BREAKDOWN 
   ======================== */
.service-breakdown-section {
    text-align: center;
    background-color: var(--white-text);
}
.service-row-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
}
.service-row-item {
    min-height: 350px;
    background: var(--dark-color) no-repeat center center/cover;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}
.training-bg { background-image: url('https://placehold.co/600x350/3c3c3c/fff?text=Training+Academy'); }
.recovery-bg { background-image: url('https://placehold.co/600x350/2a2a2a/fff?text=Recovery+Hub+Salt+Room'); }
.consulting-bg { background-image: url('https://placehold.co/600x350/4d4d4d/fff?text=Business+Consulting'); }
.shop-bg { background-image: url('https://placehold.co/600x350/333/fff?text=Store+Supplements'); }

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    padding: 30px;
    color: var(--white-text);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}
.service-row-item:hover .item-overlay {
    background-color: rgba(255, 87, 34, 0.85); 
}
.item-button {
    background-color: var(--white-text);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
}
.item-button:hover {
    background-color: var(--dark-color);
    color: var(--white-text);
}

/* =======================
   4. COACH / PERSONAL BRANDING
   ======================== */
.coach-branding-section {
    background-color: var(--bg-light); 
    padding: 100px 0;
}
.coach-layout-grid {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 60px;
    align-items: center;
}
.coach-image-container {
    position: relative;
    height: 700px;
    background-color: var(--primary-color); 
    border-radius: var(--border-radius);
    overflow: hidden;
}
.coach-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* =======================
   5. TESTIMONIALS
   ======================== */
.testimonial-section {
    background-color: var(--dark-color);
    padding: 80px 0;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.testimonial-card {
    background-color: var(--light-dark-color);
    padding: 30px;
    border-radius: var(--border-radius);
    color: var(--white-text);
    text-align: center;
}

/* =======================
   6. CALL TO ACTION / LOCATION
   ======================== */
.cta-location-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    background-image: url('https://placehold.co/1920x250/ff5722/fff?text=Map+Location+Texture');
    background-blend-mode: multiply;
    text-align: center;
}

/* =======================
   FOOTER
   ======================== */
.site-footer {
    background-color: var(--dark-color);
    color: #ffffff;
    padding-top: 50px;
}
.footer-top {
    border-bottom: 1px solid var(--light-dark-color);
    padding-bottom: 40px;
}
.footer-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr; 
    gap: 30px;
}
.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white-text); 
    margin-bottom: 20px;
}
.footer-col ul li a {
    color: #bdbdbd;
    font-size: 15px;
    display: block;
    margin-bottom: 12px;
}

/* =======================
   RESPONSIVE
   ======================== */
@media (max-width: 992px) {
    
    /* Header Mobile */
    .gym-header .mobile-menu-btn {
        display: block;
    }
    
    /* Hero Mobile */
    .hero-content h1 {
        font-size: 44px;
    }
    
    /* Grids Mobile */
    .value-box-grid {
        grid-template-columns: 1fr;
    }
    .service-row-grid {
        grid-template-columns: 1fr;
    }
    .coach-layout-grid {
        grid-template-columns: 1fr;
    }
    .coach-image-container {
        order: -1;
        height: 500px;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer Mobile */
    .footer-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-col:nth-child(1), .footer-col:nth-child(4) {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 36px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .footer-row {
        grid-template-columns: 1fr;
    }
    .footer-col:nth-child(1), .footer-col:nth-child(2), .footer-col:nth-child(3), .footer-col:nth-child(4) {
        grid-column: span 1;
    }
}
/* =======================
   NEW STYLES FOR CLASSES PAGE
   ======================== */

/* --- Page Header / Breadcrumb --- */
.page-header-section {
    background-color: var(--dark-color);
    color: var(--white-text);
    padding: 100px 0 50px;
    border-top: 1px solid var(--light-dark-color);
    margin-top: 80px; /* Offset for non-sticky header */
}
.page-header-section .section-title {
    font-size: 48px;
    color: var(--white-text);
    margin-bottom: 10px;
}
.page-header-section .section-subtitle {
    font-size: 18px;
    color: #bdbdbd;
    margin-bottom: 25px;
}
.breadcrumb {
    font-size: 15px;
    color: #bdbdbd;
}
.breadcrumb a {
    color: var(--primary-color);
}
.breadcrumb i {
    font-size: 10px;
    margin: 0 10px;
    color: #bdbdbd;
}

/* --- Class Cards Grid --- */
.class-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.class-card {
    background-color: var(--white-text);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 250px;
    background: center center/cover no-repeat;
}
.kickboxing-img { background-image: url('https://placehold.co/600x250/333333/ff5722?text=Kickboxing+Private'); }
.fitness-img { background-image: url('https://placehold.co/600x250/2a2a2a/ff5722?text=Personal+Fitness'); }
.recovery-img { background-image: url('https://placehold.co/600x250/1a1a1a/00bcd4?text=Rehabilitation+Therapy'); }
.consulting-img { background-image: url('https://placehold.co/600x250/4d4d4d/ff5722?text=Online+Coaching'); }

.card-content {
    padding: 30px;
}
.class-type {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}
.primary-color-text { color: var(--primary-color); }
.secondary-color-text { color: var(--secondary-color); }

.card-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}
.card-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}
.class-details {
    margin-bottom: 30px;
}
.class-details li {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.class-details i {
    color: var(--primary-color);
    margin-left: 8px;
    font-size: 16px;
}
.small-button {
    padding: 10px 20px;
    font-size: 14px;
}


/* --- Responsive Class Cards --- */
@media (max-width: 768px) {
    .page-header-section {
        margin-top: 70px;
        padding: 80px 0 40px;
    }
    .page-header-section .section-title {
        font-size: 40px;
    }
    .class-card-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}
/* =======================
   NEW STYLES FOR RECOVERY PAGE
   ======================== */

/* --- Page Header / Background Image --- */
.recovery-header-bg {
    background: var(--dark-color) url('https://placehold.co/1920x400/00bcd4/fff?text=Recovery+Hub+BG') no-repeat center center/cover;
    background-blend-mode: multiply;
    background-color: rgba(26, 26, 26, 0.7); /* Dark overlay */
    padding: 120px 0 60px;
}

/* --- Recovery Service Grid --- */
.recovery-services-section {
    padding: 100px 0;
    text-align: center;
}
.recovery-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.recovery-service-card {
    background-color: var(--bg-light);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    border-bottom: 3px solid var(--secondary-color);
    transition: var(--transition);
}
.recovery-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
.recovery-service-card i {
    font-size: 36px;
    margin-bottom: 20px;
}
.recovery-service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}
.recovery-service-card p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
}
.service-link {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 14px;
}
.service-link i {
    font-size: 14px;
    margin-right: 5px;
}
.primary-color-icon { color: var(--primary-color); } /* Icons stay Orange/Red for brand consistency */

/* --- Benefits Section (Two Column) --- */
.benefits-section {
    background-color: var(--light-dark-color);
    padding: 80px 0;
}
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.benefits-text p {
    color: #bdbdbd;
    margin-bottom: 30px;
}
.check-list-light {
    list-style: none;
    padding: 0;
}
.check-list-light li {
    font-size: 17px;
    margin-bottom: 15px;
    color: var(--white-text);
}
.check-list-light i {
    color: var(--secondary-color); /* Recovery specific check color */
    margin-left: 10px;
    font-size: 20px;
}

/* --- CTA Section Recovery Specific --- */
.primary-bg-solid {
    background-color: var(--primary-color);
    padding: 60px 0;
    /* Remove background image to make it solid */
    background-image: none !important; 
}
.cta-invert-color {
    /* Reverse the button colors for high contrast on orange BG */
    background-color: var(--white-text) !important;
    color: var(--primary-color) !important;
    border-color: var(--white-text) !important;
}
.cta-invert-color:hover {
    background-color: var(--dark-color) !important;
    color: var(--white-text) !important;
    border-color: var(--dark-color) !important;
}

/* --- Responsive Recovery Page --- */
@media (max-width: 992px) {
    .recovery-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
     .recovery-service-grid {
        grid-template-columns: 1fr;
    }
}
/* =======================
   NEW STYLES FOR CONSULTING PAGE
   ======================== */

/* --- Consulting Service Grid --- */
.consulting-services-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--bg-light);
}
.consulting-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.consulting-card {
    background-color: var(--white-text);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--primary-color);
    transition: transform 0.3s;
}
.consulting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.consulting-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}
.consulting-card i {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-color); 
}

/* --- Why Us Section (Two Column) --- */
.why-us-consulting {
    padding: 80px 0;
}
.why-us-consulting .benefits-grid {
    /* Reuse the two-column grid from recovery page */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
/* Ensure the responsive styles for benefits-grid also cover this section */

/* --- Responsive Consulting Page --- */
@media (max-width: 992px) {
    .consulting-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
     .consulting-service-grid {
        grid-template-columns: 1fr;
    }
}
/* =======================
   NEW STYLES FOR COACH PAGE
   ======================== */

/* --- Coach Bio Section (Two Column) --- */
.coach-bio-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}
.coach-bio-grid {
    display: grid;
    grid-template-columns: 1fr 500px; /* Text on right, image container on left (RTL) */
    gap: 60px;
    align-items: flex-start;
}
.coach-text-content {
    padding-top: 20px;
}
.coach-text-content p {
    margin-bottom: 20px;
}
.coach-contact-list {
    margin-bottom: 40px;
}
.coach-contact-list li {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
}
.coach-contact-list i {
    color: var(--primary-color);
    margin-left: 10px;
    font-size: 18px;
}
.coach-image-right {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.coach-image-right img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* --- Skills Grid --- */
.skills-section {
    padding: 80px 0;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.skill-box {
    background-color: var(--light-dark-color);
    color: var(--white-text);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
    transition: transform 0.3s;
}
.skill-box:hover {
    transform: translateY(-5px);
}
.skill-box i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.skill-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.skill-box p {
    font-size: 14px;
    color: #bdbdbd;
}

/* --- Responsive Coach Page --- */
@media (max-width: 1200px) {
    .coach-bio-grid {
        grid-template-columns: 1fr 400px;
    }
}
@media (max-width: 992px) {
    .coach-bio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .coach-image-right {
        order: -1;
        height: 500px;
    }
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}
/* =======================
   NEW STYLES FOR GALLERY PAGE
   ======================== */

/* --- Gallery Grid --- */
.gallery-section {
    padding: 100px 0;
}
.gallery-section .section-subtitle {
    margin-bottom: 50px;
}
.gallery-grid {
    display: grid;
    /* Masonry-like grid with variable columns, but keeping it simple for now */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
}
.gallery-item:hover {
    transform: scale(1.02);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s;
}
/* Adjust specific items for better visual flow */
.gallery-grid .gallery-item:nth-child(1) { 
    grid-column: span 1;
    grid-row: span 1;
}
.gallery-grid .gallery-item:nth-child(4) { 
    grid-column: span 2; 
    grid-row: span 1;
}
.gallery-grid .gallery-item:nth-child(7) { 
    grid-column: span 1;
    grid-row: span 2;
}

@media (max-width: 992px) {
    .gallery-grid {
         /* Single column stack for small screens */
        grid-template-columns: 1fr;
    }
    .gallery-grid .gallery-item {
        grid-column: span 1 !important; 
        grid-row: span 1 !important;
    }
}