/* تنظیمات عمومی */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
}

/* تنظیمات هدر */
header {
    text-align: center;
    padding: 20px;
    background: url('/images/home_image.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}
header img {
    max-width: 150px;
    height: auto;
}

/* تنظیمات ناوبری */
nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}
nav a {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    padding: 15px 30px;
    background: linear-gradient(90deg, #7a6cc4, #b5a6e5); /* تلفیقی از بنفش پررنگ و کمرنگ */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
}
nav a:hover {
    background: linear-gradient(90deg, #b5a6e5, #7a6cc4);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* تنظیمات صفحه اصلی (Home) */
main {
    height: 100vh;
    background: url('/images/home_image.jpg') no-repeat center center fixed;
    background-size: cover; /* پوشش کل صفحه */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* تنظیمات تیتر صفحه اصلی */
main h2 {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* مخفی کردن دکمه‌ها در صفحه اصلی */
button {
    display: none; /* مخفی کردن دکمه‌ها در صفحه اصلی */
}

/* نمایش دکمه‌ها فقط در صفحه Contact */
.contact-page button {
    display: inline-block; /* نمایش دکمه‌ها در صفحه Contact */
    padding: 15px 30px;
    font-size: 18px;
    color: white;
    background: linear-gradient(90deg, #7a6cc4, #b5a6e5); /* ترکیب بنفش پررنگ و کمرنگ */
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin: 10px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}

.contact-page button:hover {
    background: linear-gradient(90deg, #b5a6e5, #7a6cc4); /* معکوس کردن رنگ در حالت hover */
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* تنظیمات فوتر */
footer {
    background-color: rgba(30, 30, 30, 0.8);
    text-align: center;
    padding: 15px;
}
footer img {
    max-width: 60px;
    margin: 10px;
    transition: transform 0.3s ease-in-out;
}
footer img:hover {
    transform: scale(1.2);
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
    header img {
        max-width: 100px;
    }
    footer img {
        max-width: 50px;
    }
    .gallery img {
        max-width: 90%;
    }
    nav a {
        font-size: 16px;
        padding: 10px 20px;
    }
}
