/* ============================================================
   Beach Bar Pajol — plaža Grčevo, Rijeka
   Vlastiti dizajn: retro-adriatik paleta, serifni akcenti,
   mobile-first, bez vanjskih ovisnosti.
   ============================================================ */

:root {
  --sea-950: #08242c;
  --sea-900: #0b2e38;
  --sea-800: #113e4a;
  --sea-700: #17525f;
  --sea-500: #2a7583;
  --foam: #eef5f0;
  --sand: #f7f0df;
  --sand-deep: #eadbb9;
  --coral: #e2694a;
  --coral-dark: #c95334;
  --sun: #f2b63d;
  --ink: #12303a;
  --muted: #5b7077;
  --white: #ffffff;
  --font-display: Georgia, "Times New Roman", "Noto Serif", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 45px rgba(8, 36, 44, 0.16);
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--sea-900); color: var(--sand); padding: 10px 16px;
  border-radius: 0 0 10px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---------- tipografija ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--coral);
  margin-bottom: 14px;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; background: currentColor;
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  font-weight: 700;
  text-wrap: balance;
}
h2 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); letter-spacing: -0.01em; }
h2 em { font-style: italic; color: var(--coral); }
h3 { font-size: 1.25rem; }

.section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-sub { margin-top: 14px; color: var(--muted); font-size: 1.02rem; }
.lead { font-size: 1.12rem; color: var(--sea-800); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
  background: transparent;
}
.site-header.scrolled {
  background: rgba(11, 46, 56, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.header-inner {
  width: min(1200px, 100% - 32px); margin-inline: auto;
  height: 100%; display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--sand); }
.brand-sun {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--sun), var(--coral) 70%);
  box-shadow: 0 0 0 4px rgba(242, 182, 61, 0.25);
  flex: none;
}
.brand-text {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.brand-dot { color: var(--sun); }

.site-nav { display: none; }
.site-nav a {
  color: rgba(238, 245, 240, 0.85); text-decoration: none;
  font-size: 0.92rem; font-weight: 600; padding: 8px 2px;
  border-bottom: 2px solid transparent; transition: color 0.25s, border-color 0.25s;
}
.site-nav a:hover { color: var(--sun); border-color: var(--sun); }

.header-call {
  margin-left: auto; color: var(--sand); text-decoration: none;
  font-weight: 700; font-size: 0.95rem; white-space: nowrap;
  border: 1.5px solid rgba(238, 245, 240, 0.5); border-radius: 999px;
  padding: 8px 16px; transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.header-call:hover { background: var(--sun); color: var(--sea-900); border-color: var(--sun); }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 10px 6px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--sand); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobilni izbornik */
.site-nav.open {
  display: flex; flex-direction: column; gap: 4px;
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: rgba(11, 46, 56, 0.97); padding: 18px 24px 24px;
  border-bottom: 1px solid rgba(238, 245, 240, 0.15);
  animation: navIn 0.3s var(--ease);
}
.site-nav.open a { padding: 10px 0; font-size: 1.05rem; }
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--sand); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  z-index: -2;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 36, 44, 0.55) 0%, rgba(8, 36, 44, 0.12) 38%, rgba(8, 36, 44, 0.28) 62%, rgba(8, 36, 44, 0.88) 100%);
}
.hero-sun {
  position: absolute; top: 14vh; right: 6vw; z-index: 0;
  width: clamp(110px, 16vw, 210px); aspect-ratio: 1; border-radius: 50%;
  border: 2px dashed rgba(242, 182, 61, 0.7);
  animation: spin 40s linear infinite;
  pointer-events: none;
}
.hero-sun::after {
  content: ""; position: absolute; inset: 22%;
  border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(242,182,61,0.9), rgba(226,105,74,0.75));
  opacity: 0.85;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-content {
  position: relative; z-index: 2;
  width: min(1120px, 100% - 40px); margin-inline: auto;
  padding: calc(var(--header-h) + 30px) 0 46px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--sun); background: rgba(8, 36, 44, 0.5); backdrop-filter: blur(4px);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.hero-title {
  font-size: clamp(2.9rem, 10vw, 6.4rem);
  letter-spacing: -0.02em; line-height: 0.98;
  text-shadow: 0 6px 30px rgba(8, 36, 44, 0.55);
  max-width: 780px;
}
.hero-title em { color: var(--sun); font-style: italic; }
.hero-tagline {
  margin-top: 18px; max-width: 520px;
  font-size: clamp(1.02rem, 2.4vw, 1.25rem); color: rgba(238, 245, 240, 0.94);
  text-shadow: 0 2px 12px rgba(8, 36, 44, 0.6);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 26px; border-radius: 999px; font-size: 0.98rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--sun); color: var(--sea-900); box-shadow: 0 10px 26px rgba(242, 182, 61, 0.4); }
