/* ============================================ */
/* GLOBAL RESET & BASE                         */
/* ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: #191919;
  color: #e8e0d4;
  scroll-behavior: smooth;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;400;500;600;700;800&display=swap');

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: #c9a84c; border-radius: 20px; }

:root {
  --gold: #c9a84c;
  --gold-light: #e8d08a;
  --gold-dark: #a8883a;
}

/* ============================================ */
/* CUSTOM HEADER - احترافي ومتجاوب              */
/* ============================================ */
.custom-header {
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  position: sticky;
  top: 0;
  z-index: 9999;
  transition: all 0.3s ease;
}

.custom-header .header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* ===== LOGO ===== */
.custom-header .logo-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.custom-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.custom-header .logo:hover {
  transform: scale(1.02);
}

.custom-header .logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(1) drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  transition: filter 0.3s ease;
}

.custom-header .logo:hover .logo-img {
  filter: brightness(1.1) drop-shadow(0 2px 8px rgba(201, 168, 76, 0.3));
}

.custom-header .logo-text {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #c9a84c, #f5d97a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  transition: text-shadow 0.3s ease;
  letter-spacing: -0.3px;
}

.custom-header .logo:hover .logo-text {
  text-shadow: 0 0 30px rgba(201, 168, 76, 0.2);
}

/* ===== NAVIGATION (Desktop) ===== */
.custom-header .nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.custom-header .nav-link {
  color: #b0a898;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 40px;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
}

.custom-header .nav-link:hover {
  color: #c9a84c;
  background: rgba(201, 168, 76, 0.06);
}

.custom-header .nav-link.active {
  color: #c9a84c;
  background: rgba(201, 168, 76, 0.08);
}

.custom-header .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #c9a84c, #f0d88a);
  border-radius: 2px;
}

/* ===== HEADER RIGHT ===== */
.custom-header .header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ===== LANGUAGE SWITCH (Desktop) ===== */
.custom-header .lang-switch {
  display: flex;
  gap: 4px;
  align-items: center;
}

.custom-header .lang-btn {
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.06);
  color: #b0a898;
  padding: 5px 12px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.custom-header .lang-btn i {
  font-size: 11px;
  color: #c9a84c;
}

.custom-header .lang-btn:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.15);
  color: #e8e0d4;
}

.custom-header .lang-btn.active {
  background: rgba(201, 168, 76, 0.12);
  border-color: #c9a84c;
  color: #c9a84c;
}

/* ===== MOBILE TOGGLE ===== */
.custom-header .menu-toggle {
  display: none;
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.06);
  color: #e8e0d4;
  padding: 8px 14px;
  border-radius: 40px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
}

.custom-header .menu-toggle:hover {
  background: rgba(201, 168, 76, 0.08);
}

/* ===== MOBILE MENU (Dropdown - تحت الهيدر) ===== */
.custom-header .mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9998;
  padding: 20px 24px 30px;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}

.custom-header .mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

/* ===== إخفاء زر الإغلاق X (لأنه منسدل) ===== */
.custom-header .mobile-menu-close {
  display: none;
}

.custom-header .mobile-menu-inner {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.custom-header .mobile-nav-link {
  color: #b0a898;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 168, 76, 0.04);
}

.custom-header .mobile-nav-link i {
  color: #c9a84c;
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.custom-header .mobile-nav-link:hover {
  background: rgba(201, 168, 76, 0.06);
  color: #c9a84c;
  border-color: rgba(201, 168, 76, 0.08);
}

.custom-header .mobile-nav-link.active {
  color: #c9a84c;
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.12);
}

/* ===== MOBILE LANGUAGE ===== */
.custom-header .mobile-lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-top: 6px;
  border-top: 1px solid rgba(201, 168, 76, 0.06);
  flex-wrap: wrap;
}

.custom-header .mobile-lang-label {
  color: #888;
  font-size: 13px;
  font-weight: 500;
}

.custom-header .mobile-lang-label i {
  color: #c9a84c;
  margin-right: 6px;
}

.custom-header .mobile-lang-btn {
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.06);
  color: #b0a898;
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.custom-header .mobile-lang-btn:hover {
  background: rgba(201, 168, 76, 0.08);
  color: #e8e0d4;
}

