/* Variable font — one file covers all weights we use */
@font-face {
  font-family: 'Kumbh Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/KumbhSans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Poppins-400i.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/Poppins-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/Poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Poppins-600.woff2') format('woff2');
}
/* Ramada Islamabad — single site stylesheet */

/* Palette taken from the original site's Elementor kit */
:root {
  --brand:      #d11242;   /* Ramada crimson (e-global-color-0e0810e) */
  --brand-dark: #7b001f;   /* deep maroon — footer band               */
  --accent:     #d11242;
  --ink:        #1e1e1e;   /* headings                                */
  --text:       #555555;   /* body copy                               */
  --muted:      #7a7a7a;
  --paper:      #ffffff;
  --paper-alt:  #f5f5f5;
  --line:       #e5e3ed;
  --radius:     10px;
  --shadow:     0 2px 12px rgba(0, 0, 0, .09);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { font-family: 'Kumbh Sans', sans-serif; line-height: 1.2; font-weight: 700; color: var(--ink); }
/* Old site: section titles 60px desktop / 40px tablet / ~32px phone */
h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); margin-bottom: .8rem; }
h3 { font-size: 1.25rem; margin-bottom: .4rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.center { text-align: center; }
.lead { font-size: 1.15rem; }
.small { font-size: .85rem; color: var(--muted); }

/* ---- Top bar ---- */
.topbar {
  background: var(--ink);   /* old site header strip is #1E1E1E */
  color: #ddd;
  font-size: .82rem;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-top: .35rem; padding-bottom: .35rem; flex-wrap: wrap; }
.topbar a { color: #fff; margin-left: 1.2rem; }

/* ---- Header / nav ---- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .5rem; padding-bottom: .5rem; }
.brand img { height: 56px; width: auto; }

.site-nav ul { list-style: none; display: flex; align-items: center; gap: .2rem; flex-wrap: wrap; }
.site-nav a {
  display: block;
  padding: .5rem .65rem;
  font-size: .92rem;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a.active { color: var(--brand); border-bottom-color: var(--accent); }

.btn-book, .btn {
  display: inline-block;
  background: var(--brand);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: .55rem 1.4rem !important;
  font-size: .92rem;
  cursor: pointer;
  transition: background .15s;
}
.btn-book:hover, .btn:hover { background: var(--brand-dark); }
.btn.ghost { background: transparent; color: var(--brand) !important; border: 1px solid var(--brand); margin: 0 .4rem .4rem 0; }
.btn.ghost:hover { background: var(--brand); color: #fff !important; }

.nav-toggle {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brand-dark);
}

/* ---- Hero (home) ---- */
.hero { position: relative; height: 78vh; min-height: 420px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  max-width: 1140px; margin: 0 auto; padding: 0 1.25rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(0,0,0,.45), rgba(0,0,0,.05));
}
.hero-content h1 { font-size: clamp(2.4rem, 6vw, 4.375rem); margin-bottom: .6rem; } /* old site: 70px */
.hero-content p { font-size: 1.15rem; max-width: 34em; margin-bottom: 1.4rem; }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  position: relative;
  /* old site: 523px desktop / 382px tablet / 270px phone */
  min-height: clamp(270px, 36vw, 523px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  background-size: cover; background-position: center;
  color: #fff;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }  /* old site: black @ 0.35 */
.page-hero h1, .page-hero p { position: relative; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); } /* old site: 60px */

/* ---- Sections ---- */
.section { padding: 3.2rem 0; }
.section.alt { background: var(--paper-alt); }
.stat { color: var(--brand); font-size: 1.1rem; }

/* Dark band (old "Featured Amenities" section: black overlay, white text) */
.section.dark { background: #0d0d0d; color: #cfcfcf; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }

.two-col { display: grid; grid-template-columns: 1.2fr .9fr; gap: 2.2rem; align-items: start; }
.two-col > img { border-radius: var(--radius); box-shadow: var(--shadow); }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* The 60px h2 default is for standalone section titles; headings inside
   columns stay near body scale, matching the old site (25–40px there). */
.two-col h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.contact-page div:first-child h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }  /* old site: 35px */
.feature-row h2 { font-size: 1.75rem; }
.cols-3 h2 { font-size: 1.5rem; }

/* ---- Icon grids ---- */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
  text-align: center;
}
.icon-grid img { height: 48px; width: auto; margin: 0 auto .6rem; }
.icon-grid h3 { font-size: .95rem; font-weight: 500; }

