* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: #ffffff;
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}
/* توزيع الصور في شبكة من 3 أعمدة */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* تجاوب التصميم مع الشاشات المتوسطة والصغيرة */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
/* الخلفيه */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.hero-banner {
  position: relative;
  width: 100%;
  height: 350px; /* يمكنك تعديل الارتفاع حسب الحاجة */
  background-image: url(1.jpg); /* استبدل bg-image.jpg بمسار صورة الخلفية لديك */
  background-size:  cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
/* التراكب الداكن (Overlay) للتحكم في شفافية الخلفية وإبراز النص */
.hero-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
/* النص الموجود في المنتصف */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

/* تجاوب التصميم مع الشاشات الصغيرة */
@media (max-width: 768px) {
  .hero-banner {
    height: 250px;
  }
  
  .hero-content h1 {
    font-size: 20px;
  }
}

/* porta */
/* إعدادات عامة للقسم */
.cabins-section {
  padding: 60px 20px;
  background-color: #f8fafc;
  direction: rtl; /* ضبط اتجاه الكتابة من اليمين لليسار */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.cabins-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #1e293b;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 40px;
}

/* شبكة عرض البطاقات (Grid) */
.cabins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

/* تصميم بطاقة الكبينة */
.cabin-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* تأثير تحريك البطاقة عند التأشير عليها بالماوس */
.cabin-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px -4px rgba(0, 0, 0, 0.1);
}

/* مربع الصورة */
.card-image-box {
  width: 100%;
  height: 220px;
  background-color: #ffffff;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
}

.card-image-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* يضمن عدم تمطيط أو تشويه الصورة */
}

/* تفاصيل النصوص داخل البطاقة */
.card-details {
  padding: 20px;
}

.card-details h3 {
  font-size: 1.2rem;
  color: #2e7d32; /* لون أخضر أنيق للعنوان */
  margin-top: 0;
  margin-bottom: 8px;
}

.card-details p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/*  */
.cabin-plan-card {
  max-width: 500px;
  margin: 20px auto;
  padding: 15px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  direction: rtl;
}

.plan-title {
  color: #2e7d32; /* اللون الأخضر المطابق لعنوان الصورة */
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.plan-image-container {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.plan-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* footer */
/* ضبط التنسيق العام للقسم */
.porta-cabins-catalog {
  padding: 50px 20px;
  background-color: #f8fafc;
  direction: rtl;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.porta-cabins-catalog .container {
  max-width: 1250px;
  margin: 0 auto;
}

.catalog-title {
  text-align: center;
  font-size: 2.2rem;
  color: #1e293b;
  margin-bottom: 8px;
}

.catalog-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/* شبكة العرض CSS Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

/* تصميم البطاقة الكارت */
.plan-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

/* صندوق الصورة */
.plan-card .img-box {
  width: 100%;
  height: 180px;
  background-color: #ffffff;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
}

.plan-card .img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* بيانات النص داخل الكارت */
.plan-info {
  padding: 15px;
  flex-grow: 1;
}

.plan-info h3 {
  font-size: 1.15rem;
  color: #2e7d32; /* اللون الأخضر المكتوب به عناوين الصور */
  margin: 0 0 8px 0;
  font-weight: 700;
}

.plan-info p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* تمييز كارت الـ 3D */
.highlight-card {
  border: 2px solid #818cf8;
}

.highlight-card .plan-info h3 {
  color: #4f46e5;
}
/*  */
/* التذييل الرئيسي */
.site-footer {
    background-color: #111827; /* اللون الداكن الداكن للخلفية */
    color: #ffffff;
    padding: 70px 0 50px 0;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr; /* توزيع الأعمدة */
    gap: 50px;
}

/* العمود الأول: اللوجو */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.brand-icon {
    color: #00a8ff; /* اللون الأزرق للأيقونة */
    font-size: 28px;
}

.brand-name {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
}

.footer-text {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
    max-width: 340px;
}

/* العناوين الفرعية */
.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 22px;
}

/* العمود الثاني: الروابط السريعة */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #00a8ff;
}

/* العمود الثالث: معلومات الاتصال */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.contact-icon {
    color: #00a8ff;
    font-size: 16px;
    margin-top: 3px;
}

/* أزرار مواقع التواصل الاجتماعي */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08); /* لون الكروت المظلمة الصغيرة خلف الأيقونة */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #00a8ff;
    color: #ffffff;
    transform: translateY(-3px);
}

/* التجاوب مع الجوال والتابلت */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}