
/* تعاريف الألوان الأساسية */
:root {
    --primary-color: #004d40; /* أخضر داكن (لون المنتج) */
    --secondary-color: #4db6ac; /* أخضر فاتح للمسة */
    --text-color: #333;
    --light-bg: #f5f5ff; /* خلفية فاتحة */
    --white: #ffffff;
    --shadow:10px 10px 10px 20px rgba(0.1, 0.1, 0.1, 0.1);
}

/* التنسيقات الأساسية */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family:  Arial , sans-serif; /* يفضل استخدام خطوط عربية جميلة إذا كانت متوفرة */
    line-height: 1.6;
    background-color: var(--light-bg);
    color: var(--text-color);
    direction: rtl; /* دعم اللغة العربية */
    text-align: right;
}

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

.section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 5px;
}

/* الأزرار (Buttons) */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    font-weight: bold;
    text-align: center;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background-color: #00332e;
    transform: translateY(-2px);
}

.large-btn {
    width: 100%;
    font-size: 1.2rem;
    padding: 15px;
    margin-top: 20px;
}

/* تنسيق الأقسام */
section {
    padding: 10px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ================================
    1. الصفحة الرئيسية (Hero Section) 
   ================================ */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    padding-top: 25px;
    background-color: var(--white);
    border-bottom: px solid var(--secondary-color);
}

.hero-content {
    flex: 1;
    max-width: 20%;
}

.tagline-sub {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0px;
}

.tagline-main {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 0px;
}

.product-slogan {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom:0 px;
}

.hero-image-placeholder {
    flex: 1;
    max-width: 70%;
    text-align: center;
    
}

.hero-image-placeholder img {
    max-width: auto;
    border-radius: 40px;
    box-shadow: var(--shadow);
    transition: transform 1.5s;
    object-fit: contain;
    width: 80%;
    height: 80%;
    overflow: hidden;
    opacity: .8;
    border: 1px solid var(--primary-color);
    
}

.hero-image-placeholder img:hover {
    transform: scale(1.05);
}

.cta-box {
    background-color: #ffe0b2; /* لون جذاب للتخفيض */
    padding: 20px;
    border-radius: 10px;
    border: 2px dashed var(--primary-color);
    margin-top: 30px;
    text-align: center;
}

.cta-box p {
    font-size: 1.4rem;
    font-weight: bold;
    color: #d84315; /* لون قوي للتنبيه */
    margin-bottom: 15px;
}

/* ================================
    2. معرض صور المنتج (Gallery)
   ================================ */
.gallery-section {
    background-color: #f0f8f5; /* لون أخضر فاتح جداً */
    text-align: center;
}

.image-carousel-container {
    overflow-x: auto; /* تمكين التمرير الأفقي */
    padding: 0px 0;
    margin-bottom: 15px;
}

.image-carousel {
    display: flex;
    gap: 60px; /* المسافة بين الصور */
    padding: 1px 0;
    align-items: center;
}

.image-carousel img {
    margin-right:  0px;
    min-width: auto; /* عرض أدنى لكل صورة */
    max-height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: opacity 0.3s;
     
}

.scroll-hint {
    font-style: italic;
    color: var(--secondary-color);
}

/* ================================
    3. المكونات والفوائد (Features)
   ================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    text-align: right;
}

.box {
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.ingredients-box {
    background-color: var(--white);
    border-right: 5px solid var(--primary-color);
}

.benefits-box {
    background-color: var(--white);
    border-left: 5px solid var(--secondary-color);
}

.box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.box ul {
    list-style: none;
}

.box li {
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.box li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-left: 10px;
}


/* ================================
    6. قسم تقييمات المستخدمين (Reviews)
   ================================ */
.reviews-section {
    background-color: var(--light-bg); /* الخلفية الفاتحة للموقع */
    text-align: center;
}

.review-cards-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap; /* السماح بالنزول لسطر جديد في الشاشات الصغيرة */
    margin-top: 40px;
}

