/* ==========================================================================
   Yadgar Travel - home page layout
   Bold navy/gold blocks, asymmetric sections, overlapping cards.
   Loaded after theme.css, home page only.
   ========================================================================== */

/* ---------- Shared band helpers ----------------------------------------- */

/* Deep navy block with a soft gold glow - the "loud" section background. */
.y-band-navy {
  position: relative;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(213, 174, 54, .22), transparent 60%),
    radial-gradient(700px 380px at 95% 110%, rgba(213, 174, 54, .14), transparent 60%),
    linear-gradient(160deg, var(--y-navy) 0%, var(--y-navy-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.y-band-navy h1, .y-band-navy h2, .y-band-navy h3,
.y-band-navy h4, .y-band-navy h5 { color: #fff; }
.y-band-navy p { color: rgba(255, 255, 255, .78); }

.y-band-cream { background: var(--y-cream); }

/* Big faded word sitting behind a heading. */
.y-ghost-word {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(5rem, 16vw, 13rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: #fff;
  opacity: .04;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}
.y-band-cream .y-ghost-word { color: var(--y-navy); opacity: .05; }

/* Left-aligned section heading, used where a centred one would feel flat. */
.y-head-left { text-align: left; margin-bottom: 2.5rem; }
.y-head-left .y-eyebrow { margin-bottom: .6rem; }
.y-head-left h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 0 0 .8rem; }
.y-head-left p { max-width: 540px; margin: 0; }
.y-band-navy .y-head-left .y-eyebrow { color: var(--y-gold); }
.y-band-navy .y-head-left .y-eyebrow::before,
.y-band-navy .y-head-left .y-eyebrow::after { background: var(--y-gold); }

/* ---------- Hero -------------------------------------------------------- */

.y-hero .carousel-caption {
  right: 0;
  left: 0;
  bottom: 0;
  top: 0;
  padding: 0 1rem 7rem;
}
.y-hero__inner { max-width: 880px; }

.y-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--y-gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.y-hero__eyebrow::before {
  content: "";
  width: 42px;
  height: 3px;
  background: var(--y-gold);
  border-radius: 2px;
}

.y-hero__title {
  color: #fff !important;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.02em;
  text-shadow: 0 6px 34px rgba(0, 0, 0, .4);
  margin-bottom: 1rem;
}
.y-hero__sub {
  color: rgba(255, 255, 255, .88) !important;
  font-size: clamp(.98rem, 1.5vw, 1.15rem);
  max-width: 620px;
  margin: 0 auto 1.8rem;
}
.y-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ---------- Enquiry bar (overlaps the hero) ----------------------------- */

.y-enquiry-wrap { position: relative; z-index: 20; margin-top: -78px; }

.y-enquiry {
  background: #fff;
  border-radius: var(--y-radius);
  box-shadow: 0 26px 60px rgba(20, 40, 80, .28);
  overflow: hidden;
}
.y-enquiry__top {
  background: linear-gradient(90deg, var(--y-gold) 0%, var(--y-gold-dark) 100%);
  color: #fff;
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  letter-spacing: .3px;
}
.y-enquiry__body { padding: 1.4rem 1.5rem 1.6rem; }

.y-enquiry label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--y-navy);
  margin-bottom: .35rem;
}
.y-enquiry .form-control,
.y-enquiry .custom-select {
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--y-line);
  background: #FBFCFE;
}
.y-enquiry .btn { height: 48px; }

/* ---------- Services: sticky panel + card grid -------------------------- */

.y-service-panel {
  position: relative;
  background: linear-gradient(160deg, var(--y-navy) 0%, var(--y-navy-deep) 100%);
  border-radius: var(--y-radius);
  padding: 2.2rem 1.9rem;
  color: #fff;
  height: 100%;
  overflow: hidden;
}
/* Soft gold glow in the corner. A hard-edged circle read as a grey blob
   against the navy, so this fades out instead. */
.y-service-panel::after {
  content: "";
  position: absolute;
  right: -90px; bottom: -90px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 174, 54, .55) 0%, rgba(213, 174, 54, 0) 70%);
  pointer-events: none;
}
.y-service-panel h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .9rem; }
.y-service-panel p  { color: rgba(255, 255, 255, .76); }

@media (min-width: 992px) {
  .y-service-panel--sticky { position: sticky; top: 24px; }
}

