/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

/* ===== CUSTOM FONTS ===== */
@font-face {
  font-family: 'Lyon Arabic Display';
  src: url('assets/fonts/lyon-arabic-display-regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lyon Arabic Display';
  src: url('assets/fonts/lyon-arabic-display-bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* ===== CSS VARIABLES ===== */
:root {
  --bg: #FDFAF5;
  --gold: #C9A96E;
  --gold-dark: #B8944D;
  --blush: #E8D5C4;
  --text: #2C2418;
  --border: #EAE0D5;
  --white: #FFFFFF;
  --footer-bg: #2C2418;
  --section-blush: #F7EEE8;
  --shadow: 0 4px 24px rgba(44,36,24,0.08);
  --shadow-hover: 0 8px 32px rgba(44,36,24,0.14);
  --radius: 16px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  direction: rtl;
  font-size: 16px;
}

body {
  font-family: 'Lyon Arabic Display', 'Noto Naskh Arabic', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: 'Lyon Arabic Display', 'Noto Naskh Arabic', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 48px;
}
.gold-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 12px auto 20px;
  border-radius: 2px;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(253,250,245,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(44,36,24,0.08);
  padding: 10px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 55px;
  width: auto;
  transition: height 0.3s ease;
}
.navbar.scrolled .nav-logo img { height: 45px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  position: relative;
  transition: color 0.3s ease;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white) !important;
  padding: 10px 28px !important;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(201,169,110,0.3);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,169,110,0.45) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}
.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(253,250,245,0.75) 0%, rgba(253,250,245,0.85) 70%, var(--bg) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
  width: 100%;
  max-width: 1000px;
}
.hero-badge {
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 20px;
  font-weight: 600;
}
.hero-title {
  font-family: 'Lyon Arabic Display', 'Noto Naskh Arabic', serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 2;
  font-weight: 600;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-outline {
  padding: 14px 36px;
  border: 2px solid var(--gold);
  border-radius: 50px;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  background: transparent;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-filled {
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50px;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(201,169,110,0.3);
}
.btn-filled:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,169,110,0.45);
}

/* Floating Particles */
.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.3;
  animation: floatParticle 8s infinite ease-in-out;
}
.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 1s; animation-duration: 9s; width: 4px; height: 4px; }
.particle:nth-child(3) { left: 45%; top: 30%; animation-delay: 2s; animation-duration: 6s; }
.particle:nth-child(4) { left: 65%; top: 70%; animation-delay: 3s; animation-duration: 8s; width: 5px; height: 5px; }
.particle:nth-child(5) { left: 80%; top: 15%; animation-delay: 1.5s; animation-duration: 10s; }
.particle:nth-child(6) { left: 90%; top: 50%; animation-delay: 0.5s; animation-duration: 7.5s; width: 3px; height: 3px; }
.particle:nth-child(7) { left: 15%; top: 80%; animation-delay: 4s; animation-duration: 9s; }
.particle:nth-child(8) { left: 55%; top: 10%; animation-delay: 2.5s; animation-duration: 6.5s; width: 4px; height: 4px; }

@keyframes floatParticle {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.2; }
  25% { transform: translate(20px, -30px) scale(1.2); opacity: 0.5; }
  50% { transform: translate(-15px, -50px) scale(0.8); opacity: 0.3; }
  75% { transform: translate(25px, -20px) scale(1.1); opacity: 0.4; }
}

/* ===== INTRO STRIP ===== */
.intro-strip {
  padding: 80px 0;
  background: var(--bg);
  border-bottom: 3px solid var(--border);
}
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.intro-card {
  text-align: center;
  padding: 40px 24px;
}
.intro-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}
.intro-card h3 {
  font-family: 'Lyon Arabic Display', 'Noto Naskh Arabic', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gold);
}
.intro-card p {
  font-size: 0.95rem;
  color: #6B5D4F;
  line-height: 1.9;
}

