/* NAVBAR */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  font-family: 'Cairo', 'Amiri', serif;
  color: #f5e4c3;
  box-sizing: border-box;
}
/* Navbar عام */
/* Navbar */
.navbar {
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 5px 20px;
  backdrop-filter: blur(6px);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #bd9e73;
}

.nav-logo .logo { width: 40px; height: auto; }

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: #bd9e73; }

#lang-btn {
  background: #bd9e73;
  border: none;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}
#lang-btn:hover { background: #a67c4d; }

.menu-btn {
  display: none;
  background: #bd9e73;
  border: none;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

/* للجوال */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* إخفاء القائمة */
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.85);
    padding: 15px 0;
  }
  .nav-links.open { display: flex;flex-direction: column; }

  .menu-btn { display: inline-block; } /* ظهور الأيقونة */
}



* { box-sizing: border-box; margin:0; padding:0 }
body {
  font-family: 'Inter', system-ui, Arial;
  background: #f6f5f3;
  line-height: 1.6;
  color: #bd9e73;
}
.container { max-width: var(--max-width); margin:0 auto; padding:0 20px }

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color:#e4ae6c;
  overflow:hidden;
}
.hero-video {
  position: absolute;
  inset:0;
  width:100%; height:100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position:absolute; inset:0;
  background:rgba(0,0,0,0.5);
  z-index: -1;
}
.hero-content { position:relative; z-index:1; }
.hero-content h1 {
  color: #ccc;
  font-family: "Reem Kufi", serif;
  font-size:3rem;
  margin-bottom:12px;
}


  
.hero-ctas { display:flex; gap:12px; justify-content:center }
.btn {
  padding:10px 18px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  background:#bd9e73;
  color:#fff;
}
.btn-primary { background:var(--accent); color:#513500 }

/* CONCEPT */
.concept-section {
  position:relative;
  padding:100px 20px;
  background-color: #a67c4d;
  text-align:center;
  overflow:hidden;
  min-height:80vh;


}
.door {
  position:absolute; top:0;
  width:50%; height:100%;
  background:url('one.jpg') center/cover no-repeat;
  z-index:10;
  transition: transform 12s cubic-bezier(0.77, 0, 0.175, 1);
}

.left-door { left:0; }
.right-door { right:0; }

.concept-inner {
  font-family:"Reem Kufi", serif;
  position:relative; z-index:1;
  opacity:0; transform:translateY(20px);
  transition: opacity 1s ease .20s, transform 5s ease .5s;


}

.concept-inner h1 {
  font-family:"Reem Kufi", serif;
  font-size:2.2rem; margin-bottom:15px;
  
}
.concept-inner p {
   font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;  
 ; margin:0 auto 30px; color:#ccc }

.concept-images {
  display:flex; gap:25px; flex-wrap:wrap;
  justify-content:center;
  opacity:0; transform:translateY(30px);
  transition: opacity 1s ease 1s, transform 1s ease 1s;
}
.concept-images img {
  width:220px; height:150px; object-fit:cover;
  border-radius:10px;
  border:6px #473320;
  background:#473320; padding:4px;
  box-shadow:0 10px 25px rgba(0,0,0,0.5);
  transition: transform .4s;

}
.concept-images img:hover { transform:scale(1.05) }

/* الحالة عند الفتح */
.doors-open .left-door { transform:translateX(-100%) }
.doors-open .right-door { transform:translateX(100%) }
.doors-open .concept-inner { opacity:1; transform:translateY(0) }
.doors-open .concept-images { opacity:1; transform:translateY(0) }
:root {
  --n: 6;                /* عدد الصور */
  --radius: 400px;       /* نصف قطر الدائرة */
  --slide-w: 250px;      /* عرض الصورة */
  --slide-h: 160px;      /* ارتفاع الصورة */
  --angle: calc(360deg / var(--n));
  --speed: 25s;          /* سرعة الدوران */
}

/* منع التمرير الأفقي نهائيًا */


/* ===== الخلفية (الإطار يغطي الشاشة كاملة) ===== */
/* الخلفية الذهبية */
/* القسم */
/* ==== منع أي تمرير أفقي ==== */

/* مقدمة القسم */
#events-section .intro {
  text-align: center;
  margin-bottom: 60px;
}
#events-section h1 {
  font-size: 3rem;
  color: #f9d77a;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  margin-bottom: 15px;
  letter-spacing: 3px;
}
#events-section .intro p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  color: #f6e5c0;
}

/* بلوكات الحفلات */
.event-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 80px;
  background-color: #392200;
}
.event-block.reverse { flex-direction: row-reverse; }

