/* ════════════════════════════════════════════════════
   JM TRAVEL — Inner Pages Styles (pages.css)
   Load on every page except index.html
════════════════════════════════════════════════════ */

/* ── PAGE HERO HEADER ────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-m) 55%, var(--red) 100%);
  padding: 120px 24px 56px;
  text-align: center; position: relative; overflow: hidden;
  margin-top: 72px;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M30 0L60 30L30 60L0 30z'/%3E%3C/g%3E%3C/svg%3E") repeat;
}
.ph-crumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 14px; justify-content: center; position: relative; z-index: 1; }
.ph-crumb a { color: rgba(255,255,255,.7); }
.ph-crumb a:hover { color: #fff; }
.ph-crumb span { color: rgba(255,255,255,.3); }
.ph-title { font-family: 'Playfair Display', serif; font-size: clamp(26px, 5vw, 50px); font-weight: 800; color: #fff; margin-bottom: 12px; position: relative; z-index: 1; line-height: 1.15; }
.ph-sub   { font-size: 16px; color: rgba(255,255,255,.72); max-width: 540px; margin: 0 auto; position: relative; z-index: 1; line-height: 1.65; }

/* ── SHARED TEXT ELEMENTS ────────────────────── */
.pg-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); background: var(--red-bg); padding: 5px 14px; border-radius: 99px; margin-bottom: 14px; border: 1px solid #FECACA; }
.pg-h2  { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3.5vw, 36px); font-weight: 700; color: var(--g8); line-height: 1.2; margin-bottom: 14px; }
.pg-div { width: 50px; height: 4px; background: linear-gradient(90deg, var(--red), var(--blue)); border-radius: 2px; margin-bottom: 20px; }
.pg-para { font-size: 15px; color: #4a5568; line-height: 1.85; margin-bottom: 16px; }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.tag-pill { background: var(--blue-bg); border: 1px solid #BFDBFE; color: var(--blue); padding: 6px 16px; border-radius: 99px; font-size: 12px; font-weight: 600; }

/* ── TWO COLUMN ──────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* ── IMAGE BLOCK ─────────────────────────────── */
.img-block { position: relative; border-radius: var(--r3); overflow: hidden; box-shadow: var(--sh-l); }
.img-block img { width: 100%; height: 440px; object-fit: cover; display: block; }
.img-block .img-ph { width: 100%; height: 440px; background: linear-gradient(135deg, var(--blue), var(--blue-m)); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 20px; color: rgba(255,255,255,.35); letter-spacing: 2px; }
.img-badge { position: absolute; bottom: 22px; left: 22px; background: rgba(255,255,255,.96); border-radius: var(--r1); padding: 14px 20px; box-shadow: 0 8px 28px rgba(0,0,0,.14); }
.img-badge-num { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 800; color: var(--blue); line-height: 1; }
.img-badge-txt { font-size: 11px; color: var(--g5); font-weight: 500; margin-top: 3px; }

/* ── VALUE CARDS ─────────────────────────────── */
.val-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.val-card { background: var(--white); border: 1.5px solid var(--g2); border-radius: var(--r2); padding: 28px 22px; transition: all .3s; }
.val-card:hover { border-color: var(--blue); transform: translateY(-5px); box-shadow: var(--sh-m); }
.val-letter { width: 52px; height: 52px; border-radius: 13px; background: var(--blue-bg); border: 1.5px solid #BFDBFE; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 800; color: var(--blue); margin-bottom: 16px; transition: all .3s; }
.val-card:hover .val-letter { background: var(--blue); color: #fff; border-color: var(--blue); }
.val-title { font-size: 16px; font-weight: 700; color: var(--g8); margin-bottom: 9px; }
.val-desc  { font-size: 14px; color: var(--g5); line-height: 1.75; }

/* ── NUMBERED SERVICE LIST ───────────────────── */
.num-list { border: 1.5px solid var(--g2); border-radius: var(--r2); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.nl-item { display: flex; gap: 18px; padding: 24px 22px; border-bottom: 1.5px solid var(--g2); border-right: 1.5px solid var(--g2); transition: background .2s; }
.nl-item:hover { background: var(--blue-bg); }
.nl-item:nth-child(even) { border-right: none; }
.nl-item:nth-last-child(1), .nl-item:nth-last-child(2) { border-bottom: none; }
.nl-num   { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 800; color: var(--red); width: 40px; flex-shrink: 0; line-height: 1; }
.nl-title { font-size: 15px; font-weight: 700; color: var(--g8); margin-bottom: 7px; }
.nl-desc  { font-size: 13px; color: var(--g5); line-height: 1.7; }

/* ── CERT CARDS (dark bg) ────────────────────── */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.cert-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r2); padding: 30px 22px; text-align: center; transition: all .3s; }
.cert-card:hover { background: rgba(255,255,255,.14); transform: translateY(-4px); }
.cert-big   { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 800; color: #FFD54F; margin-bottom: 14px; line-height: 1; }
.cert-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.cert-desc  { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.7; }

/* ── OFFICE INFO CARD ────────────────────────── */
.office-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; align-items: start; }
.office-card { background: var(--blue); border-radius: var(--r3); padding: 32px; color: #fff; }
.office-title { font-family: 'Playfair Display', serif; font-size: 20px; color: #FFD54F; margin-bottom: 4px; }
.office-sub   { font-size: 11px; color: rgba(255,255,255,.5); margin-bottom: 24px; letter-spacing: .5px; }
.office-list  { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.office-lbl   { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 4px; }
.office-val   { font-size: 14px; color: rgba(255,255,255,.9); line-height: 1.6; }
.office-val a { color: #FFD54F; }
.office-val a:hover { opacity: .8; }
.btn-wa-blue { display: block; text-align: center; background: var(--green); color: #fff; padding: 13px; border-radius: var(--r1); font-size: 14px; font-weight: 700; text-decoration: none; transition: all .2s; }
.btn-wa-blue:hover { background: #1da851; transform: translateY(-1px); }
.office-map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--r2); display: block; box-shadow: var(--sh-m); }

/* ── CONTACT FORM ────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 36px; align-items: start; }
.form-card { background: var(--white); border: 1.5px solid var(--g2); border-radius: var(--r3); padding: 32px; box-shadow: var(--sh-m); }
.form-title { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--g8); margin-bottom: 5px; }
.form-sub   { font-size: 14px; color: var(--g5); margin-bottom: 26px; }
.form-2     { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg         { margin-bottom: 16px; }
.fg label   { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 7px; }
.fg input, .fg select, .fg textarea { width: 100%; border: 1.5px solid var(--g2); border-radius: var(--r1); padding: 13px 15px; font-size: 14px; color: var(--g8); background: var(--off); transition: all .2s; font-family: 'Poppins', sans-serif; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px var(--blue-bg); }
.fg textarea { resize: vertical; min-height: 120px; }
.btn-submit { width: 100%; background: linear-gradient(135deg, var(--blue), var(--blue-m)); color: var(--white); border: none; border-radius: var(--r1); padding: 15px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .2s; font-family: 'Poppins', sans-serif; }
.btn-submit:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,53,128,.35); }
.form-status { padding: 12px 16px; border-radius: var(--r1); font-size: 13px; margin-bottom: 16px; display: none; }
.form-status.ok  { background: #DCFCE7; color: #15803D; border: 1px solid #BBF7D0; }
.form-status.err { background: #FEE2E2; color: #B91C1C; border: 1px solid #FECACA; }

/* ── SPECIAL FARE ────────────────────────────── */
.fare-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.fare-cta-card { background: linear-gradient(135deg, var(--blue), var(--blue-m)); border-radius: var(--r3); padding: 32px; color: #fff; text-align: center; }
.fare-cta-title { font-family: 'Playfair Display', serif; font-size: 20px; color: #FFD54F; margin-bottom: 10px; }
.fare-cta-sub   { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 22px; line-height: 1.6; }
.btn-wa-fare { display: block; background: var(--green); color: #fff; padding: 14px; border-radius: var(--r1); font-size: 14px; font-weight: 700; text-decoration: none; margin-bottom: 10px; transition: all .2s; }
.btn-wa-fare:hover { background: #1da851; }
.btn-call-fare { display: block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; padding: 13px; border-radius: var(--r1); font-size: 14px; font-weight: 600; text-decoration: none; transition: all .2s; }
.btn-call-fare:hover { background: rgba(255,255,255,.2); }

/* ── HAJJ UMRAH ──────────────────────────────── */
.pkg-types-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.pt-card { background: var(--white); border: 1.5px solid var(--g2); border-radius: var(--r2); overflow: hidden; box-shadow: var(--sh-s); transition: all .3s; }
.pt-card:hover { transform: translateY(-6px); box-shadow: var(--sh-m); border-color: var(--blue); }
.pt-top { background: linear-gradient(135deg, var(--blue), var(--blue-m)); padding: 22px; text-align: center; position: relative; }
.pt-badge { position: absolute; top: 12px; right: 12px; background: var(--red); color: #fff; padding: 3px 10px; border-radius: 99px; font-size: 9px; font-weight: 800; }
.pt-tier  { font-family: 'Playfair Display', serif; font-size: 22px; color: #FFD54F; margin-bottom: 5px; font-weight: 700; }
.pt-nights { font-size: 13px; color: rgba(255,255,255,.7); }
.pt-body { padding: 20px; }
.pt-list { margin-bottom: 20px; }
.pt-list li { font-size: 13px; color: var(--g8); padding: 7px 0; border-bottom: 1px solid var(--g2); display: flex; align-items: center; gap: 8px; }
.pt-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.pt-list li:last-child { border-bottom: none; }
.pt-bot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1.5px solid var(--g2); }
.pt-price { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--blue); }
.pt-price small { font-size: 10px; color: var(--g5); font-weight: 400; display: block; }
.btn-pt { background: var(--blue); color: #fff; padding: 10px 18px; border-radius: var(--r1); font-size: 12px; font-weight: 700; text-decoration: none; transition: all .2s; white-space: nowrap; }
.btn-pt:hover { background: var(--blue-m); }
.inc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.inc-item { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r1); padding: 18px 16px; text-align: center; transition: all .2s; }
.inc-item:hover { background: rgba(255,255,255,.14); }
.inc-dot   { width: 8px; height: 8px; border-radius: 50%; background: #FFD54F; margin: 0 auto 10px; }
.inc-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.inc-desc  { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.5; }

/* ── LOGIN PAGE ──────────────────────────────── */
.login-page { min-height: 100vh; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-m) 60%, var(--red) 100%); display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-box { background: var(--white); border-radius: var(--r3); padding: 44px 38px; width: 100%; max-width: 420px; box-shadow: 0 32px 80px rgba(0,0,0,.25); }
.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo img { height: 64px; width: auto; margin: 0 auto 12px; display: block; }
.login-logo-fb { width: 64px; height: 64px; background: linear-gradient(135deg, var(--blue), var(--blue-m)); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 800; color: #fff; margin: 0 auto 12px; }
.login-brand { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--blue); display: block; }
.login-tag   { font-size: 11px; color: var(--g5); display: block; margin-top: 3px; }
.login-head  { font-size: 14px; font-weight: 600; color: var(--g8); text-align: center; margin-bottom: 22px; padding-top: 18px; border-top: 1px solid var(--g2); }
.login-err   { background: #FEE2E2; border: 1px solid #FECACA; color: #B91C1C; border-radius: var(--r1); padding: 10px 14px; font-size: 13px; margin-bottom: 14px; display: none; }
.lfg         { margin-bottom: 16px; }
.lfg label   { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 7px; }
.lfg input   { width: 100%; border: 1.5px solid var(--g2); border-radius: var(--r1); padding: 13px 16px; font-size: 14px; font-family: 'Poppins', sans-serif; color: var(--g8); background: var(--off); transition: all .2s; }
.lfg input:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px var(--blue-bg); outline: none; }
.btn-login { width: 100%; background: linear-gradient(135deg, var(--blue), var(--blue-m)); color: var(--white); border: none; border-radius: var(--r1); padding: 14px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'Poppins', sans-serif; margin-top: 6px; transition: all .2s; }
.btn-login:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,53,128,.35); }
.login-note  { text-align: center; font-size: 12px; color: var(--g5); margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--g2); line-height: 1.7; }
.login-note a { color: var(--blue); }
.login-back  { display: block; text-align: center; margin-top: 14px; font-size: 13px; color: var(--blue); }
.login-back:hover { text-decoration: underline; }

/* ── SHARED RESPONSIVE ───────────────────────── */
@media (max-width: 900px) {
  .two-col        { grid-template-columns: 1fr; gap: 34px; }
  .img-block img, .img-block .img-ph { height: 300px; }
  .num-list       { grid-template-columns: 1fr; }
  .nl-item        { border-right: none; }
  .nl-item:nth-last-child(2) { border-bottom: 1.5px solid var(--g2); }
  .office-grid    { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .fare-grid      { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page-hero   { padding: 100px 18px 40px; }
  .val-grid    { grid-template-columns: 1fr; }
  .cert-grid   { grid-template-columns: 1fr; }
  .pkg-types-grid { grid-template-columns: 1fr; }
  .form-2      { grid-template-columns: 1fr; }
  .login-box   { padding: 30px 22px; }
}
