﻿/* Place Your Custom Styles Here */

/* زر تواصل معنا شفاف */
.btn-gradient,
.btn-primary {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  color: white !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-gradient:hover,
.btn-primary:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

/* الأزرار في الخلفيات الفاتحة */
.bg-light .btn-primary,
section[data-ui="dark"] .btn-primary {
  border-color: rgba(0, 0, 0, 0.3) !important;
  color: #333 !important;
}

.bg-light .btn-primary:hover,
section[data-ui="dark"] .btn-primary:hover {
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(0, 0, 0, 0.5) !important;
}

/* زر الناف بار */
nav .btn-primary {
  background: #fff !important;
  border-color: #fff !important;
  color: #333 !important;
}

nav .btn-primary:hover {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: #fff !important;
  color: #333 !important;
}

/* تحسين الصور */
.portfolio-item .item-media .media-container,
.portfolio-item .item-media img,
.bg-image-holder img {
  border-radius: 20px;
  overflow: hidden;
}

.portfolio-item .item-media .media-container {
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item .item-media .media-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.25);
}

/* تحسين حجم الصور في القسم الرئيسي */
.portfolio-item .media-container {
  height: 400px;
  max-height: 400px;
}

/* قسم أعمالنا */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.work-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

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

.work-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.work-card-content {
  padding: 25px;
}

.work-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.work-card-desc {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* قسم العملاء */
.clients-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 80px 0;
}

.clients-slider {
  margin-top: 50px;
}

.clients-slider .slick-dots {
  bottom: -50px;
}

.clients-slider .slick-dots li button:before {
  color: #fff;
  font-size: 12px;
}

.clients-slider .slick-dots li.slick-active button:before {
  color: #667eea;
}

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

.client-logo {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.client-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.client-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0%);
}

.client-logo div {
  transition: all 0.3s ease;
  opacity: 0.7;
}

.client-logo:hover div {
  opacity: 1;
  transform: scale(1.1);
}

/* تحسينات عامة */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

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

/* تحسين الأيقونات */
.icon-7x, .icon-5x {
  transition: all 0.3s ease;
}

.icon-7x:hover, .icon-5x:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .works-grid, .clients-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-item .media-container {
    height: 300px;
  }
  
  .section-title {
    font-size: 2rem;
  }
}