.review-card {
    background-color: var(--white);
    flex: 1;
    min-width: 300px; /* ضمان عرض أدنى للبطاقة */
    max-width: 350px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--secondary-color); /* شريط علوي بلون المنتج */
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 77, 64, 0.2); /* ظل أخضر خفيف عند التمرير */
}

.rating-stars {
    color: #ffc107; /* لون ذهبي للنجوم */
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.review-text {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.8;
    font-style: italic; /* لجعل النص يبدو كسرد */
}

.reviewer-info {
    border-top: 1px dashed #eee;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.reviewer-name {
    color: var(--primary-color); /* اسم العميل بلون المنتج */
    font-size: 1.1rem;
}

.reviewer-city {
    color: #999;
    font-size: 0.9rem;
}

/* تعديل الاستجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .review-cards-container {
        flex-direction: column;
        align-items: center;
    }
    
    .review-card {
        width: 90%;
        max-width: 100%;
    }
}

/* ================================
    4. نموذج الطلب (Order Form)
   ================================ */
.order-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00695c 100%);
    color: var(--white);
    text-align: center;
    padding: 60px 5%;
}

.order-section .section-title {
    color: var(--white);
    border-bottom-color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    color: #b2dfdb;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Packages Container */
.packages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

/* Package Card */
.package-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    color: var(--text-color);
    border: 3px solid transparent;
}

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

.package-card.selected {
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

/* Popular Badge */
.package-card.popular {
    border: 3px solid #ffc107;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #ffc107;
    color: var(--text-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

.package-card.best-value {
    background: linear-gradient(135deg, #fff 0%, #f0f8f5 100%);
}

/* Package Header */
.package-header {
    margin-bottom: 20px;
}

.package-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.package-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
}

.package-badge.special {
    background: #ff6f00;
}

.package-badge.premium {
    background: #d84315;
}

/* Package Price */
.package-price {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 2px dashed #e0e0e0;
    border-bottom: 2px dashed #e0e0e0;
}

.price-old {
    display: block;
    color: #999;
    text-decoration: line-through;
    font-size: 1rem;
    margin-bottom: 5px;
}

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

.price-currency {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-right: 5px;
}

/* Package Features */
.package-features {
    list-style: none;
    text-align: right;
    margin: 25px 0;
}

.package-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

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

.package-features li i {
    color: #4caf50;
    margin-left: 10px;
    font-size: 1.1rem;
}

/* Package Button */
.package-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    transition: all 0.3s;
}

.package-btn:hover {
    background: #00332e;
    transform: translateY(-2px);
}

.package-btn.primary {
    background: #ffc107;
    color: var(--text-color);
    font-weight: bold;
}

.package-btn.primary:hover {
    background: #ffb300;
}

.package-btn.premium {
    background: #d84315;
}

.package-btn.premium:hover {
    background: #bf360c;
}

/* Order Form Container */
.order-form-container {
    max-width: 600px;
    margin: 40px auto 0;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.selected-package-info {
    background: #f0f8f5;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    border-right: 4px solid var(--primary-color);
}

.selected-package-info p {
    margin: 5px 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.selected-package-info strong {
    color: var(--primary-color);
}

#order-form {
    max-width: 100%;
    margin: 0;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

#order-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

#order-form input:focus {
    border-color: var(--primary-color);
    outline: none;
}

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

/* ================================
    5. الثقة والخدمات (Trust)
   ================================ */
.trust-section {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ================================
    زر الواتساب الثابت
   ================================ */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px; /* أسفل اليسار */
    z-index: 1000;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* لون الواتساب */
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, background-color 0.3s;
}

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

/* ================================
    التذييل (Footer)
   ================================ */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.9rem;
}

/* ================================
    الاستجابة (Media Queries)
   ================================ */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        order: 2;
    }
    
    .hero-image-placeholder {
        max-width: 80%;
        order: 1;
        margin-bottom: 30px;
    }

    .tagline-main {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .image-carousel img {
        min-width: 250px;
        max-height: 300px;
    }
    
    /* Package Cards Responsive */
    .packages-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .package-card.popular {
        transform: scale(1);
    }
    
    .package-header h3 {
        font-size: 1.5rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .order-form-container {
        padding: 25px;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
}
