/* ==========================================================
   قهوتي - مقهى كلاسيكي
   التصميم: كلاسيكي دافئ بألوان البني والذهبي
   ========================================================== */

/* ---------- المتغيرات ---------- */
:root {
  --brown-dark: #2b1a12;
  --brown: #3e2a1e;
  --brown-medium: #6b4a35;
  --cream: #f5ecd7;
  --cream-light: #faf5e8;
  --gold: #c9a15c;
  --gold-dark: #a8813f;
  --text-dark: #2b1a12;
  --text-light: #f5ecd7;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(43, 26, 18, 0.15);
  --shadow-lg: 0 20px 50px rgba(43, 26, 18, 0.25);
  --radius: 12px;
  --font-heading: 'Amiri', serif;
  --font-body: 'Tajawal', sans-serif;
  --font-latin: 'Playfair Display', serif;
  --transition: all 0.35s ease;
}

/* ---------- أساسيات ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--cream-light);
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

section {
  scroll-margin-top: 80px;
}

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--brown-dark);
  box-shadow: 0 6px 20px rgba(201, 161, 92, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(201, 161, 92, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(245, 236, 215, 0.6);
}

.btn-outline:hover {
  background: var(--text-light);
  color: var(--brown-dark);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1rem 2.4rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* ---------- الترويسة ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(43, 26, 18, 0.92);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(201, 161, 92, 0.25);
}

.header.scrolled {
  background: rgba(28, 16, 10, 0.98);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--brown-dark);
  border-radius: 50%;
  font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(201, 161, 92, 0.5);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  color: var(--text-light);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.4rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- الواجهة الرئيسية ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(201, 161, 92, 0.25), transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(107, 74, 53, 0.5), transparent 55%),
    linear-gradient(160deg, #1f120a, #332015 60%, #241610);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.2' fill='%23c9a15c' fill-opacity='0.12'/%3E%3C/svg%3E");
  animation: float-pattern 30s linear infinite;
}

@keyframes float-pattern {
  from { background-position: 0 0; }
  to { background-position: 60px 60px; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: 8rem 4rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.6rem;
  border: 1px solid var(--gold);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 1.8rem;
  background: rgba(201, 161, 92, 0.08);
  animation: fadeUp 1s ease both;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--text-light);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  animation: fadeUp 1s ease 0.15s both;
}

.hero-title .accent {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: 6px;
  right: 0;
  left: 0;
  height: 10px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  color: rgba(245, 236, 215, 0.85);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 2;
  animation: fadeUp 1s ease 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeUp 1s ease 0.45s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 8vw, 5rem);
  flex-wrap: wrap;
  border-top: 1px solid rgba(201, 161, 92, 0.2);
  padding-top: 2.5rem;
  animation: fadeUp 1s ease 0.6s both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-latin);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
}

.stat-label {
  color: rgba(245, 236, 215, 0.75);
  font-size: 0.95rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- الأقسام العامة ---------- */
.section {
  padding-block: 6rem;
}

.section-tag {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
  position: relative;
  padding-right: 2.5rem;
}

.section-tag::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 2px;
  background: var(--gold);
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head .section-tag::before {
  right: auto;
  left: -0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--brown-dark);
  font-weight: 700;
  line-height: 1.4;
}

.section-head.light .section-title {
  color: var(--text-light);
}

.section-head.light .section-tag {
  color: var(--gold);
}

.section-head.light .section-tag::before {
  background: var(--gold);
}

/* ---------- من نحن ---------- */
.about {
  background: var(--cream-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

.about-image-badge {
  position: absolute;
  bottom: -28px;
  right: -28px;
  background: linear-gradient(135deg, var(--brown), var(--brown-dark));
  color: var(--text-light);
  padding: 1.2rem 1.8rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold);
}

.badge-year {
  display: block;
  font-family: var(--font-latin);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
}

.badge-text {
  font-size: 0.9rem;
  opacity: 0.85;
}

.about-text .section-lead {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 1rem;
}

.about-text .section-body {
  color: #5c4536;
  margin-bottom: 1.6rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.5rem;
  margin-bottom: 2rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--brown);
  font-weight: 500;
}

.about-features i {
  color: var(--gold-dark);
}

/* ---------- قائمة المشروبات ---------- */
.menu {
  background: linear-gradient(180deg, var(--cream-light), var(--cream));
  position: relative;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.menu-tab {
  padding: 0.6rem 1.6rem;
  border: 2px solid var(--gold);
  border-radius: 50px;
  background: transparent;
  color: var(--gold-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.menu-tab:hover,
.menu-tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--brown-dark);
  box-shadow: 0 6px 18px rgba(201, 161, 92, 0.4);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.8rem;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  animation: fadeUp 0.6s ease both;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.menu-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.menu-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(43, 26, 18, 0.35));
}

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

.menu-card:hover .menu-card-image img {
  transform: scale(1.08);
}

.menu-card-body {
  padding: 1.4rem;
}

.menu-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.menu-card-title h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--brown-dark);
}

.price {
  background: rgba(201, 161, 92, 0.15);
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  white-space: nowrap;
}

.menu-card-body p {
  color: #6b5a4d;
  font-size: 0.95rem;
}

/* ---------- لماذا نحن ---------- */
.why {
  background:
    radial-gradient(ellipse at 50% 120%, rgba(201, 161, 92, 0.2), transparent 60%),
    linear-gradient(160deg, #241610, #3e2a1e);
  position: relative;
}

.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.2' fill='%23c9a15c' fill-opacity='0.1'/%3E%3C/svg%3E");
}