.custom-header .mobile-lang-btn.active {
  background: rgba(201, 168, 76, 0.12);
  border-color: #c9a84c;
  color: #c9a84c;
}

/* ============================================ */
/* RESPONSIVE HEADER                           */
/* ============================================ */

/* -------- TABLET & SMALL DESKTOP (1024px) -------- */
@media (max-width: 1024px) {
  .custom-header .nav-menu {
    display: none !important;
  }
  
  .custom-header .lang-switch {
    display: none !important;
  }
  
  .custom-header .menu-toggle {
    display: block !important;
  }
  
  .custom-header .header-container {
    padding: 10px 16px;
  }
}

/* -------- MOBILE (768px) -------- */
@media (max-width: 768px) {
  .custom-header {
    position: relative;
  }
  
  .custom-header .header-container {
    padding: 8px 14px;
    gap: 10px;
    justify-content: center;
  }
  
  /* توسيط اللوجو */
  .custom-header .logo-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
  }
  
  /* تكبير اللوجو */
  .custom-header .logo-img {
    height: 38px;
  }
  
  .custom-header .logo-text {
    font-size: 20px;
  }
  
  .custom-header .logo {
    gap: 10px;
  }
  
  /* إخفاء زر اللغة في الموبايل */
  .custom-header .lang-switch {
    display: none !important;
  }
  
  .custom-header .menu-toggle {
    padding: 6px 12px;
    font-size: 16px;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .custom-header .mobile-menu {
    padding: 16px 16px 24px;
  }
  
  .custom-header .mobile-nav-link {
    font-size: 15px;
    padding: 10px 14px;
  }
  
  .custom-header .mobile-nav-link i {
    font-size: 16px;
    width: 22px;
  }
}

/* -------- VERY SMALL (480px) -------- */
@media (max-width: 480px) {
  .custom-header .header-container {
    padding: 6px 10px;
    gap: 6px;
  }
  
  /* تكبير اللوجو أكثر */
  .custom-header .logo-img {
    height: 32px;
  }
  
  .custom-header .logo-text {
    font-size: 17px;
  }
  
  .custom-header .logo {
    gap: 8px;
  }
  
  .custom-header .menu-toggle {
    padding: 4px 10px;
    font-size: 14px;
    right: 10px;
  }
  
  .custom-header .mobile-menu {
    padding: 12px 12px 20px;
  }
  
  .custom-header .mobile-nav-link {
    font-size: 14px;
    padding: 8px 12px;
    gap: 10px;
  }
  
  .custom-header .mobile-nav-link i {
    font-size: 14px;
    width: 20px;
  }
  
  .custom-header .mobile-lang-switch {
    padding: 10px 12px;
    gap: 6px;
  }
  
  .custom-header .mobile-lang-btn {
    font-size: 11px;
    padding: 3px 10px;
  }
}

/* -------- EXTRA SMALL (380px) -------- */
@media (max-width: 380px) {
  .custom-header .logo-img {
    height: 26px;
  }
  
  .custom-header .logo-text {
    font-size: 14px;
  }
  
  .custom-header .menu-toggle {
    padding: 3px 8px;
    font-size: 12px;
    right: 8px;
  }
}

