/* Bin Fida Palace Marquee — Mulhal Mughlan, Chakwal
   Developed by EV Lataa Oy */

:root {
  --maroon: #4e1a1e;        /* sampled from logo background */
  --maroon-dark: #3a1215;   /* deeper shade for bars and footer */
  --gold: #d8af5d;          /* sampled from logo gold */
  --gold-light: #edd6a4;
  --gold-deep: #8f6516;     /* gold dark enough for text on cream */
  --cream: #fdfaf6;
  --ink: #2b2320;
  --muted: #6f645e;
  --line: #e8ded0;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--maroon); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--maroon-dark);
  color: var(--gold-light);
  font-size: 0.85rem;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: var(--gold-light); text-decoration: none; }
.topbar a:hover { color: #fff; }

header.site {
  background: var(--maroon);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
/* The logo file carries its own maroon background (#4e1a1e), which is exactly
   --maroon, so the mark blends into the header instead of sitting in a box.
   object-fit: contain keeps the crown and figures whole — a circular crop
   would clip the outer figures' arms. */
.brand .mark {
  width: 58px; height: 58px;
  border-radius: 8px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand b { display: block; font-size: 1.15rem; letter-spacing: .5px; line-height: 1.2; }
.brand span { display: block; font-size: 0.75rem; color: var(--gold-light); letter-spacing: 2px; text-transform: uppercase; }

nav.main ul { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a {
  display: block;
  padding: 8px 14px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.95rem;
}
nav.main a:hover { background: rgba(255,255,255,.12); }
nav.main a.active { background: var(--gold); color: var(--maroon-dark); font-weight: 600; }

/* ---------- Hero ----------
   hero.jpg is square (874x873). Cropping it to a wide banner would cut off
   the neon sign at the top or the entrance at the bottom, so the sharp photo
   is shown whole in a framed panel beside the copy, and a heavily blurred and
   darkened copy of the same photo fills the background for atmosphere. */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--maroon);
  color: #fff;
  padding: 72px 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -60px;
  z-index: 0;
  background: url("../images/hero.jpg") center 45% / cover no-repeat;
  filter: blur(26px) brightness(.38) saturate(1.1);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
    rgba(58,18,21,.94) 0%,
    rgba(58,18,21,.80) 45%,
    rgba(58,18,21,.55) 100%);
}
.hero .wrap { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy { text-align: left; }
.hero-copy .btn-row { justify-content: flex-start; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.2; margin-bottom: 14px; }
.hero p { margin: 0 0 26px; color: var(--gold-light); font-size: 1.05rem; }

.hero-photo {
  border: 3px solid var(--gold);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0,0,0,.5);
  line-height: 0;
}
.hero-photo img { width: 100%; height: auto; }
.eyebrow {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: .75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Inner-page banner: same photo, blurred right down so it reads as texture
   rather than a cropped image, keeping the inner pages tied to the home page. */
.page-head {
  position: relative;
  overflow: hidden;
  background: var(--maroon-dark);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: url("../images/hero.jpg") center 42% / cover no-repeat;
  filter: blur(20px) brightness(.34) saturate(1.05);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.page-head p { color: var(--gold-light); margin-top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gold);
  color: var(--maroon-dark);
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid var(--gold);
  transition: .2s;
}
.btn:hover { background: #c89b45; border-color: #c89b45; }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: var(--gold); color: var(--maroon-dark); }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); color: var(--maroon); }
.section-title h2::after {
  content: "";
  display: block;
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 12px auto 0;
}
.section-title p { color: var(--muted); margin-top: 12px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  transition: .2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(78,26,30,.14); transform: translateY(-3px); }
.card .icon { font-size: 1.9rem; margin-bottom: 10px; }
.card h3 { color: var(--maroon); margin-bottom: 8px; font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .95rem; }
section.alt .card { background: var(--cream); }

.lead { font-size: 1.05rem; color: var(--muted); }
.prose h3 { color: var(--maroon); margin: 26px 0 10px; }
.prose p { margin-bottom: 14px; color: var(--muted); }
.prose ul { margin: 0 0 16px 20px; color: var(--muted); }
.prose ul li { margin-bottom: 7px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; text-align: center; }
.stats .n { font-size: 2rem; font-weight: 700; color: var(--gold-deep); }
.stats .l { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

.panel {
  background: var(--maroon);
  color: #fff;
  border-radius: 8px;
  padding: 34px 28px;
}
.panel h3 { color: var(--gold); margin-bottom: 10px; }
.panel p { color: var(--gold-light); }

.cta { background: var(--maroon-dark); color: #fff; text-align: center; }
.cta h2 { color: var(--gold); margin-bottom: 10px; font-size: clamp(1.4rem, 3.5vw, 1.9rem); }
.cta p { color: var(--gold-light); margin-bottom: 22px; }

/* ---------- Contact ---------- */
.info-list { list-style: none; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .k { font-weight: 700; color: var(--maroon); min-width: 96px; }
.info-list a { color: var(--ink); }

form.enquiry label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; color: var(--maroon); }
form.enquiry input, form.enquiry select, form.enquiry textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  background: #fff;
  margin-bottom: 16px;
}
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus {
  outline: 2px solid var(--gold); border-color: var(--gold);
}
.note { font-size: .82rem; color: var(--muted); }

.map-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  height: 320px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--maroon-dark);
  color: var(--gold-light);
  padding: 48px 0 0;
  font-size: .92rem;
}
footer.site h4 { color: var(--gold); margin-bottom: 12px; font-size: 1rem; letter-spacing: .5px; }
footer.site a { color: var(--gold-light); text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site ul { list-style: none; }
footer.site ul li { margin-bottom: 7px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 34px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: .85rem;
}
.footer-bottom .dev a { color: var(--gold); font-weight: 600; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { text-align: center; }
  .hero-copy .btn-row { justify-content: center; }
  .hero p { margin-left: auto; margin-right: auto; max-width: 560px; }
  .hero-photo { max-width: 460px; margin: 0 auto; }
}

@media (max-width: 640px) {
  section { padding: 46px 0; }
  .hero { padding: 48px 0; }
  .brand .mark { width: 48px; height: 48px; }
  .brand b { font-size: 1rem; }
  nav.main ul { gap: 2px; }
  nav.main a { padding: 7px 10px; font-size: .88rem; }
}