.event-text {
  flex: 1 1 400px;
  min-width: 0;
  max-width: 100%;
  text-align: right;
  padding: 0 10px;
  word-wrap: break-word;
}
.event-text h2 { font-size: 1.8rem; color: #f9d77a; margin-bottom: 10px; }
.event-text p { font-size: 1.1rem; line-height: 1.8; color: #f5e9d0; }

.event-media {
  position: relative;
  flex: 1 1 400px;
  min-width: 0;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s ease;
}
.event-media img {
  width: 400px;
  border-radius: 12px;
 
}



.event-media img, .event-media video {
  border-radius: 20px;
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.25);
  border: 4px solid rgba(255, 215, 0, 0.2);
  object-fit: cover;
}

.play-button {
  position: absolute;
  font-size: 3rem;
  color: gold;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 20px;
  transition: 0.3s;
}
.event-media:hover .play-button {
  transform: scale(1.1);
  background: rgba(255,215,0,0.3);
}

/* نافذة الفيديو */
#video-modal {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.8);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:9999;
  backdrop-filter: blur(5px);
}
.video-container { position: relative; width: 90%; max-width: 900px; }
.video-container video { width: 100%; border-radius: 15px; box-shadow: 0 0 50px gold; }
.close-btn { position:absolute; top:-40px; right:-10px; color:white; font-size:2rem; cursor:pointer; }

/* متجاوب للجوال */
@media (max-width: 768px) {
  .event-text {
    flex: 1 1 100%;
    max-width: 100%; /* على الجوال يمتلئ العرض بالكامل */
    padding: 0 15px;
  }



  .event-text, .event-media {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 0 10px;
  }

  .event-text h2 { font-size: 1.5rem; }
  .event-text p { font-size: 1rem; }
  .event-media img, .event-media video { width: 100%; border-radius: 15px; }
  .play-button { font-size: 2.5rem; padding: 15px; }
}

/* ✨ قسم الحفلات */


/* ✨ قسم الحفلات */
#menu-sections {
  background-color: #4b2e12; /* بني فخم */
  padding: 60px 20px;
  color: #f5e4c3; /* لون النصوص لتكون واضحة */
  border-radius: 15px; /* optional لإضافة لمسة فخمة */
  overflow: hidden;
}

.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.section-card {
  background: #392200;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  position: relative;

  display: flex;           /* استخدام Flexbox */
  flex-direction: column;  /* ترتيب المحتوى عموديًا */
  justify-content: center; /* محاذاة عمودية للنص في منتصف الكارت */
  align-items: center;     /* محاذاة أفقية للنص */
  text-align: center;      /* جعل النص في الوسط */
}

.section-title {
  font-size: 3rem;        /* حجم أكبر */
  color: #f9d77a;         /* لون ذهبي */
  text-align: center;     /* تمركز النص */
  font-weight: 700;       /* خط عريض */
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6); /* توهج خفيف */
  margin-bottom: 40px;
}

.section-card h3 {
  margin-bottom: 10px;
  color: #d69a54;
}

.section-card h2 {
  margin-bottom: 10px;
  color: #d69a54;
  font-size: 1.2rem; /* حجم أصغر، يمكنك تغييره حسب الحاجة */
}

.section-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* على الشاشات الصغيرة (جوال) */
@media (max-width: 768px) {
  .section-card img {
    width: 50%;   /* خلي الصورة أصغر من عرض الباب */
    margin: 0 auto 10px; /* للوسط */
    display: block;
  }
}

.back-btn {
  position: absolute;
  left: 20px;
  top: 20px;
  padding: 10px 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(201,164,77,0.3);
  transition: all .3s ease;
  z-index: 100;
}

.back-btn:hover {
  transform: translateY(-2px);
  background: #b89544;
}

.concept-inner h1 {
  color: #f9d77a; /* لون واضح على الخلفية */
  font-size: 2.2rem;
  margin-bottom: 15px;
}

/* خلفية القسم */
#menu-sections {
  position: relative;
  padding: 60px 20px;

  /* الصورة الأساسية */
  background-image: url('one.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* إضافة طبقة اللون فوق الصورة */
  /* يمكن التحكم بالشفافية عبر alpha (0.0 إلى 1.0) */
}

#menu-sections::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #d8a255e4; /* بني مع شفافية 60% */
  z-index: 0; /* تحت المحتوى */
}

/* اجعل المحتوى فوق طبقة اللون */
#menu-sections .sections-grid,
#menu-sections h2,
#menu-sections .section-card {
  position: relative;
  z-index: 1;
}

/* الباب */
.door {
  position: relative;
  width: 120px;
  height: 150px;
  margin: 0 auto;
  perspective: 1000px;
  cursor: pointer;
}

.left-door, .right-door {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-image: url("one.jpg");
  background-position: center;
  border: 2px solid #d69a54;
  transition: transform 1s ease;
}

/* حط صورة الباب هنا */
.left-door {
 
  background-image: url("one.jpg");
}

.right-door {
 
  background-image: url("one.jpg");
}

.door.open .left-door {
  transform: rotateY(-120deg);
}

.door.open .right-door {
  transform: rotateY(120deg);
}



/* FOOTER */
footer {
  padding:30px 20px;
  background:#0b0b0b;
  color:#fff;
  text-align:center;
}
