/* Este sitio web ha sido desarrollado por Navid Reshadat */

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    margin: 0;
    padding: 0;
}

header {
    background-color: #000000; /* رنگ مشکی */
    color: #d2a642; /* رنگ طلایی */
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

nav {
    background-color: #000000; /* رنگ مشکی */
    padding: 10px 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #d2a642; /* رنگ طلایی */
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background-color: #d2a642; /* رنگ طلایی */
    color: #000000; /* رنگ مشکی */
}

main {
    padding: 2rem 1rem;
    min-height: calc(100vh - 140px);
}

section {
    margin-bottom: 2rem;
    background-color: #fff; /* رنگ سفید */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-align: justify;
}

section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
    max-height: 300px; /* تنظیم حداکثر ارتفاع تصویر */
}

footer {
    background-color: #000000; /* رنگ مشکی */
    color: #d2a642; /* رنگ طلایی */
    padding: 1rem;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

h2 {
    color: #000000; /* رنگ مشکی */
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

p, label {
    font-size: 1.1rem;
}

.button {
    background-color: #d2a642; /* رنگ طلایی */
    color: #000000; /* رنگ مشکی */
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: inline-block;
    font-size: 1rem;
}

.button:hover {
    background-color: #b59634; /* رنگ طلایی تیره‌تر */
}

.property-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: #f1f1f1;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a {
    color: #000000; /* رنگ مشکی */
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: #ddd; /* رنگ خاکستری روشن */
}

/* واکنش‌گرایی برای تراز بندی منو در تمامی دیوایس‌ها */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        text-align: center;
    }

    nav ul li {
        margin: 10px 0;
    }
}
