/**
 * 📐 Layout CSS - التخطيط العام
 * التاج بلس للديكور
 * 
 * هذا الملف يحتوي على:
 * - Header & Navigation
 * - Footer
 * - Main Layout
 * - Sections
 */

/* ========================================
   Header - الترويسة
   ======================================== */
header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(var(--blur-md));
  border-bottom: var(--border-width) solid var(--border-color);
  box-shadow: 0 18px 38px rgba(54, 29, 53, 0.05);
}

header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(115, 45, 96, 0) 0%,
    rgba(115, 45, 96, 0.18) 50%,
    rgba(115, 45, 96, 0) 100%
  );
  pointer-events: none;
}

/* ========================================
   Top Strip - الشريط العلوي
   ======================================== */
.top-strip {
  background: linear-gradient(
    90deg,
    rgba(255, 245, 252, 0.9) 0%,
    rgba(255, 237, 250, 0.92) 45%,
    rgba(255, 255, 255, 0.9) 100%
  );
  font-size: var(--text-sm);
  color: var(--primary-dark);
  border-bottom: var(--border-width) solid var(--border-color);
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.strip-meta,
.strip-social {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.strip-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--font-weight-medium);
}

.strip-meta span i {
  color: var(--primary);
  font-size: var(--text-base);
}

.strip-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.strip-social a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

/* ========================================
   Navigation Bar - شريط التنقل
   ======================================== */
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 18px 28px;
  flex-wrap: wrap;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  border: var(--border-width) solid var(--border-color);
  box-shadow: 0 22px 44px rgba(78, 26, 63, 0.08);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-mark {
  width: 120px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98),
    rgba(255, 250, 253, 0.95)
  );
  box-shadow: 0 4px 12px rgba(115, 45, 96, 0.08),
    inset 0 0 0 1px rgba(115, 45, 96, 0.06);
  padding: 17px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.brand-mark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(115, 45, 96, 0.12),
    inset 0 0 0 1px rgba(115, 45, 96, 0.08);
}

.brand-mark img,
.brand-mark picture {
  width: 130%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-mark img {
  border-radius: 8px;
}

.brand-text h1 {
  font-size: 22px;
  font-weight: var(--font-weight-black);
  margin-bottom: 4px;
  color: var(--primary-dark);
  line-height: 1.2;
}

.brand-text span {
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  color: var(--muted);
  display: block;
  line-height: 1.4;
}

/* Navigation Links */
nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-weight: var(--font-weight-medium);
}

nav li {
  position: relative;
}

nav a {
  position: relative;
  padding: 10px 0;
  color: var(--primary-dark);
  letter-spacing: 0.3px;
  transition: color var(--transition-base);
}

nav a::after {
  content: "";
  position: absolute;
  inset-inline: 50% auto;
  bottom: 4px;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(115, 45, 96, 0.9),
    rgba(245, 178, 83, 0.9)
  );
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

nav a:hover,
nav a:focus-visible {
  color: var(--primary);
}

nav a:hover::after,
nav a:focus-visible::after {
  width: 24px;
}

/* Navigation Actions */
.nav-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-actions .btn {
  gap: 10px;
}

.nav-actions .btn-outline {
  border-color: rgba(115, 45, 96, 0.28);
  color: var(--primary-dark);
}

.nav-actions .btn-outline:hover {
  background: rgba(115, 45, 96, 0.12);
  color: var(--primary);
}

/* ========================================
   Mobile Navigation - التنقل المحمول
   ======================================== */
.mobile-nav {
  display: none;
  position: fixed;
  inset-inline: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 24px 56px rgba(78, 26, 63, 0.22),
    inset 0 0 0 1px rgba(115, 45, 96, 0.08);
  padding: 12px 18px;
  z-index: 98;
}

.mobile-nav ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: center;
}

.mobile-nav a {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 10px 8px;
  border-radius: 16px;
  background: transparent;
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
  color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease,
    box-shadow 0.25s ease;
}

.mobile-nav a .icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(115, 45, 96, 0.12);
}

.mobile-nav a small {
  text-transform: none;
  letter-spacing: 0.3px;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: rgba(115, 45, 96, 0.08);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(78, 26, 63, 0.14);
}

.mobile-nav a.active {
  background: rgba(115, 45, 96, 0.16);
  color: var(--primary);
  box-shadow: 0 16px 34px rgba(78, 26, 63, 0.18);
}

.mobile-nav a.active .icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(115, 45, 96, 0.3);
}

/* ========================================
   Main Content - المحتوى الرئيسي
   ======================================== */
main {
  min-height: calc(100vh - 12rem);
}

main section {
  padding: 90px 0;
}

/* ========================================
   Section Headers - رؤوس الأقسام
   ======================================== */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 54px;
  display: grid;
  gap: 18px;
}

.section-head .tag {
  display: inline-block;
  gap: 8px;
  padding: 5px 35%;
  border-radius: 50px;
  background: rgba(115, 45, 96, 0.08);
  color: var(--primary);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0.3px;
  margin: 0 auto;
}

