/* ========================================================
   NILE EMPIRE — Frontend CSS
   Custom styles that extend theme.json
   ======================================================== */

:root {
  --ne-gold:            #FFB140;
  --ne-gold-light:      #FFF0CC;
  --ne-gold-dark:       #E09520;
  --ne-blue:            #0D2D6B;
  --ne-blue-mid:        #1A4A99;
  --ne-blue-light:      #D1DCF5;
  --ne-sandstone:       #EAD9B8;
  --ne-sandstone-light: #F7F2E9;
  --ne-sandstone-mid:   #D9C9A3;
  --ne-black:           #111827;
  --ne-gray-700:        #374151;
  --ne-gray-500:        #6B7280;
  --ne-gray-300:        #D1D5DB;
  --ne-grad-gold:       linear-gradient(135deg, #FFB140, #FFD07A);
  --ne-grad-hero:       linear-gradient(135deg, #0D2D6B, #1A4A99);
  --ne-grad-sunset:     linear-gradient(135deg, #FFB140, #FF8C42);
  --ne-shadow-elegant:  0 4px 20px -2px rgba(17,24,39,0.10);
  --ne-shadow-luxury:   0 20px 40px -12px rgba(13,45,107,0.25);
  --ne-shadow-gold:     0 10px 30px -8px rgba(255,177,64,0.35);
}

/* Gradient-clipped text helper for headings like "Nile Empire" / "Magic of Egypt" */
.ne-grad-text,
.has-gold-gradient-background.has-text-color {
  background: var(--ne-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============ Tour / Cruise / Package Cards ============ */
.ne-card {
  background: #fff;
  border: 1px solid var(--ne-sandstone);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--ne-shadow-elegant);
  transition: transform .4s ease, box-shadow .4s ease, border-color .2s;
  display: flex;
  flex-direction: column;
}
.ne-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ne-shadow-luxury);
  border-color: var(--ne-gold);
}
.ne-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.ne-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.ne-card:hover .ne-card__media img { transform: scale(1.06); }
.ne-card__price {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--ne-gold);
  color: var(--ne-blue);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
}
.ne-card__rating {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ne-card__rating .star { color: var(--ne-gold); }
.ne-card__body { padding: 18px 20px; display: flex; flex-direction: column; flex: 1; }
.ne-card__location { font-size: 12px; color: var(--ne-gray-500); margin-bottom: 6px; display: flex; align-items: center; gap: 4px; }
.ne-card__title { font-family: "CameraPlain", Georgia, serif; font-size: 18px; font-weight: 700; color: var(--ne-black); margin: 0 0 10px; line-height: 1.3; }
.ne-card__title a { color: inherit; text-decoration: none; }
.ne-card__title a:hover { color: var(--ne-gold); }
.ne-card__desc { font-size: 13px; color: var(--ne-gray-500); line-height: 1.65; margin-bottom: 14px; flex: 1; }
.ne-card__meta { display: flex; gap: 16px; font-size: 12px; color: var(--ne-gray-500); margin-bottom: 16px; }
.ne-card__includes { display: flex; gap: 8px; margin-bottom: 12px; font-size: 11px; color: var(--ne-gray-500); }
.ne-card__includes span {
  background: var(--ne-sandstone-light);
  border: 1px solid var(--ne-sandstone);
  border-radius: 4px;
  padding: 2px 7px;
}

/* ============ Pricing — Group Size Tiers (Model A) ============ */
.ne-pricing-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.ne-tier {
  background: #fff;
  border: 1px solid var(--ne-sandstone);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.ne-tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--ne-shadow-elegant);
}
.ne-tier--featured {
  border-color: var(--ne-gold);
  background: var(--ne-sandstone-light);
  box-shadow: var(--ne-shadow-gold);
}
.ne-tier__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ne-grad-gold);
  color: var(--ne-blue);
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.ne-tier__label { font-size: 13px; font-weight: 600; color: var(--ne-gray-700); margin-bottom: 6px; }
.ne-tier__size  { font-family: "CameraPlain", serif; font-size: 22px; font-weight: 700; color: var(--ne-black); margin-bottom: 12px; }
.ne-tier__price { font-family: "CameraPlain", serif; font-size: 36px; font-weight: 800; color: var(--ne-blue); line-height: 1; }
.ne-tier__price .ccy { color: var(--ne-gold); font-size: 20px; vertical-align: super; margin-right: 2px; }
.ne-tier__per  { font-size: 12px; color: var(--ne-gray-500); margin-top: 4px; }