/* ============================================ */
/* FOOTER                                      */
/* ============================================ */
.footer {
  background: #1a1a1a;
  color: #888080;
  text-align: center;
  padding: 45px 20px 30px;
  margin-top: 45px;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
}
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  text-align: left;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.footer-col .footer-logo {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #c9a84c, #f0d88a, #c9a84c);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerGold 3s ease-in-out infinite;
  margin-bottom: 12px;
  display: inline-block;
}
@keyframes shimmerGold {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.footer-col .footer-desc {
  font-size: 14px;
  color: #b0a898;
  line-height: 1.6;
  max-width: 350px;
  margin-bottom: 6px;
}
.footer-col .footer-license {
  font-size: 12px;
  color: #666;
}
.footer-col h4 {
  color: #e8e0d4;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: linear-gradient(90deg, #c9a84c, #f0d88a);
  border-radius: 2px;
}
.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  color: #b0a898;
  margin-bottom: 5px;
}
.footer-col p a {
  color: #b0a898;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col p a:hover {
  color: #c9a84c;
}
.footer-col p i {
  color: #c9a84c;
  width: 24px;
  font-size: 14px;
}
.footer-bottom {
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: #888080;
  margin: 4px 0;
}
.footer-bottom p span {
  background: linear-gradient(135deg, #c9a84c, #f0d88a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}
.footer-bottom .footer-dev {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
}
.footer-bottom .footer-dev i {
  color: #c9a84c;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .footer-col .footer-desc { max-width: 100%; }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-col p i { width: auto; margin-right: 6px; }
}
@media (max-width: 480px) {
  .footer { padding: 30px 16px 20px; }
  .footer-col .footer-logo { font-size: 22px; }
  .footer-bottom p { font-size: 12px; }
}

/* ============================================ */
/* CONTAINER                                   */
/* ============================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 30px 20px; }

/* ============================================ */
/* HERO                                        */
/* ============================================ */
.hero-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, #1a1612, #0f0d0a);
  border-radius: 60px 60px 60px 20px;
  padding: 50px 55px;
  margin-bottom: 50px;
  border: 1px solid rgba(201,168,76,0.06);
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.hero-new-left {
  position: relative;
  z-index: 2;
}

.hero-new-right {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-new-right .image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.hero-new-right .image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 40px 40px 40px 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 60px rgba(201,168,76,0.02);
  border: 1px solid rgba(201,168,76,0.04);
  transition: transform 0.6s ease;
}

.hero-new-right .image-wrapper img:hover {
  transform: scale(1.02);
}

/* ============================================ */
/* RESPONSIVE - TABLET                         */
/* ============================================ */
@media (max-width: 992px) {
  .hero-new {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 30px;
    gap: 30px;
  }

  .hero-new-left p {
    margin: 0 auto;
  }

  .services-mini {
    justify-content: center;
  }

  .hero-new-right .image-wrapper {
    max-width: 500px;
  }
}

/* ============================================ */
/* RESPONSIVE - MOBILE (تكبير الصندوق)         */
/* ============================================ */
@media (max-width: 768px) {
  .hero-new {
    padding: 30px 20px;
    border-radius: 40px;
    min-height: auto;
  }

  /* ✅ تكبير صندوق الصورة */
  .hero-new-right .image-wrapper {
    max-width: 400px;  /* ← غير هذا الرقم للتحكم بالحجم */
    margin: 0 auto;
  }

  .hero-new-right .image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 30px 30px 30px 10px;
  }

  .hero-new-left h1 {
    font-size: clamp(28px, 6vw, 36px);
  }

  .hero-new-left .subtitle {
    font-size: 16px;
  }

  .hero-new-left p {
    font-size: 14px;
    max-width: 100%;
  }

  .services-mini span {
    font-size: 10px;
    padding: 3px 10px;
  }
}

/* ============================================ */
/* RESPONSIVE - SMALL MOBILE                   */
/* ============================================ */
@media (max-width: 480px) {
  .hero-new {
    padding: 20px 14px;
    border-radius: 30px;
    gap: 20px;
  }

  /* ✅ تكبير صندوق الصورة للشاشات الصغيرة */
  .hero-new-right .image-wrapper {
    max-width: 320px;  /* ← غير هذا الرقم للتحكم بالحجم */
    margin: 0 auto;
  }

  .hero-new-right .image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 24px 24px 24px 8px;
  }

  .hero-new-left h1 {
    font-size: 24px;
  }

  .hero-new-left .badge {
    font-size: 10px;
    padding: 3px 14px 3px 10px;
  }

  .hero-new-left .subtitle {
    font-size: 14px;
  }

  .hero-new-left p {
    font-size: 13px;
  }

  .services-mini {
    gap: 6px;
  }

  .services-mini span {
    font-size: 9px;
    padding: 2px 8px;
  }
}