.section-head h2 {
  position: relative;
  font-size: clamp(30px, 4.6vw, 40px);
  font-weight: var(--font-weight-black);
  line-height: 1.35;
  letter-spacing: 0.4px;
  color: inherit;
  padding-bottom: 18px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  inset-inline: 50% auto;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) 100%
  );
}

.section-head p {
  color: var(--muted);
  font-size: 15px;
}

/* ========================================
   Footer - التذييل
   ======================================== */
footer {
  background: linear-gradient(135deg, #f8f5f7 0%, #faf8f9 100%);
  padding: 70px 0 30px;
  color: var(--text);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

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

.footer-brand {
  display: grid;
  gap: 16px;
  padding-right: 20px;
}

.footer-brand .brand-mark {
  width: 90px;
  height: 90px;
  margin-bottom: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 253, 0.9));
  box-shadow: 0 6px 16px rgba(115, 45, 96, 0.1), inset 0 0 0 1px rgba(115, 45, 96, 0.08);
  padding: 10px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.footer-brand .brand-mark:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(115, 45, 96, 0.14), inset 0 0 0 1px rgba(115, 45, 96, 0.1);
}

.footer-brand .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.footer-grid h4 {
  font-size: 18px;
  font-weight: var(--font-weight-black);
  color: var(--primary-dark);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-grid h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 15px;
  font-weight: var(--font-weight-medium);
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(-3px);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-contact li {
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}

.footer-contact li i {
  color: var(--primary);
  width: 20px;
}

/* Enhanced Footer Contact */
.footer-contact-enhanced {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(115, 45, 96, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.footer-contact-link:hover {
  background: #fff;
  transform: translateY(-3px) translateX(-2px);
  box-shadow: 0 8px 20px rgba(115, 45, 96, 0.15);
  border-color: rgba(115, 45, 96, 0.15);
}

.footer-contact-link i {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.footer-contact-link:hover i {
  transform: scale(1.1);
}

.footer-contact-link.whatsapp i {
  background: linear-gradient(135deg, #25d366, #20bd5a);
  color: #fff;
}

.footer-contact-link.phone i {
  background: linear-gradient(135deg, var(--primary), #5a2449);
  color: #fff;
}

.footer-contact-link.email i {
  background: linear-gradient(135deg, var(--accent), #d4a64a);
  color: #fff;
}

.footer-contact-link span {
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  color: var(--primary-dark);
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.social-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.social-icon:hover::before {
  width: 100%;
  height: 100%;
}

.social-icon i {
  position: relative;
  z-index: 1;
}

.social-icon.instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.tiktok {
  background: linear-gradient(135deg, #000, #333);
}

.social-icon.snapchat {
  background: linear-gradient(135deg, #fffc00, #f4d200);
  color: #000;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Footer Hours */
.footer-hours {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  padding: 12px 16px;
  background: rgba(115, 45, 96, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(115, 45, 96, 0.08);
}

.footer-hours i {
  color: var(--primary);
  font-size: 16px;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  padding-top: 30px;
  border-top: 2px solid rgba(115, 45, 96, 0.1);
  font-weight: var(--font-weight-medium);
  margin-top: 30px;
}

.footer-bottom p {
  margin: 0;
}

/* ========================================
   Floating Social - الأيقونات العائمة
   ======================================== */
.floating-social {
  position: fixed;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  display: grid;
  gap: 10px;
  z-index: var(--z-fixed);
}

.floating-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.floating-social a i {
  font-size: 18px;
}

.floating-social a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   WhatsApp FAB - زر واتساب العائم
   ======================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

/* Breadcrumbs */
.breadcrumbs {
  background: rgba(255, 255, 255, 0.75);
  padding: 16px 0;
  font-size: var(--text-sm);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs a {
  color: var(--primary);
}

.breadcrumbs li[aria-current="page"] {
  font-weight: var(--font-weight-bold);
}

/* ========================================
   Hero Section - قسم البطل
   ======================================== */
.hero {
  position: relative;
  color: #fff;
  padding: 150px 0 130px;
  overflow: hidden;
  background-color: #35132d;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(140deg, rgba(53, 19, 45, 0.85) 0%, rgba(123, 51, 102, 0.75) 55%, rgba(123, 51, 102, 0.45) 100%),
    url('../uploads/madia/hero/hero-3.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -120px;
  height: 220px;
  border-radius: 50% 50% 0 0;
  background: var(--surface);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-semibold);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 50px);
  font-weight: var(--font-weight-black);
  line-height: 1.45;
  max-width: 720px;
}

.hero p {
  max-width: 640px;
  color: #f6e9f2;
  font-weight: var(--font-weight-medium);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats .stat {
  min-width: 160px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 18px 24px;
  text-align: center;
}

.hero-stats .stat span {
  display: block;
  font-size: 28px;
  font-weight: var(--font-weight-black);
  margin-bottom: 6px;
}

/* ========================================
   Promo Section - قسم العروض
   ======================================== */
.promo {
  margin-top: -150px;
  position: relative;
  z-index: 5;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

/* ========================================
   Portfolio Filters - فلاتر المعرض
   ======================================== */
.portfolio-filters {
  background: var(--surface);
  padding: 2rem 0;
  position: sticky;
  top: 160px;
  z-index: 70;
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.filters-mobile-select {
  display: none;
}

.filters-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: rgba(240, 240, 245, 0.6);
  padding: 0.5rem;
  border-radius: 50px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.06);
  max-width: fit-content;
  margin: 0 auto;
}

.filter-pill {
  position: relative;
  padding: 0.75rem 1.5rem;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.5);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.filter-pill.active {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1),
              0 2px 4px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.filter-pill.active::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.3;
}

.filter-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  border-radius: 50px;
  margin-right: -0.25rem;
}

.filter-pill.active .filter-pill-count {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 2px 6px rgba(115, 45, 96, 0.3);
}

.filter-pill:active {
  transform: translateY(0);
}

.filter-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: radial-gradient(circle, rgba(115, 45, 96, 0.2) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0);
  transition: all 0.5s ease;
}

.filter-pill:active::after {
  opacity: 1;
  transform: scale(1);
  transition: all 0s;
}

/* ========================================
   Instagram Feed - قسم إنستجرام
   ======================================== */
.instagram-feed {
  background: var(--surface);
  padding: 80px 0;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 40px 0;
  max-width: 1400px;
  margin-inline: auto;
}

@media (min-width: 1200px) {
  .instagram-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.instagram-post {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.instagram-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.instagram-video-clickable {
  position: relative;
  cursor: pointer;
}

.instagram-thumbnail-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-thumbnail {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: inherit;
  transition: transform 0.35s ease;
}

.instagram-video-clickable:hover .instagram-thumbnail {
  transform: scale(1.03);
}

.instagram-logo {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.instagram-logo i {
  font-size: 20px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.instagram-video-clickable:hover .instagram-logo {
  transform: scale(1.1);
}

.instagram-play-overlay {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.instagram-play-overlay i {
  font-size: 24px;
  color: #dc2743;
  margin-left: 4px;
}

.instagram-video-clickable:hover .instagram-play-overlay {
  opacity: 1;
  transform: scale(1);
}

.instagram-video-clickable::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.instagram-video-clickable:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

.instagram-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%; /* نسبة 9:16 للريلز */
  background: #000;
}

.instagram-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.instagram-post-footer {
  padding: 16px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.instagram-link:hover {
  transform: scale(1.05);
}

.instagram-link i {
  font-size: 18px;
}

.instagram-post-footer a {
  position: relative;
  z-index: 3;
}

.instagram-media {
  margin: 0 !important;
  max-width: 100% !important;
  min-width: 100% !important;
  width: 100% !important;
}

.instagram-cta {
  text-align: center;
  margin-top: 40px;
}

.instagram-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
}

.instagram-cta .btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 25px rgba(220, 39, 67, 0.4);
}

.instagram-cta .btn i {
  font-size: 20px;
}

/* ========================================
   Snapchat Feed - قسم سناب شات
   ======================================== */
.snapchat-feed {
  background: var(--soft-3);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.snapchat-feed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 241, 118, 0.38), rgba(255, 209, 67, 0.2));
  pointer-events: none;
}

.snapchat-feed > .container {
  position: relative;
  z-index: 1;
}

.snapchat-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}

.snap-story {
  background: #fff7c8;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(220, 180, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.snap-story:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(220, 180, 0, 0.26);
}

.snap-story__media {
  position: relative;
  padding-bottom: 150%;
  background: #fff289;
  cursor: pointer;
  overflow: hidden;
}

.snap-story__thumbnail {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}

.snap-story:hover .snap-story__thumbnail {
  transform: scale(1.06);
}

.snap-story__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fffc00;
  color: #000;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  z-index: 2;
}

.snap-story__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.45));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: grid;
  place-items: center;
  z-index: 1;
}

.snap-story__media:hover .snap-story__overlay {
  opacity: 1;
}

.snap-story__icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #1a1a1a;
  transform: translateY(16px);
  opacity: 0;
  transition: all 0.3s ease;
}

.snap-story__media:hover .snap-story__icon {
  transform: translateY(0);
  opacity: 1;
}

.snap-story__body {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.snap-story__title {
  font-size: 18px;
  font-weight: 700;
  color: #2a2100;
  margin: 0;
}

.snap-story__description {
  font-size: 14px;
  color: #6b5b00;
  margin: 0;
  line-height: 1.6;
}

.snap-story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.snap-story__view {
  background: #fffc00;
  color: #1a1a1a;
  border: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 20px;
  box-shadow: 0 12px 28px rgba(255, 228, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.snap-story__view:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(255, 228, 0, 0.45);
}

.snap-story__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #2a2100;
}

.snapchat-cta {
  margin-top: 48px;
  text-align: center;
}

.snapchat-cta .btn {
  background: #fffc00;
  color: #1a1a1a;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 16px 42px rgba(255, 228, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.snapchat-cta .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(255, 228, 0, 0.55);
}
