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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0a0c10;
    color: #ffffff;
    line-height: 1.6;
}

.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/photos/background.webp');
    background-size: cover;
    background-position: 85% 30%;
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.4) 100%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 1rem;
}

/* ===== HEADER & NAVBAR (دقیقاً مثل Coaches با !important) ===== */
.site-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    margin-bottom: 3rem !important;
    border-bottom: 1px solid rgba(233, 196, 106, 0.2) !important;
    padding-bottom: 0.5rem !important;
}

.logo img {
    max-height: 90px !important;
    width: auto !important;
    display: block !important;
}

.main-nav ul {
    display: flex !important;
    list-style: none !important;
    gap: 2rem !important;
    align-items: center !important;
}

.main-nav a {
    text-decoration: none !important;
    color: #f5f5f5 !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    transition: color 0.2s !important;
    position: relative !important;
}

.main-nav a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -5px !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: #e9c46a !important;
    transition: width 0.2s !important;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100% !important;
}

.main-nav a:hover,
.main-nav a.active {
    color: #e9c46a !important;
}

/* ===== منوی همبرگر ===== */
.hamburger {
    display: none !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0.7rem !important;
    border-radius: 50% !important;
    backdrop-filter: blur(4px) !important;
    z-index: 200 !important;
}

.hamburger span {
    display: block !important;
    width: 26px !important;
    height: 2px !important;
    background-color: #ffffff !important;
    margin: 5px 0 !important;
    transition: all 0.3s ease !important;
    border-radius: 2px !important;
}

/* ---------- عنوان اصلی و جداکننده ---------- */
.title-block {
    text-align: center;
    margin-bottom: 3rem;
}

.title-block h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff, #e9c46a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.about-tag {
    font-size: 1.2rem;
    font-weight: 500;
    color: #e9c46a;
    letter-spacing: 5px;
    margin-bottom: 0.8rem;
}

.tagline {
    font-size: 1rem;
    color: #cccccc;
    border-top: 1px solid rgba(233,196,106,0.4);
    border-bottom: 1px solid rgba(233,196,106,0.4);
    display: inline-block;
    padding: 0.6rem 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.separator {
    text-align: center;
    font-size: 1.8rem;
    color: #e9c46a;
    margin: 1.8rem 0;
    letter-spacing: 4px;
    opacity: 0.7;
}

/* ---------- متن‌های اصلی ---------- */
.about-content section {
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #e9c46a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: #ffffff;
    border-left: 3px solid #e9c46a;
    padding-left: 1rem;
}

p {
    color: #e0e0e0;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* ---------- CORE VALUES وسط‌چین ---------- */
.values {
    text-align: center;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.value-card {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    transition: transform 0.2s, background 0.2s;
}

.value-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.5);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.value-card h3 {
    border-left: none;
    padding-left: 0;
    color: #e9c46a;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
    color: #ddd;
    margin-bottom: 0;
}

/* ---------- فوتر ---------- */
.site-footer {
    border-top: 1px solid rgba(233, 196, 106, 0.3);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #f0f0f0;
}

.copyright {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* ===== دکمه بازگشت به بالا ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(145deg, #e9c46a, #d4a832);
    color: #0a0c10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 1000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    border: none;
    font-family: monospace;
    text-decoration: none;
}

.back-to-top .arrow {
    font-size: 40px;
    font-weight: bolder;
    transition: transform 0.3s ease;
    display: inline-block;
}

.back-to-top:hover {
    background: linear-gradient(145deg, #f4d078, #e9c46a);
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(233, 196, 106, 0.4);
}

.back-to-top:hover .arrow {
    transform: translateY(-4px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    .logo img {
        max-height: 70px;
    }
    .hamburger {
        display: block !important;
    }
    .main-nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: rgba(8, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        z-index: 150;
        border-radius: 0 20px 20px 0;
        box-shadow: 4px 0 30px rgba(0,0,0,0.6);
        padding: 2rem 1rem;
    }
    .main-nav ul.active {
        left: 0;
    }
    .main-nav ul li a {
        font-size: 1.2rem;
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        z-index: 140;
        backdrop-filter: blur(4px);
    }

    .title-block h1 {
        font-size: 2.2rem;
    }
    .about-tag {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    .tagline {
        font-size: 0.85rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.1rem;
    }
    .values-grid {
        flex-direction: column;
        align-items: center;
    }
    .value-card {
        width: 100%;
        max-width: 280px;
    }

    .footer-contact {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
    .back-to-top .arrow {
        font-size: 28px;
    }
}