/* تنظیمات کلی و ریست */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f9f7f2; /* رنگ کرم خیلی روشن */
    color: #4a4a4a; /* خاکستری تیره برای متن */
    line-height: 1.8;
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* هدر */
.header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: #6b8c7b; /* سبز سدری ملایم */
    font-weight: 700;
}

.nav a {
    text-decoration: none;
    color: #555;
    margin-right: 25px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav a:hover {
    color: #6b8c7b;
}

/* بخش Hero */
.hero {
    height: 80vh;
    background: linear-gradient(rgb(107, 140, 123), rgb(249, 247, 242))/*, url('https://images.unsplash.com/photo-1600334089648-b0d9d3028eb2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80')*/;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #6b8c7b;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.3s;
    font-size: 1rem;
}

.btn:hover {
    background-color: #557563;
}

/* استایل بخش‌ها */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #6b8c7b;
    margin-bottom: 50px;
    font-weight: 400;
}

/* کارت‌های فواید */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 15px;
    color: #4a4a4a;
}

.certificate {
    margin: 30px 0;
    border: 2px solid #6b8c7b;
}

.description {
    padding: 50px 0;
    text-align: justify;
}

/* خدمات */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    background: #fff;
    padding: 30px;
    border-right: 4px solid #6b8c7b;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.services-list-small {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 30px;
}

.service-small {
    padding: 15px;
    border-right: 4px solid #6b8c7b;
    color: #000000;
}

.service-item h3 {
    margin-bottom: 10px;
    color: #6b8c7b;
}

/* بخش نظرات مشتریان */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.review-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.customer-name {
    font-weight: bold;
    color: #6b8c7b;
}

.stars {
    color: #f1c40f; /* رنگ طلایی برای ستاره‌ها */
    font-size: 1.2rem;
}

.review-text {
    color: #666;
    font-size: 0.95rem;
}

/* تماس با ما */
.contact {
    background-color: #f0ece6; /* کمی تیره‌تر از پس‌زمینه اصلی */
    text-align: center;
}

.contact-desc {
    margin-bottom: 40px;
    color: #666;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-box span {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-link {
    text-decoration: none;
    color: #4a4a4a;
}

.info-section {
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.hours-box {
    flex: 1;
    min-width: 300px;
    height: 300px;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.hours-list {
    list-style: none;
    padding: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.hours-list li:last-child {
    border-bottom: none;
}

.map-container {
    flex: 2;
    min-width: 300px;
    height: 300px;
    background: #fff;
    border-radius: 15px;
    border: 1px solid #fff;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
}

/* بخش شبکه‌های اجتماعی */
.social-section {
    padding: 60px 0;
    background-color: #f9f7f2;
    text-align: center;
}

.social-section h3 {
    margin-bottom: 30px;
    color: #6b8c7b;
    font-weight: 400;
}

.social-links {
    display: inline;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    transition: transform 0.3s, opacity 0.3s;
}

.social-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.social-logo {
    width: 25px;
    height: 25px;
}

/* فوتر */
footer {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    color: #888;
    font-size: 0.9rem;
    margin-top: 50px;
}

.devloper {
    text-decoration: none;
    color: #013885;
}

.devloper:hover {
    text-decoration: underline;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 30px;
    }

    .map-container {
        height: 250px;
    }    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
}