.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.8rem;
}

.why-card {
  background: rgba(245, 236, 215, 0.06);
  border: 1px solid rgba(201, 161, 92, 0.25);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.why-card:hover {
  background: rgba(245, 236, 215, 0.1);
  border-color: var(--gold);
  transform: translateY(-8px);
}

.why-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--brown-dark);
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(201, 161, 92, 0.4);
}

.why-card h3 {
  font-family: var(--font-heading);
  color: var(--text-light);
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.why-card p {
  color: rgba(245, 236, 215, 0.75);
  font-size: 0.95rem;
}

/* ---------- المعرض ---------- */
.gallery {
  background: var(--cream-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1.2rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: pointer;
}

.gallery-item::after {
  content: '\f002';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(43, 26, 18, 0.55);
  color: var(--text-light);
  font-size: 1.8rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

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

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

.gallery-item:nth-child(2),
.gallery-item:nth-child(5) {
  grid-row: span 2;
}

/* ---------- آراء الزوار ---------- */
.testimonials {
  background: var(--cream);
}

.testimonials-slider {
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 3rem 2.5rem;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  margin-bottom: 1.5rem;
}

.quote-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
  background: rgba(201, 161, 92, 0.15);
  color: var(--gold-dark);
  font-size: 1.4rem;
  border-radius: 50%;
}

.testimonial-card blockquote {
  font-size: 1.15rem;
  color: var(--brown);
  font-weight: 500;
  margin-bottom: 1.6rem;
  line-height: 2;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brown), var(--brown-dark));
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  border: 2px solid var(--gold);
}

.testimonial-card figcaption div {
  text-align: right;
}

.testimonial-card strong {
  display: block;
  color: var(--brown-dark);
  font-size: 1.05rem;
}

.testimonial-role {
  color: var(--gold-dark);
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold-dark);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.slider-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--brown-dark);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(107, 74, 53, 0.25);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ---------- الاتصال ---------- */
.contact {
  background: var(--cream-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 1.4rem;
  margin: 2rem 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-list i {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(201, 161, 92, 0.15);
  color: var(--gold-dark);
  border-radius: 50%;
  font-size: 1.1rem;
}

.contact-list strong {
  display: block;
  color: var(--brown-dark);
  margin-bottom: 0.2rem;
}

.contact-list span {
  color: #6b5a4d;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
}

.social-links a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brown);
  color: var(--text-light);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--brown-dark);
  transform: translateY(-4px);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--brown-dark);
  margin-bottom: 1.6rem;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border: 2px solid rgba(107, 74, 53, 0.2);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-dark);
  background: var(--cream-light);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 161, 92, 0.15);
}

.form-group textarea {
  resize: vertical;
}

.form-status {
  margin-top: 1rem;
  text-align: center;
  font-weight: 700;
  min-height: 1.5em;
}

.form-status.success {
  color: #2e7d32;
}

.form-status.error {
  color: #c62828;
}

/* ---------- التذييل ---------- */
.footer {
  background: linear-gradient(180deg, #241610, #180e08);
  color: rgba(245, 236, 215, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-block: 4rem;
}

.footer-brand p {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: grid;
  gap: 0.6rem;
}

.footer-col ul a {
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-col ul a:hover {
  color: var(--gold);
  padding-right: 6px;
}

.footer-col p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.newsletter {
  display: flex;
  background: rgba(245, 236, 215, 0.08);
  border: 1px solid rgba(201, 161, 92, 0.3);
  border-radius: 50px;
  overflow: hidden;
}

.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.8rem 1.2rem;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.newsletter input::placeholder {
  color: rgba(245, 236, 215, 0.5);
}

.newsletter input:focus {
  outline: none;
}

.newsletter button {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  color: var(--brown-dark);
  padding-inline: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter button:hover {
  background: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(201, 161, 92, 0.2);
  padding-block: 1.4rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(245, 236, 215, 0.6);
}

/* ---------- إعلان الصور ---------- */
.notice {
  text-align: center;
  padding: 1rem;
  background: #fff3cd;
  color: #856404;
  font-size: 0.95rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 10, 5, 0.95);
  display: grid;
  place-items: center;
  padding: 2rem;
  animation: fadeUp 0.3s ease;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 3px solid var(--gold);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--text-light);
  font-size: 1.6rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2001;
}

.lightbox-close:hover {
  background: var(--gold);
  color: var(--brown-dark);
}

/* ---------- التجاوب ---------- */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image img {
    height: 400px;
  }

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

  .gallery-item:nth-child(2),
  .gallery-item:nth-child(5) {
    grid-row: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--brown-dark);
    padding: 6rem 2rem 2rem;
    transition: right 0.4s ease;
    box-shadow: var(--shadow-lg);
    z-index: 998;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 1.15rem;
  }

  .nav-toggle {
    display: block;
    z-index: 999;
  }

  .nav-cta {
    display: none;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-image-badge {
    right: 10px;
    bottom: -20px;
  }

  .section {
    padding-block: 4.5rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .container {
    padding-inline: 1rem;
  }

  .hero-stats {
    gap: 1.8rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .testimonial-card {
    padding: 2rem 1.3rem;
  }
}

/* ---------- للشاشات الكبيرة ---------- */
@media (min-width: 1200px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