/* ============================================ */
/* RESPONSIVE - VERY SMALL                     */
/* ============================================ */
@media (max-width: 360px) {
  .hero-new-right .image-wrapper {
    max-width: 280px;  /* ← للشاشات الصغيرة جداً */
    margin: 0 auto;
  }
  
  .hero-new-left h1 {
    font-size: 20px;
  }
}

/* ============================================ */
/* SECTION TITLES                              */
/* ============================================ */
.section-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.section-title span {
  background: linear-gradient(135deg, #c9a84c, #f0d88a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  text-align: center;
  color: #b0a898;
  margin-bottom: 40px;
  font-size: 15px;
}

/* ============================================ */
/* MASONRY POSTS                               */
/* ============================================ */
.masonry-posts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 30px 0 40px;
  grid-auto-flow: dense;
}
.post-card {
  background: rgba(255,255,255,0.015);
  border-radius: 32px;
  padding: 26px 24px 22px;
  border: 1px solid rgba(201,168,76,0.03);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(2px);
  position: relative;
  overflow: hidden;
}
.post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a84c, transparent);
  opacity: 0;
  transition: opacity 0.5s;
}
.post-card:hover::before { opacity: 1; }
.post-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,168,76,0.12);
  background: rgba(255,255,255,0.035);
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}
.post-card .icon {
  font-size: 36px;
  color: #c9a84c;
  margin-bottom: 14px;
  background: rgba(201,168,76,0.04);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}
.post-card:hover .icon {
  background: rgba(201,168,76,0.12);
  transform: scale(1.05) rotate(-5deg);
  box-shadow: 0 0 30px rgba(201,168,76,0.05);
}
.post-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.post-card p {
  color: #b0a898;
  line-height: 1.6;
  font-size: 14px;
  flex: 1;
  margin-bottom: 14px;
}
.post-card .price-tag {
  background: rgba(201,168,76,0.05);
  padding: 4px 18px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 600;
  color: #c9a84c;
  display: inline-block;
  align-self: flex-start;
  border: 1px solid rgba(201,168,76,0.04);
  transition: 0.3s;
}
.post-card:hover .price-tag {
  background: linear-gradient(135deg, #c9a84c, #a8883a);
  color: #0d0d0d;
  border-color: #c9a84c;
}
.post-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(145deg, #2a2418, #1b1812);
  border-color: rgba(201,168,76,0.06);
  padding: 32px 30px 28px 30px;
  border-radius: 44px 44px 44px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.post-card.featured .icon {
  width: 76px;
  height: 76px;
  font-size: 44px;
  background: rgba(201,168,76,0.08);
}
.post-card.featured h3 { font-size: 26px; }
.post-card.featured p { 
  font-size: 15px; 
  margin-bottom: 18px; 
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.post-card.featured .featured-img-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  border: 3px solid rgba(201,168,76,0.15);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 0 30px rgba(201,168,76,0.05), inset 0 0 30px rgba(201,168,76,0.02);
}
.post-card.featured .featured-img-circle:hover {
  transform: scale(1.06) rotate(-3deg);
  border-color: #c9a84c;
  box-shadow: 0 0 50px rgba(201,168,76,0.15), 0 0 80px rgba(201,168,76,0.05);
}
.post-card.featured .circle-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
}
.post-card.featured .circle-wrapper::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background: linear-gradient(135deg, #c9a84c, #f0d88a, #c9a84c, transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spinGold 6s linear infinite;
  pointer-events: none;
}
@keyframes spinGold {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.post-card.featured .circle-wrapper::after {
  content: '◆';
  position: absolute;
  bottom: -5px;
  right: -5px;
  font-size: 14px;
  color: #c9a84c;
  opacity: 0.4;
  pointer-events: none;
}
.post-card.featured .price-tag { 
  margin-top: 0;
  align-self: center;
}
.post-card.with-img {
  padding: 0 0 20px 0;
  border-radius: 36px 36px 28px 8px;
  overflow: hidden;
  background: #141414;
}
.post-card.with-img .post-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.post-card.with-img:hover .post-img { transform: scale(1.05); }
.post-card.with-img .post-body { padding: 18px 22px 0; }
.post-card.with-img .post-body h3 { font-size: 18px; }
.post-card.with-img .post-body p { font-size: 13px; }
.post-card.circle-style {
  border-radius: 50% 50% 50% 16px;
  aspect-ratio: 1 / 1;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at 30% 20%, #2a2418, #12100e);
  border-color: rgba(201,168,76,0.03);
  padding: 32px;
}
.post-card.circle-style .icon {
  margin: 0 auto 12px;
  width: 66px;
  height: 66px;
  font-size: 34px;
}
.post-card.circle-style h3 { font-size: 18px; }
.post-card.circle-style p { font-size: 13px; text-align: center; }
.post-card.circle-style .price-tag { align-self: center; }
.post-card.full-width {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 0;
  padding: 0;
  border-radius: 44px 44px 44px 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #1f1a10, #16130e);
  border-color: rgba(201,168,76,0.04);
  min-height: 380px;
}

.post-card.full-width .fw-img {
  height: 100%;
  min-height: 380px;
}

.post-card.full-width .fw-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-card.full-width .fw-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.post-card.full-width .fw-body h3 {
  font-size: 30px;
  margin-bottom: 16px;
}

.post-card.full-width .fw-body p {
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .post-card.full-width {
    grid-template-columns: 1fr;
  }

  .post-card.full-width .fw-img {
    min-height: 260px;
  }

  .post-card.full-width .fw-body {
    padding: 28px;
  }
}

/* ============================================ */
/* GALLERY POSTS                               */
/* ============================================ */
.gallery-posts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 40px 0;
}
.gallery-post {
  border-radius: 32px 32px 32px 8px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.02);
  background: #121212;
  transition: all 0.5s ease;
}
.gallery-post:nth-child(1) { 
  grid-column: span 2; 
  grid-row: span 2;
  border-radius: 44px 44px 44px 12px;
}
.gallery-post:nth-child(2) { 
  border-radius: 50% 50% 50% 16px; 
}
.gallery-post:nth-child(4) { 
  border-radius: 32px 8px 32px 8px; 
}
.gallery-post img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-post:hover img { transform: scale(1.05); }
.gallery-post:hover { 
  border-color: rgba(201,168,76,0.08); 
  box-shadow: 0 15px 50px rgba(0,0,0,0.5); 
}
.gallery-caption {
  padding: 10px 16px;
  text-align: center;
  font-weight: 500;
  font-size: 12px;
  color: #b0a898;
  background: rgba(18,18,18,0.85);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(201,168,76,0.03);
}

