/* ===========================================================
   THE INVISIBLE ISLE — Soft Coral Blush (Dark Tiki Lounge) Theme
   Inspired by the warm wood, woven thatch, and lantern glow
   of the actual bar interior.
   =========================================================== */

:root {
  --bg: #1f1512;
  --bg-alt: #2b1a16;
  --surface: rgba(255, 234, 222, 0.06);
  --surface-strong: rgba(43, 26, 22, 0.78);
  --border: rgba(217, 122, 99, 0.22);
  --border-glow: rgba(217, 122, 99, 0.55);

  --teal: #3c7a6c;
  --teal-soft: #5ea393;
  --coral: #d97a63;
  --coral-soft: #e8a692;
  --amber: #c9922f;
  --palm: #4f8a5f;

  --text: #f5e6da;
  --text-muted: #d2b3a2;
  --text-faint: #a9867a;

  --radius: 20px;
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(217, 122, 99, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  position: relative;
  overflow-x: hidden;
}

/* ---------- Ambient background ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(600px circle at 15% 10%, rgba(217, 122, 99, 0.16), transparent 60%),
    radial-gradient(700px circle at 85% 25%, rgba(60, 122, 108, 0.16), transparent 60%),
    radial-gradient(900px circle at 50% 95%, rgba(201, 146, 47, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-alt) 40%, var(--bg));
  background-attachment: fixed;
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  margin: 0 0 0.4em;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.accent-script {
  font-family: 'Caveat', cursive;
  color: var(--coral-soft);
}

.gradient-text {
  background: linear-gradient(90deg, var(--coral), var(--amber) 55%, var(--teal-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p { color: var(--text-muted); }

a { color: var(--coral-soft); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--amber); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--coral-soft);
  font-weight: 600;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--coral-soft);
  display: inline-block;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(31, 21, 18, 0.80);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  font-size: 1.05rem;
  box-shadow: 0 0 18px rgba(217, 122, 99, 0.35);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 9px 16px;
  border-radius: 999px;
  transition: all 0.2s;
}

.main-nav a:hover { color: var(--text); background: var(--surface); }

.main-nav a.active {
  color: #fff;
  background: linear-gradient(90deg, var(--coral), var(--amber));
  box-shadow: 0 0 18px rgba(217, 122, 99, 0.3);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 146, 47, 0.18), transparent 70%);
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(10px);
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 24px); }
}

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

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 18px;
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.scroll-hint {
  margin-top: 56px;
  color: var(--text-faint);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Sub-page hero (smaller) */
.page-hero {
  text-align: center;
  padding: 70px 20px 40px;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 122, 99, 0.18), transparent 70%);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.page-hero > * { position: relative; z-index: 1; }

.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }

.page-hero .tagline {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(90deg, var(--coral), var(--amber));
  color: #1f1512;
  box-shadow: 0 0 26px rgba(217, 122, 99, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(217, 122, 99, 0.5);
  color: #1f1512;
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--border-glow);
  color: var(--coral-soft);
  transform: translateY(-2px);
}

/* ---------- Story section ---------- */
.story-section { padding: 90px 0 40px; }

.story-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.story-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 24px; }

.story-section p {
  line-height: 1.85;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.story-section p:last-child { margin-bottom: 0; }

.pull-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  color: var(--coral-soft);
  border-left: 3px solid var(--coral);
  padding-left: 18px;
  margin: 28px 0;
  font-style: italic;
}

/* ---------- CTA cards ---------- */
.cta-section { padding: 30px 0 100px; }

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cta-card {
  position: relative;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, var(--coral), transparent 40%, var(--amber));
  opacity: 0;
  transition: opacity 0.3s;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cta-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.cta-card:hover::before { opacity: 1; }

.cta-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(217,122,99,0.2), rgba(201,146,47,0.2));
  margin-bottom: 18px;
}

.cta-card h3 { font-size: 1.4rem; }
.cta-card p { margin-bottom: 20px; }

/* ---------- Filters ---------- */
.menu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 10px 0 44px;
}

.filter-btn {
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.filter-btn:hover { border-color: var(--border-glow); color: var(--text); }

.filter-btn.active {
  background: linear-gradient(90deg, var(--coral), var(--amber));
  color: #1f1512;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(217, 122, 99, 0.3);
}

/* ---------- Cocktail Menu ---------- */
.menu-section { padding-bottom: 100px; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 22px;
}

.menu-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
}

.menu-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.menu-card h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  color: var(--text);
}

/* Multi-category tags */
.cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.menu-card .cat-tag {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(217, 122, 99, 0.10);
  color: var(--coral-soft);
}

.menu-card .cat-tag:nth-child(even) {
  background: rgba(60, 122, 108, 0.14);
  color: var(--teal-soft);
  border-color: rgba(60, 122, 108, 0.3);
}

.menu-card .ingredients {
  font-size: 0.88rem;
  color: var(--text-faint);
  margin-bottom: 12px;
  font-style: italic;
}

.menu-card .desc {
  flex-grow: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
  color: var(--text-muted);
}

.menu-card .price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--coral-soft);
  font-size: 1.2rem;
  align-self: flex-end;
}

.menu-note {
  text-align: center;
  color: var(--text-faint);
  margin-top: 36px;
  font-size: 0.9rem;
}

/* ---------- Gallery ---------- */
.gallery-section { padding-bottom: 110px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  background: var(--surface);
  aspect-ratio: 4/3;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.gallery-item:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.08); }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(20,12,10,0.9), transparent);
  color: #fff;
  padding: 14px 14px 10px;
  font-size: 0.85rem;
  font-weight: 500;
}

.play-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(31, 21, 18, 0.65);
  backdrop-filter: blur(4px);
  color: #f5e6da;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 5, 0.94);
  backdrop-filter: blur(6px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open { display: flex; }

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox-media {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 70vh;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 90vw;
  max-height: 70vh;
  border-radius: 14px;
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 60px rgba(217, 122, 99, 0.25);
  display: block;
}

/* Caption / description panel shown below the media in the lightbox */
.lightbox-info {
  max-width: 640px;
  width: 100%;
  text-align: center;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 26px;
  backdrop-filter: blur(8px);
}

.lightbox-caption {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  color: var(--coral-soft);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.lightbox-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover { color: var(--coral-soft); border-color: var(--coral-soft); }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 36px 20px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.88rem;
}

.site-footer .accent-script { font-size: 1.1rem; display: block; margin-bottom: 6px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .cta-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .story-card { padding: 30px 24px; }
  #navMenu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(31, 21, 18, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 14px 24px 20px;
    gap: 6px;
  }
  #navMenu.open { display: flex; }
  #navMenu ul { flex-direction: column; gap: 4px; }
  #navMenu a { display: block; }
  .main-nav { position: static; }
}
