:root {
  --ink: #18221f;
  --muted: #66736f;
  --paper: #fffaf2;
  --ivory: #fffdf8;
  --sand: #d7b06a;
  --coral: #c85f4f;
  --green: #254f45;
  --teal: #2a7f86;
  --blue: #163f5c;
  --line: rgba(24, 34, 31, 0.14);
  --shadow: 0 18px 50px rgba(15, 28, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(13, 31, 32, 0.84), rgba(13, 31, 32, 0.42) 48%, rgba(13, 31, 32, 0.12)),
    linear-gradient(0deg, rgba(13, 31, 32, 0.72), rgba(13, 31, 32, 0) 44%),
    url("assets/luxor-wedding-hero.png") center / cover;
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.nav-links {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(10, 30, 30, 0.22);
  backdrop-filter: blur(14px);
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0 12vh;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0c879;
}

.eyebrow.dark {
  color: var(--coral);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(4rem, 12vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 16px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.event-strip {
  max-width: 780px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.event-strip span {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
  font-weight: 800;
}

.intro {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  line-height: 1.65;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  white-space: nowrap;
}

.button.primary {
  color: var(--ink);
  background: #f3c76e;
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.62);
}

.details-band {
  width: min(1120px, calc(100% - 32px));
  margin: -52px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ivory);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
}

.detail {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.detail:last-child {
  border-right: 0;
}

.detail-label,
dt,
.route,
.tag {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail strong {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.flight-grid,
.room-grid,
.extras-grid {
  display: grid;
  gap: 18px;
}

.flight-grid {
  grid-template-columns: repeat(4, 1fr);
}

.room-grid {
  grid-template-columns: repeat(4, 1fr);
}

.extras-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.flight-card,
.room-card,
.extra-card {
  min-height: 278px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
}

.flight-card {
  border-top: 5px solid var(--teal);
}

.flight-card:nth-child(2) {
  border-top-color: var(--coral);
}

.flight-card:nth-child(3) {
  border-top-color: var(--blue);
}

.flight-card:nth-child(4) {
  border-top-color: var(--sand);
}

.route {
  margin-bottom: 10px;
  color: var(--teal);
}

dl {
  margin: 0;
  display: grid;
  gap: 13px;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.agenda {
  padding-top: 86px;
}

.agenda-list {
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.agenda-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal);
  border-radius: 8px;
  background: var(--ivory);
}

.agenda-item:nth-child(2) {
  border-left-color: var(--coral);
}

.agenda-item:nth-child(3) {
  border-left-color: var(--blue);
}

.agenda-item:nth-child(4) {
  border-left-color: var(--sand);
}

.agenda-time {
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  color: white;
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agenda-item h3 {
  margin-bottom: 8px;
}

.agenda-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.rooms {
  padding-bottom: 96px;
}

.availability {
  margin: 4px 0 24px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-left: 6px solid var(--coral);
  background: #edf6f5;
  border-radius: 8px;
}

.availability span {
  min-width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 2.2rem;
  font-weight: 900;
}

.availability strong {
  font-size: 1.3rem;
}

.availability p {
  margin: 4px 0 0;
  color: var(--muted);
}

.room-card {
  min-height: 240px;
  background: white;
}

.extra-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #edf6f5;
}

.room-card.featured {
  color: white;
  background: var(--green);
}

.room-card.featured p,
.room-card.featured .tag {
  color: rgba(255, 255, 255, 0.76);
}

.room-card p,
.extra-card p {
  color: var(--muted);
  line-height: 1.6;
}

.room-card strong,
.extra-card strong {
  font-size: 1.45rem;
}

.tag {
  margin-bottom: 18px;
  color: var(--coral);
}

.contact-band {
  padding: 68px max(16px, calc((100% - 1120px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green) 58%, #6f4b2d);
}

.contact-band h2 {
  max-width: 660px;
  margin-bottom: 12px;
}

.contact-band p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

@media (max-width: 820px) {
  .hero {
    min-height: 88vh;
    background-position: 62% center;
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    max-width: 220px;
    flex-wrap: wrap;
    justify-content: flex-end;
    border-radius: 18px;
  }

  .hero-content {
    padding-top: 62px;
  }

  .details-band,
  .flight-grid,
  .room-grid,
  .extras-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .details-band {
    margin-top: -30px;
  }

  .detail {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail:last-child {
    border-bottom: 0;
  }

  .section {
    padding-top: 72px;
  }

  .agenda-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .agenda-time {
    width: max-content;
    padding: 0 16px;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .nav {
    width: min(100% - 24px, 1120px);
  }

  .brand {
    width: 44px;
    height: 44px;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .hero-content,
  .section,
  .details-band {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: clamp(3.35rem, 19vw, 5.5rem);
  }

  .event-strip span {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  dl div {
    display: grid;
    gap: 4px;
  }

  dd {
    text-align: left;
  }

  .availability {
    align-items: flex-start;
  }

  .availability span {
    min-width: 62px;
    height: 62px;
    font-size: 1.8rem;
  }
}