/* ============================================ */
/* CONTACT POST                                */
/* ============================================ */
.contact-post {
  background: linear-gradient(145deg, #1f1b12, #14110e);
  border-radius: 52px 52px 52px 12px;
  padding: 48px 30px;
  text-align: center;
  margin: 40px 0 20px;
  border: 1px solid rgba(201,168,76,0.04);
  position: relative;
  overflow: hidden;
}
.contact-post::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(201,168,76,0.03), transparent 70%);
  pointer-events: none;
}
.contact-post::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.02), transparent 70%);
  pointer-events: none;
}
.contact-post h3 {
  font-size: clamp(24px, 4vw, 34px);
  color: #fff;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.contact-post h3 span { color: #c9a84c; }
.contact-post p {
  color: #b0a898;
  font-size: 15px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  text-decoration: none;
  background: rgba(201,168,76,0.02);
  border: 1px solid rgba(201,168,76,0.04);
  transition: all 0.4s ease;
}
.contact-icon i {
  font-size: 28px;
  color: #c9a84c;
  transition: 0.4s;
}
.contact-icon:hover {
  transform: translateY(-6px) scale(1.05);
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.12);
  box-shadow: 0 0 50px rgba(201,168,76,0.03);
}
.contact-icon:hover i { color: #f0d88a; }

/* ============================================ */
/* RESPONSIVE (Content)                        */
/* ============================================ */
@media (max-width: 992px) {
  .hero-new { 
    grid-template-columns: 1fr; 
    text-align: center;
    padding: 40px 30px;
  }
  .hero-new-left p { margin: 0 auto; }
  .services-mini { justify-content: center; }
  .masonry-posts { grid-template-columns: repeat(2, 1fr); }
  .post-card.featured { grid-column: span 2; grid-row: span 1; }
  .post-card.full-width { grid-column: 1 / -1; flex-direction: column; }
  .gallery-posts { grid-template-columns: repeat(2, 1fr); }
  .gallery-post:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 768px) {
  .hero-new { padding: 30px 20px; border-radius: 40px; }
  .hero-new-right .image-wrapper { max-width: 350px; }
  .masonry-posts { grid-template-columns: 1fr; }
  .post-card.featured { grid-column: span 1; grid-row: span 1; }
  .post-card.circle-style { border-radius: 32px; aspect-ratio: auto; min-height: 180px; }
  .post-card.small-square { aspect-ratio: auto; min-height: 140px; }
  .gallery-posts { grid-template-columns: 1fr; }
  .gallery-post:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .post-card.full-width .fw-body { padding: 20px; }
  .contact-icon { width: 56px; height: 56px; }
  .contact-icon i { font-size: 22px; }
  .post-card.featured .featured-img-circle { width: 120px; height: 120px; }
}
@media (max-width: 480px) {
  .container { padding: 20px 12px; }
  .post-card { padding: 18px 16px; }
  .post-card.featured { padding: 22px 18px 20px 18px; }
  .hero-new { padding: 24px 16px; }
  .post-card.featured .featured-img-circle { width: 100px; height: 100px; }
}
/* ============================================ */
/* HOME PAGE - INDEX.PHP (تصحيح التعارض)        */
/* ============================================ */

/* -------- إعادة تعيين للصفحة الرئيسية -------- */
body.home-page .nav-menu {
  display: flex !important;
}

/* -------- HERO SECTION -------- */
.hero-section {
  background: linear-gradient(145deg, #2a2a2a, #222222);
  border-radius: 32px;
  padding: 60px 50px;
  margin-bottom: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.05), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 1; }
}
.hero-text { flex: 1.2; min-width: 280px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #0d0d0d;
  background: linear-gradient(135deg, #c9a84c, #f0d88a);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero-text h1 {
  font-size: clamp(34px, 7vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
}
.hero-text h1 span {
  background: linear-gradient(135deg, #c9a84c, #f0d88a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text p {
  font-size: clamp(16px, 4vw, 19px);
  color: #b0a898;
  max-width: 550px;
  line-height: 1.6;
  margin-bottom: 0;
}
.hero-image { flex: 1; text-align: center; min-width: 280px; position: relative; z-index: 1; }
.hero-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(201, 168, 76, 0.05);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  border: 1px solid rgba(201, 168, 76, 0.1);
}
.hero-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(201, 168, 76, 0.1);
}

/* -------- SERVICES GRID -------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 40px 0 35px;
}

.service-card {
  background: linear-gradient(145deg, #2a2a2a, #222222);
  border-radius: 28px;
  padding: 0 0 28px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(201, 168, 76, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c9a84c, #f0d88a, #c9a84c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(201, 168, 76, 0.05);
}
.service-card.highlight {
  border-color: rgba(201, 168, 76, 0.25);
  background: linear-gradient(145deg, #2a2518, #222016);
}
.service-card.highlight::before { background: linear-gradient(90deg, #f0d88a, #c9a84c, #f0d88a); }

.service-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img { transform: scale(1.03); }

.service-content { padding: 22px 24px 0 24px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  transition: color 0.3s;
}
.service-card:hover h3 { color: #f0d88a; }
.service-card p {
  color: #b0a898;
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 14px;
  flex: 1;
}
.price-tag {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  color: #c9a84c;
  display: inline-block;
  margin-top: auto;
  align-self: flex-start;
  border: 1px solid rgba(201, 168, 76, 0.15);
  transition: all 0.3s;
}
.service-card:hover .price-tag {
  background: linear-gradient(135deg, #c9a84c, #a8883a);
  color: #0d0d0d;
  border-color: #c9a84c;
}

/* -------- FEATURED SERVICE -------- */
.featured-service {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  background: linear-gradient(145deg, #2a2518, #222016);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 280px;
  position: relative;
}
.featured-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201, 168, 76, 0.04), transparent 70%);
  pointer-events: none;
}
.featured-service:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px rgba(201, 168, 76, 0.05);
}
.featured-service .featured-image {
  flex: 1 1 40%;
  min-height: 250px;
  overflow: hidden;
}
.featured-service .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.featured-service:hover .featured-image img { transform: scale(1.03); }
.featured-service .featured-content {
  flex: 1 1 50%;
  padding: 35px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.featured-service .featured-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.featured-service .featured-content h3 span {
  color: #c9a84c;
}
.featured-service .featured-content p {
  color: #b0a898;
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 18px;
  max-width: 600px;
}
.featured-service .featured-content .price-tag {
  align-self: flex-start;
}

/* -------- GALLERY -------- */
.gallery-section { margin: 60px 0 40px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.gallery-item {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.08);
  transition: all 0.4s ease;
  background: #2a2a2a;
  cursor: pointer;
}
.gallery-item:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.2);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
.gallery-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  padding: 12px 16px;
  text-align: center;
  font-weight: 500;
  font-size: 13px;
  color: #b0a898;
  background: #2a2a2a;
  border-top: 1px solid rgba(201, 168, 76, 0.05);
}

