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

body {
    font-family: 'Inter', 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) ===== */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(233, 196, 106, 0.2);
    padding-bottom: 0.5rem;
}

.logo img {
    max-height: 90px;  /* مثل Coaches */
    width: auto;
    display: block;
}

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

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

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

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

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

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

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

/* ---------- محتوای صفحه Join Us ---------- */
.join-content {
    margin: 2rem 0;
}

.title-block {
    text-align: center;
    margin-bottom: 2rem;
}

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

.title-block .subhead {
    font-size: 1.3rem;
    font-weight: 600;
    color: #e9c46a;
    margin-bottom: 0.5rem;
}

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

h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e9c46a;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.styled-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1rem 0;
}

.styled-list li {
    background: rgba(233,196,106,0.1);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    border: 1px solid rgba(233,196,106,0.3);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.styled-list li:hover {
    background: rgba(233,196,106,0.2);
    border-color: #e9c46a;
}

.styled-list.columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.8rem;
}

/* ===== برنامه‌ها ===== */
.programs-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

@media (min-width: 1200px) {
    .programs-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

.program-card {
    background: rgba(15, 20, 25, 0.65);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(233, 196, 106, 0.3);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    text-align: left;
    box-shadow: 0 12px 25px -8px rgba(0, 0, 0, 0.3);
}

.program-card:hover {
    transform: translateY(-6px);
    border-color: #e9c46a;
    background: rgba(20, 25, 30, 0.85);
    box-shadow: 0 20px 35px -10px rgba(233, 196, 106, 0.2);
}

.program-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e9c46a;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
    border-left: 3px solid #e9c46a;
    padding-left: 0.75rem;
}

.program-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: #e8e8e8;
}

/* ---------- ساعت تمرین ---------- */
.schedule-box {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 1rem 0;
}

.schedule-day {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    padding: 1rem 2rem;
    border-radius: 60px;
    border-left: 3px solid #e9c46a;
    text-align: center;
    font-weight: 500;
}

/* ---------- دکمه‌های جدید: ایمیل و واتساپ ---------- */
.ready {
    text-align: center;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin: 1.5rem 0 0.8rem;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 60px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    min-width: 200px;
}

.btn-email {
    background: #e9c46a;
    color: #0a0c10;
    box-shadow: 0 4px 12px rgba(233, 196, 106, 0.3);
}
.btn-email:hover {
    background: #f4d078;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(233, 196, 106, 0.4);
}

.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background: #1ebe5c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp i {
    color: #ffffff;
}

.action-hint {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 0.8rem;
    font-style: italic;
}

.tagline {
    font-size: 0.9rem;
    font-style: italic;
    color: #e9c46a;
    margin-top: 1rem;
    font-weight: 600;
}

/* ---------- فوتر ---------- */
.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;
}

.contact-item a {
    color: #f0f0f0;
    text-decoration: none;
}
.contact-item a:hover {
    color: #e9c46a;
}

.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;
}

.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;
    }
    .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;
        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;
    }
    .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: 2rem;
    }
    .title-block .subhead {
        font-size: 1rem;
    }
    .styled-list.columns {
        grid-template-columns: 1fr;
    }
    .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;
    }

    /* ===== دکمه‌ها در موبایل: کوچک‌تر ===== */
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    .btn-action {
        min-width: 0;
        width: auto;
        max-width: 90%;
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}