/* استایل‌های کلی */
body {
    font-family: 'Iran Sans', Tahoma, Arial, sans-serif;
    background-color: #f4f7fb;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    direction: rtl; /* تنظیم راست به چپ */
    text-align: right; /* تراز کردن متن به راست */
}

header {
    background: #007bff;
    color: white;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

.container {
    width: 80%;
    margin: 30px auto;
}

/* استایل بخش‌ها */
.section {
    margin-bottom: 40px;
}

.section h2 {
    color: #333;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: right; /* تراز کردن عنوان به راست */
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: #007bff;
}

/* استایل برای آیتم‌های اسلایدری */
.tour-slider, .hotel-slider, .attraction-slider {
    display: flex;
    overflow: hidden;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.tour-item, .hotel-item, .attraction-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    margin: 10px;
    width: 300px; /* عرض مربع‌ها */
    height: 350px; /* ارتفاع مربع‌ها */
    cursor: pointer;
}

.tour-item:hover, .hotel-item:hover, .attraction-item:hover {
    transform: scale(1.05);
}

.tour-item img, .hotel-item img, .attraction-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #007bff;
}

.tour-content, .hotel-content, .attraction-content {
    padding: 15px;
}

.tour-content h3, .hotel-content h3, .attraction-content h3 {
    color: #007bff;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.tour-content p, .hotel-content p, .attraction-content p {
    color: #555;
    font-size: 1.1em;
}

/* استایل برای فوتر */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
}

footer p {
    margin: 0;
}

.admin-dashboard {
    text-align: center;
}

.admin-actions button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px;
    margin: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.admin-actions button:hover {
    background-color: #0056b3;
}

.form-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

form label {
    font-size: 1.1em;
    margin: 10px 0;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
}

form button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #0056b3;
}
/* استایل واکنش‌گرا */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    .tour-item, .hotel-item, .attraction-item {
        width: 100%;
        height: auto;
    }

    .tour-slider, .hotel-slider, .attraction-slider {
        flex-direction: column;
    }

    header h1 {
        font-size: 2em;
    }

    .section h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }

    .tour-item, .hotel-item, .attraction-item {
        width: 100%;
        height: auto;
    }

    .tour-slider, .hotel-slider, .attraction-slider {
        flex-direction: column;
    }

    .tour-content h3, .hotel-content h3, .attraction-content h3 {
        font-size: 1.2em;
    }

    .tour-content p, .hotel-content p, .attraction-content p {
        font-size: 1em;
    }
}

    .tour-item, .hotel-item, .attraction-item {
        width: 100%;
        height: auto;
    }

    .tour-slider, .hotel-slider, .attraction-slider {
        flex-direction: column;
    }

    .tour-content h3, .hotel-content h3, .attraction-content h3 {
        font-size: 1.2em;
    }

    .tour-content p, .hotel-content p, .attraction-content p {
        font-size: 1em;
    }
}
