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

:root {
  --deep: #0d2933;
  --sea: #154653;
  --sand: #f4ead8;
  --paper: #fffaf0;
  --sun: #f2a65a;
  --coral: #c9684c;
  --ink: #173038;
  --muted: #6f7f80;
  --line: rgba(21, 70, 83, 0.15);
  --shadow: 0 18px 50px rgba(13, 41, 51, 0.10);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(242, 166, 90, .12), transparent 28rem),
    var(--paper);
}

.hero {
  min-height: 86vh;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 5rem 1.4rem 8rem;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(13,41,51,.08), rgba(13,41,51,.5)),
    linear-gradient(155deg, #f2a65a 0%, #d77656 42%, #255a67 77%, #0d2933 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.sun {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 222, 157, .72);
  filter: blur(.2px);
  box-shadow: 0 0 80px rgba(255, 216, 135, .38);
  transform: translateY(150px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  letter-spacing: .25em;
  font-size: .76rem;
  font-weight: 600;
  margin: 0 0 1.1rem;
}

h1, h2, h3, .footer-brand {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  margin: 0;
  font-size: clamp(3.3rem, 12vw, 7rem);
  line-height: .92;
  letter-spacing: -.04em;
  text-shadow: 0 8px 30px rgba(13,41,51,.22);
}

.subtitle {
  margin: .8rem 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.3rem, 4vw, 2.2rem);
}

.intro {
  max-width: 600px;
  margin: 2rem auto 2.2rem;
  line-height: 1.75;
  font-size: 1rem;
  color: rgba(255,255,255,.9);
}

.scroll-button {
  display: inline-block;
  text-decoration: none;
  color: var(--deep);
  background: rgba(255,250,240,.94);
  padding: .95rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(13,41,51,.2);
}

.wave {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -58px;
  height: 130px;
  border-radius: 50% 50% 0 0 / 70% 70% 0 0;
  background: var(--paper);
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.controls {
  position: sticky;
  top: .75rem;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: .8rem;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  background: rgba(255,250,240,.82);
  box-shadow: 0 12px 34px rgba(13,41,51,.09);
}

.search-wrap input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 1rem;
  background: rgba(255,255,255,.75);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.search-wrap input:focus {
  border-color: var(--sun);
  box-shadow: 0 0 0 4px rgba(242,166,90,.16);
}

.filters {
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding-top: .7rem;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar { display: none; }

.filter {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .62rem .85rem;
  color: var(--sea);
  background: transparent;
  font: inherit;
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
}

.filter.active {
  color: #fff;
  background: var(--deep);
  border-color: var(--deep);
}

.menu-section {
  margin: 0 0 4.7rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 1.8rem;
}

.section-heading span {
  display: block;
  color: var(--coral);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
}

.section-heading h2 {
  margin: .45rem 0 0;
  font-size: clamp(2rem, 7vw, 3.4rem);
  color: var(--deep);
}

.cocktail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.cocktail-card {
  min-height: 250px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 30px rgba(13,41,51,.055);
  transition: transform .22s ease, box-shadow .22s ease, opacity .2s ease;
}

.cocktail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cocktail-card.featured {
  max-width: 720px;
  min-height: 300px;
  margin: 0 auto;
  padding: 1.6rem;
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle at top right, rgba(242,166,90,.65), transparent 11rem),
    linear-gradient(145deg, var(--sea), var(--deep));
  box-shadow: 0 22px 60px rgba(13,41,51,.18);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
}

.number {
  color: var(--coral);
  font-size: .82rem;
  font-weight: 600;
}

.featured .number { color: #ffd69d; }

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .3rem .55rem;
  color: var(--sea);
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.featured .tag {
  color: #fff;
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
}

.cocktail-card h3 {
  margin: 1.6rem 0 .85rem;
  color: var(--deep);
  font-size: 1.65rem;
  line-height: 1.05;
}

.featured h3 {
  color: #fff;
  font-size: clamp(2rem, 8vw, 3.5rem);
}

.ingredients {
  margin: 0;
  line-height: 1.65;
  font-size: .95rem;
}

.note {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: .84rem;
  font-style: italic;
}

.featured .ingredients,
.featured .note {
  max-width: 560px;
  color: rgba(255,255,255,.85);
}

.info-strip {
  margin-top: 2rem;
  padding: 1.3rem;
  border-radius: 18px;
  color: var(--sea);
  text-align: center;
  background: var(--sand);
  font-size: .86rem;
  line-height: 1.65;
}

.empty-state {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

footer {
  padding: 3.5rem 1rem;
  color: rgba(255,255,255,.85);
  text-align: center;
  background: var(--deep);
}

footer p { margin: .3rem 0; }

.footer-brand {
  color: #fff;
  font-size: 2rem;
}

.footer-note {
  margin-top: 1rem;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hidden { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  .cocktail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .hero { min-height: 78vh; padding-top: 4rem; }
  main { padding-inline: .75rem; }
  .controls { top: .4rem; border-radius: 18px; }
  .cocktail-grid { grid-template-columns: 1fr; }
  .cocktail-card { min-height: 0; padding: 1.15rem; }
  .cocktail-card h3 { margin-top: 1.25rem; }
  .filter { padding: .56rem .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cocktail-card { transition: none; }
}