/* ---- Cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
}
.card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.14); color: var(--ink); }
.card > img { height: 210px; object-fit: cover; width: 100%; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; }
.card-body h3 { color: var(--ink); }
.card-body .dims { font-size: .85rem; color: var(--muted); font-weight: 400; }
.card-body ul { list-style: none; font-size: .9rem; color: var(--muted); margin: .5rem 0; }
.card-body li { padding: .15rem 0; }
.card-more { color: var(--brand); font-size: .9rem; }

/* ---- Feature rows (image + text) ---- */
.feature-rows { display: grid; gap: 2.2rem; }
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
}
.feature-row:nth-child(even) img { order: 2; }
.feature-row img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

/* ---- Gallery ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .8rem;
}
.gallery.three { grid-template-columns: repeat(3, 1fr); }
.gallery img {
  width: 100%; height: 190px; object-fit: cover;
  border-radius: 6px; cursor: zoom-in;
  transition: filter .15s;
}
.gallery img:hover { filter: brightness(1.08); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, .88);
  display: flex; align-items: center; justify-content: center;
}
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 4px; }
.lightbox button {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff; font-size: 3rem; cursor: pointer; padding: 1rem;
  opacity: .8;
}
.lightbox button:hover { opacity: 1; }
.lightbox .lb-prev { left: .5rem; }
.lightbox .lb-next { right: .5rem; }
.lightbox .lb-close { top: 1.5rem; right: 1rem; transform: none; font-size: 2.2rem; }

/* ---- Lists / fact file ---- */
.checklist { list-style: none; font-size: .95rem; }
.checklist li { padding: .28rem 0 .28rem 1.5rem; position: relative; }
.checklist li::before { content: '✓'; color: var(--accent); position: absolute; left: 0; font-weight: 700; }
.checklist.columns { columns: 3; column-gap: 2.5rem; }

.fact-file {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}
.fact-file h2 { font-size: 1.25rem; margin-top: .6rem; }
.fact-file h2:first-child { margin-top: 0; }

.related-links { display: flex; flex-wrap: wrap; }

/* ---- Contact ---- */
.contact-cards { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.contact-cards > div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 2.2rem;
  text-align: center;
  min-width: 260px;
}
.contact-cards img { margin: 0 auto .6rem; }

.contact-info { list-style: none; font-size: .97rem; margin-bottom: 1.6rem; }
.contact-info li { padding: .3rem 0; }

.contact-form { display: grid; gap: .9rem; }
.contact-form label { display: grid; gap: .3rem; font-size: .9rem; color: var(--muted); }
.contact-form input, .contact-form textarea {
  font: inherit; color: var(--ink);
  padding: .6rem .8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.contact-form .btn { justify-self: start; }

.notice { padding: .8rem 1rem; border-radius: 6px; font-size: .95rem; }
.notice.success { background: #e8f5e9; color: #1b5e20; }
.notice.error { background: #fdecea; color: #8c1d18; }

/* ---- Footer ---- */
.site-footer {
  background: var(--brand-dark);   /* old footer band is #7B001F */
  color: #f0dfe3;
  margin-top: 3rem;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding-top: 2.8rem; padding-bottom: 2.4rem;
}
.site-footer h3 { color: #ffffff; font-size: 1.5625rem; text-transform: capitalize; margin-bottom: .7rem; }  /* old site: 25px */
.site-footer a { color: #f6e3e8; }
.site-footer a:hover { color: #ffffff; }
.footer-contact { list-style: none; }
.footer-contact li { padding: .2rem 0; }
.footer-blurb { margin-top: .8rem; font-size: .88rem; }
.footer-map { width: 100%; height: 180px; border: 0; border-radius: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding: .9rem 0; font-size: .82rem; color: #e3c4cc; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .two-col, .cols-3, .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) img { order: 0; }
  .checklist.columns { columns: 2; }

  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding-bottom: .8rem; }
  .site-nav a { border-bottom: none; padding: .6rem .2rem; }
  .site-header .wrap { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .topbar .wrap { justify-content: center; text-align: center; }
  .checklist.columns { columns: 1; }
  .gallery.three { grid-template-columns: 1fr; }
  .hero { height: 62vh; }
}
