/* The SeaMiLeS webshop's look, written by hand: same palette (tailwind.config.js in ../SeaMiLeS),
   same fonts, same water-ripples banner and band. If the shop's colours change, copy them here. */

@font-face {
  font-family: "BeachVibes";
  src: url("/fonts/BeachVibes.woff2") format("woff2");
  font-display: swap;
}
/* BeachVibes has no č ć đ and a few symbols; Caveat Brush fills only those (as on the shop). */
@font-face {
  font-family: "Caveat Brush";
  src: url("/fonts/caveat-brush-latin.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Caveat Brush";
  src: url("/fonts/caveat-brush-latin-ext.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --golden-500: #F2B350;
  --sand-50: #FDF0D5;
  --sand-100: #F7DFBC;
  --sand-200: #F0D5A8;
  --sand-300: #E8C890;
  --teal-600: #467A73;
  --teal-700: #365E58;
  --ink: #1B3D3E;
  --ink-soft: rgba(27, 61, 62, 0.75);
  --font: "BeachVibes", "Caveat Brush", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--sand-100);
  padding-bottom: 76px; /* room for the sticky call bar on phones */
}

/* BeachVibes has one weight; anything bold would be faked by the browser. */
h1, h2, h3, strong, summary { font-weight: 400; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 1rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
p { margin: 0 0 1rem; }

a { color: var(--teal-700); }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: 48rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.big { font-size: 1.125rem; line-height: 1.65; color: var(--ink-soft); }

section { padding: 2rem 0; }
.band-light { background: var(--sand-50); }
.band-dark { background: var(--sand-200); }
.band-dark p { color: var(--ink-soft); }

/* Header floats over the banner photo, like the shop's overlay nav */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  max-width: 80rem;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
}

.logo img { height: 2rem; width: auto; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.55)); }

.nav { display: flex; align-items: center; gap: 1rem; }

.lang-switch { display: flex; gap: 0.25rem; }

.lang-switch a {
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
  padding: 0.25rem 0.4rem;
  opacity: 0.75;
}

.lang-switch a[aria-current] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  background: var(--teal-600);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.15rem;
  text-shadow: none;
}

.header-call svg { width: 1rem; height: 1rem; fill: currentColor; }

/* Water-ripples banner, as on the shop's Contact and Shop pages */
.banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 11rem;
  padding: 6rem 1rem 2.5rem;
}

.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner .cover { object-position: 50% 46%; }
.scrim { position: absolute; inset: 0; background: rgba(27, 61, 62, 0.35); }

.banner-text { position: relative; text-align: center; max-width: 48rem; color: #fff; }

/* The tagline sits inside the h1 so the heading carries the service words, not only the brand. */
.h1-sub {
  display: block;
  margin-top: 0.75rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.banner h1 { font-size: 2.25rem; margin-bottom: 1rem; text-shadow: 0 4px 8px rgba(0, 0, 0, 0.35); }

.banner .lead { font-size: 1rem; line-height: 1.65; opacity: 0.9; margin: 0; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }

/* Call buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-600);
  color: #fff;
  font-size: 1.25rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
}

.btn:hover { background: var(--teal-700); }
.btn svg { width: 1.25rem; height: 1.25rem; fill: currentColor; flex: none; }

.btn-light { background: var(--sand-50); color: var(--ink); }
.btn-light:hover { background: #fff; }

.intro .big { margin-bottom: 2rem; }
.note { margin-top: 0.75rem; color: var(--ink-soft); }

.wave { display: block; width: 100%; height: auto; fill: var(--sand-50); margin-bottom: -1px; }

/* Grids and cards */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }

.card {
  background: var(--sand-100);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.card-alt { background: var(--sand-50); }
.card p { margin: 0; color: var(--ink-soft); line-height: 1.65; }

.subhead { font-size: 1.875rem; margin: 2rem 0 1rem; }

.own { max-width: 56rem; margin-bottom: 3rem; }

.photo { width: 100%; object-fit: cover; }
.square { aspect-ratio: 1; border-radius: 1rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
.tall { aspect-ratio: 3 / 4; border-radius: 0.75rem; }

.examples { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); margin-top: 1.5rem; }

/* FAQ */
details { border-bottom: 1px solid var(--sand-300); padding: 1rem 0; }
summary { cursor: pointer; font-size: 1.25rem; }
details p { margin: 0.5rem 0 0; color: var(--ink-soft); line-height: 1.65; }

/* Closing call band: the shop's water photo under a teal tint */
.cta { position: relative; overflow: hidden; padding: 4rem 1rem; text-align: center; }
.cta .cover { object-position: 50% 28%; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(54, 94, 88, 0.8); z-index: 1; }
.cta-text { position: relative; z-index: 2; max-width: 48rem; margin: 0 auto; color: #fff; }
.cta h2 { font-size: 1.875rem; margin-bottom: 0.75rem; }
.cta p { font-size: 1.125rem; opacity: 0.9; margin-bottom: 2rem; }

/* Footer, teal like the shop's */
.site-footer { background: var(--teal-700); color: var(--sand-50); padding: 2.5rem 0; }
.site-footer a { color: var(--sand-50); }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0.75rem 0 0; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; font-size: 1.5rem; }
.footer-brand img { height: 1.75rem; width: auto; }
.footer-brand .wordmark { height: 1.25rem; }

/* Sticky call bar, phones only */
.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--sand-50);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 20;
}

.call-bar .btn { flex: 1; justify-content: center; }

a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--sand-50);
  border-radius: 2px;
}

@media (max-width: 559px) {
  .header-call span { display: none; }
  .logo { font-size: 1.25rem; }
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .examples { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .call-bar { display: none; }
  section { padding: 2.5rem 0; }
  h2 { font-size: 3rem; }
  .banner { min-height: 18rem; }
  .banner h1 { font-size: 3.75rem; }
  .banner .lead { font-size: 1.125rem; }
  .h1-sub { font-size: 1.125rem; }
  .cta { padding: 5rem 1rem; }
  .cta h2 { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .banner { min-height: 28rem; }
  .examples { grid-template-columns: repeat(6, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}
