/** @format */

:root {
  --navy: #001f3f;
  --ink: #001f3f;
  --muted: #595959;
    --muted: #000;
  --line: #e6e6e6;
  --line2: #dcdcdc;
  --max: 1420px;
  --pad-card: 30px;
  --icon: 22px; /* title icon size (Remix Icon) */
  --col-gap: 18px; /* space between image and details */
}

/* base */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  background: url(../assets/background/02.jpg) no-repeat center center;
  background-size: cover;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
.play-btn {
  display: none;
}
a {
  color: var(--navy);
  /* text-decoration: underline; */
}
.container {
  max-width: var(--max);
  margin: auto auto;
  padding: 0 28px;
}

/* header */
.page-title {
  position: static;
  margin-top: 200px;
  padding: 34px 0 18px;
  border-bottom: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-title h1 {
  font-family: "montserrat", serif;
  line-height: 40px;
  font-size: 36px;
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
  color: var(--navy);
  text-align: left !important;
  width: 100%;
}
.intro {
  color: var(--muted);
  margin: 16px 0 30px;
  /* max-width: 920px; */
  font-size: 1.05rem;
  text-align: left !important;
  width: 100%;
}

/* list + card */
.list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 8px 0 70px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 0; /* sharp corners */
  background: #fff;
  padding: var(--pad-card);
  /* box-shadow: 0 1px 2px 0 #00000059; */
  text-transform: none;
}

.card-1 {
  border: 1px solid #e0b384;
}

#lbTitle {
  text-transform: capitalize !important;
}

/* --- FLEX layout: image | details | price --- */
.card-grid {
  display: flex;
  align-items: flex-start;
  gap: var(--col-gap);
}

/* fixed image column */
.card-grid .img-wrap {
  flex: 0 0 520px;
  width: 520px;
  height: 330px;
  margin: 0; /* remove default <figure> margins */
  position: relative;
  /* border: 1px solid var(--line2); */
  border-radius: 0; /* sharp */
  overflow: hidden;
  background: #f5f7f8;
  cursor: pointer;
}
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* details column */
.card-grid > div {
  flex: 1 1 auto;
  min-width: 0; /* allow text wrapping */
}

/* price column (right) */
.card-grid .price-col {
  flex: 0 0 300px;
  text-align: right;
  margin-left: 8px;
}

/* breakpoints */
@media (max-width: 1260px) {
  .card-grid .img-wrap {
    flex-basis: 480px;
    width: 480px;
  }
  .card-grid .price-col {
    flex-basis: 280px;
  }
}
@media (max-width: 1100px) {
  .card-grid .img-wrap {
    flex-basis: 420px;
    width: 420px;
  }
  .card-grid .price-col {
    flex-basis: 260px;
  }
}

/* stack price row under content on tablets */
@media (max-width: 980px) {
  .container {
    margin: 100px auto 0 auto;
  }

  .card-grid {
    flex-wrap: wrap;
  }
  .card-grid .img-wrap {
    flex-basis: 360px;
    width: 360px;
  }
  .card-grid > div {
    flex: 1 1 300px;
  }
  .card-grid .price-col {
    flex: 1 1 100%;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 14px;
    flex-wrap: wrap; /* allow items to wrap */
  }
}

