/* Colors and fonts used across the site */
:root {
  --black: #0E0E0D;
  --beige: #EADFCB;
  --oak: #C9A678;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--beige);
  font-family: Arial, sans-serif;
  line-height: 1.7;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-bottom: 1px solid #2a2722;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--beige);
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 3px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

nav a {
  color: var(--beige);
  text-decoration: none;
  margin-left: 22px;
}

nav a:hover {
  color: var(--oak);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px;
}

.hero h2 {
  font-size: 4rem;
  line-height: 1.1;
  margin: 0 0 20px;
}

.hero-photo {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  padding: 13px 24px;
  border: 2px solid var(--oak);
  text-decoration: none;
  font-weight: bold;
}

.btn-solid {
  background: var(--oak);
  color: var(--black);
}

.btn-line {
  color: var(--beige);
}

.btn-line:hover {
  background: var(--oak);
  color: var(--black);
}

.facts {
  margin-top: 32px;
  color: var(--oak);
  font-size: 0.9rem;
}

/* On phones: stack the text above the photo */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero h2 {
    font-size: 2.8rem;
  }
  .hero-photo {
    height: 360px;
  }
  nav {
    display: none;
  }
}
/* Spaces section */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.spaces {
  padding: 84px 0;
  background: #1a1917;
}

.spaces h2 {
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 12px;
}

.lead {
  color: #b3a893;
  max-width: 60ch;
  margin-bottom: 56px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}

.row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.row h3 {
  font-size: 1.8rem;
  margin: 0 0 8px;
}

.row p {
  color: #b3a893;
}

/* "flip" moves the photo to the right side */
.row.flip img {
  order: 2;
}

/* Phone rules for this section */
@media (max-width: 820px) {
  .row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }
  .row.flip img {
    order: 0;
  }
  .spaces h2 {
    font-size: 2.2rem;
  }
}
/* Services section */
.services {
  padding: 64px 0;
  background: var(--black);
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.two-cols > div {
  padding: 8px 32px 8px 0;
}

/* the second column gets a thin line on its left */
.two-cols > div + div {
  padding-left: 32px;
  border-left: 1px solid #34312b;
}

.services h3 {
  font-size: 1.8rem;
  margin: 0 0 8px;
}

.services p {
  color: #b3a893;
}

/* Incubator section */
.incubator {
  padding: 84px 0;
  background: #1a1917;
  border-top: 1px solid #34312b;
}

.incubator-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.incubator h2 {
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 12px;
}

.incubator p {
  color: #b3a893;
  max-width: 60ch;
}

@media (max-width: 720px) {
  .two-cols,
  .incubator-inner {
    grid-template-columns: 1fr;
  }
  .two-cols > div,
  .two-cols > div + div {
    padding: 16px 0;
    border-left: 0;
  }
  .incubator h2 {
    font-size: 2.2rem;
  }
}
/* Visit section */
.visit {
  padding: 84px 0;
  background: var(--beige);
  color: #161513;
}

.visit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.visit h2 {
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 12px;
}

.hours {
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.2;
  margin: 24px 0;
}

.visit dl {
  margin: 0;
}

.visit dt {
  font-weight: bold;
  color: #8A6636;
  font-size: 0.9rem;
  margin-top: 20px;
}

.visit dd {
  margin: 0;
  font-size: 1.1rem;
}

.visit a {
  color: #161513;
}

/* the button keeps its own colors */
.visit .btn-solid {
  color: var(--black);
}

/* Footer */
.site-footer {
  background: var(--black);
  padding: 36px 0;
  font-size: 0.9rem;
  color: #b3a893;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: var(--beige);
  margin-right: 18px;
}

@media (max-width: 820px) {
  .visit-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .visit h2 {
    font-size: 2.2rem;
  }
}
/* Fonts */
:root {
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, Arial, sans-serif;
}

body {
  font-family: var(--sans);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
}

/* Smooth scrolling that stops below the sticky header */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Header stays at the top while scrolling */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--black);
}

.header-btn {
  padding: 9px 18px;
}

/* Visible outline when navigating with the keyboard */
a:focus-visible {
  outline: 2px solid var(--oak);
  outline-offset: 3px;
}

/* Photos never overflow the screen */
img {
  max-width: 100%;
  display: block;
}

/* Respect people who turn off animations */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* Map */
.map {
  grid-column: 1 / -1;
}

.map iframe {
  width: 100%;
  height: 420px;
  display: block;
}

@media (max-width: 820px) {
  .map iframe {
    height: 320px;
  }
}
/* Map inside the Visit section */
.visit-inner {
  align-items: start;
}

.visit-inner iframe {
  display: block;
  width: 100%;
  height: 340px;
  margin-top: 24px;
  border: 0;
}

@media (max-width: 820px) {
  .visit-inner iframe {
    height: 280px;
  }
}
/* Push address, phone... a little lower */
.visit-inner dl {
  margin-top: 90px;
}

@media (max-width: 820px) {
  .visit-inner dl {
    margin-top: 0;
  }
}
/* Social icons */
.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border: 1px solid #34312b;
  border-radius: 50%;
  color: var(--beige);
  transition: background .2s, color .2s, border-color .2s;
}

