﻿/* تنظیمات پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazir', 'Segoe UI', Tahoma, sans-serif;
}

body {
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
    direction: rtl;
}

/* هیرو */
.hero {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

    .hero h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

        .hero h1 span {
            color: #f1c40f;
        }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        opacity: 0.9;
    }

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #f1c40f;
    color: #2c3e50;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover {
    background: #f39c12;
    transform: translateY(-3px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* بخش معرفی */
.intro {
    padding: 4rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-text {
    flex: 1;
    min-width: 300px;
    padding: 1rem;
}

    .intro-text h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: #2c3e50;
    }

    .intro-text p {
        color: #555;
        margin-bottom: 1.5rem;
    }

.intro-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 150px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    display: block;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* خدمات */
.services {
    padding: 4rem 2rem;
    background: #ecf0f1;
    text-align: center;
}

    .services h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
        color: #2c3e50;
    }

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
    transition: all 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

    .service-card i {
        font-size: 3rem;
        color: #3498db;
        margin-bottom: 1.5rem;
    }

    .service-card h3 {
        margin-bottom: 1rem;
        color: #2c3e50;
    }

    .service-card p {
        color: #7f8c8d;
    }

/* گالری */
.gallery {
    padding: 4rem 2rem;
    text-align: center;
}

    .gallery h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
        color: #2c3e50;
    }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.5s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* تماس با ما */
.contact {
    padding: 4rem 2rem;
    background: #2c3e50;
    color: white;
    text-align: center;
}

    .contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

    .contact-info p {
        margin: 1rem 0;
        font-size: 1.1rem;
    }

    .contact-info i {
        margin-left: 0.5rem;
        color: #f1c40f;
    }

/* رسپانسیو */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .intro {
        flex-direction: column;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }
}
