/* المتغيرات الجذرية */
:root {
    --primary: #dd8a3c;
    --secondary: #e69a4b;
    --accent1: #eaa153;
    --accent2: #f3b164;
    --accent3: #f7b96c;
    --brown-dark: #5c3d2e;
    --beige: #deb887;
    --text-dark: #333;
    --text-light: #fff;
    --gradient-bg: linear-gradient(135deg, #f7b96c, #e69a4b, #dd8a3c);
}

/* تنسيق عام */
body {
    font-family: "Rubik", sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
    background: var(--gradient-bg);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.top-bar {
    background-color: var(--brown-dark);
    color: var(--text-light);
    display: flex;
    justify-content: space-around;
    padding: 15px 20px;
    align-items: center;
    font-size: 1em;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--beige);
}

.top-bar img {
    height: 70px;
    object-fit: contain;
}
.top-bar .slogan {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--accent3);
}

.date-time {
    font-size: 1.1em;
    color: var(--beige);
}

.phone a, .support a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.phone a:hover, .support a:hover {
    color: var(--accent2);
}




header {
    background: linear-gradient(to bottom, var(--brown-dark), var(--primary), var(--secondary), var(--accent1));
    padding: 8px 20px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--beige);
    position: sticky;
    top: 0;
    z-index: 999999;
}

.logo {
    font-size: 2em;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 100px;
    object-fit: contain;
}

/* Navigation */
nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  font-weight: bold;
  padding: 18px;
  transition: all 0.7s ease;
  border-radius: 5px;
}


nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
    font-size: 22px;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}


nav ul li a:hover {
   background-color: var(--brown-dark);
  color: var(--text-light);
  transform: scale(1.05);
  border-radius: 20px;
}

nav ul li a.nav-link {
 background-color: var(--brown-dark);
  padding: 12px;
  border-radius: 12px;
  color: #ffffff;
  
}


.nav-link {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
    font-size: 22px;
}

.nav-link a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}


.nav-link a:hover {
   background-color: var(--brown-dark);
  color: var(--text-light);
  transform: scale(1.05);
  border-radius: 20px;
}

.nav-link a.active {
  background-color: var(--brown-dark);
  color: var(--text-light);
  padding: 12px;
  border-radius: 12px;
  
}




.quote-btn {
    background: var(--accent2);
    color: var(--text-light);
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.section-title {
    font-size: 2.5em;
    color: #5c3d2e;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    animation: fadeIn 2s ease-in-out;
}


/* قسم العرض */
.proj-showcase {
    padding: 80px 50px;
    text-align: center;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.3);
    flex: 1;
}

.proj-title {
    font-size: 2.5em;
    color: var(--brown-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    animation: fadeIn 2s ease-in-out;
}

.proj-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 1.2em;
    color: var(--text-dark);
}

.proj-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.proj-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.proj-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.proj-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.proj-card p {
    font-size: 1.1em;
    color: var(--brown-dark);
    margin: 10px 0;
    font-weight: 500;
}

.proj-icon {
    font-size: 1.8em;
    color: var(--primary);
    position: absolute;
    bottom: 10px;
    left: 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.proj-card:hover .proj-icon {
    opacity: 1;
}

/* قسم آراء العملاء */
.proj-testimonials {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    margin-bottom: 50px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.proj-subtitle {
    font-size: 2em;
    color: var(--brown-dark);
    margin-bottom: 20px;
}

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

.testi-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testi-card:hover {
    transform: translateY(-5px);
}

.testi-card p {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.testi-author {
    font-size: 0.9em;
    color: var(--brown-dark);
    font-style: italic;
}

.testi-rating {
    margin-top: 5px;
}

.testi-star {
    color: var(--primary);
}

/* قسم الدعوة للعمل */
.proj-action {
    padding: 20px;
    background: rgba(221, 138, 60, 0.2);
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.proj-action p {
    font-size: 1.3em;
    color: var(--brown-dark);
}

.proj-action a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.proj-action a:hover {
    color: var(--brown-dark);
}

/* تحسين أيقونات التواصل في الأسفل كدوائر */
.contact-section {
    position: relative;
}

.contact-buttons {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
}

.contact-wrapper {
    display: flex;
    align-items: center;
    gap: 10px; /* مسافة بين النص والأيقونة */
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* أحجام من الكود الأول */
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1000;
}

.contact-button i {
    font-size: 1.5em; /* حجم مناسب */
}

span {
    font-size: 1.2rem; /* حجم نص مناسب */
    color: #ffffff; /* لون أبيض للتمايز */
    font-style: italic;
    white-space: nowrap;
}

.call-button {
    background: #dd8a3c; /* لون بني فاتح */
}

.call-button i {
    color: #ffffff; /* لون أبيض للأيقونة */
}

.call-button:hover {
    transform: translateY(-3px);
    background: #c37730; /* لون أغمق عند التحويم */
    box-shadow: 0 6px 15px rgba(92, 61, 46, 0.2);
}

.whatsapp-button {
    background: #25d366;
}

.whatsapp-button i {
    color: #ffffff;
}

.whatsapp-button:hover {
    transform: translateY(-3px);
    background: #1da851;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.2);
}




/* الفوتر */
footer {
    background: var(--brown-dark);
    color: var(--text-light);
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent3);
}

/* الرسوم المتحركة */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}




/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 15px;
  height: 20px;
}

::-webkit-scrollbar-track {
  background: var(--brown-dark);
  border-radius: 1px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
      180deg,
      var(--accent1),
      var(--accent2),
      var(--accent3)
  );
  border-radius: 12px;
  border: 2px solid var(--beige);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
      45deg,
      var(--accent1),
      var(--accent2),
      var(--accent3)
  );
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
      45deg,
       var(--accent1),
      var(--accent2),
      var(--accent3)
  );
}
