/* ==========================================================================
   Elvinkovo — shared stylesheet
   Mobile-first. Breakpoints: 700px (tablet), 1100px (desktop).
   ========================================================================== */

:root {
  --cream: #fdf8ee;
  --cream-deep: #f7ecd8;
  --white: #ffffff;
  --ink: #2f2a22;
  --ink-soft: #5b5346;
  --teal: #1a6b6e;
  --teal-dark: #124d4f;
  --teal-tint: #e4f2f1;
  --coral: #ff6b4a;
  --coral-dark: #e2532f;
  --yellow: #ffcb3d;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(47, 42, 34, 0.08);
  --shadow-md: 0 10px 30px rgba(18, 77, 79, 0.12);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Nunito Sans", sans-serif;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--teal-dark);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

a {
  color: var(--teal);
  text-decoration: none;
}
a:hover, a:focus-visible { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--coral-dark);
  background: #fff0ea;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section {
  padding: 56px 0;
}
.section--tint {
  background: var(--teal-tint);
}
.section--deep {
  background: var(--cream-deep);
}
.section-head {
  max-width: 680px;
  margin: 0 0 32px;
}
.section-head p {
  color: var(--ink-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--coral-dark); }

.btn--outline {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal-dark);
}
.btn--outline:hover { background: var(--teal); color: #fff; }

.btn--light {
  background: #fff;
  color: var(--teal-dark);
}
.btn--light:hover { background: var(--yellow); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

/* Badge (availability pill) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2c8c46;
  flex: none;
}

/* ============================= Header ================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 238, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(26, 107, 110, 0.12);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--teal-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(26, 107, 110, 0.12);
  box-shadow: var(--shadow-sm);
  padding: 10px 20px 20px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.site-nav.is-open { display: flex; }

.site-nav a {
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  padding: 12px 6px;
  border-bottom: 1px solid rgba(47, 42, 34, 0.08);
}
.site-nav a:hover { color: var(--teal); text-decoration: none; }

.lang-switch {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.lang-switch a {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--teal);
  color: var(--teal-dark);
}
.lang-switch a.is-active {
  background: var(--teal);
  color: #fff;
}
.lang-switch a:hover { text-decoration: none; background: var(--teal-tint); }
.lang-switch a.is-active:hover { background: var(--teal-dark); }

.nav-cta {
  display: none;
}

/* ============================== Hero =================================== */
.hero {
  padding: 48px 0 56px;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-copy h1 {
  font-size: 2.1rem;
}
.hero-tagline {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--coral-dark);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.hero-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--teal-dark);
  margin: 14px 0 18px;
}
.hero-meta span { white-space: nowrap; }
.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ============================ Highlight grid =========================== */
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.highlight-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.highlight-card img {
  width: 34px;
  height: 34px;
  flex: none;
  margin-top: 2px;
}
.highlight-card strong {
  font-family: "Poppins", sans-serif;
  color: var(--teal-dark);
  display: block;
  margin-bottom: 2px;
}

/* ============================ Two-col content =========================== */
.split {
  display: grid;
  gap: 28px;
  align-items: center;
}
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.split-media--reverse { order: -1; }

/* ============================ Language cards ============================ */
.lang-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.lang-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: center;
}
.lang-card img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  flex: none;
}
.lang-card h3 { margin-bottom: 6px; }
.lang-card p { color: var(--ink-soft); font-size: 0.96rem; }

/* ============================== Team ==================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.team-avatar {
  width: 62px;
  height: 62px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}
.team-card p { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--teal-dark); }

/* ============================== Location ================================ */
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: none;
  width: 100%;
  height: 320px;
}
.address-block {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: var(--teal-dark);
  margin-top: 4px;
}
.address-block a { color: var(--teal-dark); }

/* ============================== CTA band ================================ */
.cta-band {
  background: var(--teal);
  color: #fff;
  text-align: center;
}
.cta-band h2, .cta-band .eyebrow { color: #fff; }
.cta-band .eyebrow { background: rgba(255,255,255,0.16); color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); }
.cta-band .section-head { max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-band .contact-line {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  margin-top: 18px;
}
.cta-band .contact-line a { color: #fff; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn--outline-invert {
  border-color: #fff;
  color: #fff;
}
.cta-band .btn--outline-invert:hover {
  background: #fff;
  color: var(--teal-dark);
}

/* ============================== Footer =================================== */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.88);
  padding: 44px 0 24px;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.footer-logo-chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.94);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}