/* ===== VIDEO SHOWCASE ===== */
.video-section {
  padding: 100px 0;
  background: var(--section-blush);
}
.video-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--gold);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.video-card:first-child { transform: rotate(2deg); }
.video-card:last-child { transform: rotate(-2deg); }
.video-card:hover {
  box-shadow: var(--shadow-hover);
}
.video-card video {
  width: 100%;
  display: block;
  border-radius: calc(var(--radius) - 3px);
}
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44,36,24,0.25);
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.video-overlay.hidden { opacity: 0; pointer-events: none; }
.play-btn {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--gold);
  margin-right: -4px;
}
.video-card:hover .play-btn { transform: scale(1.1); }

/* ===== GALLERY ===== */
.gallery-section {
  padding: 100px 0;
  background: var(--bg);
}
.masonry-grid {
  columns: 3;
  column-gap: 20px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}
.masonry-item::after {
  content: '✨';
  position: absolute;
  inset: 0;
  background: rgba(201,169,110,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.masonry-item:hover img { transform: scale(1.03); }
.masonry-item:hover::after { opacity: 1; }

.gallery-more {
  text-align: center;
  margin-top: 48px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { right: 24px; }
.lightbox-next { left: 24px; }

/* ===== SERVICES ===== */
.services-section {
  padding: 100px 0;
  background: var(--section-blush);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.service-card h3 {
  font-family: 'Lyon Arabic Display', 'Noto Naskh Arabic', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.service-card p {
  font-size: 0.9rem;
  color: #6B5D4F;
  line-height: 1.8;
}

/* ===== WHY US ===== */
.why-section {
  padding: 100px 0;
  background: var(--bg);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.why-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.why-content h2 {
  font-family: 'Lyon Arabic Display', 'Noto Naskh Arabic', serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text);
}
.why-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.why-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  margin-top: 4px;
}
.why-item p { font-size: 1.05rem; line-height: 1.9; }

/* ===== EVENTS WE COVER ===== */
.events-section {
  padding: 100px 0;
  background: var(--section-blush);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px 36px;
  text-align: center;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(201,169,110,0.04) 0%, transparent 40%);
  pointer-events: none;
}
.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.event-icon {
  font-size: 3rem;
  margin-bottom: 18px;
}
.event-card h3 {
  font-family: 'Lyon Arabic Display', 'Noto Naskh Arabic', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gold-dark);
}
.event-card > p {
  font-size: 0.95rem;
  color: #6B5D4F;
  line-height: 1.9;
  margin-bottom: 20px;
}
.event-features {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.event-features li {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  padding: 6px 12px;
  background: rgba(201,169,110,0.07);
  border-radius: 8px;
  transition: background 0.3s ease;
}
.event-features li:hover {
  background: rgba(201,169,110,0.15);
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 100px 0;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-map iframe {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item a {
  direction: ltr;
  display: inline-block;
}
.contact-form {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .full-width { grid-column: 1 / -1; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.3s ease;
  direction: rtl;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  grid-column: 1 / -1;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(201,169,110,0.3);
}
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,169,110,0.45);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 50px; width: auto; object-fit: contain; margin-bottom: 16px; filter: brightness(10); }
.footer-brand p { font-size: 0.95rem; line-height: 1.9; color: rgba(255,255,255,0.6); }
.footer h4 {
  font-family: 'Lyon Arabic Display', 'Noto Naskh Arabic', serif;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.footer ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(253,250,245,0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.3s ease;
}
.mobile-menu a:hover { color: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry-grid { columns: 2; }
  .why-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .navbar .container { padding: 0 16px; }

  .hero-title { font-size: 2.5rem; }
  .hero-bg { background-attachment: scroll; }

  .intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .intro-card { padding: 24px; }

  .video-grid { grid-template-columns: 1fr; }
  .video-card:first-child, .video-card:last-child { transform: none; }

  .masonry-grid { columns: 2; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .why-grid { grid-template-columns: 1fr; }
  .why-image { order: -1; }
  .why-image img { height: 300px; }

  .events-grid { grid-template-columns: 1fr; gap: 20px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .masonry-grid { columns: 1; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
