/* ═══════════════════════════════════════════
   ABC HOSPITALITY — shared.css
   Brand system · Trilingual · RTL support
═══════════════════════════════════════════ */
:root {
  --white:   #ffffff;
  --off:     #f8f6f2;
  --ink:     #0f0d0a;
  --deep:    #1a1612;
  --gold:    #b8964a;
  --gold-lt: #d4b06a;
  --grey:    #8c8278;
  --grey-lt: #c8c0b4;
  --border:  #e8e2d8;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Jost', sans-serif;
  --mono:    'DM Mono', monospace;
  --arabic:  'Cairo', 'Noto Sans Arabic', Arial, sans-serif;
  --max:     1280px;
  --pad:     clamp(24px, 5vw, 80px);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: var(--sans); font-weight: 300; overflow-x: hidden; transition: direction .2s; }
body.ar { font-family: var(--arabic); direction: rtl; text-align: right; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* UTILITIES */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.label { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
body.ar .label { font-family: var(--arabic); letter-spacing: 0; }
.gold-rule { width: 40px; height: 1px; background: var(--gold); }
.btn { display: inline-block; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 16px 36px; transition: .3s; cursor: pointer; border: none; }
body.ar .btn { font-family: var(--arabic); letter-spacing: 0; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--deep); transform: translateY(-2px); }
.btn-outline-dark { border: 1px solid var(--border); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1{transition-delay:.1s}.d2{transition-delay:.2s}.d3{transition-delay:.3s}

/* TOP BAR */
.topbar { background: var(--ink); padding: 9px var(--pad); display: flex; justify-content: space-between; align-items: center; }
body.ar .topbar { flex-direction: row-reverse; }
.topbar-info { display: flex; gap: 28px; }
.topbar-info a, .topbar-info span { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.1em; color: var(--grey-lt); transition: color .3s; }
body.ar .topbar-info a, body.ar .topbar-info span { font-family: var(--arabic); letter-spacing: 0; }
.topbar-info a:hover { color: var(--gold); }
.topbar-langs { display: flex; gap: 14px; }
.lang-btn { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.1em; color: var(--grey-lt); background: none; border: none; cursor: pointer; transition: color .3s; padding: 0; }
.lang-btn:hover, .lang-btn.active { color: var(--gold); }

/* NAV */
nav { position: sticky; top: 0; z-index: 200; background: var(--white); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: center; height: 72px; }
body.ar .nav-inner { flex-direction: row-reverse; }
.nav-logo { display: flex; flex-direction: column; gap: 2px; }
.nav-logo-main { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.nav-logo-sub { font-family: var(--mono); font-size: 0.44rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
body.ar .nav-logo-sub { font-family: var(--arabic); letter-spacing: 0; }
.nav-links { display: flex; align-items: center; list-style: none; }
body.ar .nav-links { flex-direction: row-reverse; }
.nav-links > li { position: relative; }
.nav-links > li > a { display: block; padding: 0 18px; height: 72px; line-height: 72px; font-family: var(--sans); font-size: 0.76rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); transition: color .3s; white-space: nowrap; }
body.ar .nav-links > li > a { font-family: var(--arabic); letter-spacing: 0; }
.nav-links > li > a:hover { color: var(--gold); }
.nav-links > li.cta-li > a { background: var(--gold); color: var(--white); padding: 0 26px; }
.nav-links > li.cta-li > a:hover { background: var(--ink); }
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown { position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--border); border-top: 2px solid var(--gold); min-width: 220px; padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s ease; box-shadow: 0 12px 40px rgba(0,0,0,.1); z-index: 300; }
body.ar .dropdown { left: auto; right: 0; }
.dropdown a { display: block; padding: 10px 20px; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); transition: color .2s, padding-left .2s; border-bottom: 1px solid var(--border); }
body.ar .dropdown a { font-family: var(--arabic); letter-spacing: 0; padding: 10px 20px; transition: color .2s, padding-right .2s; }
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { color: var(--gold); padding-left: 28px; }
body.ar .dropdown a:hover { padding-left: 20px; padding-right: 28px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); }