.btn-sun:hover { background: #f7c45d; }
.btn-ghost { border-color: rgba(238, 245, 240, 0.65); color: var(--sand); background: rgba(8, 36, 44, 0.25); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: var(--sand); color: var(--sea-900); }
.btn-sea { background: var(--sea-700); color: var(--sand); }
.btn-sea:hover { background: var(--sea-800); }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: var(--coral-dark); }
.btn-ghost-dark { border-color: rgba(238, 245, 240, 0.4); color: var(--foam); }
.btn-ghost-dark:hover { background: var(--foam); color: var(--sea-900); }

.hero-facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 34px;
}
.hero-facts li {
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(8, 36, 44, 0.55); backdrop-filter: blur(6px);
  border: 1px solid rgba(238, 245, 240, 0.22);
  border-radius: var(--radius-sm); padding: 10px 18px;
}
.fact-label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sun); }
.fact-value { font-weight: 700; font-size: 0.98rem; }
.fact-value a { color: inherit; text-decoration: none; }
.fact-value a:hover { color: var(--sun); }

.hero-scroll {
  position: absolute; right: 26px; bottom: 26px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(238, 245, 240, 0.5); display: grid; place-items: center;
  animation: bob 2.2s ease-in-out infinite;
}
.hero-scroll span {
  width: 8px; height: 8px; border-right: 2px solid var(--sand); border-bottom: 2px solid var(--sand);
  transform: rotate(45deg) translateY(-3px);
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------- ticker ---------- */
.ticker {
  background: var(--sea-900); color: var(--sun);
  overflow: hidden; padding: 12px 0; border-block: 1px solid rgba(242, 182, 61, 0.25);
}
.ticker-track { display: flex; width: max-content; animation: tick 30s linear infinite; }
.ticker-track span {
  font-family: var(--font-display); font-style: italic; font-size: 1.02rem;
  letter-spacing: 0.08em; white-space: nowrap; padding-right: 8px;
}
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- o nama ---------- */
.about { background: var(--sand); }
.about-grid { display: grid; gap: 46px; align-items: center; }
.about-text h2 { margin-bottom: 20px; }
.about-text p + p { margin-top: 14px; }
.about-points { list-style: none; margin: 22px 0 30px; display: grid; gap: 12px; }
.about-points li {
  display: flex; gap: 12px; align-items: baseline;
  background: var(--white); border-radius: var(--radius-sm);
  padding: 13px 18px; box-shadow: 0 6px 18px rgba(8, 36, 44, 0.08);
  font-size: 0.97rem;
}
.about-points li::before {
  content: "☀"; color: var(--coral); font-size: 1rem; flex: none;
}
.about-figure { position: relative; max-width: 520px; margin-inline: auto; }
.about-figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
}
.about-figure figcaption {
  margin-top: 12px; font-size: 0.85rem; color: var(--muted); text-align: center;
}

.badge-rotate {
  position: absolute; top: -30px; left: -24px;
  width: 118px; height: 118px;
  animation: spin 26s linear infinite;
}
.badge-rotate svg { width: 100%; height: 100%; }
.badge-rotate text {
  font-family: var(--font-body); font-size: 9.4px; font-weight: 700;
  letter-spacing: 0.14em; fill: var(--sea-800); text-transform: uppercase;
}
.badge-center {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  color: var(--coral);
}