/* ============ Pricing — Cruise Seasonal (Model B) ============ */
.ne-cruise-pricing { margin: 24px 0; }
.ne-duration {
  border: 1px solid var(--ne-sandstone);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.ne-duration__header {
  background: var(--ne-sandstone-light);
  padding: 14px 20px;
  font-family: "CameraPlain", serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ne-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ne-duration__header::after { content: "▾"; font-size: 14px; transition: transform .2s; }
.ne-duration[open] .ne-duration__header::after { transform: rotate(180deg); }
.ne-duration__body { padding: 20px; }
.ne-season {
  margin-bottom: 18px;
}
.ne-season:last-child { margin-bottom: 0; }
.ne-season__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ne-gray-700);
}
.ne-season__type {
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 9999px;
}
.ne-season__type.low  { background: var(--ne-sandstone-light); color: var(--ne-gray-700); }
.ne-season__type.high { background: var(--ne-gold-light); color: var(--ne-gold-dark); }
.ne-cabin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.ne-cabin {
  background: #fff;
  border: 1px solid var(--ne-sandstone);
  border-radius: 6px;
  padding: 14px;
  text-align: center;
}
.ne-cabin__label { font-size: 12px; color: var(--ne-gray-500); margin-bottom: 6px; }
.ne-cabin__price { font-family: "CameraPlain", serif; font-size: 24px; font-weight: 800; color: var(--ne-blue); }
.ne-cabin__per { font-size: 11px; color: var(--ne-gray-500); margin-top: 2px; }

/* ============ Pricing — Package Tier (Model C) ============ */
.ne-pkg-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--ne-sandstone-light);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
}
.ne-pkg-includes__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ne-gray-700);
}
.ne-pkg-includes__icon {
  width: 32px;
  height: 32px;
  background: var(--ne-grad-gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ne-blue);
  flex-shrink: 0;
}
.ne-pkg-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.ne-pkg-tier {
  background: #fff;
  border: 1px solid var(--ne-sandstone);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ne-pkg-tier--featured {
  border-color: var(--ne-gold);
  box-shadow: var(--ne-shadow-gold);
}
.ne-pkg-tier__head {
  background: var(--ne-blue);
  color: #fff;
  padding: 18px 20px;
  text-align: center;
}
.ne-pkg-tier__stars {
  color: var(--ne-gold);
  font-size: 14px;
  margin-bottom: 4px;
  letter-spacing: 2px;
}
.ne-pkg-tier__label { font-family: "CameraPlain", serif; font-weight: 700; font-size: 18px; }
.ne-pkg-tier__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.ne-pkg-tier__hotels { font-size: 12px; color: var(--ne-gray-500); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.ne-pkg-tier__price { font-family: "CameraPlain", serif; font-size: 30px; font-weight: 800; color: var(--ne-blue); text-align: center; }
.ne-pkg-tier__price .ccy { color: var(--ne-gold); font-size: 18px; vertical-align: super; margin-right: 2px; }
.ne-pkg-tier__per { font-size: 11px; color: var(--ne-gray-500); text-align: center; margin-top: 2px; }
.ne-pkg-tier__supp { font-size: 11px; color: var(--ne-gray-500); text-align: center; margin-top: 4px; }

/* ============ Inquiry Form (auto-injected) ============ */
.ne-inquiry {
  background: var(--ne-grad-hero);
  color: #fff;
  border-radius: 12px;
  padding: 36px 32px;
  margin: 48px 0;
}
.ne-inquiry__title {
  font-family: "CameraPlain", serif;
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
}
.ne-inquiry__sub { color: rgba(255,255,255,0.8); margin-bottom: 20px; font-size: 14px; }
.ne-inquiry .wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 11px 14px;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}
.ne-inquiry .wpcf7-form-control::placeholder { color: rgba(255,255,255,0.55); }
.ne-inquiry .wpcf7-form-control:focus { outline: 2px solid var(--ne-gold); outline-offset: 1px; }
.ne-inquiry label { display: block; font-size: 12px; color: rgba(255,255,255,0.9); margin: 12px 0 6px; font-weight: 600; }
.ne-inquiry .wpcf7-submit {
  background: var(--ne-grad-gold);
  color: var(--ne-blue);
  border: none;
  border-radius: 8px;
  padding: 13px 32px;
  font-weight: 700;
  font-size: 15px;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  margin-top: 18px;
  transition: transform .15s, box-shadow .15s;
}
.ne-inquiry .wpcf7-submit:hover { transform: translateY(-2px); box-shadow: var(--ne-shadow-gold); }
.ne-inquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
@media (max-width: 600px) { .ne-inquiry-grid { grid-template-columns: 1fr; } }

/* ============ Section helpers ============ */
.ne-section {
  padding: 64px 24px;
}
.ne-section--alt   { background: var(--ne-sandstone-light); }
.ne-section--hero  { background: var(--ne-grad-hero); color: #fff; }
.ne-section__head  { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.ne-section__title {
  font-family: "CameraPlain", serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  margin-bottom: 12px;
}
.ne-section__sub { color: var(--ne-gray-500); font-size: 16px; line-height: 1.7; }
.ne-section--hero .ne-section__sub { color: rgba(255,255,255,0.82); }