.footer-brand img { height: 34px; display: block; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.site-footer a { color: rgba(255,255,255,0.88); }
.site-footer a:hover { color: var(--yellow); }
.footer-contact li, .footer-legal p { margin-bottom: 8px; list-style: none; padding: 0; }
.footer-contact ul { margin: 0; padding: 0; }
.footer-legal p { color: rgba(255,255,255,0.65); font-size: 0.82rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom .lang-switch a { border-color: rgba(255,255,255,0.4); color: #fff; }
.footer-bottom .lang-switch a.is-active { background: var(--coral); border-color: var(--coral); }

/* ============================== Contact form ============================= */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #d8cfba;
  background: var(--cream);
  color: var(--ink);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
}
.form-row textarea { resize: vertical; min-height: 130px; }

/* honeypot field — hidden from sighted users, still reachable by bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-banner {
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.94rem;
  display: none;
}
.form-banner.is-visible { display: block; }
.form-banner--success {
  background: #e2f3e4;
  color: #1e6b2e;
}
.form-banner--error {
  background: #fde6e1;
  color: #a4341a;
}

.contact-info-card {
  background: var(--teal-tint);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.contact-info-card h3 { margin-bottom: 10px; }
.contact-info-card ul { list-style: none; margin: 16px 0 0; padding: 0; }
.contact-info-card li {
  margin-bottom: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--teal-dark);
}

/* ============================== Language picker (root) =================== */
.picker-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 60%, var(--teal-tint) 100%);
}
.picker-card {
  max-width: 900px;
  width: 100%;
  text-align: center;
}
.picker-card img.picker-logo {
  height: 56px;
  margin: 0 auto 28px;
}
.picker-card h1 { font-size: 1.5rem; margin-bottom: 8px; }
.picker-card > p { color: var(--ink-soft); margin-bottom: 32px; }
.picker-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.picker-option {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.picker-option:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.picker-option img { width: 96px; height: 96px; object-fit: contain; }
.picker-option strong {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: var(--teal-dark);
}
.picker-option span { color: var(--ink-soft); font-size: 0.9rem; }

/* ================================================================
   Tablet — 700px+
   ================================================================ */
@media (min-width: 700px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.9rem; }

  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .picker-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }

  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split-media--reverse { order: 1; }
}

/* ================================================================
   Desktop — 1100px+
   ================================================================ */
@media (min-width: 1100px) {
  .site-header .container { min-height: 84px; }

  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 14px;
    flex: 1 1 auto;
    justify-content: flex-end;
  }
  .site-nav a {
    border-bottom: none;
    padding: 6px 2px;
    font-size: 0.88rem;
    white-space: nowrap;
  }
  .lang-switch { margin-top: 0; margin-left: 6px; flex: none; }

  .nav-cta { display: inline-flex; white-space: nowrap; flex: none; margin-left: 14px; }

  .hero .container {
    flex-direction: row;
    align-items: center;
  }
  .hero-copy { flex: 1 1 50%; }
  .hero-visual { flex: 1 1 46%; height: 380px; }
  .hero-copy h1 { font-size: 2.9rem; }

  .highlight-grid { grid-template-columns: repeat(4, 1fr); }

  .lang-cards { grid-template-columns: repeat(2, 1fr); }

  .contact-wrap { grid-template-columns: 1.3fr 1fr; }

  .picker-card h1 { font-size: 1.9rem; }
}

/* ============================== Photo grids ============================= */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.photo-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.photo-grid--wide img {
  height: 190px;
}

/* ============================== Gallery page ============================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.gallery-item {
  display: block;
  padding: 0;
  border: none;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-empty,
.gallery-status {
  color: var(--ink-soft);
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px 0;
}

/* ============================== Lightbox ================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 20, 20, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }

@media (min-width: 700px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
