/* ==========================================================================
   Rose Aden 2 Tourist Hotel - UI Components
   المكونات البرمجية، الكروت، الأزرار، النماذج، المعارض
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose-primary) 0%, var(--rose-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--rose-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--rose-glow);
  color: #ffffff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--luxury-gold) 0%, #b89224 100%);
  color: #190a10;
  box-shadow: 0 4px 15px var(--luxury-gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--luxury-gold-glow);
  color: #190a10;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-accent);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--rose-primary);
  background: rgba(226, 45, 70, 0.08);
  color: var(--rose-primary);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

/* ================= Hero Home Section ================= */
.hero-home {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hero-overlay), url('../images/building-day.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 5rem 1.5rem;
  text-align: center;
}

.hero-home-content {
  max-width: 900px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-home-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-home-title span {
  color: var(--luxury-gold-light);
}

.hero-home-desc {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #f3e8eb;
  margin-bottom: 2.25rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ================= Quick Booking Bar ================= */
.booking-bar-wrapper {
  margin-top: -3.5rem;
  position: relative;
  z-index: 20;
  margin-bottom: 3.5rem;
}

.booking-bar {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-lg);
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) auto;
  gap: 1.25rem;
  align-items: flex-end;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-control, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--rose-primary);
  box-shadow: 0 0 0 3px var(--rose-glow);
}

/* ================= Room Cards ================= */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.room-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.room-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
}

.room-card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.room-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.room-card:hover .room-card-media img {
  transform: scale(1.06);
}

.room-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--rose-primary);
  color: #ffffff;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

html[lang="en"] .room-badge {
  right: auto;
  left: 1rem;
}

.room-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.room-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.room-features-list {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.room-features-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.room-features-list li::before {
  content: '✓';
  color: var(--rose-primary);
  font-weight: bold;
}

.room-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.room-price-box {
  display: flex;
  flex-direction: column;
}

.room-price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.room-price-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--luxury-gold);
}

/* ================= Amenities Grid ================= */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.amenity-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  text-align: right;
}

html[lang="en"] .amenity-card {
  text-align: left;
}

.amenity-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.amenity-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(226, 45, 70, 0.1);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

.amenity-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.amenity-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ================= Hall Presentation ================= */
.hall-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  margin-bottom: 3rem;
}

.hall-gallery-split {
  display: grid;
  grid-template-rows: 2fr 1fr;
  height: 100%;
}

.hall-img-main {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.hall-img-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #000;
}

.hall-img-thumbs img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.hall-details {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hall-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.hall-spec-icon {
  color: var(--luxury-gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ================= Gallery Grid ================= */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--rose-primary);
  border-color: var(--rose-primary);
  color: #ffffff;
}

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

.gallery-item {
  position: relative;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 4, 7, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0.9;
  transition: var(--transition);
}

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

.gallery-overlay h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ================= Reviews ================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: var(--luxury-gold-light);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.reviewer-name {
  font-weight: 700;
  color: var(--text-primary);
}

.reviewer-role {
  font-size: 0.8rem;
  color: var(--rose-primary);
}

/* ==========================================================================
   Luxury Home Carousel Styles
   سلايدر معرض الصور التفاعلي بالصفحة الرئيسية
   ========================================================================== */

.carousel-section {
  position: relative;
  overflow: hidden;
}

.home-carousel-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.75);
  border: 1.5px solid var(--border-accent);
  background: #0d0407;
}

.carousel-stage {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 6s ease;
}

.carousel-slide.active img {
  transform: scale(1.04);
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 4, 7, 0.1) 0%, rgba(13, 4, 7, 0.4) 50%, rgba(13, 4, 7, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 2.5rem 2.5rem;
}

.carousel-badge {
  display: inline-block;
  background: var(--rose-primary);
  color: #ffffff;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(226, 45, 70, 0.4);
}

.carousel-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.carousel-counter {
  font-size: 0.85rem;
  color: var(--luxury-gold-light);
  font-weight: 600;
}

/* Nav Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(13, 4, 7, 0.65);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--rose-primary);
  border-color: var(--rose-primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px var(--rose-glow);
}

.carousel-btn-prev {
  right: 1.5rem;
}

.carousel-btn-next {
  left: 1.5rem;
}

html[lang="en"] .carousel-btn-prev {
  right: auto;
  left: 1.5rem;
}

html[lang="en"] .carousel-btn-next {
  left: auto;
  right: 1.5rem;
}

/* Indicators */
.carousel-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.carousel-dot.active {
  width: 28px;
  border-radius: 99px;
  background: var(--luxury-gold);
  box-shadow: 0 0 10px var(--luxury-gold-glow);
}

@media (max-width: 768px) {
  .carousel-stage {
    height: 360px;
  }
  .carousel-title {
    font-size: 1.3rem;
  }
  .carousel-overlay {
    padding: 1.5rem;
  }
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}
/* ==========================================================================
   Hero Randomized Gallery Carousel (Above Booking Bar)
   كاروسيل معرض الصور التفاعلي العشوائي الموضعي فوق نافذة الحجوزات
   ========================================================================== */

.hero-carousel-container {
  position: relative;
  z-index: 15;
  padding: 1rem 0 1.75rem;
  background: linear-gradient(180deg, rgba(13, 4, 7, 0.8) 0%, var(--bg-body) 100%);
}

.hero-carousel-box {
  background: linear-gradient(180deg, rgba(28, 10, 17, 0.95) 0%, rgba(13, 4, 7, 0.98) 100%);
  border: 1.5px solid var(--border-accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.75), 0 0 30px rgba(226, 45, 70, 0.18);
  position: relative;
  transition: var(--transition);
}

