:root {
  --black: #0d0d0d;
  --soft-black: #191919;
  --gold: #c79b2b;
  --gold-dark: #9d7417;
  --gold-light: #f3dc9a;
  --white: #ffffff;
  --off-white: #f8f5ee;
  --muted: #686868;
  --border: #e8dfcc;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  --radius: 22px;
}

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

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--black);
  background: var(--off-white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.top-bar {
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.logo-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--black), #333);
  color: var(--gold-light);
  border: 2px solid var(--gold);
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
}

.nav-links a {
  color: #222;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-dark);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--black);
  color: var(--white);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.82), rgba(8, 8, 8, 0.55), rgba(8, 8, 8, 0.12)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(transparent, var(--off-white));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 90px 0 140px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(243, 220, 154, 0.55);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.28);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.98;
  margin-bottom: 22px;
}

.hero p {
  font-size: clamp(17px, 2vw, 22px);
  color: #f5f0e4;
  max-width: 650px;
  margin-bottom: 28px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(199, 155, 43, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(199, 155, 43, 0.34);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.btn-dark {
  background: var(--black);
  color: var(--gold-light);
  box-shadow: none;
}

.btn-small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 14px;
}

.quick-cards {
  position: relative;
  z-index: 2;
  margin-top: -70px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quick-card,
.info-card,
.policy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.quick-card span,
.info-card span {
  color: var(--gold-dark);
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.quick-card h3,
.info-card h3,
.policy-card h3 {
  margin: 10px 0;
  font-size: 22px;
}

.section {
  padding: 85px 0;
}

.section.alt {
  background: var(--white);
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 34px;
}

.section-title h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.section-title p {
  color: var(--muted);
  max-width: 520px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.post-card:hover {
  transform: translateY(-6px);
}

.post-image-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #ddd;
}

.post-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover img {
  transform: scale(1.05);
}

.post-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--black);
  color: var(--gold-light);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.post-content {
  padding: 23px;
}

.post-meta {
  color: var(--gold-dark);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.8px;
}

.post-content h3 {
  font-size: 22px;
  margin: 7px 0 10px;
  line-height: 1.2;
}

.post-content p {
  color: var(--muted);
}

.mini-list {
  list-style: none;
  margin: 16px 0;
  display: grid;
  gap: 7px;
  color: #333;
}

.mini-list li::before {
  content: "✓";
  color: var(--gold-dark);
  font-weight: 900;
  margin-right: 8px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.card-footer strong {
  color: var(--black);
}

.feature-band {
  background: var(--black);
  color: var(--white);
  border-radius: 34px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
  overflow: hidden;
}

.feature-band h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  margin-bottom: 18px;
}

.feature-band p {
  color: #e7dec8;
  margin-bottom: 22px;
}

.feature-band img {
  border-radius: 26px;
  height: 360px;
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(243, 220, 154, 0.35);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--black);
  color: var(--gold-light);
  border-color: var(--black);
}

.page-hero {
  padding: 85px 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.58)),
    url("https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  color: var(--white);
}

.page-hero p {
  max-width: 680px;
  color: #f5f0e4;
  font-size: 18px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
}

.two-col img {
  border-radius: 30px;
  box-shadow: var(--shadow);
  height: 460px;
  width: 100%;
  object-fit: cover;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-box {
  background: var(--black);
  color: var(--white);
  border-radius: 34px;
  padding: 42px;
}

.contact-box h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 16px;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 20px 0 28px;
}

.contact-list strong {
  display: block;
  color: var(--gold-light);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.form-card label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  margin-bottom: 14px;
  font: inherit;
  background: #fffdf7;
}

.form-card textarea {
  min-height: 125px;
  resize: vertical;
}

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 55px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 28px;
  margin-bottom: 35px;
}

.footer-grid h3,
.footer-grid h4 {
  color: var(--gold-light);
  margin-bottom: 14px;
}

.footer-grid a,
.footer-grid p {
  color: #e9e1cf;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 9px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  color: #cabfA8;
  font-size: 14px;
}

.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
  z-index: 200;
}

.float-actions a {
  display: grid;
  place-items: center;
  min-width: 54px;
  height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.whatsapp-float {
  background: #20b15a;
  color: white;
}

.call-float {
  background: var(--gold);
  color: var(--black);
}

.empty-state {
  grid-column: 1 / -1;
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

@media (max-width: 940px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 79px;
    left: 4%;
    right: 4%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
  }

  .nav-links.show {
    display: flex;
  }

  .quick-grid,
  .posts-grid,
  .info-grid,
  .footer-grid,
  .two-col,
  .feature-band {
    grid-template-columns: 1fr 1fr;
  }

  .feature-band {
    padding: 34px;
  }
}

@media (max-width: 680px) {
  .top-bar .container,
  .section-title,
  .card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 620px;
  }

  .quick-grid,
  .posts-grid,
  .info-grid,
  .footer-grid,
  .two-col,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .quick-cards {
    margin-top: -45px;
  }

  .post-image-wrap {
    height: 230px;
  }

  .feature-band img,
  .two-col img {
    height: 300px;
  }

  .float-actions a {
    height: 50px;
    min-width: 50px;
    font-size: 14px;
  }
}