/* Compact service tile used in the grid beside the panel. */
.y-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  height: 100%;
  background: #fff;
  border: 1px solid var(--y-line);
  border-left: 4px solid var(--y-gold);
  border-radius: var(--y-radius-sm);
  padding: 1.35rem 1.3rem;
  text-decoration: none;
  transition: transform .35s var(--y-ease), box-shadow .35s var(--y-ease),
              border-left-color .35s var(--y-ease);
}
.y-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--y-shadow);
  border-left-color: var(--y-navy);
  text-decoration: none;
}
.y-tile__icon {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(213, 174, 54, .14);
  color: var(--y-gold-dark);
  font-size: 1.1rem;
}
.y-tile:hover .y-tile__icon { background: var(--y-navy); color: var(--y-gold); }
.y-tile__title { font-size: 1.02rem; font-weight: 700; color: var(--y-navy); margin: 0 0 .25rem; }
.y-tile__text  { font-size: .88rem; color: var(--y-muted); margin: 0; line-height: 1.6; }

/* ---------- Package strip ----------------------------------------------- */

.y-pack {
  position: relative;
  display: block;
  border-radius: var(--y-radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  text-decoration: none;
  transition: transform .4s var(--y-ease), border-color .4s var(--y-ease);
}
.y-pack:hover { transform: translateY(-7px); border-color: var(--y-gold); text-decoration: none; }
/* Poster takes its own shape so it meets the card edges with no white gap. */
.y-pack__media {
  display: block;
  background: #fff;
  overflow: hidden;
  line-height: 0;
}
.y-pack__media img { width: 100%; height: auto; display: block; }
.y-pack__body { padding: 1rem 1.1rem 1.2rem; }
.y-pack__name {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 .2rem;
}
.y-pack__price { color: var(--y-gold); font-weight: 700; font-size: .92rem; }
.y-pack__cat {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: .35rem;
}

/* ---------- About: overlapping image cluster ---------------------------- */

.y-about-cluster { position: relative; padding-bottom: 60px; padding-right: 40px; }
.y-about-cluster__main {
  width: 100%;
  height: clamp(340px, 42vw, 520px);
  object-fit: cover;
  border-radius: var(--y-radius);
  box-shadow: var(--y-shadow-lg);
  position: relative;
  z-index: 2;
}
.y-about-cluster__sub {
  position: absolute;
  right: 0; bottom: 0;
  width: 46%;
  max-width: 260px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--y-radius-sm);
  border: 6px solid #fff;
  box-shadow: var(--y-shadow-lg);
  z-index: 3;
}
/* Gold block peeking out behind the main photo. */
.y-about-cluster::before {
  content: "";
  position: absolute;
  left: -22px; top: -22px;
  width: 150px; height: 150px;
  border-radius: var(--y-radius);
  background: var(--y-gold);
  opacity: .9;
  z-index: 1;
}

@media (max-width: 575.98px) {
  .y-about-cluster { padding-right: 0; padding-bottom: 40px; }
  .y-about-cluster__sub { width: 52%; right: 8px; }
  .y-about-cluster::before { width: 96px; height: 96px; left: -10px; top: -12px; }
}

/* ---------- Feature tiles on navy --------------------------------------- */

.y-feature {
  height: 100%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--y-radius);
  padding: 1.7rem 1.4rem;
  transition: background .35s var(--y-ease), transform .35s var(--y-ease),
              border-color .35s var(--y-ease);
}
.y-feature:hover {
  background: rgba(213, 174, 54, .14);
  border-color: var(--y-gold);
  transform: translateY(-6px);
}
.y-feature__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--y-gold);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.y-feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.y-feature p  { font-size: .89rem; line-height: 1.65; margin: 0; }

/* ---------- Final call to action ---------------------------------------- */

.y-cta {
  position: relative;
  background: linear-gradient(120deg, var(--y-gold) 0%, var(--y-gold-dark) 100%);
  border-radius: var(--y-radius);
  padding: 2.6rem 2.2rem;
  overflow: hidden;
  color: #fff;
}
.y-cta::before {
  content: "";
  position: absolute;
  right: -70px; top: -70px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
}
.y-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.3rem); margin-bottom: .5rem; }
.y-cta p  { color: rgba(255, 255, 255, .92); margin-bottom: 0; }
.y-cta .btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--y-navy);
  font-weight: 700;
}
.y-cta .btn-light:hover { background: var(--y-navy); border-color: var(--y-navy); color: #fff; }

/* ---------- Responsive --------------------------------------------------- */

@media (max-width: 991.98px) {
  .y-enquiry-wrap { margin-top: -40px; }
  .y-hero .carousel-caption { padding-bottom: 4.5rem; }
}

@media (max-width: 767.98px) {
  .y-enquiry-wrap { margin-top: 1.5rem; }
  /* Keep the caption clear of the prev/next discs, which sit at the edges. */
  .y-hero .carousel-caption { padding: 0 60px 1.5rem; }
  .y-hero__actions { justify-content: flex-start; }
  .y-hero__inner { text-align: left; }
  .y-hero__sub { margin-left: 0; }
  .y-cta { padding: 1.9rem 1.4rem; text-align: center; }
}
