
:root {
  /* ألوان الوضع النهاري */
  --primary-color: #333;
  --secondary-color: #e74c3c;
  --accent-color: #3498db;
  --text-color: #333;
  --text-color-secondary: #555;
  --text-color-muted: #777;
  --heading-color: #222;
  --link-color: #2980b9;
  --link-hover-color: #e74c3c;
  --background-color: #fff;
  --light-bg: #f9f9f9;
  --dark-pink: #d81b60;
  --nav-bg: #333;
  --card-bg: #fff;
  --footer-bg: #333;
  --footer-text: #fff;
  --product-card-bg: #fff;
  --product-card-shadow: rgba(0, 0, 0, 0.1);
  --btn-shadow: rgba(0, 0, 0, 0.1);
  --header-shadow: rgba(0, 0, 0, 0.1);
  --price-color: #e74c3c;
  --card-title-color: #333;
  --card-text-color: #555;
}
/* ألوان الوضع الليلي */
[data-theme="dark"] {
  --primary-color: #bb86fc;
  --secondary-color: #ff7597;
  --accent-color: #03dac6;
  --text-color: #e0e0e0;
  --text-color-secondary: #b0b0b0;
  --text-color-muted: #909090;
  --heading-color: #ffffff;
  --link-color: #8ab4f8;
  --link-hover-color: #ff7597;
  --background-color: #121212;
  --light-bg: #1e1e1e;
  --dark-pink: #9c27b0;
  --nav-bg: #1f1f1f;
  --card-bg: #2d2d2d;
  --footer-bg: #1f1f1f;
  --footer-text: #e0e0e0;
  --product-card-bg: #2d2d2d;
  --product-card-shadow: rgba(0, 0, 0, 0.3);
  --btn-shadow: rgba(0, 0, 0, 0.3);
  --header-shadow: rgba(0, 0, 0, 0.3);
  --price-color: #ff7597;
  --card-title-color: #e0e0e0;
  --card-text-color: #b0b0b0;
}

/* :root {
    --primary-color: #1a5276;
    --secondary-color: #d4ac0d;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #333;
    --transition: all 0.4s ease;
} */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

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

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