/* Read More detail page - added without changing old card design */
.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.post-content h3 a:hover {
  color: var(--gold-dark);
}

.single-post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.single-post-image {
  position: relative;
  height: min(520px, 62vw);
  min-height: 280px;
  background: #ddd;
}

.single-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 34px;
  padding: 38px;
}

.single-post-content h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
  margin: 8px 0 16px;
}

.single-lead {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 24px;
}

.article-body {
  display: grid;
  gap: 18px;
  color: #242424;
  font-size: 18px;
}

.single-sidebar {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  background: var(--off-white);
  align-self: start;
  display: grid;
  gap: 12px;
}

.single-sidebar h3 {
  font-size: 22px;
}

.single-empty {
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow);
}

@media (max-width: 820px) {
  .single-post-layout {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .card-footer {
    align-items: flex-start;
  }

  .card-actions {
    justify-content: flex-start;
  }
}


/* Final Read More Fix - old card design + clean readable detail page */
.post-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-content h3 a {
  transition: color 0.2s ease;
}

.post-content h3 a:hover {
  color: var(--gold-dark);
}

.card-footer {
  margin-top: auto;
}

.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.read-more-btn {
  background: var(--black);
  color: var(--gold-light);
}

.poster-card .post-image-wrap {
  height: 300px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.poster-card .post-image-wrap img {
  object-fit: contain;
  padding: 12px;
  transform: none !important;
}

.compact-post-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compact-post-detail .single-post-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 34px;
  padding: 34px;
  align-items: start;
}

.compact-post-detail .single-post-image {
  position: sticky;
  top: 110px;
  height: auto;
  min-height: unset;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 14px;
  overflow: hidden;
}

.compact-post-detail .single-post-image img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
}

.compact-post-detail .single-post-content h1 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  margin: 8px 0 14px;
}

.single-action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.info-box {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--off-white);
  padding: 20px;
  margin: 20px 0 26px;
}

.info-box h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.compact-post-detail .article-body {
  display: grid;
  gap: 16px;
  color: #242424;
  font-size: 17px;
}

.compact-post-detail .article-body h2 {
  font-size: 28px;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .compact-post-detail .single-post-layout {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .compact-post-detail .single-post-image {
    position: relative;
    top: auto;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .poster-card .post-image-wrap {
    height: 260px;
  }

  .card-actions {
    justify-content: flex-start;
  }
}


/* Universal image fit fix - all old/new package and article images remain fully visible */
.post-image-wrap {
  height: 300px;
  background: #fffaf0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.post-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 10px;
  transform: none !important;
  background: #fff;
}

.post-card:hover img {
  transform: none !important;
}

/* Single post page image size will be same system for every post */
.compact-post-detail .single-post-layout {
  grid-template-columns: minmax(280px, 440px) 1fr;
}

.compact-post-detail .single-post-image {
  width: 100%;
  max-width: 440px;
  background: #fff;
}

.compact-post-detail .single-post-image img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: 650px;
  object-fit: contain !important;
  transform: none !important;
}

@media (max-width: 680px) {
  .post-image-wrap {
    height: 270px;
  }
}

/* Mobile Read More Fix v6
   Mobile par article text/title pehle show hoga, poster baad mein controlled size ke sath.
   Articles page par card images crop nahi hongi. */
.article-body p {
  margin-bottom: 14px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -10px 0 26px;
}

.filter-buttons button {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
  font-weight: 900;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
}

.filter-buttons button.active,
.filter-buttons button:hover {
  background: var(--black);
  color: var(--gold-light);
  border-color: var(--black);
}

@media (max-width: 680px) {
  .compact-post-detail {
    border-radius: 20px;
  }

  .compact-post-detail .single-post-layout {
    display: flex !important;
    flex-direction: column;
    gap: 18px;
    padding: 14px !important;
  }

  .compact-post-detail .single-post-content {
    order: 1;
    width: 100%;
  }

  .compact-post-detail .single-post-image {
    order: 2;
    position: relative !important;
    top: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 8px !important;
    border-radius: 18px;
  }

  .compact-post-detail .single-post-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 430px !important;
    object-fit: contain !important;
    border-radius: 12px;
  }

  .compact-post-detail .single-post-content h1 {
    font-size: 28px !important;
    line-height: 1.15;
  }

  .single-lead {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .single-action-row {
    margin: 16px 0;
  }

  .single-action-row .btn {
    width: 100%;
  }

  .info-box {
    padding: 14px;
    margin: 16px 0;
  }

  .compact-post-detail .article-body {
    display: block !important;
    visibility: visible !important;
    color: #202020 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    margin-top: 18px;
  }

  .compact-post-detail .article-body h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .compact-post-detail .article-body p {
    display: block !important;
    margin-bottom: 15px;
  }

  .post-image-wrap {
    height: 250px !important;
  }

  .post-image-wrap img {
    object-fit: contain !important;
    padding: 8px !important;
  }

  .card-footer,
  .card-actions {
    width: 100%;
  }

  .card-actions .btn {
    flex: 1;
    min-width: 130px;
  }
}


/* Logo image added for Global Ticketing & Umrah Service */
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .brand-logo {
    width: 44px;
    height: 44px;
  }
}
