/* =========================================================
   MARVELLOUS EXPERIENCES - static site stylesheet
   Colours taken from the original WordPress theme (Flash)
   ========================================================= */
:root {
  --accent: #7d7705;        /* olive, original theme link colour */
  --accent-dark: #696300;
  --green: #1f3730;         /* partners strip / footer */
  --text: #30333a;
  --muted: #6b6f75;
  --grey: #f2f2f2;
  --white: #fff;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --header-h: 90px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body { margin: 0; font-family: var(--font); color: var(--text); line-height: 1.7; font-size: 15px; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 700; }

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

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: transparent; transition: background .3s, box-shadow .3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .3s; }
.logo img { height: 64px; width: auto; transition: height .3s; }
.logo .logo-dark { display: none; }

.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.main-navigation a { color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .5px; padding: 8px 0; position: relative; }
.main-navigation a::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .3s;
}
.main-navigation a:hover::before, .main-navigation a.active::before { width: 100%; }

/* sticky state (added by JS on scroll) */
.site-header.is-sticky { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.site-header.is-sticky .header-inner { height: 70px; }
.site-header.is-sticky .logo img { height: 50px; }
.site-header.is-sticky .logo-white { display: none; }
.site-header.is-sticky .logo-dark { display: block; }
.site-header.is-sticky .main-navigation a { color: var(--text); }
.site-header.is-sticky .main-navigation a:hover,
.site-header.is-sticky .main-navigation a.active { color: var(--accent); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--white); transition: .3s; }
.site-header.is-sticky .menu-toggle span { background: var(--text); }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-navigation {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    max-height: 0; overflow: hidden; transition: max-height .35s; box-shadow: 0 6px 12px rgba(0,0,0,.08);
  }
  .main-navigation.open { max-height: 400px; }
  .main-navigation ul { flex-direction: column; gap: 0; padding: 10px 20px; }
  .main-navigation a { display: block; color: var(--text); padding: 12px 0; border-bottom: 1px solid #eee; }
  .main-navigation a::before { display: none; }
  .logo img { height: 52px; }
}

/* ---------- Slider ---------- */
.slider { position: relative; height: 100vh; min-height: 480px; max-height: 1000px; overflow: hidden; background: #222; }
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.slide.is-active { opacity: 1; }
.slider-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.slider-content {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white); text-align: center; padding: 0 20px;
}
.caption-title { font-size: clamp(28px, 5vw, 56px); font-weight: 700; letter-spacing: 2px; line-height: 1.2; }
.caption-desc { font-size: clamp(14px, 2vw, 22px); margin-top: 12px; letter-spacing: 2px; }
.slider-arrow {
  position: absolute; bottom: 30px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.6);
  background: rgba(0,0,0,.25); color: #fff; font-size: 18px; cursor: pointer; transition: background .3s;
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }
.slider-arrow.prev { right: 84px; }
.slider-arrow.next { right: 30px; }
.slider-dots { position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.slider-dots button.is-active { background: var(--accent); border-color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; text-align: center; }
.section-tight { padding: 70px 0 40px; }
.section-grey { background: var(--grey); }
.section-title { font-size: clamp(20px, 3vw, 28px); color: var(--text); padding-bottom: 18px; position: relative; display: inline-block; }
.section-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 60px; height: 3px; background: var(--accent);
}
.section-description { max-width: 760px; margin: 22px auto 0; color: var(--muted); font-size: 16px; }

/* ---------- Parallax ---------- */
.parallax {
  background-size: cover; background-position: center; background-attachment: fixed;
  background-color: #525252; position: relative;
}
@media (max-width: 980px), (hover: none) { .parallax { background-attachment: scroll; } }
.quote { padding: 150px 0; text-align: center; color: var(--white); }
.quote::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.quote .container { position: relative; }
.quote blockquote { margin: 0; }
.quote p { font-size: clamp(20px, 3.4vw, 34px); font-weight: 700; margin: 0; line-height: 1.35; }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 18px; letter-spacing: 1px; }
.parallax-tall { height: 600px; }
@media (max-width: 780px) { .parallax-tall { height: 320px; } }

