/* Gallerie143 - shared design system + chrome (orchestrator-owned). */
/* Fonts are loaded per-page via a <link> tag in each page <head>. */

:root {
  --mint: #8cefc5;
  --mint-2: #74e6b3;
  --mint-soft: #c8f7e3;
  --mint-tint: #b9f3d8;
  --ink: #151515;
  --near-black: #0e0e0e;
  --body: #575757;
  --muted: #7d7d7d;
  --line: #e6e6e6;
  --white: #ffffff;
  --footer-bg: #d8d8d8;
  --dark: #1c1c1c;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.10);
  --radius: 16px;
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 700;
}

p { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: none;
  color: var(--ink);
  background: transparent;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 18px;
  font-weight: 500;
}

.section { padding: 84px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--ink);
  background: var(--mint);
  border: none;
  border-radius: 999px;
  padding: 14px 30px;
  cursor: pointer;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
  text-align: center;
}

.btn:hover {
  background: var(--mint-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(116, 230, 179, 0.45);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--ink);
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header .logo img { width: 200px; height: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0 auto;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: #3b3b3b;
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}

.main-nav a:hover { color: var(--ink); }

.main-nav a.active { color: var(--ink); font-weight: 600; }

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--mint-2);
}

.btn-book { padding: 12px 26px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: .3s;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.5);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero .eyebrow {
  color: var(--mint);
  border: none;
  background: transparent;
  letter-spacing: .18em;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  max-width: 760px;
  margin: 0 auto .5rem;
}
.hero p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.02rem;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Inner page hero band ---------- */
.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.page-hero .hero-bg { z-index: 0; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.48);
  z-index: 1;
}
.page-hero h1 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0;
}

/* ---------- About (home + about page) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.about-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.about-media .img-a {
  border-radius: 220px 220px 12px 12px;
  overflow: hidden;
  aspect-ratio: 278 / 567;
}
.about-media .img-b {
  border-radius: 12px 12px 220px 220px;
  overflow: hidden;
  aspect-ratio: 256 / 408;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.stat-badge {
  background: var(--mint);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  color: var(--ink);
  align-self: center;
}
.stat-badge .num { font-family: var(--serif); font-size: 2.3rem; font-weight: 800; line-height: 1; }
.stat-badge .lbl { font-size: .9rem; margin-top: 6px; }

/* ---------- Services band + cards ---------- */
.services-section {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.services-section .services-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.services-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 13, 0.68);
  z-index: 1;
}
.services-section .container { position: relative; z-index: 2; }
.services-section .section-head h2 { color: #fff; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.svc-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  color: var(--body);
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(0,0,0,.22); }
.svc-media { position: relative; aspect-ratio: 348 / 216; }
.svc-media img.photo { width: 100%; height: 100%; object-fit: cover; }
.svc-icon {
  position: absolute;
  left: 20px; bottom: -24px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--mint);
  display: flex; align-items: center; justify-content: center;
}
.svc-icon img { width: 26px; height: 26px; }
.svc-body { padding: 36px 22px 26px; }
.svc-body h5 { font-size: 1.15rem; margin-bottom: .5rem; }
.svc-body p { font-size: .92rem; margin: 0; }
.svc-card.no-desc .svc-body { padding-bottom: 22px; }

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.why-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.why-media .img-a { border-radius: 12px 12px 200px 200px; overflow: hidden; aspect-ratio: 256/391; }
.why-media .img-b { border-radius: 200px 200px 12px 12px; overflow: hidden; aspect-ratio: 278/539; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.why-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: var(--ink);
}
.why-list li .chk {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--mint-soft);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.why-list li .chk img { width: 14px; height: 14px; }

