/**
 * ملف الأنماط الجديد
 *
 * يحتوي على الأنماط المخصصة للموقع الجديد
 *
 * @package SuperClean
 */

/* إعدادات عامة */
:root {
    --primary-color: #6f42c1;
    --primary-dark: #5e35b1;
    --primary-light: #9575cd;
    --secondary-color: #6c757d;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Noto Kufi Arabic', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

/* تخصيص Bootstrap */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* شريط التنقل المحسن */
.header-area {
    position: relative;
}

.top-header {
    font-size: 0.9rem;
}

.top-header .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.top-header .social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
}

.navbar-brand img {
    max-height: 45px;
}

.navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar .nav-link:hover {
    color: var(--primary-color);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after {
    width: 70%;
}

.navbar .btn {
    transition: all 0.3s ease;
}

.navbar .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* قسم العرض الرئيسي */
.hero-section {
    padding: 3rem 0;
    background-color: white;
}

.hero-section .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-section .hero-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* عناوين الأقسام المحسنة */
.modern-title {
    position: relative;
    margin-bottom: 3rem;
}

.modern-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.title-line {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
    position: relative;
    display: block;
    clear: both;
}

.title-line::before,
.title-line::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.title-line::before {
    left: -15px;
}

.title-line::after {
    right: -15px;
}

/* قسم الإحصائيات */
.stats-section {
    padding: 5rem 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.03) 0%, rgba(111, 66, 193, 0.06) 100%);
    z-index: 0;
}

.stats-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stats-card .stats-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(111, 66, 193, 0.3);
}

.stats-card .stats-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.stats-card .stats-label {
    color: #555;
    font-size: 1.1rem;
    font-weight: 500;
}

/* قسم الخدمات */
.services-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.03) 0%, rgba(111, 66, 193, 0.06) 100%);
    z-index: 0;
}

.services-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card .service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card .service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.3);
    z-index: 2;
}

.service-card .service-content {
    padding: 2rem;
    position: relative;
}

.service-card .service-icon {
    position: absolute;
    top: -25px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.3);
}

.service-card .service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.service-card .service-description {
    color: #555;
    margin-bottom: 1.5rem;
    height: 48px;
    overflow: hidden;
    line-height: 1.6;
}

.service-card .service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.2rem;
    border-top: 1px solid #eee;
}

.service-card .service-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.service-card .service-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.2);
    text-decoration: none;
}

.service-card .service-button:hover {
    background-color: var(--success-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* قسم الباقات */
.packages-section {
    padding: 5rem 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.packages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.03) 0%, rgba(111, 66, 193, 0.06) 100%);
    z-index: 0;
}

.modern-package {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    height: 100%;
}

.modern-package:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.package-ribbon {
    position: absolute;
    top: 0;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    transform: translateY(-25px) rotate(45deg);
    z-index: 2;
}

.modern-package .package-header {
    background-color: var(--primary-color);
    color: white;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.modern-package .package-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.modern-package .package-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.modern-package .package-price {
    font-size: 3rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.modern-package .package-period {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.modern-package .package-content {
    padding: 2rem;
}

.modern-package .package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.modern-package .package-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    color: #555;
}

.modern-package .package-features li:last-child {
    border-bottom: none;
}

.modern-package .package-features li i {
    color: var(--primary-color);
    margin-left: 0.8rem;
    font-size: 1.1rem;
}

.modern-package .package-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.2);
    text-decoration: none;
}

.modern-package .package-button:hover {
    background: linear-gradient(135deg, var(--success-color) 0%, var(--success-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    text-decoration: none;
}

/* قسم آراء العملاء */
.testimonials-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.03) 0%, rgba(111, 66, 193, 0.06) 100%);
    z-index: 0;
}

.modern-testimonials {
    position: relative;
    padding: 0 50px;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.modern-testimonials .swiper-button-next,
.modern-testimonials .swiper-button-prev {
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.modern-testimonials .swiper-button-next:hover,
.modern-testimonials .swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.modern-testimonials .swiper-button-next:after,
.modern-testimonials .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.modern-testimonials .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.modern-testimonials .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

.modern-testimonial {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.modern-testimonial .testimonial-quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--primary-color);
    opacity: 0.1;
    font-size: 3rem;
}

.modern-testimonial .testimonial-content {
    color: #555;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.modern-testimonial .testimonial-header {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

.modern-testimonial .testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 1.2rem;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.2);
}

.modern-testimonial .testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modern-testimonial .testimonial-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.modern-testimonial .testimonial-stars {
    color: #ffc107;
    font-size: 0.9rem;
}

/* قسم نموذج الحجز */
.booking-section {
    padding: 4rem 0;
    background-color: white;
}

.booking-form-modern {
    margin-bottom: 2rem;
}

.booking-form-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.booking-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.booking-form-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    position: relative;
}

.booking-form-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.booking-form-icon {
    width: 50px;
    height: 50px;
    background-color: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-left: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.booking-form-body {
    padding: 2rem;
}

.booking-form-modern .form-control,
.booking-form-modern .form-select {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s;
}

.booking-form-modern .form-control:focus,
.booking-form-modern .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.15);
}

.booking-form-modern .input-group-text {
    background-color: #f8f9fa;
    border-color: #e0e0e0;
    color: var(--primary-color);
}

.booking-form-modern .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.95rem;
}

.booking-form-modern .btn-submit {
    background-color: var(--success-color);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.3s;
}

.booking-form-modern .btn-submit:hover {
    background-color: #0d9668;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* تخصيص التاريخ الهجري والميلادي */
.date-type-toggle {
    display: flex;
    margin-bottom: 1rem;
}

.date-type-toggle .form-check-input:checked {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.hijri-date-input,
.gregorian-date-input {
    transition: all 0.3s;
}

/* تخصيص الفورم للشاشات الصغيرة */
@media (max-width: 768px) {
    .booking-form-card {
        margin-bottom: 2rem;
    }

    .booking-form-header {
        padding: 1.25rem;
    }

    .booking-form-body {
        padding: 1.5rem;
    }
}

/* تذييل الصفحة */
footer {
    background-color: #212529;
    color: white;
    padding: 4rem 0 0;
}

footer .footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

footer .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-links li {
    margin-bottom: 0.75rem;
}

footer .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

footer .footer-links a:hover {
    color: white;
}

footer .footer-links a i {
    margin-left: 0.5rem;
}

footer .footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

footer .footer-contact p i {
    margin-left: 0.75rem;
    width: 20px;
    text-align: center;
}

footer .footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

footer .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: background-color 0.3s;
}

footer .footer-social a:hover {
    background-color: var(--primary-color);
}

footer .footer-newsletter .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 5px;
}

footer .footer-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

footer .footer-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

footer .footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
}

/* زر واتساب */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* زر تبديل اللغة */
.language-toggle {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3px;
    position: relative;
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.language-option.active {
    color: var(--primary-color);
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.language-option:hover:not(.active) {
    color: white;
    transform: translateY(-2px);
}

/* زر التمرير لأعلى */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.3s;
}

.scroll-to-top:hover {
    transform: scale(1.1);
}

/* الاستجابة للشاشات المختلفة */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-section .hero-title {
        font-size: 2rem;
    }

    .stats-card {
        margin-bottom: 1.5rem;
    }

    .service-card .service-image {
        height: 180px;
    }

    .package-card {
        margin-bottom: 1.5rem;
    }
}
