/* متغيرات الألوان والخطوط */
:root {
    --primary-color: #4CAF50; /* اللون الأخضر الفاتح */
    --primary-dark: #388E3C;
    --primary-light: #C8E6C9;
    --accent-color: #8BC34A;
    --text-color: #333;
    --text-light: #666;
    --light-color: #f9f9f9;
    --white: #ffffff;
    --dark-color: #222;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --font-family: 'Tajawal', sans-serif;
    --transition: all 0.3s ease;
    --animation-duration: 0.5s;
}

/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    direction: rtl;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 11px 24px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    cursor: pointer;
    text-align: center;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

.btn-service {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    margin-top: 15px;
}

.btn-service:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* تنسيق الترويسة والقسم العلوي */
.header {
    position: relative;
    z-index: 1000;
}

.top-bar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* قسم الترحيب الرئيسي */
.hero-section {
    padding: 150px 0 80px;
    background-color: var(--white);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.3;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* قسم المميزات */
.features-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-box {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background-color: var(--white);
    border-bottom: 3px solid var(--primary-color);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-box p {
    color: var(--text-light);
}

/* قسم جدول الأسعار */
.pricing-section {
    padding: 80px 0;
    background-color: var(--white);
}

.pricing-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.pricing-card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 25px 20px;
    position: relative;
}

.pricing-card-header h3 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

.pricing-card-price {
    padding: 30px 20px;
    background-color: var(--primary-light);
    position: relative;
}

.pricing-card-price::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-light) 25%, transparent 25%) -10px 0,
                linear-gradient(225deg, var(--primary-light) 25%, transparent 25%) -10px 0,
                linear-gradient(315deg, var(--primary-light) 25%, transparent 25%),
                linear-gradient(45deg, var(--primary-light) 25%, transparent 25%);
    background-size: 20px 20px;
    background-color: var(--white);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--primary-dark);
    font-weight: 500;
    margin-right: 5px;
}

.pricing-card-features {
    padding: 30px 20px;
}

.pricing-card-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-card-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-light);
    font-size: 1.1rem;
}

.pricing-card-features li:last-child {
    border-bottom: none;
}

.pricing-card-features i {
    color: var(--primary-color);
    margin-left: 10px;
}

.pricing-card .btn-primary {
    margin: 0 auto 30px;
    padding: 12px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 20px;
}

/* قسم الخدمات */
.services-section {
    padding: 80px 0;
    background-color: var(--white);
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-card {
    display: flex;
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeIn var(--animation-duration) ease-out;
}

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

.service-card.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    min-height: 300px;
    overflow: hidden;
}

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

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

.service-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    padding-right: 15px;
}

.service-content h3::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 25px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* قسم الحجز */
.booking-section {
    padding: 80px 0;
    background-color: var(--white);
}

.booking-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    margin-top: 30px;
}

.booking-form {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.booking-info {
    background-color: var(--primary-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.booking-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-list {
    margin: 20px 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.booking-note {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.booking-note h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.booking-note ul {
    padding-right: 20px;
}

.booking-note li {
    margin-bottom: 8px;
    position: relative;
    padding-right: 15px;
}

.booking-note li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    right: 0;
}

/* قسم التواصل */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-details {
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-details h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-details p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* أزرار عائمة */
.back-to-top {
    position: fixed;
    bottom: 80px;
    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: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* تنسيق التذييل */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #ccc;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-right: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* تجاوب الموقع مع مختلف أحجام الشاشات */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .booking-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .service-card.reverse {
        flex-direction: column;
    }
    
    .service-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        right: 0;
    }
    
    .pricing-header,
    .pricing-row {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .pricing-header,
    .pricing-row {
        grid-template-columns: 1fr;
    }
    
    .pricing-cell {
        border-left: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .feature-box,
    .service-content {
        padding: 20px;
    }
    
    .service-content h3 {
        font-size: 1.5rem;
    }
}