/* ---------- Testimonials band ---------- */
.testi {
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.testi .testi-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.testi::after { content: ""; position: absolute; inset: 0; background: rgba(18,16,14,.62); z-index: 1; }
.testi .container { position: relative; z-index: 2; max-width: 760px; }
.testi h2 { color: #fff; }
.testi .stars { width: 120px; margin: 8px auto 20px; }
.testi blockquote { font-size: 1rem; color: rgba(255,255,255,.92); margin: 0 0 18px; }
.testi .who { font-weight: 600; color: #fff; }

/* Testimonial slider: slides stack in one grid cell (so the section sizes to the
   tallest quote) and cross-fade; arrows + dots switch the active slide. */
.testi-slider { position: relative; margin-top: 8px; }
.testi-track { display: grid; }
.testi-slide {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease;
}
.testi-slide.is-active { opacity: 1; visibility: visible; }
.testi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
  border: 0;
  padding: 0 10px;
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: color .2s ease;
}
.testi-arrow:hover, .testi-arrow:focus-visible { color: #fff; }
.testi-arrow.prev { left: -6px; }
.testi-arrow.next { right: -6px; }
.testi .dots { margin-top: 26px; display: flex; gap: 8px; justify-content: center; }
.testi .dots button {
  width: 8px; height: 8px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .2s ease;
}
.testi .dots button.on { background: var(--mint); }
@media (max-width: 600px) {
  .testi-arrow.prev { left: -14px; }
  .testi-arrow.next { right: -14px; }
}

/* ---------- Home gallery preview ---------- */
.gallery-preview .gp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-preview .gp-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
}

/* ---------- Video / CTA band ---------- */
.cta-band {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.cta-band .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(16,15,14,.6); z-index: 1; }
.cta-band .container { position: relative; z-index: 2; max-width: 620px; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.cta-band p { color: rgba(255,255,255,.9); }

/* ---------- Contact / forms ---------- */
.contact-section .contact-head { text-align: center; margin-bottom: 40px; }
.contact-form { max-width: 940px; margin: 0 auto; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
}
.field { display: flex; flex-direction: column; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  font-size: .92rem;
  margin-bottom: 8px;
}
.field input,
.field textarea {
  background: var(--mint-soft);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mint-2);
  box-shadow: 0 0 0 3px rgba(140, 239, 197, 0.35);
}
.field textarea { min-height: 120px; resize: vertical; }
.hp-wrap {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-submit { margin-top: 6px; }
.form-submit .btn { width: 100%; padding: 16px; font-size: 14px; }

/* Home contact black info band */
.info-band {
  background: #111;
  color: #eee;
  border-radius: 14px;
  margin: 48px auto 0;
  max-width: 940px;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.info-band .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 26px;
}
.info-band a, .info-band span { color: #eee; font-size: .95rem; }
.info-band .ico {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--mint); color: #111;
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 10px; flex: 0 0 auto;
}
.info-band .item { display: inline-flex; align-items: center; }
.info-band .sep { color: #555; }

/* ---------- Map ---------- */
#map {
  width: 100%;
  height: 460px;
  border-radius: 14px;
  margin-top: 8px;
  z-index: 0;
}
.map-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- Gallery page ---------- */
.gallery-page .masonry {
  columns: 4;
  column-gap: 16px;
}
.gallery-page .masonry img {
  width: 100%;
  margin: 0 0 16px;
  border-radius: 10px;
  break-inside: avoid;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #333; }
.footer-top {
  padding: 54px 24px 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.footer-logo { display: inline-block; margin-bottom: 26px; }
.footer-logo img { width: 300px; height: auto; margin: 0 auto; }
.footer-nav {
  display: flex;
  gap: 34px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.footer-nav a { font-weight: 600; color: #222; font-size: .95rem; transition: color .2s ease; }
.footer-nav a:hover, .footer-nav a.active { color: var(--mint-2); }
.footer-contact {
  display: flex;
  gap: 10px 22px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  font-size: .9rem;
  color: #333;
  margin-bottom: 12px;
}
.footer-contact .sep { color: var(--mint-2); font-weight: 700; }
.footer-contact strong { color: #111; }
.footer-hours { font-size: .9rem; color: #333; }
.footer-hours strong { color: #111; }
.footer-bottom {
  background: var(--mint);
  color: #0f0f0f;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; font-size: .88rem; }
.footer-bottom .socials { display: flex; gap: 14px; align-items: center; }
.footer-bottom .socials a { display: inline-flex; }
.footer-bottom .socials svg { width: 22px; height: 22px; fill: #0f0f0f; transition: transform .2s ease; }
.footer-bottom .socials a:hover svg { transform: scale(1.12); }

/* ---------- Motion ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}

/* Scroll-triggered reveals (IntersectionObserver adds .in-view in site.js).
   No JS  -> elements stay fully visible; CSS never hides content on its own.
   With JS -> <html> gets a "js" class, so reveals start hidden + faded-up and
   transition in as they enter the viewport. The -2/-3 suffixes stagger the delay. */
.reveal, .reveal-2, .reveal-3 { opacity: 1; }
.js .reveal, .js .reveal-2, .js .reveal-3 {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}
.js .reveal-2 { transition-delay: .12s; }
.js .reveal-3 { transition-delay: .24s; }
.js .reveal.in-view, .js .reveal-2.in-view, .js .reveal-3.in-view {
  opacity: 1;
  transform: none;
}
.fade-in { animation: fadeIn 1s ease both; }
.zoom-in { animation: zoomIn .9s ease both; }

.hero h1 { animation: fadeUp 1s ease both; }
.hero p { animation: fadeUp 1s ease .15s both; }
.hero-cta { animation: fadeUp 1s ease .3s both; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  /* With motion off, don't depend on the observer — reveals are visible immediately. */
  .js .reveal, .js .reveal-2, .js .reveal-3 { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav, .btn-book { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,.1);
  }
  .about-grid, .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .gallery-preview .gp-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-page .masonry { columns: 3; }
  .section { padding: 60px 0; }
}

@media (max-width: 620px) {
  .cards-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-media, .why-media { grid-template-columns: 1fr 1fr; }
  .gallery-preview .gp-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-page .masonry { columns: 2; }
  .footer-nav { gap: 18px; }
}
