:root {
  --navy: #14213d;
  --navy-deep: #0b1428;
  --amber: #f2a541;
  --amber-soft: #f7c873;
  --coral: #e76f51;
  --cream: #fff8ec;
  --ink: #2a2118;
  --sea: #1d4e6e;
  --sea-light: #2f7aa1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2 { font-family: "Fraunces", "Noto Serif", Georgia, serif; line-height: 1.1; }

/* ---------- Language switch ---------- */

.lang-switch {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100;
  display: flex;
  gap: .35rem;
  padding: .35rem;
  border-radius: 999px;
  background: rgba(11, 20, 40, .55);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}

.lang-switch button {
  width: 40px;
  height: 28px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: .5;
  filter: grayscale(.6);
  transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}

.lang-switch button svg { display: block; width: 100%; height: 100%; }
.lang-switch button:hover { opacity: .85; filter: none; transform: translateY(-1px); }
.lang-switch button[aria-pressed="true"] { opacity: 1; filter: none; border-color: var(--amber-soft); }
.lang-switch button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Fraunces and Caveat have no Greek glyphs: use Noto Serif, italic where the script font would be. */
html[lang="el"] .polaroid figcaption,
html[lang="el"] .quote blockquote,
html[lang="el"] .toast,
html[lang="el"] .signoff {
  font-family: "Noto Serif", Georgia, serif;
  font-style: italic;
}
html[lang="el"] .polaroid figcaption { font-size: 1.1rem; }
html[lang="el"] .quote blockquote { font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.4; }
html[lang="el"] .toast { font-size: 1.15rem; }
html[lang="el"] .signoff { font-size: 1.5rem; }

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

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--cream);
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 35%, #6b3e5e 70%, var(--coral) 88%, var(--amber) 100%);
  padding: 5rem 1.25rem 11rem;
  text-align: center;
}

.sky { position: absolute; inset: 0; pointer-events: none; }

.sun {
  position: absolute;
  left: 50%;
  bottom: 70px;
  width: 260px;
  height: 260px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #ffd88a 0%, #f7a84a 55%, rgba(247, 168, 74, 0) 72%);
  opacity: .85;
}

.stars {
  position: absolute;
  inset: 0 0 50% 0;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 25% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 40% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 60% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 75% 25%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 10%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 35%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 5% 40%, #fff 50%, transparent 51%);
  animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle { from { opacity: .4; } to { opacity: 1; } }

.hero-inner { position: relative; z-index: 2; max-width: 46rem; margin: 0 auto; }

.eyebrow {
  margin: 0;
  font-size: .85rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--amber-soft);
}

.hero h1 {
  margin: .2rem 0 .5rem;
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 700;
  letter-spacing: -.02em;
  text-shadow: 0 4px 30px rgba(242, 165, 65, .35);
}

.tagline {
  margin: 0 auto 2.5rem;
  max-width: 32rem;
  font-size: 1.15rem;
  opacity: .9;
}

.polaroid {
  margin: 0 auto;
  width: min(340px, 82vw);
  background: #fff;
  padding: 14px 14px 0;
  border-radius: 3px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
  transform: rotate(-3deg);
  transition: transform .4s ease;
}

.polaroid:hover { transform: rotate(0deg) scale(1.03); }

.polaroid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.polaroid figcaption {
  font-family: "Caveat", cursive;
  font-size: 1.6rem;
  color: var(--ink);
  padding: .6rem 0 .9rem;
}

/* ---------- Sea ---------- */

.sea { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 1; }

.wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 100px; }
.wave-back path { fill: var(--sea-light); opacity: .85; }
.wave-front path { fill: var(--sea); }
.wave-back { animation: drift 14s linear infinite; bottom: 18px; }
.wave-front { animation: drift 9s linear infinite reverse; height: 80px; }

@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.boat {
  position: absolute;
  bottom: 52px;
  width: 90px;
  left: -100px;
  animation: sail 40s linear infinite, bob 3s ease-in-out infinite;
}

@keyframes sail { from { left: -100px; } to { left: 100%; } }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
}

/* ---------- Content ---------- */

main section { padding: 4.5rem 1.25rem; }

.intro { max-width: 40rem; margin: 0 auto; text-align: center; font-size: 1.1rem; }

.lead {
  font-family: "Fraunces", "Noto Serif", Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.3;
  color: var(--navy);
  margin-top: 0;
}

.lead em { color: var(--coral); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
  padding-top: 0 !important;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 1.75rem;
  box-shadow: 0 10px 30px rgba(20, 33, 61, .08);
  border-top: 5px solid var(--amber);
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20, 33, 61, .14); }

.card-icon { font-size: 2.4rem; }
.card h2 { margin: .5rem 0 .6rem; font-size: 1.5rem; color: var(--navy); }
.card p { margin: 0; color: #4a3f35; }

.quote {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
}

.quote blockquote {
  margin: 0 auto;
  max-width: 44rem;
  font-family: "Caveat", cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.25;
  color: var(--amber-soft);
}

/* ---------- Cheers ---------- */

.cheers { text-align: center; }
.cheers h2 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 .4rem; color: var(--navy); }
.cheers > p { margin: 0 0 1.5rem; }

.glass-btn {
  font: inherit;
  background: linear-gradient(145deg, var(--amber-soft), var(--amber));
  border: none;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(242, 165, 65, .45);
  transition: transform .15s ease;
}

.glass-btn:hover { transform: scale(1.06); }
.glass-btn:active { transform: scale(.95); }
.glass-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }

.glass { font-size: 3.6rem; display: inline-block; }
.glass-btn.clink .glass { animation: clink .5s ease; }

@keyframes clink {
  0% { transform: rotate(0); }
  30% { transform: rotate(-18deg) scale(1.15); }
  60% { transform: rotate(12deg) scale(1.1); }
  100% { transform: rotate(0); }
}

.count { font-family: "Fraunces", "Noto Serif", serif; font-size: 1.3rem; color: var(--navy); margin: 1.2rem 0 .3rem; }
.count span:first-child { font-weight: 700; font-size: 1.8rem; color: var(--coral); }

.toast {
  min-height: 2rem;
  font-family: "Caveat", cursive;
  font-size: 1.6rem;
  color: var(--sea);
  margin: 0;
}

.bubble {
  position: fixed;
  pointer-events: none;
  font-size: 1.6rem;
  animation: rise 1.6s ease-out forwards;
  z-index: 50;
}

@keyframes rise {
  from { opacity: 1; transform: translate(0, 0) scale(1); }
  to { opacity: 0; transform: translate(var(--dx), -180px) scale(1.4); }
}

/* ---------- Last call ---------- */

.last-call {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
}

.last-call h2 { font-size: clamp(2rem, 5vw, 2.8rem); color: var(--navy); margin-top: 0; }

.signoff {
  font-family: "Caveat", cursive;
  font-size: 2.2rem;
  color: var(--coral);
  margin-top: 2rem;
}

footer {
  background: var(--navy-deep);
  color: var(--amber-soft);
  text-align: center;
  padding: 2rem 1rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .85rem;
}

footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .boat { left: 60%; }
}
