:root {
  --navy: #071428;
  --navy-mid: #0c2340;
  --ink: #0a1628;
  --gold: #d4af37;
  --gold-bright: #f0d78c;
  --gold-deep: #9a7518;
  --foam: #f5f1e8;
  --mist: #eef2f6;
  --line: rgba(212, 175, 55, 0.28);
  --ok: #1f7a5c;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;
  --font-script: "Great Vibes", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--foam);
  background: var(--navy);
  line-height: 1.55;
}
a { color: var(--gold-bright); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 5vw;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--gold);
}
.brand img { height: 48px; width: auto; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--gold);
  line-height: 1.1;
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: rgba(240, 215, 140, 0.85);
  margin-top: 0.2rem;
}
.nav { display: flex; gap: 1.15rem; align-items: center; flex-wrap: wrap; }
.nav a {
  color: rgba(245, 241, 232, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav a:hover { color: var(--gold-bright); }

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: 0 5vw 11vh;
  color: #fff;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7,20,40,0.35) 0%, rgba(7,20,40,0.55) 45%, rgba(7,20,40,0.92) 100%),
    url("/assets/img/dluxe-hero-resort.jpg") center/cover no-repeat,
    var(--navy-mid);
}
.hero-copy { position: relative; max-width: 42rem; }
.hero-kicker {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--gold-bright);
  margin: 0 0 0.35rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: 0.98;
  margin: 0 0 0.45rem;
  color: var(--gold);
  animation: rise 0.9s ease both;
}
.hero .values {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(240, 215, 140, 0.9);
  margin: 0 0 0.85rem;
  animation: rise 0.95s ease 0.05s both;
}
.hero p {
  font-size: 1.08rem;
  max-width: 34rem;
  opacity: 0.92;
  margin: 0 0 1.4rem;
  animation: rise 1s ease 0.1s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); color: var(--navy); }
.btn-primary:hover { filter: brightness(1.05); color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(212,175,55,0.55); }
.btn-ghost:hover { background: rgba(212,175,55,0.12); color: var(--gold-bright); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; animation: rise 1.05s ease 0.18s both; }

.pillars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding: 2rem 5vw 0;
  background: linear-gradient(180deg, rgba(7,20,40,0.96), var(--navy));
}
.pillar {
  text-align: center;
  padding: 1rem 0.5rem;
  border-top: 1px solid rgba(212,175,55,0.25);
}
.pillar svg { width: 36px; height: 36px; margin: 0 auto 0.55rem; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.pillar span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.78);
}

.section { padding: 4.2rem 5vw; background: var(--navy); }
.section.alt { background: var(--navy-mid); }
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin: 0 0 0.4rem;
  color: var(--gold);
}
.section .lead { margin: 0 0 2rem; color: rgba(245,241,232,0.72); max-width: 36rem; }

.deal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.deal {
  background: rgba(12, 35, 64, 0.85);
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.deal:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.deal-visual {
  height: 160px;
  background:
    linear-gradient(180deg, transparent 40%, rgba(7,20,40,0.75)),
    center/cover no-repeat;
}
.deal-visual.img-1 { background-image: linear-gradient(180deg, transparent 40%, rgba(7,20,40,0.75)), url("/assets/img/dluxe-deal-canaries.jpg"); }
.deal-visual.img-2 { background-image: linear-gradient(180deg, transparent 40%, rgba(7,20,40,0.75)), url("/assets/img/dluxe-deal-greece.jpg"); }
.deal-visual.img-3 { background-image: linear-gradient(180deg, transparent 40%, rgba(7,20,40,0.75)), url("/assets/img/dluxe-deal-cruise.jpg"); }
.deal-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.deal h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 0; line-height: 1.25; color: #fff; }
.deal h3 a { color: inherit; text-decoration: none; }
.deal h3 a:hover { color: var(--gold-bright); }
.meta { font-size: 0.9rem; color: rgba(245,241,232,0.65); }
.price { font-weight: 700; font-size: 1.25rem; margin-top: auto; padding-top: 0.6rem; color: var(--gold); }
.price span { font-weight: 600; font-size: 0.85rem; color: rgba(245,241,232,0.55); }

.panel {
  background: rgba(12, 35, 64, 0.9);
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 1rem;
  padding: 1.25rem;
}
.form-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.86rem; color: rgba(245,241,232,0.85); }
input, select, textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(212,175,55,0.28);
  background: rgba(7,20,40,0.85);
  color: #fff;
}
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { text-align: left; padding: 0.65rem 0.4rem; border-bottom: 1px solid rgba(212,175,55,0.18); vertical-align: top; }
.table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(212,175,55,0.75); }

.site-footer {
  background: #040b16;
  color: rgba(245,241,232,0.78);
  padding: 2.5rem 5vw;
  font-size: 0.9rem;
  border-top: 1px solid rgba(212,175,55,0.25);
}
.site-footer strong { color: var(--gold-bright); }
.site-footer a { color: var(--gold); }

.inner-page .site-header {
  position: sticky;
  top: 0;
  background: rgba(7,20,40,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212,175,55,0.2);
}
.page-wrap { padding: 2rem 5vw 4rem; }
.notice {
  background: rgba(31,122,92,0.18);
  border: 1px solid rgba(31,122,92,0.45);
  color: #9ee0c4;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}
.error {
  background: rgba(138,46,38,0.2);
  border: 1px solid rgba(243,193,188,0.4);
  color: #f3c1bc;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-nav { background: #040b16; color: #fff; padding: 1.5rem 1rem; border-right: 1px solid rgba(212,175,55,0.2); }
.admin-nav a { display: block; color: rgba(245,241,232,0.88); text-decoration: none; padding: 0.45rem 0.6rem; border-radius: 0.5rem; }
.admin-nav a:hover { background: rgba(212,175,55,0.12); color: var(--gold-bright); }
.admin-main { padding: 1.5rem; background: var(--navy); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.stat { background: rgba(12,35,64,0.9); border: 1px solid rgba(212,175,55,0.22); border-radius: 0.85rem; padding: 1rem; }
.stat b { display: block; font-size: 1.5rem; font-family: var(--font-display); color: var(--gold); }

@media (max-width: 900px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .brand-text { display: none; }
}
@media (max-width: 800px) {
  .admin-shell { grid-template-columns: 1fr; }
  .site-header { padding: 0.9rem 1.15rem; }
  .hero, .section, .page-wrap, .site-footer, .pillars { padding-left: 1.15rem; padding-right: 1.15rem; }
  .nav { gap: 0.65rem; }
}
