:root {
  --primary-color: #c5a877;
  --secondary-color: #4CAF50;
  --text-color: #333;
  --light-bg: #f9f5f0;
  --dark-bg: #333;
  --shadow: 0 5px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

/* تنسيقات عامة */
body {
  font-family: 'Tajawal', 'Noto Sans Arabic', sans-serif;
  margin: 0;
  padding: 0;
  background: var(--light-bg);
  color: var(--text-color);
  direction: rtl;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-top: 0;
}

p {
  line-height: 1.6;
}

/* تنسيقات الأزرار */
.primary-button {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 15px 25px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.primary-button:hover {
  transform: scale(1.05);
  background: #45a049;
}

.secondary-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 15px 25px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.secondary-button:hover {
  transform: scale(1.05);
  background: #b89a67;
}

/* تنسيقات رأس الصفحة */
header {
  background: #c5a877;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  height: 60px;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

/* تنسيقات نافذة الحجز */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: #fff;
  padding: 30px;
  margin: 100px auto;
  border-radius: 15px;
  max-width: 400px;
  text-align: center;
  box-shadow: var(--shadow);
}

.modal-content h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.modal-content input {
  width: 90%;
  padding: 12px;
  margin: 10px 0;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  font-family: inherit;
  font-size: 16px;
}

.closeBtn {
  float: left;
  font-size: 28px;
  cursor: pointer;
  color: #aaa;
  transition: var(--transition);
}

.closeBtn:hover {
  color: #333;
}

/* تنسيقات قسم البطل */
.hero {
  text-align: center;
  padding: 150px 20px;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero-bg.jpg') center/cover no-repeat;
  color: white;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 28px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* تنسيقات قسم المميزات */
.features {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.features h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.products-description {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.6;
  color: #666;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card i {
  font-size: 50px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card p {
  font-size: 18px;
  color: var(--text-color);
}

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

/* تنسيقات معرض الصور */
.gallery-section {
  text-align: center;
  padding: 80px 20px;
  background: var(--light-bg);
}

.gallery-section h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.gallery-section p {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

.main-image-container {
  position: relative;
  display: inline-block;
  border: 4px solid var(--primary-color);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 1000px;
  height: 600px;
}

.main-image-container img {
  width: 100%;
  max-width: 1000px;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 30px;
  padding: 15px;
  cursor: pointer;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.nav-btn:hover {
  background: rgba(0,0,0,0.8);
}

#prevBtn {
  left: 20px;
}

#nextBtn {
  right: 20px;
}

.image-caption {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 100%;
  padding: 15px;
  font-size: 18px;
  text-align: center;
}

.thumbnail-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 30px;
}

.thumbnail-container img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border: 3px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.thumbnail-container img:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.thumbnail-container img.active {
  border: 3px solid var(--secondary-color);
}

.gallery-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.no-zoom {
  object-fit: contain !important;
}

/* تنسيقات قسم التواصل */
.contact-section {
  padding: 80px 20px;
  background: #fff;
}

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

.contact-title h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.contact-title p {
  font-size: 25px;
  color: #666;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
   gap: 330px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  direction: ltr;
}

.map-container {

  
  width: 400px;
  text-align: center;
   background-color: #fdf5e6; /* لون خلفية الصندوق */
    padding: 20px;
  border: 2px solid #c9a96e; /* لون الإطار */
  border-radius: 15px;
  box-shadow: 0 4px 1px rgba(0, 0, 0, 0.15);

}

.map-container h4 {
  margin-bottom: 20px;
  color: #333
   font-size: 22px;
  
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0px  ; 
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-info {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background: var(--light-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 5px;
  color: var(--text-color);
  text-align: center;
  
}

.contact-info p {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  margin-bottom: 20px;
  font-size: 18px;
  color: #555;
  text-align: right;
  
}

.contact-info i {
  font-size: 32px;
  color: #fff !important
  margin-right: 15px;
  width: 40px;
  text-align: center;
  padding: 4px;
  border-radius: 5px;
  background-color: #c5a877 !important;
  transition: 0.3s ease;
  margin-left: 10px;
}
.contact-info i:hover{
  transform: scale(1.1);
}
.contact-info i.material-icons,
.contact-info i.fa,
.contact-info i.fas {
  color: #fff !important;
}


/* تنسيقات التذييل */
.logo-section {
  background-color: var(--primary-color);
  padding: 40px 0;
  text-align: center;
  color: #fff;
}

.logo-section img {
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
}

.logo-section p {
  font-size: 16px;
  margin: 0;
}

/* تنسيقات زر واتساب */
#whatsappBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: white;
  padding: 15px 25px;
  border: none;
  font-size: 16px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

#whatsappBtn i {
  font-size: 24px;
}

#whatsappBtn:hover {
  transform: scale(1.05);
  background: #20ba5a;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* تأثيرات الظهور التدريجي */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* تنسيقات الاستجابة للأجهزة المختلفة */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 50px;
  }
  
  .main-image-container img {
    max-width: 800px;
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 40px;
  }
  
  .hero p {
    font-size: 24px;
  }
  
  .features-container {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
  
  .main-image-container img {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px;
  }
  
  .logo {
    height: 50px;
  }
  
  .hero {
    padding: 100px 20px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 20px;
  }
  
  .features h2, .gallery-section h2, .contact-title h2 {
    font-size: 30px;
  }
  
  .features-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .feature-card {
    padding: 20px 15px;
  }
  
  .feature-card i {
    font-size: 40px;
  }
  
  .contact-content {
    flex-direction: column
    direction: rtl;
  }
  
  .map-container, .contact-info {
    width: 100%;
    max-width: 100%;
    
  }
  .map-container{
    order: 1;
  }
  
  .thumbnail-container img {
    width: 100px;
    height: 70px;
  }
  
  .gallery-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  
  .gallery-buttons button {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .primary-button, .secondary-button {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .features h2, .gallery-section h2, .contact-title h2 {
    font-size: 24px;
  }
  
  .features-container {
    grid-template-columns: 1fr;
  }
  
  .thumbnail-container img {
    width: 80px;
    height: 60px;
  }
  
  .contact-info {
    order: 0;
  }
  
  #whatsappBtn {
    padding: 10px 15px;
    font-size: 14px;
    bottom: 20px;
    right: 20px;
  }
}
/*  تنسيقات معرض الصور الجديد*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.gallery-grid a {
  display: block;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.gallery-grid a:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

/* تعديلات للأجهزة الصغيرة */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }
  
  .gallery-grid a {
    height: 150px;
  }
}

.highlight {
  color: #c9a96e;
  font-size: 55px;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  transition: 0.4s ease;
  display: inline-block;
  transition: transform 0.4s ease, color 0.4s ease;
  animation: pulse 2s infinite ease-in-out;
  }
  @keyframes pulse {
  0% {
    transform: scale(1);
    color: #c9a96e;
  }
  50% {
    transform: scale(1.08);
    color: #e3c78d;
  }
  100% {
    transform: scale(1);
    color: #c9a96e;
  }

}

.highlight:hover {
  transform: scale(1.1);
  color: #e3c78d;
}
#sendBooking {
  background-color: #25D366; /* لون واتساب */
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#sendBooking:hover {
  background-color: #1ebe57;
  transform: scale(1.05);
}