/* ---------- Image cards ---------- */
.grid { display: grid; gap: 30px; margin-top: 50px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }

.card { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #ddd; }
.card-tall { aspect-ratio: 3 / 4; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover img { transform: scale(1.06); }
.card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.7)); color: var(--white);
  font-weight: 700; font-size: 16px; letter-spacing: 1px; text-align: center;
}

/* ---------- Partners strip ---------- */
.partners { background: var(--green); padding: 20px 0; }
.partners-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 20px; }
.partners img { max-height: 90px; width: auto; margin: 10px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 50px; }
@media (max-width: 1100px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px)  { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; flex-direction: column; align-items: center; color: var(--text); padding: 10px; }
.contact-item:hover { color: var(--accent); }
.contact-item .icon {
  width: 70px; height: 70px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; margin-bottom: 16px; transition: background .3s, transform .3s;
}
.contact-item:hover .icon { background: var(--accent-dark); transform: translateY(-3px); }
.contact-item svg { width: 30px; height: 30px; fill: var(--white); }
.contact-item h3 { font-size: 14px; margin-bottom: 6px; }
.contact-item p { margin: 0; font-size: 13px; color: var(--muted); word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: #262b2a; color: #c8c8c8; }
.footer-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 70px 0 50px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; text-align: center; } }
.footer-logo { max-width: 260px; margin: 0 auto; }
.license { text-align: center; color: #fff; font-weight: 500; font-size: 10px; }
.widget-title { color: #fff; font-size: 15px; margin-bottom: 18px; padding-left: 12px; border-left: 3px solid var(--accent); }
@media (max-width: 860px) { .widget-title { border-left: 0; padding-left: 0; } }
.footer-col p { margin: 0 0 18px; text-align: justify; font-size: 14px; }
.footer-logos { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 860px) { .footer-logos { justify-content: center; } }
.footer-logos img { max-width: 46%; max-height: 80px; width: auto; }
.footer-menu-list { list-style: none; margin: 0; padding: 0; }
.footer-menu-list li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-menu-list a { color: #c8c8c8; font-size: 13px; }
.footer-menu-list a:hover { color: var(--accent); }

.footer-bottom { background: #1c201f; padding: 18px 0; font-size: 13px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.legal-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.legal-menu a { color: #c8c8c8; }
.legal-menu a:hover { color: var(--accent); }

/* ---------- Floating buttons ---------- */
.whatsapp-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 3px 10px rgba(0,0,0,.25);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
#scroll-up {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 44px; height: 44px; background: var(--accent);
  color: #fff; display: grid; place-items: center; font-size: 22px; opacity: 0; pointer-events: none; transition: opacity .3s;
}
#scroll-up.visible { opacity: 1; pointer-events: auto; }

/* ---------- Cookie notice ---------- */
#cookie-notice {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: rgba(20,20,20,.95); color: #fff;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; padding: 14px 20px; font-size: 13px;
}
#cookie-notice[hidden] { display: none; }
#cookie-notice p { margin: 0; }
#cookie-notice a { color: #d8d26a; text-decoration: underline; }
#cookie-notice button { background: var(--accent); color: #fff; border: 0; padding: 8px 18px; cursor: pointer; font: inherit; font-weight: 700; }

/* ---------- Legal pages ---------- */
.legal-page { padding: 140px 0 80px; max-width: 860px; }
.legal-page h1 { font-size: 28px; margin-bottom: 24px; }
.legal-header { background: var(--green); }

/* Legal page content */
.legal-content { font-size: 15px; line-height: 1.75; text-align: justify; }
.legal-content h2 { font-size: 18px; margin: 34px 0 12px; padding-left: 12px; border-left: 3px solid var(--accent); text-align: left; }
.legal-content p { margin: 0 0 14px; }
.legal-content .indent { padding-left: 30px; }
.legal-content ul { padding-left: 22px; }
.legal-content a { word-break: break-word; text-decoration: underline; }
@media (max-width: 600px) { .legal-content { text-align: left; } .legal-content .indent { padding-left: 14px; } }