/* PAGE HERO (inner pages) */
.page-hero { position: relative; overflow: hidden; min-height: 52vh; display: flex; align-items: flex-end; padding-bottom: 70px; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.page-hero-bg::after { content:''; position:absolute; inset:0; background: linear-gradient(to top, rgba(15,13,10,.88) 0%, rgba(15,13,10,.45) 60%, rgba(15,13,10,.2) 100%); }
.page-hero-content { position: relative; z-index: 1; max-width: var(--max); width: 100%; margin: 0 auto; padding: 0 var(--pad); }
.page-hero .label { margin-bottom: 14px; opacity:0; animation: fadeUp .8s ease .2s forwards; }
.page-hero-title { font-family: var(--serif); font-size: clamp(2.5rem,5vw,4.5rem); font-weight: 300; line-height: 1.1; color: var(--white); opacity:0; animation: fadeUp .8s ease .35s forwards; }
body.ar .page-hero-title { font-family: var(--arabic); }
.page-hero-title em { font-style: italic; color: var(--gold-lt); }
.page-hero-sub { font-family: var(--serif); font-size: clamp(.95rem,1.8vw,1.3rem); font-style: italic; color: rgba(255,255,255,.6); margin-top: 12px; opacity:0; animation: fadeUp .8s ease .5s forwards; }
body.ar .page-hero-sub { font-family: var(--arabic); font-style: normal; }

/* BREADCRUMB */
.breadcrumb { background: var(--off); border-bottom: 1px solid var(--border); padding: 14px var(--pad); }
.breadcrumb-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 10px; }
body.ar .breadcrumb-inner { flex-direction: row-reverse; }
.breadcrumb a, .breadcrumb span { font-family: var(--mono); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
body.ar .breadcrumb a, body.ar .breadcrumb span { font-family: var(--arabic); letter-spacing: 0; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--gold); }

/* SECTION LAYOUTS */
.section { padding: 90px var(--pad); }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-dark { background: var(--ink); }
.section-off { background: var(--off); }
.section-hd { margin-bottom: 56px; }
.section-hd .label { margin-bottom: 14px; }
.section-title { font-family: var(--serif); font-size: clamp(1.9rem,3.2vw,2.8rem); font-weight: 300; line-height: 1.2; color: var(--ink); }
body.ar .section-title { font-family: var(--arabic); }
.section-dark .section-title { color: var(--white); }
.section-title em { font-style: italic; color: var(--gold); }
.section-dark .section-title em { color: var(--gold-lt); }
.section-body { font-size: .9rem; line-height: 1.95; color: var(--grey); }
body.ar .section-body { font-family: var(--arabic); }
.section-dark .section-body { color: rgba(255,255,255,.5); }

/* 2-COL GRID */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.four-col { display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; }

/* CARD */
.card { background: var(--off); padding: 40px 36px; position: relative; transition: background .3s; }
.card::before { content:''; position:absolute; top:0; left:0; width:0; height:2px; background:var(--gold); transition:width .4s; }
body.ar .card::before { left:auto; right:0; }
.card:hover::before { width:100%; }
.card:hover { background: #f2ede6; }
.card-dark { background: rgba(255,255,255,.03); border: 1px solid rgba(184,150,74,.1); padding: 36px 30px; transition: background .3s, border-color .3s; }
.card-dark:hover { background: rgba(184,150,74,.06); border-color: rgba(184,150,74,.28); }
.card-icon { font-family: var(--serif); font-size: 2rem; color: var(--gold); margin-bottom: 16px; }
.card-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; color: var(--ink); margin-bottom: 12px; }
body.ar .card-title { font-family: var(--arabic); }
.card-dark .card-title { color: var(--white); }
.card-text { font-size: .84rem; line-height: 1.85; color: var(--grey); }
body.ar .card-text { font-family: var(--arabic); }
.card-dark .card-text { color: rgba(255,255,255,.42); }