/* -------- CONTACT CARD -------- */
.contact-card {
  background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
  border-radius: 40px;
  padding: 50px 35px;
  text-align: center;
  color: #e8e0d4;
  margin: 45px 0 20px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.05), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.contact-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.03), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite;
}
.contact-card h3 {
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.contact-card h3 span { 
  background: linear-gradient(135deg, #c9a84c, #f0d88a, #c9a84c);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerGold 3s ease-in-out infinite;
}
.contact-card p {
  font-size: 15px;
  margin-bottom: 28px;
  color: #b0a898;
  position: relative;
  z-index: 1;
}

/* -------- CONTACT ICONS (ذهبية) -------- */
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(240,216,138,0.08));
  border: 1px solid rgba(240,216,138,0.25);
  box-shadow: 0 0 20px rgba(201,168,76,.15), inset 0 0 20px rgba(240,216,138,.05);
  transition: all .4s ease;
}

.contact-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #c9a84c, #f0d88a, #c9a84c);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: goldRotate 5s linear infinite;
}

.contact-icon::after {
  content: "";
  position: absolute;
  top: -150%;
  left: -150%;
  width: 400%;
  height: 400%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: rotate(35deg);
  animation: shineMove 3.5s ease-in-out infinite;
}

.contact-icon i {
  position: relative;
  z-index: 5;
  font-size: 32px;
  color: #c9a84c;
  text-shadow: 0 0 15px rgba(240, 216, 138, 0.9), 0 0 30px rgba(201, 168, 76, 0.7), 0 0 50px rgba(201, 168, 76, 0.5);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-icon:hover {
  transform: translateY(-10px) scale(1.15);
  background: linear-gradient(135deg, #c9a84c, #e8d08a, #c9a84c, #a8883a);
  box-shadow: 0 0 30px rgba(240, 216, 138, 0.5), 0 0 60px rgba(201, 168, 76, 0.6), 0 0 90px rgba(201, 168, 76, 0.4);
  border-color: #f0d88a;
}

.contact-icon:hover i {
  color: #0d0d0d;
  text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 40px rgba(240, 216, 138, 1), 0 0 60px rgba(201, 168, 76, 1);
}

@keyframes shineMove {
  0% { transform: translateX(-150%) rotate(35deg); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(150%) rotate(35deg); opacity: 0; }
}

@keyframes goldRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* -------- HOME PAGE RESPONSIVE -------- */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 30px 16px; }
  .hero-section { padding: 30px 20px; flex-direction: column; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-image img { max-width: 280px; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card p { font-size: 14px; }
  .service-img { height: 160px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 30px 20px; }
  .contact-buttons { gap: 12px; }
  .contact-icon { width: 56px; height: 56px; }
  .contact-icon i { font-size: 22px; }
  .featured-service { flex-direction: column; }
  .featured-service .featured-image { min-height: 200px; }
  .featured-service .featured-content { padding: 25px 20px; }
  .featured-service .featured-content h3 { font-size: 20px; }
}

@media (max-width: 480px) {
  .hero-badge { font-size: 10px; }
  .service-card h3 { font-size: 18px; }
  .service-card p { font-size: 13px; }
  .price-tag { font-size: 11px; }
  .contact-icon { width: 48px; height: 48px; }
  .contact-icon i { font-size: 18px; }
}
/* ===== الصورة الدائرية ===== */
.post-card.featured .featured-img-circle {
  width: 290px;
  height: 290px;
  border-radius: 50%;
  object-fit: cover;
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
  .post-card.featured .featured-img-circle {
    width: 250px;
    height: 250px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .post-card.featured .featured-img-circle {
    width: 260px;
    height: 260px;
  }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
  .post-card.featured .featured-img-circle {
    width: 230px;
    height: 230px;
  }
}

/* ===== VERY SMALL ===== */
@media (max-width: 360px) {
  .post-card.featured .featured-img-circle {
    width: 190px;
    height: 190px;
  }
}
/* ===== INTERIOR GALLERY ===== */
.interior-gallery {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.interior-item {
  flex: 1 1 calc(50% - 30px);
  max-width: 600px;
  min-width: 280px;
  background: var(--card-bg, #222);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.interior-item:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--gold, #c9a84c);
  box-shadow: 0 20px 40px rgba(201, 168, 76, 0.2);
}

/* ===== تحسين الصور لتكون مناسبة للشاشات الصغيرة ===== */
.interior-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
  background: #1a1a1a;
}

/* عند التحميل، تظهر صورة placeholder بلون خلفية مناسب */
.interior-item img[src=""],
.interior-item img:not([src]) {
  background: #2a2a2a;
  min-height: 320px;
}

.interior-item:hover img {
  transform: scale(1.03);
}

.interior-caption {
  padding: 18px 20px;
  background: var(--card-bg, #1a1a1a);
  color: var(--text, #eee);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  letter-spacing: 0.5px;
}

/* ===== RESPONSIVE ===== */

/* تابلت وشاشات متوسطة */
@media (max-width: 992px) {
  .interior-item {
    flex: 1 1 calc(50% - 20px);
    max-width: 50%;
  }
  
  .interior-item img {
    height: 280px;
  }
}

/* شاشات صغيرة (موبايل) */
@media (max-width: 768px) {
  .interior-gallery {
    gap: 20px;
    padding: 0 10px;
  }
  
  .interior-item {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: unset;
    border-radius: 16px;
  }
  
  .interior-item img {
    height: 240px;
    object-fit: cover;
  }
  
  .interior-caption {
    font-size: 0.95rem;
    padding: 14px 16px;
  }
  
  .interior-item:hover {
    transform: translateY(-4px) scale(1.005);
  }
}

/* شاشات صغيرة جداً (موبايل صغير) */
@media (max-width: 480px) {
  .interior-gallery {
    gap: 15px;
    padding: 0 5px;
  }
  
  .interior-item {
    border-radius: 14px;
  }
  
  .interior-item img {
    height: 180px;
    object-fit: cover;
  }
  
  .interior-caption {
    font-size: 0.85rem;
    padding: 12px 14px;
  }
}

/* شاشات صغيرة جداً (موبايل صغير جداً) */
@media (max-width: 380px) {
  .interior-item img {
    height: 150px;
  }
  
  .interior-caption {
    font-size: 0.8rem;
    padding: 10px 12px;
  }
}

/* ===== دعم الوضع الداكن / الفاتح ===== */
@media (prefers-color-scheme: light) {
  .interior-item {
    background: #f5f5f5;
    border-color: rgba(201, 168, 76, 0.3);
  }
  
  .interior-caption {
    background: #ffffff;
    color: #222;
    border-top-color: rgba(201, 168, 76, 0.2);
  }
  
  .interior-item img {
    background: #e0e0e0;
  }
}

/* ===== تحسين عند تحميل الصور ببطء ===== */
.interior-item img.loading {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.interior-item img.loaded {
  opacity: 1;
}

/* ===== بديل للصور المتكسرة ===== */
.interior-item img.error {
  object-fit: contain;
  padding: 20px;
  background: #1a1a1a;
  min-height: 200px;
}