.socials a:hover {
  background: var(--oak);
  border-color: var(--oak);
  color: var(--black);
}

.socials svg {
  width: 20px;
  height: 20px;
}
/* Open now badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 6px 14px;
  border: 1px solid #34312b;
  border-radius: 999px;
  font-size: 0.85rem;
}

.badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #888;
}

.badge.is-open::before   { background: #5bc27a; }
.badge.is-closed::before { background: #d9776a; }

/* Gallery */
.gallery {
  padding: 84px 0;
  background: var(--black);
}

.gallery h2 {
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 32px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.shot {
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}

.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .4s;
}

.shot:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.92);
}

.lightbox img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
}

.lb-close, .lb-prev, .lb-next {
  position: fixed;
  border: 0;
  background: none;
  color: var(--beige);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px 16px;
}

.lb-close { top: 12px; right: 12px; }
.lb-prev  { left: 8px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 8px; top: 50%; transform: translateY(-50%); }

.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  color: var(--oak);
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--oak);
  color: var(--black);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform .2s;
}

.wa-float:hover {
  transform: scale(1.08);
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 820px) {
  .gallery h2 { font-size: 2.2rem; }
}

/* Language flags */
.lang {
  display: flex;
  gap: 8px;
  margin: 0 16px;
}

.lang button {
  display: block;
  padding: 0;
  width: 30px;
  height: 21px;
  border: 0;
  border-radius: 3px;
  background: none;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity .2s, transform .2s;
}

.lang button svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lang button:hover {
  opacity: 1;
}

/* the flag of the language you are viewing */
.lang button[aria-pressed="true"] {
  opacity: 1;
  outline: 2px solid var(--oak);
  outline-offset: 2px;
}

.lang button:focus-visible {
  opacity: 1;
  outline: 2px solid var(--oak);
  outline-offset: 2px;
}

/* On phones the floating WhatsApp button is enough */
@media (max-width: 820px) {
  .header-btn { display: none; }
  .lang { margin: 0; }
}

/* ---------- Arabic (right-to-left) ---------- */
html[lang="ar"] {
  --sans: 'Cairo', system-ui, Arial, sans-serif;
  --serif: 'Cairo', system-ui, Arial, sans-serif;
}

html[lang="ar"] body {
  line-height: 1.9;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 {
  line-height: 1.35;
}

/* menu spacing moves to the other side */
html[dir="rtl"] nav a {
  margin-left: 0;
  margin-right: 22px;
}

/* the thin line between "Event space" and "Domiciliation" */
html[dir="rtl"] .two-cols > div {
  padding: 8px 0 8px 32px;
}

html[dir="rtl"] .two-cols > div + div {
  padding: 8px 32px 8px 0;
  border-left: 0;
  border-right: 1px solid #34312b;
}

@media (max-width: 720px) {
  html[dir="rtl"] .two-cols > div,
  html[dir="rtl"] .two-cols > div + div {
    padding: 16px 0;
    border-right: 0;
  }
}

/* phone numbers and email stay left-to-right, but line up on the right */
html[dir="rtl"] .ltr-text {
  text-align: right;
}
/* Chat button */
.bot-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--oak);
  color: var(--black);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform .2s;
}

.bot-toggle:hover { transform: scale(1.08); }
.bot-toggle svg { width: 28px; height: 28px; }

/* Chat panel */
.bot-panel {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  width: min(370px, calc(100vw - 24px));
  height: min(540px, 72vh);
  background: #1a1917;
  border: 1px solid #34312b;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.bot-panel[hidden] { display: none; }

.bot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--black);
  border-bottom: 1px solid #34312b;
}

.bot-head button {
  border: 0;
  background: none;
  color: var(--beige);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.bot-log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
}

.msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.msg.bot  { align-self: flex-start; background: #26231f; }
.msg.user { align-self: flex-end; background: var(--oak); color: var(--black); }

.msg-action {
  align-self: flex-start;
  padding: 9px 16px;
  font-size: 0.85rem;
}

.bot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 16px;
  border-top: 1px solid #34312b;
}

.bot-chips button {
  padding: 6px 12px;
  border: 1px solid #34312b;
  border-radius: 999px;
  background: none;
  color: var(--beige);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.bot-chips button:hover {
  border-color: var(--oak);
  color: var(--oak);
}

.bot-form {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #34312b;
}

.bot-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #34312b;
  border-radius: 3px;
  background: var(--black);
  color: var(--beige);
  font: inherit;
  font-size: 16px;   /* 16px stops iPhones from zooming in */
}

.bot-form button {
  padding: 0 16px;
  border: 0;
  border-radius: 3px;
  background: var(--oak);
  color: var(--black);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.bot-toggle:focus-visible,
.bot-form button:focus-visible,
.bot-chips button:focus-visible,
.bot-head button:focus-visible,
.bot-form input:focus-visible {
  outline: 2px solid var(--oak);
  outline-offset: 2px;
}

@media (max-width: 820px) {
  .bot-panel { right: 12px; bottom: 84px; }
}

