/* ==========================================================================
   The Metropolis Lekki - shared stylesheet
   Used by overlay.html, contact.html and dining.html
   ========================================================================== */

:root { --ml-navy:#12234E; --ml-teal:#32C0A0; --ml-bg:#F6F5F5; }
* { box-sizing:border-box; }
html, body { margin:0; padding:0; }
body { background:var(--ml-bg); font-family:system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif; color:var(--ml-navy); -webkit-font-smoothing:antialiased; }
a { color:inherit; }

/* --------------------------------------------------------------------------
   HOST-PAGE STACKING CONTRACT
   The popup container the component appends to <body> computes to z-index 999.
   Anything on this page above 999 will cover the booking overlay, so every
   fixed/sticky element here is deliberately kept below it:
       .ml-nav          900
       .ml-mobile-cta   998
   We ALSO raise the popup to 1200 in each page's scoped style block, which
   keeps this robust if a future component build changes its own value.
   -------------------------------------------------------------------------- */

.ml-nav { position:sticky; top:0; z-index:900; background:var(--ml-navy); color:#fff; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 24px; box-shadow:0 1px 12px rgba(0,0,0,.18); }
.ml-nav .ml-logo { font-size:18px; font-weight:700; letter-spacing:.6px; text-decoration:none; white-space:nowrap; }
.ml-nav-links { display:flex; align-items:center; gap:22px; font-size:15px; }
.ml-nav-links a { text-decoration:none; opacity:.88; }
.ml-nav-links a:hover { opacity:1; color:var(--ml-teal); }
.ml-nav-links a.ml-current { opacity:1; color:var(--ml-teal); }

/* HERO */
.ml-hero { position:relative; min-height:78vh; display:flex; align-items:center; justify-content:center; text-align:center; padding:80px 24px; color:#fff;
  background:radial-gradient(120% 120% at 20% 15%, rgba(50,192,160,.42) 0%, rgba(18,35,78,0) 55%), linear-gradient(150deg, #12234E 0%, #16305f 45%, #0c1935 100%); }
.ml-hero.ml-hero-sm { min-height:38vh; padding:64px 24px 56px; }
.ml-hero-inner { max-width:820px; }
.ml-eyebrow { text-transform:uppercase; letter-spacing:3px; font-size:12px; color:var(--ml-teal); font-weight:700; margin:0 0 18px; }
.ml-hero h1 { font-size:clamp(32px,5.2vw,58px); line-height:1.08; margin:0 0 20px; font-weight:700; }
.ml-hero.ml-hero-sm h1 { font-size:clamp(28px,4vw,44px); margin-bottom:14px; }
.ml-hero p.ml-sub { font-size:clamp(16px,2vw,20px); line-height:1.55; color:#dfe6f2; margin:0 0 34px; }
.ml-hero.ml-hero-sm p.ml-sub { margin-bottom:0; }
.ml-hero-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; align-items:center; }
.ml-ghost { display:inline-block; padding:15px 28px; border:1.5px solid rgba(255,255,255,.55); border-radius:999px; text-decoration:none; font-size:16px; font-weight:600; }
.ml-ghost:hover { border-color:var(--ml-teal); color:var(--ml-teal); }

/* BOOK NOW BUTTON SKIN - hooked up via the class-name attribute. The component
   renders a real <button> inside the custom element and copies class-name onto
   it, so both selectors are targeted. */
.ml-book-btn, .ml-book-btn button {
  background:var(--ml-teal) !important; color:#08281f !important; border:0 !important;
  padding:15px 34px !important; border-radius:999px !important; font-size:16px !important;
  font-weight:700 !important; cursor:pointer !important; font-family:inherit !important;
  box-shadow:0 8px 22px rgba(50,192,160,.35) !important; transition:transform .15s ease, box-shadow .15s ease !important;
}
.ml-book-btn:hover, .ml-book-btn button:hover { transform:translateY(-2px) !important; box-shadow:0 12px 28px rgba(50,192,160,.45) !important; }
.ml-book-btn-sm, .ml-book-btn-sm button {
  background:var(--ml-teal) !important; color:#08281f !important; border:0 !important;
  padding:10px 20px !important; border-radius:999px !important; font-size:14px !important;
  font-weight:700 !important; cursor:pointer !important; font-family:inherit !important;
}

/* SECTIONS */
.ml-section { max-width:1120px; margin:0 auto; padding:72px 24px; }
.ml-section.ml-section-tight { padding-top:56px; padding-bottom:8px; }
.ml-section h2 { font-size:clamp(24px,3.2vw,34px); margin:0 0 12px; text-align:center; }
.ml-section p.ml-lead { text-align:center; color:#54607a; max-width:640px; margin:0 auto 44px; line-height:1.6; }
.ml-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:24px; }
.ml-card { background:#fff; border-radius:16px; padding:28px; box-shadow:0 2px 14px rgba(18,35,78,.07); }
.ml-card h3 { margin:0 0 10px; font-size:19px; }
.ml-card p { margin:0; color:#54607a; line-height:1.6; font-size:15px; }
.ml-badge { width:42px; height:42px; border-radius:12px; background:rgba(50,192,160,.16); color:#1c7f68; display:flex; align-items:center; justify-content:center; font-weight:700; margin-bottom:16px; }

.ml-room { background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 2px 14px rgba(18,35,78,.07); display:flex; flex-direction:column; }
.ml-room-img { height:180px; background:linear-gradient(135deg,#12234E,#2a4a8f); }
.ml-room-body { padding:22px; display:flex; flex-direction:column; gap:14px; align-items:flex-start; flex:1; }
.ml-room-body h3 { margin:0; font-size:18px; }
.ml-room-body p { margin:0; color:#54607a; font-size:14px; line-height:1.55; flex:1; }

.ml-cta { background:var(--ml-navy); color:#fff; text-align:center; padding:72px 24px; }
.ml-cta h2 { font-size:clamp(24px,3.2vw,34px); margin:0 0 14px; }
.ml-cta p { color:#cfd6e4; margin:0 auto 30px; max-width:520px; line-height:1.6; }

.ml-footer { background:#0c1935; color:#9fb0cc; padding:40px 24px 110px; font-size:14px; text-align:center; }
.ml-footer a { color:var(--ml-teal); text-decoration:none; }
.ml-footer .ml-addr { margin:0 0 10px; }

/* CONTACT PAGE */
.ml-contact-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:24px; margin-bottom:32px; }
.ml-contact-card { background:#fff; border-radius:16px; padding:30px; box-shadow:0 2px 14px rgba(18,35,78,.07); }
.ml-contact-card h3 { margin:0 0 16px; font-size:14px; text-transform:uppercase; letter-spacing:1.6px; color:#7c879c; font-weight:700; }
.ml-contact-card p { margin:0 0 8px; line-height:1.65; font-size:16px; }
.ml-contact-card a { color:#12234E; text-decoration:none; border-bottom:1.5px solid var(--ml-teal); padding-bottom:1px; }
.ml-contact-card a:hover { color:#1c7f68; }
.ml-contact-card .ml-muted { color:#54607a; font-size:14px; }
.ml-times { display:flex; gap:32px; flex-wrap:wrap; }
.ml-times div { flex:1; min-width:110px; }
.ml-times .ml-time-val { font-size:26px; font-weight:700; margin:0; letter-spacing:-.5px; }
.ml-times .ml-time-lbl { font-size:13px; color:#7c879c; margin:2px 0 0; text-transform:uppercase; letter-spacing:1.2px; }
.ml-maplink { display:inline-block; margin-top:6px; font-size:15px; }

/* DINING PAGE */
.ml-dine-head { text-align:center; max-width:760px; margin:0 auto; }
.ml-dine-name { font-size:clamp(28px,4vw,42px); margin:0 0 6px; letter-spacing:-.5px; }
.ml-dine-kicker { color:#54607a; font-size:17px; margin:0 0 34px; line-height:1.6; }
.ml-facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:18px; margin:0 0 8px; }
.ml-fact { background:#fff; border-radius:16px; padding:26px 24px; box-shadow:0 2px 14px rgba(18,35,78,.07); text-align:left; }
.ml-fact .ml-fact-lbl { margin:0 0 8px; font-size:12px; text-transform:uppercase; letter-spacing:1.6px; color:#7c879c; font-weight:700; }
.ml-fact .ml-fact-val { margin:0; font-size:21px; font-weight:700; line-height:1.3; letter-spacing:-.3px; }
.ml-fact .ml-fact-note { margin:8px 0 0; font-size:14px; color:#54607a; line-height:1.55; }
.ml-note { max-width:760px; margin:36px auto 0; background:rgba(50,192,160,.1); border:1px solid rgba(50,192,160,.35); border-radius:14px; padding:20px 24px; }
.ml-note p { margin:0; color:#1c5b4c; font-size:15px; line-height:1.6; }

/* MOBILE STICKY CTA BAR - z-index 998, below the popup container's 999 */
.ml-mobile-cta { position:fixed; left:0; right:0; bottom:0; z-index:998; display:none; gap:12px; align-items:center; justify-content:space-between; padding:12px 16px; background:rgba(255,255,255,.97); border-top:1px solid #e3e7ef; box-shadow:0 -4px 18px rgba(18,35,78,.12); }
.ml-mobile-cta span { font-size:13px; color:#54607a; line-height:1.3; }
@media (max-width:760px){
  .ml-nav-links { display:none; }
  .ml-mobile-cta { display:flex; }
}
