:root {
  --ink: #14213d;
  --muted: #5f6f7e;
  --line: #dfe7ec;
  --paper: #ffffff;
  --soft: #f4f8fa;
  --brand: #007a7a;
  --brand-dark: #005b5f;
  --accent: #e75b2c;
  --gold: #d49b2a;
  --shadow: 0 18px 50px rgba(20, 33, 61, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--paper);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

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

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

/* .brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--brand);
  border-radius: 8px;
} */

.brand-mark {
  /* width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--brand);
  border-radius: 8px; */
  background-image: url("../uploads/EPH_logo.jpeg");
   background-size: cover; /* Ensures the image fills the span */
  background-repeat: no-repeat;
  display: inline-block; /* Essential to allow width/height */
  width: 30px;
  height: 30px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-toggle { display: none; }

.btn {
  border: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 7px;
  background: var(--brand);
  color: white;
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn.secondary { background: var(--ink); }
.btn.ghost { background: transparent; color: var(--brand); border: 1px solid var(--line); }
.btn.danger { background: #b42318; }

.hero {
  min-height: 620px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(5, 28, 39, .78), rgba(5, 28, 39, .18)),
    url('https://images.unsplash.com/photo-1726094232383-2fe17106bf19?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover;
  color: white;
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 92px;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 610px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .9);
  font-size: 1.12rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.section {
  padding: 72px 20px;
}
.section.soft { background: var(--soft); }
.container { max-width: 1180px; margin: 0 auto; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-head h2, .page-title h1 { margin: 0; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.08; }
.section-head p, .page-title p { margin: 8px 0 0; color: var(--muted); max-width: 720px; }

.grid { display: grid; gap: 22px; }
.grid.destinations { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.cards { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.destination-tile, .package-card, .panel, .metric, .admin-table-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.06);
}

.destination-tile {
  min-height: 230px;
  display: grid;
  align-items: end;
  position: relative;
  color: white;
  isolation: isolate;
}
.destination-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,.05));
  z-index: -1;
}
.destination-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.destination-tile div { padding: 18px; }
.destination-tile h3 { margin: 0 0 4px; font-size: 1.35rem; }
.destination-tile span { color: rgba(255,255,255,.86); }

.package-card img { width: 100%; height: 190px; object-fit: cover; }
.package-card .body { padding: 18px; }
.package-meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.price { color: var(--accent); font-size: 1.3rem; font-weight: 850; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: white;
  color: var(--muted);
  font-size: .88rem;
}

.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.field { display: grid; gap: 7px; }
.field label { font-weight: 750; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 12px;
  background: white;
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }

.page-hero {
  padding: 66px 20px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.page-title { max-width: 1180px; margin: 0 auto; }

.detail-hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: start;
}
.detail-hero img { width: 100%; height: 430px; object-fit: cover; border-radius: 8px; }
.detail-aside { position: sticky; top: 86px; }
.panel { padding: 22px; }
.list { margin: 0; padding-left: 20px; }
.list li { margin: 8px 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { height: 150px; width: 100%; object-fit: cover; border-radius: 8px; }

.contact-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 26px;
}
iframe.map { width: 100%; min-height: 360px; border: 0; border-radius: 8px; }

.auth-layout {
  min-height: calc(100vh - 67px);
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: var(--soft);
}
.auth-card { width: min(440px, 100%); }

.admin-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: calc(100vh - 67px);
}
.admin-sidebar {
  border-right: 1px solid var(--line);
  padding: 22px;
  background: var(--soft);
}
.admin-sidebar button {
  width: 100%;
  margin-bottom: 8px;
  justify-content: flex-start;
}
.admin-main { padding: 28px; overflow-x: auto; }
.metrics { grid-template-columns: repeat(4, minmax(150px, 1fr)); }
.metric { padding: 18px; }
.metric strong { display: block; font-size: 2rem; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--soft); font-size: .86rem; text-transform: uppercase; color: var(--muted); }
.hidden { display: none !important; }
.notice { margin-top: 12px; color: var(--brand); font-weight: 700; }
.error { color: #b42318; }

.bank-details {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.bank-details div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
}
.bank-details span { color: var(--muted); font-size: .9rem; }
.bank-details strong { overflow-wrap: anywhere; }

.payment-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
}
.payment-summary span { color: var(--muted); }
.payment-summary strong { color: var(--ink); text-align: right; }

footer {
  padding: 34px 20px;
  background: #111827;
  color: rgba(255,255,255,.82);
}
footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-links, .social-links { display: grid; gap: 8px; }
.footer-links a, .social-links a { color: rgba(255,255,255,.82); margin-right: 12px; }
.footer-links a:hover, .social-links a:hover { color: white; }
.social-icon {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 850;
}
.whatsapp-chat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #128c7e;
  color: white;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.policy-box {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.policy-box h3 { margin-bottom: 4px; }
.policy-box p { color: var(--muted); margin-top: 0; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    inset: 67px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hero { min-height: 560px; }
  .grid.two, .grid.three, .detail-hero, .contact-band, .admin-shell { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .detail-aside { position: static; }
  .metrics { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 52px 16px; }
  .nav { padding-inline: 16px; }
  .filters, .metrics { grid-template-columns: 1fr; }
  .hero-inner { width: calc(100% - 32px); padding-bottom: 64px; }
  .gallery { grid-template-columns: 1fr; }
  .bank-details div { grid-template-columns: 1fr; gap: 4px; }
  .payment-summary { grid-template-columns: 1fr; }
  .payment-summary strong { text-align: left; }
}
