/* DUNE: colours and fonts. Change these few lines to make it yours. */
:root {
  --sand: #F4ECE1; --paper: #FFFAF3; --ink: #3A2A20; --mute: #8A7462; --line: #E8DCCB;
  --clay: #C8643B; --clay-d: #A44E2B; --sun: #EFB45A; --sky: #9CC3DC; --date: #5A3A28;
  --display: "Gilda Display", Georgia, serif; --body: "Karla", system-ui, sans-serif;
  --b-bg: var(--sand); --b-paper: var(--paper); --b-ink: var(--ink); --b-mute: var(--mute); --b-line: var(--line); --b-soft: #EFE3D2;
  --b-accent: var(--clay); --b-accent-ink: #fff; --b-display: var(--display); --b-body: var(--body); --b-radius: 22px; --b-card: 20px; --b-ratio: 4 / 3;
}
html[lang="ar"] { --display: "Amiri", Georgia, serif; --body: "Noto Sans Arabic", system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 16.5px/1.65 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--clay); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 700; line-height: 1.4; letter-spacing: 0; }
html[lang="ar"] h1 em, html[lang="ar"] h2 em { font-style: normal; }
.kick { margin: 0 0 14px; color: var(--clay); font: 700 12.5px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; }
html[lang="ar"] .kick { letter-spacing: 0; font-size: 14px; }
.lead { color: var(--mute); font-size: clamp(16px, 1.4vw, 19px); max-width: 32em; }
.sec { padding: clamp(70px, 9vw, 120px) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.sec-head h2 { margin: 0; font-size: clamp(40px, 5.2vw, 70px); line-height: 1.02; }
.sec-head.center { justify-content: center; text-align: center; }
.btn { letter-spacing: .02em; }

/* header: logo in the middle */
.top { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--sand) 88%, transparent); backdrop-filter: blur(12px); transition: box-shadow .3s; }
.top.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.top-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 80px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 400 34px/1 var(--display); text-decoration: none; letter-spacing: .04em; }
.logo svg { width: 40px; height: 28px; fill: none; stroke: var(--clay); stroke-width: 2.4; stroke-linecap: round; }
.logo svg circle { fill: var(--sun); stroke: none; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 10px 12px; font-weight: 600; text-decoration: none; letter-spacing: .02em; }
.nav a:hover { color: var(--clay); }
.top-r { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.lang { height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: 600 14px var(--body); cursor: pointer; }
.top-go { min-height: 44px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

/* hero: an arched window that opens */
.hero { position: relative; }
.hero-pin { position: relative; height: calc(100vh - 80px); min-height: 600px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; display: grid; align-content: center; height: 100%; max-width: 1240px; padding-inline-end: 50%; }
.hero-copy h1 { margin: 0 0 18px; font-size: clamp(48px, 6.4vw, 96px); line-height: .98; }
.arch { position: absolute; z-index: 3; inset: 0; clip-path: inset(9% 7% 7% 52% round 600px 600px 26px 26px); will-change: clip-path; }
html[dir="rtl"] .arch { clip-path: inset(9% 52% 7% 7% round 600px 600px 26px 26px); }
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch .a-in { object-position: 50% 40%; }
.sun { position: absolute; z-index: 1; top: 6%; inset-inline-end: 4%; width: 20vw; max-width: 260px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #F7CB7C, var(--sun) 60%, transparent 70%); opacity: .7; }
.scroll-hint { position: absolute; z-index: 4; bottom: 18px; left: 50%; translate: -50% 0; width: 26px; height: 42px; margin: 0; border: 2px solid var(--ink); border-radius: 20px; opacity: .5; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: hint 1.8s infinite; }
@keyframes hint { 60% { transform: translateY(12px); opacity: 0; } }

/* booking widget */
.widget-wrap { position: relative; z-index: 5; margin-top: -60px; }
.widget { display: grid; grid-template-columns: 1fr 1fr .8fr auto; gap: 10px; padding: 12px; border-radius: 999px; background: var(--paper); box-shadow: 0 30px 60px -36px rgba(58, 42, 32, .6), 0 0 0 1px var(--line); }
.widget label { display: grid; gap: 1px; padding: 8px 22px; border-radius: 999px; background: var(--sand); font-size: 12px; font-weight: 700; color: var(--mute); letter-spacing: .06em; text-transform: uppercase; }
html[lang="ar"] .widget label { letter-spacing: 0; text-transform: none; font-size: 13px; }
.widget input, .widget select { border: 0; background: transparent; color: var(--ink); font: 600 16px var(--body); padding: 2px 0; width: 100%; min-width: 0; }
.widget .btn { min-height: 62px; padding: 0 30px; font-size: 16px; }
.w-from { grid-column: 1 / -1; margin: 2px 0 0; text-align: center; color: var(--mute); font-size: 14px; }
.w-from b { color: var(--clay); }

/* rooms */
.r-track { display: flex; gap: 22px; overflow-x: auto; padding: 4px max(20px, (100vw - 1240px) / 2) 20px; scroll-padding-inline: max(20px, (100vw - 1240px) / 2); scroll-snap-type: x mandatory; scrollbar-width: none; }
.r-track::-webkit-scrollbar { display: none; }
.room { flex: none; width: min(420px, 82vw); scroll-snap-align: start; display: flex; flex-direction: column; }
.room-img { position: relative; aspect-ratio: 4 / 4.6; border-radius: 300px 300px 24px 24px; overflow: hidden; background: var(--b-soft); }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.room:hover .room-img img { transform: scale(1.06); }
.room .badge { top: auto; bottom: 14px; background: var(--clay); color: #fff; }
.room-b { padding: 18px 6px 0; display: grid; gap: 6px; }
.room-n { font: 400 30px/1.1 var(--display); text-decoration: none; }
html[lang="ar"] .room-n { font-size: 26px; font-weight: 700; }
.room-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.room-f .pr b { font: 400 26px var(--display); color: var(--clay); }
.room .facts { color: var(--mute); }
.room .facts li[data-fact="bed"], .room .facts li[data-fact="view"] { display: none; }

/* experiences */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 26px; overflow: hidden; }
.tile:nth-child(2) { transform: translateY(40px); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img { transform: scale(1.07); }
.tile figcaption { position: absolute; inset: auto 0 0 0; padding: 70px 24px 24px; background: linear-gradient(transparent, rgba(40, 24, 14, .78)); color: #fff; }
.tile b { display: block; font: 400 28px/1.15 var(--display); }
.tile span { opacity: .86; font-size: 15px; }

/* amenities */
.amen-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center; }
.amen-in h2 { margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; }
.am { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.am li { display: grid; gap: 12px; padding: 22px; border-radius: 22px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); font-weight: 600; }
.am svg { width: 34px; height: 34px; fill: none; stroke: var(--clay); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* reviews, faq, visit */
.rev-in { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: start; }
.score { display: grid; justify-items: center; gap: 4px; padding: 40px 20px; border-radius: 300px 300px 30px 30px; background: var(--clay); color: #fff; text-align: center; }
.score b { font: 400 96px/1 var(--display); }
.score span { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.score small { opacity: .85; }
.rev-in h2 { margin: 0 0 24px; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; }
.revs { display: grid; gap: 14px; }
.rev { margin: 0; padding: 24px 28px; border-radius: 22px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.rev p { margin: 0 0 8px; font: italic 400 21px/1.45 var(--display); }
html[lang="ar"] .rev p { font-style: normal; font-size: 19px; }
.rev cite { font-style: normal; color: var(--clay); font-weight: 700; }
.faq-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.faq-in h2 { margin: 0; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font: 400 22px/1.3 var(--display); }
html[lang="ar"] .faq summary { font-size: 19px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--clay); font: 400 30px var(--body); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--mute); }
.vgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; }
.vcard { padding: clamp(26px, 4vw, 44px); border-radius: 30px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.vcard h2 { margin: 0 0 16px; font-size: clamp(32px, 4vw, 50px); line-height: 1.05; }
.rec b { color: var(--clay); }
.vcard .links.col { flex-direction: column; gap: 8px; margin-top: 14px; }
.vmap { min-height: 420px; border-radius: 300px 300px 30px 30px; overflow: hidden; }
.vmap iframe { height: 100%; min-height: 100%; border-radius: 0; }

/* footer */
.foot { padding: 0; background: var(--date); color: #EBD9C6; }
.foot-arch { display: grid; justify-items: center; gap: 22px; padding: 80px 0 70px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.foot-arch h2 { margin: 0; color: #fff; font-size: clamp(40px, 5.6vw, 76px); line-height: 1; }
.foot-arch h2 em { color: var(--sun); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; padding: 60px 0 10px; }
.foot .logo { color: #fff; }
.foot h3 { margin: 0 0 14px; color: #fff; font: 400 24px var(--display); }
.foot-grid a:not(.logo) { display: block; margin-bottom: 8px; text-decoration: none; opacity: .85; }
.foot-grid a:hover { opacity: 1; color: var(--sun); }
.foot .links a { display: inline; }
.foot .links.col { flex-direction: column; gap: 6px; }
.foot-end { margin-top: 30px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; opacity: .75; }

/* other pages */
.it-main { border-radius: 400px 400px 26px 26px; }
body:not([data-page="home"]) .grid .room { width: auto; }
body:not([data-page="home"]) .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 34px 24px; }

@media (max-width: 1000px) {
  .top-in { grid-template-columns: auto 1fr; }
  .nav { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; padding: 14px 20px 22px; background: var(--paper); box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .3); }
  .menu-open .nav { display: flex; }
  .nav a { padding: 14px; font-size: 18px; }
  .menu-btn { display: grid; place-items: center; }
  .hero-copy { padding-inline-end: 0; align-content: start; padding-top: 40px; }
  .arch { clip-path: inset(46% 8% 6% 8% round 600px 600px 26px 26px); }
  html[dir="rtl"] .arch { clip-path: inset(46% 8% 6% 8% round 600px 600px 26px 26px); }
  .widget { grid-template-columns: 1fr 1fr; border-radius: 28px; }
  .widget label:nth-of-type(3), .widget .btn { grid-column: 1 / -1; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile:nth-child(2) { transform: none; }
  .amen-in, .rev-in, .faq-in, .vgrid { grid-template-columns: 1fr; }
  .score { border-radius: 30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .top-in { height: 66px; }
  .nav { top: 66px; }
  .logo { font-size: 28px; }
  .top-go { display: none; }
  .lang { padding: 0 10px; height: 40px; }
  .hero-pin { height: calc(100svh - 66px); min-height: 560px; }
  .hero-copy h1 { font-size: 46px; }
  .arch, html[dir="rtl"] .arch { clip-path: inset(52% 5% 5% 5% round 400px 400px 22px 22px); }
  .widget-wrap { margin-top: -30px; }
  .widget label { border-radius: 18px; padding: 8px 14px; }
  .tiles, .am { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4 / 3.4; }
  .foot-grid { grid-template-columns: 1fr; }
}
/* the photos sit inside the arch: mirrored on Arabic pages so the window opening stays in view; on small screens they fill just the arch */
html[dir="rtl"] .arch img { transform: scaleX(-1); }
@media (max-width: 1000px) { .arch img { inset: 46% 8% 6% 8%; width: auto; height: auto; object-position: 50% 55%; } .arch .a-in { object-position: 50% 30%; } }
@media (max-width: 560px) { .arch img { inset: 52% 5% 5% 5%; } }
@media (max-width: 560px) { .sun { display: none; } }
