/* --- General Reset & Variables --- */
:root {
    --primary-color: #D4AF37; /* Gold */
    --background-color: #121212;
    --surface-color: #1E1E1E;
    --text-color: #E0E0E0;
    --secondary-text-color: #A0A0A0;
    --font-heading: 'Montserrat', 'Vazirmatn', sans-serif;
    --font-body: 'Vazirmatn', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.7;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 3.5rem; margin-bottom: 20px; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 40px; }
h3 { font-size: 1.5rem; margin-bottom: 15px; }

/* --- Header & Navigation --- */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--surface-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    margin-right: 20px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
#hero {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.bio {
    font-size: 1.1rem;
    color: var(--secondary-text-color);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn:hover {
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    width: 450px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--primary-color);
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

/* --- Roadmap Section --- */
.roadmap-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.roadmap-phase {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.roadmap-phase:hover {
    transform: translateY(-5px);
}

/* --- Footer --- */
footer {
    background-color: var(--surface-color);
    text-align: center;
    padding: 30px 0;
}

footer .container {
    padding-top: 0;
    padding-bottom: 0;
}

.powered-by a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    header .container {
        flex-direction: column;
        gap: 15px;
    }

    #hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }
    .hero-image {
        order: 1;
        margin-bottom: 30px;
    }
    .hero-image img {
        width: 80%;
    }

    .cta-buttons {
        justify-content: center;
    }
}


/* --- New Footer Contact Styles --- */
.footer-contact {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap; /* برای نمایش بهتر در موبایل */
}

.footer-contact a {
    color: var(--secondary-text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.separator {
    color: var(--surface-color);
}