/* PHONE: tighter spacing + fully stacked price area */
@media (max-width: 768px) {
  .page-title {
    margin-top: 0;
  }

  .page-title h1 {
    font-size: 28px;
  }

  .intro {
    font-size: 16px;
  }
  .container {
    margin: 80px auto 0 auto;
    padding: 0 18px;
  }
  .card {
    padding: 18px;
  }
  .card-grid {
    gap: 14px;
  }
  .card-grid .img-wrap {
    flex-basis: 100%;
    width: 100%;
    height: 200px; /* shorter hero image on phones */
  }

  .title {
    font-size: clamp(20px, 6vw, 24px);
    letter-spacing: 0.06em; /* reduce wrap */
  }
  .meta {
    gap: 12px;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
  }
  .desc {
    font-size: 0.98rem;
    margin: 12px 0 14px;
  }

  .divider {
    margin: 16px 0;
  }

  /* price group stacked and full-width */
  .card-grid .price-col {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  .price {
    font-size: 26px;
  }
  .btn {
    width: 100%;
    text-align: center; /* full-width CTA */
    padding: 12px 16px;
    margin-top: 4px;
    font-size: 0.95rem;
  }
}

/* --- Keep "VIEW GALLERY" directly under the button on ALL sizes --- */
.price-col .more-rates {
  display: block; /* stack under the button on desktop */
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: 1px;
}

@media (max-width: 980px) {
  .card-grid .price-col .more-rates {
    order: 3; /* after other items in the row */
    width: 100%; /* take a full new row */
    margin-top: 8px;
    text-align: left;
  }
}
@media (max-width: 560px) {
  .card-grid .price-col .more-rates {
    width: 100%;
    margin-top: 8px;
    text-align: left; /* change to center if you prefer */
  }
}

/* --- Align "VIEW GALLERY" arrow with text --- */
.price-col .more-rates {
  /* display: flex; */
  /* align-items: center; */
  gap: 6px;
}
.price-col .more-rates .chev {
  font-size: 18px;
  line-height: 1;
  position: relative;
  top: 1px;
}

/* photo trigger (image icon button) — dark bg, no border, wider than tall, slightly smaller */
.photo-trigger {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.75); /* requested dark background */
  border: none; /* no border */
  width: 50px;
  height: 32px; /* wider than tall, a bit smaller than 44x44 */
  border-radius: 0; /* sharp corners to match style */
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.photo-trigger i {
  font-size: 20px;
  color: #fff;
} /* smaller white icon */
.photo-trigger:hover {
  filter: brightness(0.98);
}

/* details */
.title {
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  /* text-transform: uppercase !important; */
  color: var(--navy);
  display: flex;
  align-items: center;
  font-weight: 400;
  /* gap: 10px; */
}
.icon {
  font-size: var(--icon);
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.desc {
  color: var(--muted);
  margin: 18px 0 16px;
  font-size: 1.02rem;
  font-family: "Playfair Display", serif;
}

.desc strong {
  font-weight: 500;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}
.plan-title {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: capitalize;
  font-size: 1.1rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--navy);
  display: inline-block;
}

/* right col buttons / price */
.price {
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.02em;
}
.price-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
  margin-top: 6px;
  letter-spacing: 1px;
  font-family: "Playfair Display", serif;
}
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: 16px;
  font-size: 0.95rem;
  transition: all ease-in-out 0.2s;
}
.btn:hover {
  background: #003060;
}
.more-rates {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.more-rates:hover {
  color: var(--ink);
}

/* Coming Soon panel (centered bg logo at 0.5 opacity) */
.panel {
  border: 1px dashed var(--navy);
  border-radius: 0;
  /* background: rgb(210, 199, 196, 0.3); */
  padding: 22px;
  margin-top: 4px;
  position: relative;
}
#coming-soon {
  position: relative;
  overflow: hidden;
}
#coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/black_logo.png") no-repeat center center;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
#coming-soon > * {
  position: relative;
  z-index: 1;
}

.panel h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 1.28rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel ul {
  margin: 12px 0 0;
  padding-left: 22px;
}
.panel li {
  color: var(--muted);
  margin: 8px 0;
  font-size: 1rem;
}

/* Lightbox (unchanged) */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0);
  display: none;
  z-index: 9999;
  color: #fff;
}
.lightbox.open {
  display: block;
}
.lb-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 75px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.2)
  );
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}
.lb-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 24px;
}
.lb-close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.lb-close:after {
  content: "✕";
  font-size: 20px;
  line-height: 1;
}
.lb-stage {
  position: absolute;
  inset: 56px 52px 30px 52px;
  display: grid;
  place-items: center;
}
.lb-img {
  max-width: 100%;
  max-height: 99%;
  object-fit: contain;
  display: block;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.25);
  /* background: rgba(255, 255, 255, 0.3); */
  display: grid;
  place-items: center;
  cursor: pointer;
}
.lb-arrow svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}
.lb-prev {
  left: 10px;
}
.lb-next {
  right: 10px;
}
@media (max-width: 700px) {
  .lb-stage {
    inset: 56px 10px 20px 10px;
  }
}