/* ---------- ponuda ---------- */
.offer { background: linear-gradient(180deg, var(--foam) 0%, #e3efe9 100%); }
.offer-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.offer-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 26px; position: relative; overflow: hidden;
  box-shadow: 0 10px 30px rgba(8, 36, 44, 0.07);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  border: 1px solid rgba(23, 82, 95, 0.08);
}
.offer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.offer-num {
  position: absolute; top: 16px; right: 20px;
  font-family: var(--font-display); font-style: italic; font-size: 2.6rem;
  color: rgba(23, 82, 95, 0.14); line-height: 1;
}
.offer-icon { width: 46px; height: 46px; color: var(--coral); margin-bottom: 16px; }
.offer-card h3 { margin-bottom: 8px; }
.offer-card p { color: var(--muted); font-size: 0.97rem; }
.offer-card strong { color: var(--sea-800); }
.offer-note {
  margin-top: 30px; text-align: center; color: var(--sea-800);
  font-size: 0.98rem;
}
.offer-note strong { color: var(--coral); }

/* ---------- glazba ---------- */
.music { background: var(--sea-900); color: var(--foam); position: relative; overflow: hidden; }
.music::before {
  content: ""; position: absolute; top: -120px; right: -120px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 182, 61, 0.14), transparent 65%);
}
.music-inner { display: grid; gap: 48px; align-items: center; }
.music-text .kicker { color: var(--sun); }
.music-text h2 { color: var(--foam); margin-bottom: 20px; }
.music-text h2 em { color: var(--sun); }
.music-text .lead { color: rgba(238, 245, 240, 0.92); }
.music-text p + p { margin-top: 14px; color: rgba(238, 245, 240, 0.78); }
.music-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.music-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 0.98rem; }
.music-line {
  width: 34px; height: 2px; background: var(--coral); border-radius: 2px; flex: none;
  box-shadow: 0 6px 0 -1px rgba(226, 105, 74, 0.35), 0 12px 0 -1px rgba(226, 105, 74, 0.2);
}
.music-stage { position: relative; padding: 40px 0 20px; }
.stage-line {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--coral), var(--sun), var(--coral));
  box-shadow: 0 10px 40px rgba(242, 182, 61, 0.4);
}
.stage-dots { display: flex; justify-content: space-between; margin-top: 18px; }
.stage-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(238, 245, 240, 0.35);
}
.stage-dots span:nth-child(odd) { background: var(--sun); }
.stage-caption {
  margin-top: 16px; text-align: center; font-size: 0.78rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: rgba(238, 245, 240, 0.55);
}
.stage-sun {
  width: 74px; height: 74px; margin: 0 auto 26px; border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, var(--sun), var(--coral) 72%);
  animation: pulse 3.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 182, 61, 0.5); } 50% { box-shadow: 0 0 0 22px rgba(242, 182, 61, 0); } }

