@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;800&display=swap');

body {
  font-family: 'Cairo', sans-serif;
  background: linear-gradient(135deg, #f0f0f0, #ffffff); /* خلفية فاتحة محايدة */
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  background: linear-gradient(to left, #37474F, #607D8B); /* أزرق رمادي داكن */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar .nav-link, .navbar .navbar-brand {
  color: #ffffff !important;
  font-weight: bold;
}

.navbar .nav-link:hover {
  text-decoration: underline;
}

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 100px;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  color: #263238; /* داكن ومحايد */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #546E7A; /* خط تحت العنوان */
  margin: 10px auto 0;
}

/* Swiper / Slides */
.swiper {
  padding-bottom: 40px;
}

.swiper-slide {
  background: #ECEFF1; /* خلفية فاتحة */
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  text-align: center;
  padding: 30px;
  transition: transform 0.3s;
}

.swiper-slide:hover {
  transform: scale(1.05);
}

/* Icon Box */
.icon-box {
  font-size: 2.5rem;
  color: #FF6F00; /* برتقالي معدني جذاب */
  margin-bottom: 15px;
}

/* Section Padding */
section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
}

section:nth-child(even) {
  background: #F5F7FA; /* خلفية خفيفة للأقسام الزوجية */
}

/* Gallery Images */
.gallery img {
  cursor: pointer;
  border-radius: 0.5rem;
  transition: 0.3s;
}

.gallery img:hover {
  transform: scale(1.02);
}

.modal-img {
  max-width: 100%;
  border-radius: 1rem;
}

/* Footer */
footer {
  background: linear-gradient(to left, #263238, #37474F);
  color: #ffffff;
  padding: 40px 0;
  text-align: center;
}

.social-icons a {
  color: #ffffff;
  margin: 0 10px;
  font-size: 1.5rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #43A047; /* أخضر طبيعي */
  color: white;
  font-size: 28px;
  padding: 15px 18px;
  border-radius: 50%;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background 0.3s;
}

.whatsapp-float:hover {
  background-color: #2E7D32;
  text-decoration: none;
}

/* Scroll Arrows */
.scroll-arrow {
  position: fixed;
  right: 20px;
  background-color: #607D8B; /* رمادي معدني */
  color: white;
  font-size:22px;
  padding: 10px 12px;
  border-radius: 50%;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background 0.3s;
  display: none;
}

#scrollDown {
  bottom: 80px;
}

#scrollTop {
  bottom: 140px;
}

.scroll-arrow:hover {
  background-color: #37474F;
}

/* Buttons */
.custom-more-btn {
  color: #37474F;
  border-color: #37474F;
}

.custom-more-btn:hover {
  background-color: #37474F;
  color: #fff;
  border-color: #37474F;
}

/* Loading / Messages */
.loading, .error-message, .sent-message {
  display: none;
}

/* Text Shadow */
.text-shadow {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/* Transitions */
.transition {
  transition: all 0.3s ease-in-out;
}

.transition:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Underline SVG Animation */
.underline-svg {
  display: block;
  margin-top: 5px;
  overflow: visible;
}

.underline-path {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  transition: stroke-dashoffset 2s ease;
}

.underline-path.draw {
  stroke-dashoffset: 0;
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  text-align: center;
  width: 100%;
}

.section-title > .text-wrapper {
  display: inline-block;
  position: relative;
  text-align: center;
}

.underline-svg {
  display: block;
  width: 150px;
  height: 30px;
  margin: 0 auto;
  overflow: visible;
}
