@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;1,500&family=Inter:wght@400;500;600&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  overflow-x: hidden;
}

/* ---------- Background photo with slow Ken Burns drift ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: url('sea-ocean-sunlight-wave-underwater-reflection-41450-pxhere.com.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(7px) saturate(1.15) brightness(1.03);
  transform: scale(1.03);
  animation: kenburns 16s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenburns {
  0%   { transform: scale(1.03) translate(0%, 0%); }
  50%  { transform: scale(1.08) translate(-1.5%, 1.5%); }
  100% { transform: scale(1.04) translate(1.5%, -1%); }
}

/* ---------- Soft white overlay (fades top -> bottom, like the reference) ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.96) 0%,
    rgba(255,255,255,0.82) 22%,
    rgba(255,255,255,0.45) 45%,
    rgba(255,255,255,0.12) 68%,
    rgba(255,255,255,0.02) 100%
  );
}

/* ---------- Fish layer ---------- */
.fish-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.fish {
  position: absolute;
  top: 0;
  left: 0;
  filter: blur(0.6px);
  opacity: 0.55;
}

.fish svg {
  display: block;
  fill: #0c1c26;
}

/* follows the same up-and-to-the-right diagonal as the school baked into the photo */
@keyframes swimRightUp {
  0%   { transform: translate(-12vw, 8vh); }
  25%  { transform: translate(22vw, -2vh); }
  50%  { transform: translate(55vw, -14vh); }
  75%  { transform: translate(84vw, -24vh); }
  100% { transform: translate(112vw, -34vh); }
}

/* occasional lone stray crossing the other way, like the outlier fish in the photo */
@keyframes swimLeft {
  0%   { transform: translate(112vw, -4vh) scaleX(-1); }
  25%  { transform: translate(76vw, -10vh) scaleX(-1); }
  50%  { transform: translate(46vw, -2vh) scaleX(-1); }
  75%  { transform: translate(16vw, -8vh) scaleX(-1); }
  100% { transform: translate(-12vw, -4vh) scaleX(-1); }
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #111;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 13px;
}

.logo-mark {
  font-size: 10px;
  letter-spacing: -2px;
  opacity: 0.85;
}

.nav {
  display: flex;
  gap: 36px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #000;
}

.btn {
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-dark {
  background: #111;
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 5;
  max-width: 880px;
  margin: 6vh auto 0;
  padding: 0 24px;
  text-align: center;
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #6b6b6b;
  margin-bottom: 22px;
}

.headline {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.18;
  color: #111;
}

.headline em {
  font-style: italic;
  color: #6f6f6f;
}

.subtext {
  margin: 28px auto 0;
  max-width: 560px;
  font-size: 16.5px;
  line-height: 1.65;
  color: #444;
}

.btn-black {
  display: inline-block;
  margin-top: 40px;
  background: #111;
  color: #fff;
  padding: 17px 40px;
  font-size: 15px;
}

.login-hint {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}

.login-hint a {
  color: #111;
  font-weight: 600;
  text-decoration: none;
}

.login-hint a:hover {
  text-decoration: underline;
}

/* ---------- Packages ---------- */
.packages {
  position: relative;
  z-index: 5;
  background: #fff;
  margin-top: 12vh;
  padding: 90px 24px 100px;
  text-align: center;
  box-shadow: 0 -30px 60px 30px rgba(255,255,255,0.9);
}

.packages--page {
  margin-top: 6vh;
  padding-top: 70px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 42px);
  color: #111;
  margin-bottom: 14px;
}

.section-subtext {
  max-width: 520px;
  margin: 0 auto 56px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.package-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1px solid #e6e6e6;
  border-radius: 20px;
  padding: 36px 30px;
  background: #fdfdfc;
}

.package-card--featured {
  border-color: #111;
  background: #111;
  color: #fff;
  transform: translateY(-10px);
}

.package-badge {
  display: inline-block;
  align-self: flex-start;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.package-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 8px;
}

.package-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 20px;
  min-height: 42px;
}

.package-card--featured .package-desc {
  color: #cfcfcf;
}

.package-price {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}

.package-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  flex-grow: 1;
}

.package-features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #333;
}

.package-card--featured .package-features li {
  color: #eaeaea;
}

.package-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #111;
}

.package-card--featured .package-features li::before {
  color: #fff;
}

.btn-outline {
  display: block;
  text-align: center;
  border: 1.5px solid #111;
  color: #111;
  background: transparent;
}

.package-card--featured .btn-outline,
.package-card--featured .btn-black {
  background: #fff;
  color: #111;
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  z-index: 5;
  background: #fff;
  text-align: center;
  padding: 0 24px 110px;
}

.contact-placeholder {
  max-width: 480px;
  margin: 0 auto;
  padding: 22px;
  border: 1px dashed #ccc;
  border-radius: 14px;
  color: #999;
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .site-header { padding: 20px 24px; }
  .nav { display: none; }
  .hero { margin-top: 8vh; }
  .package-grid { grid-template-columns: 1fr; }
  .package-card--featured { transform: none; }
  .packages { padding: 70px 20px 80px; }
}