section {
  padding: 60px 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header and Navigation */
header {
  background-color: var(--primary-color);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo span {
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
}

.nav-item {
  position: relative;
  margin-left: 30px;
}

.nav-link {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 15px;
  border-radius: 5px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--secondary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transform: translateX(-50%);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

/* أنماط القوائم المنسدلة الجديدة */
.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: "▼";
  font-size: 10px;
  margin-left: 5px;
  display: inline-block;
  transition: var(--transition);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 20px;
  color: var(--text-color);
  border-bottom: 1px solid #eee;
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: var(--secondary-color);
  padding-right: 25px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  right: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.dropdown-item.dropdown-toggle::after {
  content: "◀";
  font-size: 10px;
  margin-left: 5px;
  display: inline-block;
  transition: var(--transition);
}

.dropdown-submenu:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* أنماط القائمة المنسدلة الداخلية */
.dropdown-submenu > .dropdown-menu {
  position: absolute;
  top: 0;
  right: 100%;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1001;
}

.dropdown-submenu:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-submenu > .dropdown-item.dropdown-toggle::after {
  content: "◀";
  font-size: 10px;
  margin-left: 5px;
  display: inline-block;
  transition: var(--transition);
}

.menu-toggle {
  display: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* تم نقل تنسيقات قسم الهيرو إلى ملف hero.css */

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  animation: fadeInUp 1s ease 0.6s;
  animation-fill-mode: both;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: #fff;
}

/* Services Section */
.services {
  background-color: #f8f9fa;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  transform: translateX(-50%);
  border-radius: 2px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-content p {
  margin-bottom: 15px;
}

/* Gallery Section */
.gallery {
  background-color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  visibility: visible;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 5px;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

/* About Section */
.about {
  background-color: #f8f9fa;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
}

.about-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-img img {
  width: 100%;
  transition: var(--transition);
}

.about-img:hover img {
  transform: scale(1.05);
}

/* Contact Section */
.contact {
  background-color: #fff;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 20px;
  color: var(--secondary-color);
  margin-left: 15px;
}

.contact-form {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Cairo", sans-serif;
  font-size: 16px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
}

.form-group textarea {
  height: 150px;
  resize: none;
}

/* Offers Section */
.offers {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.offers-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.pricing-table {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.pricing-table:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-table h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--secondary-color);
}

.price-item {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #eee;
}

.price-item:last-child {
  border-bottom: none;
}

.price-item h4 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.price-item p {
  margin-bottom: 5px;
}

.price-item p:first-of-type {
  font-weight: 700;
  color: var(--accent-color);
}

.special-offers {
  margin-bottom: 50px;
}

.special-offers h3 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.offer-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-right: 5px solid var(--secondary-color);
}

.offer-card h4 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.offer-card p {
  margin-bottom: 10px;
}

.note {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 30px;
}

.note p {
  color: #856404;
  margin: 0;
}

.cta-button {
  text-align: center;
  margin-top: 30px;
}

.cta-button .btn {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 15px 30px;
  font-size: 18px;
  border-radius: 30px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button .btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Gallery Filter */
/* .gallery-filter {
  background-color: #fff;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-btn {
  padding: 10px 20px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
} */

/* Values Section */
.values {
  background-color: #fff;
  padding: 60px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.value-card p {
  color: #666;
}

/* Vision and Mission Sections */
.vision,
.mission {
  padding: 60px 0;
}

.vision {
  background-color: #f8f9fa;
}

.vision-content,
.mission-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.vision-content p,
.mission-content p {
  font-size: 18px;
  line-height: 1.8;
}

/* Team Section */
.team {
  background-color: #fff;
  padding: 60px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-img {
  height: 250px;
  overflow: hidden;
}

.member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-member:hover .member-img img {
  transform: scale(1.1);
}

.member-info {
  padding: 20px;
  text-align: center;
}

.member-info h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.member-info p {
  color: #666;
}

/* Map Section */
.map {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  display: block;
  width: 100%;
  min-height: 450px;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: #fff;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h3 {
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-right: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  left: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
}

/* Page Title */
.page-title {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/hero-bg.jpg") no-repeat center center/cover;
  padding: 120px 0 60px;
  text-align: center;
  color: #fff;
  margin-top: 70px;
}

.page-title h1 {
  font-size: 42px;
  margin-bottom: 15px;
  color: #fff;
}

.page-title p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* Service Info */
.service-info {
  background-color: #fff;
  padding: 60px 0;
}

.service-info-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.service-info-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.service-info-text p {
  margin-bottom: 15px;
}

.service-info-text ul {
  margin-bottom: 20px;
  padding-right: 20px;
}

.service-info-text ul li {
  margin-bottom: 10px;
  position: relative;
}

.service-info-text ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: -20px;
  color: var(--secondary-color);
}

.service-info-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-info-img img {
  width: 100%;
  transition: var(--transition);
}

.service-info-img:hover img {
  transform: scale(1.05);
}

/* CTA Section */
.cta {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/cta-bg.jpg") no-repeat center center/cover;
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.cta-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #fff;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn {
  background-color: var(--secondary-color);
  font-size: 18px;
  padding: 15px 30px;
}

.cta .btn:hover {
  background-color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  /* تم نقل تنسيقات قسم الهيرو إلى ملف hero.css */
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: var(--transition);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 15px 0;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background-color: rgba(255, 255, 255, 0.1);
    min-width: 200px;
    text-align: center;
    display: none;
  }

  .nav-item:hover .dropdown {
    display: block;
  }

  .sub-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background-color: rgba(0, 0, 0, 0.2);
  }

  /* تم نقل تنسيقات قسم الهيرو إلى ملف hero.css */
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 28px;
  }

  /* تم نقل تنسيقات قسم الهيرو إلى ملف hero.css */
}