.hero-carousel-box:hover {
  border-color: var(--luxury-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 55, 0.25);
}

/* Top bar inside carousel */
.carousel-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.carousel-tag {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rose-primary);
  box-shadow: 0 0 10px var(--rose-primary);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--rose-primary); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.carousel-category-pill {
  background: rgba(226, 45, 70, 0.15);
  border: 1px solid var(--border-accent);
  color: var(--luxury-gold-light);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Carousel Stage */
.hero-carousel-stage {
  position: relative;
  width: 100%;
  height: 460px;
  overflow: hidden;
  background: #000;
}

.hero-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-car-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.hero-car-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 6s cubic-bezier(0.1, 1, 0.1, 1);
}

.hero-car-slide.active img {
  transform: scale(1.08);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 4, 7, 0.05) 0%, rgba(13, 4, 7, 0.35) 45%, rgba(13, 4, 7, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 2rem;
  pointer-events: none;
}

.hero-slide-caption {
  max-width: 750px;
  transform: translateY(10px);
  opacity: 0.85;
  transition: all 0.5s ease;
}

.hero-car-slide.active .hero-slide-caption {
  transform: translateY(0);
  opacity: 1;
}

/* Glass Buttons */
.hero-car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(13, 4, 7, 0.7);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.hero-car-btn:hover {
  background: var(--rose-primary);
  border-color: var(--rose-primary);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 20px var(--rose-glow);
}

.hero-car-prev {
  right: 1.25rem;
}

.hero-car-next {
  left: 1.25rem;
}

html[lang="en"] .hero-car-prev {
  right: auto;
  left: 1.25rem;
}

html[lang="en"] .hero-car-next {
  left: auto;
  right: 1.25rem;
}

/* Progress Fill Bar */
.carousel-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 20;
}

.carousel-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--rose-primary) 0%, var(--luxury-gold) 100%);
  transition: width 0.1s linear;
}

/* Bottom Bar */
.carousel-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 1rem;
}

.carousel-active-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.carousel-active-counter {
  font-size: 0.8rem;
  color: var(--luxury-gold);
  font-weight: 600;
}

.carousel-dots-wrapper {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.hero-car-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.hero-car-dot.active {
  width: 24px;
  border-radius: 99px;
  background: var(--luxury-gold);
  box-shadow: 0 0 8px var(--luxury-gold);
}

/* Adjust Booking Bar spacing so it sits directly underneath the carousel */
.booking-bar-wrapper {
  margin-top: 0.5rem;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 20;
}

@media (max-width: 768px) {
  .hero-carousel-stage {
    height: 300px;
  }
  .carousel-active-title {
    font-size: 1.05rem;
  }
  .hero-car-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .hero-slide-overlay {
    padding: 1.25rem;
  }
  .booking-bar-wrapper {
    margin-top: 0.5rem;
  }
}
/* ==========================================================================
   Grouped Gallery & Lightbox Styles
   تنسيقات مجموعات المعرض وعارض الصور المكبر (Lightbox)
   ========================================================================== */

.gallery-group-section {
  margin-bottom: 3.5rem;
}

.gallery-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--border-accent);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gallery-group-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.gallery-group-count {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--luxury-gold-light);
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
}

.gallery-item-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(13, 4, 7, 0.8);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-gold);
  color: var(--luxury-gold-light);
  padding: 0.22rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

/* Lightbox Modal */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 2, 4, 0.94);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-backdrop.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1050px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrapper {
  position: relative;
  width: 100%;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border-gold);
  background: #000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox-caption-bar {
  margin-top: 1rem;
  text-align: center;
  color: #fff;
}

.lightbox-caption-bar h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.lightbox-caption-bar span {
  font-size: 0.85rem;
  color: var(--luxury-gold-light);
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  left: 0;
  background: rgba(226, 45, 70, 0.25);
  border: 1px solid var(--rose-primary);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 4, 7, 0.75);
  border: 1.5px solid var(--luxury-gold);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--rose-primary);
  border-color: var(--rose-primary);
}

.lightbox-prev { right: 1rem; }
.lightbox-next { left: 1rem; }
/* ==========================================================================
   Grouped Gallery & Lightbox Styles
   تنسيقات مجموعات المعرض وعارض الصور المكبر (Lightbox)
   ========================================================================== */

.gallery-group-section {
  margin-bottom: 3.5rem;
}

.gallery-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--border-accent);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gallery-group-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.gallery-group-count {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--luxury-gold-light);
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
}

.gallery-item-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(13, 4, 7, 0.8);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-gold);
  color: var(--luxury-gold-light);
  padding: 0.22rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

/* Lightbox Modal */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 2, 4, 0.94);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-backdrop.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1050px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrapper {
  position: relative;
  width: 100%;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border-gold);
  background: #000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox-caption-bar {
  margin-top: 1rem;
  text-align: center;
  color: #fff;
}

.lightbox-caption-bar h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.lightbox-caption-bar span {
  font-size: 0.85rem;
  color: var(--luxury-gold-light);
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  left: 0;
  background: rgba(226, 45, 70, 0.25);
  border: 1px solid var(--rose-primary);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 4, 7, 0.75);
  border: 1.5px solid var(--luxury-gold);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--rose-primary);
  border-color: var(--rose-primary);
}

.lightbox-prev { right: 1rem; }
.lightbox-next { left: 1rem; }