/* ---------- stolni tenis ---------- */
.pingpong { background: var(--foam); }
.pp-grid { display: grid; gap: 48px; align-items: center; }
.pp-text .kicker { color: var(--sea-500); }
.pp-text h2 { margin-bottom: 20px; }
.pp-text h2 em { color: var(--sea-500); }
.pp-text .lead { color: var(--sea-800); }
.pp-text p + p { margin-top: 14px; color: var(--muted); }
.pp-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.pp-paddles {
  position: relative; min-height: 300px; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(23, 82, 95, 0.08), transparent 70%);
}
.paddle {
  position: absolute; display: flex; flex-direction: column; align-items: center;
  filter: drop-shadow(0 14px 18px rgba(8, 36, 44, 0.25));
}
.paddle-blade {
  width: 128px; height: 150px; border-radius: 46% 46% 44% 44%;
}
.paddle-handle { width: 26px; height: 58px; border-radius: 0 0 8px 8px; margin-top: -2px; }
.paddle-back { transform: rotate(-22deg) translate(-60px, 34px); }
.paddle-back .paddle-blade { background: linear-gradient(160deg, #2b8a97, #17525f); }
.paddle-back .paddle-handle { background: #3f2b1d; }
.paddle-front { transform: rotate(18deg) translate(60px, -6px); }
.paddle-front .paddle-blade { background: linear-gradient(160deg, var(--coral), #b84a2e); }
.paddle-front .paddle-handle { background: #5c3a25; }
.pp-ball {
  position: absolute; width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--sun) 60%, #d99a1f);
  z-index: 3;
  animation: ball 4.4s ease-in-out infinite;
}
@keyframes ball {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-34px, -64px); }
  50% { transform: translate(10px, -118px); }
  75% { transform: translate(46px, -52px); }
}
.pp-word {
  position: absolute; bottom: 4px; left: 0; right: 0; text-align: center;
  font-family: var(--font-display); font-style: italic; font-size: 1.5rem;
  letter-spacing: 0.42em; color: rgba(23, 82, 95, 0.35);
}

/* ---------- galerija ---------- */
.gallery { background: var(--sand); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.g-item {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  cursor: zoom-in; aspect-ratio: 3 / 4;
}
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px;
  font-size: 0.82rem; font-weight: 600; color: var(--sand);
  background: linear-gradient(180deg, transparent, rgba(8, 36, 44, 0.75));
  opacity: 0; transition: opacity 0.3s;
}
.g-item:hover figcaption { opacity: 1; }
.g-w2 { grid-column: span 2; aspect-ratio: 16 / 10; }
.g-tall { aspect-ratio: 3 / 4; }

/* ---------- recenzije ---------- */
.reviews { background: linear-gradient(180deg, #eef5f0 0%, #f7f0df 100%); }
.review-score {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px;
  background: var(--sea-900); color: var(--foam);
  border-radius: var(--radius); padding: 22px 28px; margin-bottom: 30px;
}
.score-big { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--sun); line-height: 1; }
.score-stars { color: var(--sun); font-size: 1.35rem; letter-spacing: 2px; }
.star-half { opacity: 0.55; }
.score-meta { color: rgba(238, 245, 240, 0.75); font-size: 0.92rem; }

.review-scroll {
  display: grid; gap: 16px;
  grid-auto-flow: column; grid-auto-columns: min(86%, 360px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 18px; margin-inline: -20px; padding-inline: 20px;
  scrollbar-width: thin; scrollbar-color: var(--coral) transparent;
}
.review-card {
  scroll-snap-align: center;
  background: var(--white); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 10px 30px rgba(8, 36, 44, 0.08);
  border: 1px solid rgba(23, 82, 95, 0.08);
}
.review-text { font-size: 0.98rem; color: var(--ink); }
.review-meta { margin-top: auto; display: grid; gap: 2px; }
.review-name { font-weight: 800; color: var(--sea-800); font-size: 0.95rem; }
.review-src { font-size: 0.78rem; color: var(--muted); }
.review-src a { color: var(--coral); text-decoration: none; }
.review-src a:hover { text-decoration: underline; }
.review-stars { color: var(--sun); letter-spacing: 2px; }
.reviews-note { margin-top: 18px; font-size: 0.82rem; color: var(--muted); }

/* ---------- kontakt ---------- */
.contact { background: var(--sand); }
.contact-grid { display: grid; gap: 34px; }
.contact-info { display: grid; gap: 14px; }
.info-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius-sm);
  padding: 18px 20px; text-decoration: none;
  box-shadow: 0 6px 20px rgba(8, 36, 44, 0.07);
  border: 1px solid rgba(23, 82, 95, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
a.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-ico {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: var(--sea-900); color: var(--sun);
  display: grid; place-items: center; font-size: 1.15rem;
}
.info-body { display: grid; gap: 3px; }
.info-body strong { color: var(--sea-800); font-size: 0.98rem; }
.info-body span { color: var(--muted); font-size: 0.93rem; }
.info-link { color: var(--coral) !important; font-weight: 700; font-size: 0.85rem !important; text-decoration: none; }
.info-link:hover { text-decoration: underline; }

.contact-right { display: grid; gap: 20px; }
.contact-form {
  background: var(--sea-900); color: var(--foam);
  border-radius: var(--radius); padding: 28px 24px;
}
.contact-form h3 { color: var(--sun); margin-bottom: 8px; }
.form-note { font-size: 0.85rem; color: rgba(238, 245, 240, 0.75); margin-bottom: 18px; }
.contact-form label {
  display: block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--sun);
  margin: 14px 0 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%; background: rgba(238, 245, 240, 0.08);
  border: 1px solid rgba(238, 245, 240, 0.25); border-radius: 10px;
  color: var(--foam); padding: 12px 14px; font: inherit; font-size: 0.95rem;
  transition: border-color 0.25s, background 0.25s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--sun); background: rgba(238, 245, 240, 0.13);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(238, 245, 240, 0.4); }
.contact-form .btn { margin-top: 20px; width: 100%; }
.form-fallback { margin-top: 14px; font-size: 0.85rem; color: rgba(238, 245, 240, 0.7); text-align: center; }
.form-fallback a { color: var(--sun); }

.map-wrap {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(23, 82, 95, 0.12);
}
.map-wrap iframe { width: 100%; height: 300px; border: 0; display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--sea-950); color: rgba(238, 245, 240, 0.8); }
.footer-grid {
  display: grid; gap: 30px; padding: 54px 0 36px;
}
.footer-brand .brand-text { color: var(--foam); }
.footer-brand .brand { margin-bottom: 2px; }
.footer-brand p { margin-top: 14px; font-size: 0.92rem; max-width: 320px; color: rgba(238, 245, 240, 0.65); }
.footer-title {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sun); margin-bottom: 14px;
}
.footer-nav, .footer-links, .footer-contact { display: grid; gap: 9px; align-content: start; }
.footer-nav a, .footer-links a, .footer-contact a {
  color: rgba(238, 245, 240, 0.75); text-decoration: none; font-size: 0.94rem;
  width: fit-content; transition: color 0.2s;
}
.footer-nav a:hover, .footer-links a:hover, .footer-contact a:hover { color: var(--sun); }
.footer-hours { font-size: 0.9rem; color: rgba(238, 245, 240, 0.6); margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(238, 245, 240, 0.12);
  padding: 18px 0; font-size: 0.82rem; color: rgba(238, 245, 240, 0.5);
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6, 24, 30, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox[hidden] { display: none; }
.lb-figure { max-width: min(1000px, 92vw); text-align: center; }
.lb-figure img {
  max-width: 100%; max-height: 76vh; margin-inline: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}
.lb-figure figcaption { margin-top: 14px; color: var(--sand); font-size: 0.92rem; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; z-index: 2; border: 0; border-radius: 50%;
  background: rgba(238, 245, 240, 0.12); color: var(--sand);
  width: 48px; height: 48px; font-size: 1.4rem; line-height: 1;
  display: grid; place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--sun); color: var(--sea-900); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.08); }

/* ---------- to top ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--coral); color: var(--white); font-size: 1.15rem;
  box-shadow: 0 10px 26px rgba(201, 83, 52, 0.45);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--coral-dark); }

/* ---------- reveal animacije ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- breakpoints ---------- */
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .g-w2 { grid-column: span 2; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
  .site-nav { display: flex; gap: 22px; margin-left: 26px; }
  .nav-toggle { display: none; }
  .site-nav.open { position: static; display: flex; flex-direction: row; gap: 22px; background: none; padding: 0; border: 0; animation: none; }
  .hero-title { max-width: 900px; }
  .about-grid { grid-template-columns: 1.05fr 0.95fr; }
  .offer-grid { grid-template-columns: repeat(4, 1fr); }
  .music-inner { grid-template-columns: 1.1fr 0.9fr; }
  .pp-grid { grid-template-columns: 0.9fr 1.1fr; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
  .g-item { aspect-ratio: auto; height: 100%; }
  .g-w2 { grid-column: span 2; grid-row: span 2; }
  .g-tall { grid-row: span 2; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .map-wrap iframe { height: 380px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .section { padding: 110px 0; }
}

@media (min-width: 1200px) {
  .gallery-grid { grid-auto-rows: 270px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
