:root {
    --bg-color: #f9f9f9;
    --navy-blue: #001f3f; /* أزرق فخم للبراند */
    --gold: #b8860b; /* ذهبي للفخامة والتنبيه */
    --accent-orange: #ef6c00; /* برتقالي شيك */
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: var(--bg-color); color: #333; line-height: 1.6; overflow-x: hidden; scroll-behavior: smooth; }

/* تأثير الحركة العام لأي كارت أو زرار */
.hover-animate { transition: var(--transition); }
.hover-animate:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }

/* Navbar */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 8%; background: var(--white); box-shadow: 0 2px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.logo { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--navy-blue); }
.logo span { color: var(--gold); }
.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links li { margin-left: 25px; }
.nav-links a { text-decoration: none; color: #333; font-weight: 500; font-size: 1rem; transition: var(--transition); display: inline-block; }

/* حركة أزرار القائمة */
.nav-links a:not(.nav-btn):hover { color: var(--gold); transform: scale(1.1); }
.nav-btn { background: var(--navy-blue); color: var(--white) !important; padding: 10px 25px; border-radius: 5px; font-weight: 600; }
.nav-btn:hover { background: var(--gold); transform: scale(1.05) translateY(-2px); }

/* Hero Section */
.hero { padding: 80px 8%; background: var(--white); }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-text h1 { font-family: 'Playfair Display', serif; font-size: 3.5rem; color: var(--navy-blue); line-height: 1.2; margin-bottom: 25px; }
.hero-text p { font-size: 1.2rem; color: #666; margin-bottom: 45px; font-weight: 300; }
.hero-action { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* بوكس الرقم النبضي */
.phone-box { text-decoration: none; background: #f0f7ff; color: var(--navy-blue); padding: 15px 25px; border-radius: 50px; font-weight: 600; border: 1px solid #d1e3f8; transition: var(--transition); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(184, 134, 11, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(184, 134, 11, 0); } 100% { box-shadow: 0 0 0 0 rgba(184, 134, 11, 0); } }
.pulse { animation: pulse 2s infinite; }
.phone-box:hover { transform: scale(1.1) translateY(-3px); background: #e0f2f1; }

.main-btn { padding: 16px 35px; background: var(--gold); color: white; text-decoration: none; border-radius: 5px; font-weight: 600; transition: var(--transition); }
.main-btn:hover { background: var(--navy-blue); transform: scale(1.05) translateY(-3px); }

/* Hero Images (تشطيب + نجيل) */
.hero-images-container { position: relative; height: 500px; }
.img-finished { width: 85%; border-radius: 15px; position: absolute; top: 0; right: 0; z-index: 1; box-shadow: var(--shadow); transition: 0.5sEase-in-out; }
.img-work { width: 65%; border-radius: 15px; border: 6px solid white; position: absolute; bottom: 0; left: 0; z-index: 2; box-shadow: var(--shadow); transition: 0.5sEase-in-out; }
.hero-images-container:hover .img-finished { transform: translate(-10px, 10px); }
.hero-images-container:hover .img-work { transform: scale(1.1); }

/* العناوين العامة */
.section-title { font-family: 'Playfair Display', serif; font-size: 3rem; margin-bottom: 60px; color: var(--navy-blue); text-align: center; }
.section-subtitle { text-align: center; color: #777; font-size: 1.1rem; margin-top: -40px; margin-bottom: 60px; }

/* الخدمات (Cards with images) */
.services { padding: 100px 8%; background: var(--bg-color); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.card { background: white; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.service-img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 30px; text-align: left; }
.card h3 { font-family: 'Playfair Display', serif; margin-bottom: 15px; color: var(--navy-blue); }
.card p { color: #666; font-size: 0.95rem; }

/* معرض الأعمال (Our Projects Gallery) */
.projects { padding: 100px 8%; background: var(--white); }
.project-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.project-item { position: relative; border-radius: 10px; overflow: hidden; height: 300px; cursor: pointer; }
.project-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5sEase-in-out; }
.project-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0)); color: white; display: flex; align-items: flex-end; justify-content: flex-start; padding: 20px; transition: 0.5s ease-in-out; }
.project-overlay h3 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; opacity: 0; transition: 0.3sEase-in-out; }
.project-item:hover img { transform: scale(1.1); }
.project-item:hover .project-overlay { height: 100%; }
.project-item:hover .project-overlay h3 { opacity: 1; }

/* آراء العملاء (Testimonials) */
.reviews { padding: 100px 8%; background: var(--bg-color); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card { background: white; padding: 40px; border-radius: 10px; box-shadow: var(--shadow); border-left: 5px solid var(--gold); text-align: left; }
.stars { font-size: 20px; margin-bottom: 15px; }
.review-card p { font-style: italic; color: #555; margin-bottom: 20px; }
.review-card h4 { color: var(--navy-blue); font-weight: 600; }

/* سيكشن التسجيل الملون (Navy Blue Background) */
.contact-section-colored { padding: 100px 8%; background: var(--navy-blue); color: var(--white); }
.contact-container { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; background: rgba(255,255,255,0.03); padding: 60px; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.contact-text-side h2 { font-family: 'Playfair Display', serif; font-size: 2.8rem; color: var(--white); margin-bottom: 20px; line-height: 1.2; }
.contact-text-side p { color: #ccc; margin-bottom: 30px; }
.contact-side-img { width: 100%; border-radius: 10px; box-shadow: var(--shadow); }

#main-form { background: white; padding: 40px; border-radius: 10px; box-shadow: var(--shadow); color: #333; text-align: center; }
.form-row { display: flex; gap: 20px; }
input, textarea { width: 100%; padding: 16px; margin-bottom: 20px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; font-size: 1rem; }
.submit-btn { width: 100%; padding: 16px; background: var(--accent-orange); color: white; border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.submit-btn:hover { background: var(--navy-blue); transform: scale(1.03) translateY(-3px); }

/* الفوتر */
.main-footer { padding: 60px 0; background: white; text-align: center; border-top: 1px solid #eee; }
.social-icons-container { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; }
.icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 26px; text-decoration: none; transition: var(--transition); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.icon:hover { transform: scale(1.3); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

.youtube { background: #FF0000; }
.facebook { background: #1877F2; }
.whatsapp { background: #25D366; }
.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.tiktok { background: #000; }
.copyrights { color: #888; font-size: 0.95rem; line-height: 1.8; }

/* رسالة النجاح (Popup Styles) */
.popup { display: none; position: fixed; z-index: 10001; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.6); animation: fadeIn 0.5s; }
.popup-content { background-color: #fefefe; margin: 15% auto; padding: 40px; border-radius: 10px; width: 400px; text-align: center; position: relative; box-shadow: var(--shadow); animation: slideDown 0.4s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { transform: translateY(-50px); } to { transform: translateY(0); } }
.close-popup { color: #aaa; float: right; font-size: 28px; font-weight: bold; position: absolute; top: 10px; right: 20px; cursor: pointer; transition: 0.3s; }
.close-popup:hover { color: #333; }
.check-icon { font-size: 50px; color: var(--white); background: var(--accent-orange); width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px auto; }
.popup-content h2 { color: var(--navy-blue); margin-bottom: 10px; font-family: 'Poppins', sans-serif; font-size: 1.4rem; }
.popup-content p { color: #666; font-weight: 300; }

/* Responsive */
@media (max-width: 992px) { .hero-content, .contact-container { grid-template-columns: 1fr; text-align: center; } .hero-action { justify-content: center; } .hero-images-container { height: auto; display: flex; flex-direction: column; } .img-finished, .img-work { position: static; width: 100%; margin-bottom: 20px; } .nav-links li { display: none; } .form-row { flex-direction: column; gap: 0; } }
@media (max-width: 600px) { .popup-content { width: 90%; } .hero-text h1 { font-size: 2.5rem; } }
/* تنسيق سيكشن الريفيوز الجديد */
/* --- سيكشن آراء العملاء (دمج بار جوجل + كروت ثلاثية) --- */
.reviews-section-premium {
    padding: 100px 5%;
    background-color: #f1f4f8; /* خلفية زرقاء رمادية فاتحة وناعمة نفس الصورة */
    text-align: center;
}

.reviews-content-wrapper {
    max-width: 1200px; /* عرض أكبر ليتسع للكروت */
    margin: 0 auto;
}

/* تنسيق بار جوجل العلوي */
.reviews-content {
    margin-bottom: 70px;
}

.brand-tag {
    display: inline-block;
    padding: 8px 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    margin-bottom: 20px;
}

.brand-tag span {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
}

.reviews-title-premium {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 40px;
    color: #000;
}

.ratings-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-family: 'Poppins', sans-serif;
}

.rating-number {
    font-weight: bold;
    font-size: 20px;
    color: #000;
}

.rating-text, .star-rating-text {
    font-size: 18px;
    color: #000;
}

.stars-wrapper .gold, .card-stars .gold {
    color: #f1c40f; /* لون ذهبي للنجوم نفس الصورة */
    margin: 0 2px;
}

/* تنسيق الكروت الثلاثية لآراء العملاء */
.review-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 كروت في كل صف */
    gap: 30px;
}

.review-card-premium {
    background: white;
    padding: 40px;
    border-radius: 10px; /* حواف أنعم للكروت */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
    border-left: 4px solid var(--gold); /* شريط جانبي ذهبي نفس الصورة */
}

.review-card-premium .card-stars {
    margin-bottom: 20px;
}

.review-card-premium p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-author h4 {
    color: var(--navy-blue);
    font-weight: 600;
}

/* تأثير الحركة عند التحليق (اختياري) */
.hover-animate:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Responsive لسهولة العرض على الموبايل والتابلت */
@media (max-width: 992px) {
    .review-cards-container { grid-template-columns: repeat(2, 1fr); } /* صفين على التابلت */
}

@media (max-width: 768px) {
    .review-cards-container { grid-template-columns: 1fr; } /* صف واحد على الموبايل */
    .ratings-bar { flex-direction: column; gap: 15px; }
}
.add-review-form {
    background: linear-gradient(145deg, #d4af37, #b8860b); /* تدرج ذهبي فخم */
    padding: 40px;
    border-radius: 15px;
    max-width: 650px;
    margin: 50px auto 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    color: #fff; /* خليت الكلام أبيض عشان يبان على الذهبي */
}

.add-review-form h3 { 
    font-family: 'Playfair Display', serif; 
    font-size: 2.2rem; 
    margin-bottom: 10px;
    color: #001f3f; /* عنوان بلون كحلي غامق عشان يكسر اللون ويظهر */
}

.add-review-form p {
    color: #001f3f;
    font-weight: 500;
}

.stars-to-select label {
    color: #001f3f; /* النجوم وهي مش مختارة تكون كحلي */
    cursor: pointer;
    font-size: 35px;
    transition: 0.3s;
}

/* تنسيق النجوم بالعرض وإخفاء الدوائر */
.stars-to-select {
    display: flex;
    flex-direction: row-reverse; /* عشان التقييم يشتغل من الشمال لليمين صح */
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

.stars-to-select input {
    display: none; /* إخفاء الدوائر البيضاء */
}

.stars-to-select label {
    font-size: 35px;
    color: #001f3f; /* لون الكحلي الأساسي */
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

/* تأثير التلوين عند الوقوف بالماوس أو الاختيار */
.stars-to-select label:hover,
.stars-to-select label:hover ~ label,
.stars-to-select input:checked ~ label {
    color: #fff; /* قلب النجوم للون الأبيض */
}


.add-review-form input, .add-review-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9); /* أبيض شفاف شوية */
    color: #333;
}

.submit-review-btn {
    background-color: #001f3f; /* زرار كحلي فخم */
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.4s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.submit-review-btn:hover {
    background-color: #fff;
    color: #001f3f;
    transform: scale(1.05); /* حركة تكبير بسيطة عند اللمس */
}