/* CTA BANNER */
.cta-banner { position: relative; overflow: hidden; padding: 110px var(--pad); text-align: center; }
.cta-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-banner-bg::after { content:''; position:absolute; inset:0; background: rgba(15,13,10,.82); }
.cta-inner { max-width: 660px; margin: 0 auto; position: relative; z-index: 1; }
.cta-title { font-family: var(--serif); font-size: clamp(1.8rem,3.5vw,3rem); font-weight: 300; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
body.ar .cta-title { font-family: var(--arabic); }
.cta-title em { font-style: italic; color: var(--gold-lt); }
.cta-sub { font-size: .88rem; line-height: 1.85; color: rgba(255,255,255,.52); margin-bottom: 40px; }
body.ar .cta-sub { font-family: var(--arabic); }
.cta-contacts { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: 22px; }
.cta-c { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; color: var(--grey-lt); transition: color .3s; }
.cta-c:hover { color: var(--gold); }

/* FOOTER */
footer { background: var(--deep); }
.foot-main { max-width: var(--max); margin: 0 auto; padding: 70px var(--pad) 48px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; }
body.ar .foot-main { direction: rtl; }
.foot-brand-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.foot-brand-tag { font-family: var(--mono); font-size: .42rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-top: 3px; margin-bottom: 16px; }
body.ar .foot-brand-tag { font-family: var(--arabic); letter-spacing: 0; }
.foot-desc { font-size: .78rem; line-height: 1.85; color: rgba(255,255,255,.38); margin-bottom: 22px; max-width: 290px; }
body.ar .foot-desc { font-family: var(--arabic); }
.foot-contacts { display: flex; flex-direction: column; gap: 8px; }
.foot-contacts a { font-family: var(--mono); font-size: .56rem; letter-spacing: .08em; color: rgba(255,255,255,.38); transition: color .3s; }
.foot-contacts a:hover { color: var(--gold); }
.foot-col-title { font-family: var(--mono); font-size: .56rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
body.ar .foot-col-title { font-family: var(--arabic); letter-spacing: 0; }
.foot-col-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col-links a { font-size: .8rem; color: rgba(255,255,255,.42); transition: color .3s; }
body.ar .foot-col-links a { font-family: var(--arabic); }
.foot-col-links a:hover { color: var(--white); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 22px var(--pad); max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
body.ar .foot-bottom { flex-direction: row-reverse; }
.foot-copy { font-family: var(--mono); font-size: .52rem; letter-spacing: .1em; color: rgba(255,255,255,.22); }
.foot-socials { display: flex; gap: 20px; }
.foot-socials a { font-family: var(--mono); font-size: .52rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.32); transition: color .3s; }
.foot-socials a:hover { color: var(--gold); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
@keyframes growRule { from { opacity:0; width:0; } to { opacity:1; width:40px; } }
@keyframes pulse { 0%,100%{opacity:.3;} 50%{opacity:1;} }

/* RESPONSIVE */
@media(max-width:1024px){
  .four-col { grid-template-columns: repeat(2,1fr); }
  .foot-main { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media(max-width:768px){
  .topbar { display: none; }
  .nav-links { display:none; flex-direction:column; position:fixed; inset:0; top:72px; background:var(--white); padding:28px var(--pad); z-index:300; overflow-y:auto; }
  .nav-links.open { display:flex; }
  body.ar .nav-links { flex-direction: column; }
  .nav-links>li>a { height:auto; line-height:1; padding:14px 0; border-bottom:1px solid var(--border); }
  .nav-links>li.cta-li>a { margin-top:16px; text-align:center; padding:16px; }
  .nav-toggle { display:flex; }
  .dropdown { position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; border-left:2px solid var(--gold); margin-left:14px; }
  body.ar .dropdown { border-left:none; border-right:2px solid var(--gold); margin-left:0; margin-right:14px; }
  .two-col { grid-template-columns:1fr; gap:44px; }
  .three-col { grid-template-columns:1fr; }
  .four-col { grid-template-columns:1fr; }
  .foot-main { grid-template-columns:1fr; gap:32px; }
  .foot-bottom { flex-direction:column; text-align:center; }
}
