/* ---------- RESET & GLOBAL ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background-color: #0a0c10;
    color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
    font-weight: 500;
}

/* ===== HERO BACKGROUND USING IMG TAG ===== */
.hero-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 75% 8%;
}

.hero-bg-wrapper::after {
    content: '';
    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) 50%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Main Container */
.site-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== 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 {
    z-index: 200;
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 150px;
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
}

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

.main-nav a {
    text-decoration: none;
    color: #f5f5f5;
    font-weight: 700;
    font-size: 0.9rem;
    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;
}

/* ===== HERO SECTION (left aligned) ===== */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 3rem 0 2rem 0;
    max-width: 650px;
}

.club-name {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff, #e9c46a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.slogan-top {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.8rem, 8vw, 2rem);
    font-weight: 200;
    line-height: 1.1;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.slogan-bottom {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.4rem, 7vw, 3rem);
    font-weight: 200;
    letter-spacing: 0.05em;
    background: linear-gradient(120deg, #f9d976, #f39f86);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-top: -0.2rem;
}

/* ===== BUTTON JOIN ===== */
.btn-join {
    font-family: 'Cinzel', serif;
    background: #e9c46a;
    color: #0a0c10;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    cursor: pointer;
    margin: 2rem 0 0 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-join:hover {
    background: #f4d078;
    transform: translateY(-3px);
}

/* ===== FOOTER with golden line above ===== */
.contact-footer {
    margin-top: 2rem;
    padding: 1.5rem 0 2rem;
    border-top: 2px solid #e9c46a;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #f0f0f0;
}

.contact-icon {
    font-size: 1.2rem;
    opacity: 0.9;
}

.footer-credit {
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.65;
    margin-top: 1rem;
    font-weight: 500;
}

/* ===== RESPONSIVE (MOBILE) ===== */
@media (max-width: 768px) {
    .site-container {
        padding: 0 1.2rem;
    }

    .site-header {
        margin-bottom: 2rem;
    }

    .logo img {
        max-width: 125px;
    }

    .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.25rem;
        font-weight: 700;
    }

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

    .hero {
        align-items: flex-start;
        max-width: 100%;
        padding: 2rem 0 1rem;
    }

    .club-name {
        font-size: 2rem;
        font-weight: 800;
    }

    .contact-info {
        gap: 1rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-item {
        font-size: 0.85rem;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .btn-join {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
        font-weight: 700;
    }
    .contact-item {
        font-size: 0.75rem;
    }
}