/*
Theme Name: Sabatall Bergil
Theme URI: https://www.sabatallbergil.com
Author: Sabatall Bergil
Description: Een warm, rood WordPress-thema voor Sabatall Bergil.
Version: 1.1.2
Text Domain: sabatall-bergil
*/

:root {
  --red-950: #3f0000;
  --red-900: #590000;
  --red-800: #760000;
  --red-700: #9c1119;
  --red-600: #bd1f2d;
  --red-100: #ffe5e5;
  --cream: #fff9f4;
  --paper: #ffffff;
  --ink: #291617;
  --muted: #735c5d;
  --line: #efd0d0;
  --doc-red: #ff0000;
  --doc-blue: #0000ff;
  --doc-green: #00b050;
  --shadow: 0 18px 48px rgba(63, 0, 0, 0.16);
  --radius: 22px;
}

* { box-sizing: border-box; }

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--red-800);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

body::before {
  content: none;
}

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

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 1000;
  padding: .7rem 1rem;
  background: #fff;
  color: var(--red-900);
  transform: translateY(-150%);
}
.skip-link:focus { top: 1rem; transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: rgba(63, 0, 0, .94);
  border-bottom: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
}

.header-inner, .site-main, .footer-inner {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: .04em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--red-900);
  background: #fff;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--red-100);
}

.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  padding: .65rem .78rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: .93rem;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] {
  color: var(--red-950);
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 12px;
  padding: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.menu-toggle-lines { width: 24px; display: grid; gap: 5px; }
.menu-toggle-lines span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.is-open .menu-toggle-lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open .menu-toggle-lines span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle-lines span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-toggle:hover, .menu-toggle:focus-visible { color: var(--red-950); background: #fff; }

.site-main { min-width: 0; padding: 3rem 0 5rem; }
body.home .site-main { width: 100%; max-width: none; padding-top: 0; }
body.home .site-main > .section {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero, .page-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 32px;
  color: #fff;
  background: var(--red-900);
  box-shadow: var(--shadow);
}

.hero {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  min-height: 570px;
  display: grid;
  align-items: end;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: var(--red-950);
}

.hero-slides, .hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slides { z-index: 0; }
.hero-slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition: opacity .65s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(63, 0, 0, .68);
}
.hero-content, .page-hero-content { position: relative; z-index: 2; }
.hero-content { max-width: 760px; padding: clamp(2rem, 6vw, 5rem); }
.page-hero-content { padding: clamp(2rem, 5vw, 4rem); }

.eyebrow {
  margin: 0 0 .5rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .82rem;
  font-weight: 800;
  color: #ffd3d3;
}

h1, h2, h3 {
  margin: 0 0 .75rem;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}
h1 { font-size: clamp(2.7rem, 7vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.4rem; }

.hero-copy { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 660px; }

.slider-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  color: #fff;
  background: rgba(63,0,0,.78);
  font-size: 1.4rem;
  cursor: pointer;
  transform: translateY(-50%);
}
.slider-arrow:hover, .slider-arrow:focus-visible { color: var(--red-950); background: #fff; }
.slider-prev { left: 1.1rem; }
.slider-next { right: 1.1rem; }

.slider-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.25rem;
  display: flex;
  gap: .55rem;
  transform: translateX(-50%);
}
.slider-dot {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.slider-dot.is-active { background: #fff; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .82rem 1.25rem;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  color: var(--red-950);
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  text-align: center;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-red { color: #fff; background: var(--red-700); }

.section {
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.section-soft { background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.section-head p { color: var(--muted); }

.doc-blue { color: var(--doc-blue); }
.doc-green { color: var(--doc-green); }
.doc-red { color: var(--doc-red); }
.text-strong { font-weight: 800; }

.prose { max-width: 850px; font-size: 1.05rem; }
.prose p { margin: 0 0 1.15rem; }
.prose p:last-child { margin-bottom: 0; }
.lead { font-size: 1.2rem; }

.feature-grid, .puppy-grid, .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.feature-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.feature-card p { margin-bottom: 0; color: var(--muted); }
.feature-icon { font-size: 1.6rem; margin-bottom: .5rem; }

.quote {
  margin: 1.5rem 0 0;
  padding: 1.35rem 1.5rem;
  border-left: 6px solid var(--red-700);
  color: var(--red-950);
  background: var(--red-100);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.shipping-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 2rem; align-items: center; }
.shipping-image { overflow: hidden; border-radius: 20px; box-shadow: var(--shadow); }
.shipping-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.shipping-list { padding-left: 1.25rem; }
.shipping-list li { margin-bottom: .7rem; }

.guarantee {
  margin: 1rem 0 2rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  color: #fff;
  background: var(--red-700);
  font-weight: 800;
}

.puppy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.puppy-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(63,0,0,.11);
}
.puppy-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--cream);
}
.puppy-card-content { padding: 1.4rem; }
.puppy-card h3 { color: var(--doc-green); }
.puppy-meta { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .9rem; }
.pill { padding: .28rem .65rem; border-radius: 999px; color: #006c31; background: #e3f7eb; font-weight: 800; font-size: .86rem; }
.price { color: var(--doc-red); font-size: 1.35rem; font-weight: 900; }
.puppy-card p { margin: .65rem 0; }
.availability { color: var(--doc-green); font-weight: 900; }
.whatsapp-note { color: #c00000; font-weight: 800; }

.contact-wrap { display: grid; grid-template-columns: .72fr 1.28fr; gap: 2rem; align-items: start; }
.contact-copy { position: sticky; top: 110px; }
.contact-form { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 18px; background: var(--cream); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field-full { grid-column: 1 / -1; }
.contact-form label { display: block; margin-bottom: .35rem; font-weight: 800; }
.required { color: var(--doc-red); }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid #cdaaaa;
  border-radius: 11px;
  padding: .78rem .9rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(189,31,45,.22); border-color: var(--red-700); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--muted); font-size: .92rem; }
.form-alert { margin-bottom: 1.2rem; padding: 1rem 1.1rem; border-radius: 12px; font-weight: 700; }
.form-success { color: #175d35; background: #dff5e8; border: 1px solid #97d7b0; }
.form-error { color: #80111c; background: #ffe5e5; border: 1px solid #efaaaa; }
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.feature-card, .puppy-card, .testimonial-card, .contact-form,
.hero-content, .page-hero-content, .prose {
  min-width: 0;
  overflow-wrap: anywhere;
}

.thank-you-section {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.thank-you-content { max-width: 760px; margin-inline: auto; }
.thank-you-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red-700);
  font-size: 2.25rem;
  font-weight: 900;
}
.thank-you-content p { font-size: 1.12rem; color: var(--muted); }
.thank-you-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }

.testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.testimonial-card { overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.testimonial-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.testimonial-card blockquote { margin: 0; padding: 1.5rem; color: var(--doc-blue); font-size: 1.08rem; }
.testimonial-card cite { display: block; margin-top: 1rem; color: var(--doc-blue); font-style: normal; font-weight: 900; }

.site-footer { color: #fff; background: var(--red-950); border-top: 1px solid rgba(255,255,255,.16); }
.footer-inner { padding: 2.5rem 0; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; }
.footer-inner p { margin: 0; }
.footer-inner a { color: #fff; }

@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-wrap { grid-template-columns: .85fr 1.15fr; }
}

@media (max-width: 900px) {
  body.menu-open { overflow: hidden; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: flex;
    position: absolute;
    z-index: 100;
    top: calc(100% - 2px);
    left: 0;
    right: 0;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding: .9rem;
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    background: var(--red-950);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .site-nav a { width: 100%; min-height: 48px; display: flex; align-items: center; }
  .site-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .shipping-layout, .contact-wrap { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
  .hero { min-height: 520px; }
  .hero-content, .page-hero-content { max-width: 100%; }
}

@media (max-width: 680px) {
  .header-inner, .site-main, .footer-inner { width: min(100% - 1.25rem, 1160px); }
  body.home .site-main { width: 100%; }
  body.home .site-main > .section { width: min(100% - 1.25rem, 1160px); }
  .header-inner { min-height: 68px; }
  .brand { gap: .55rem; font-size: 1rem; letter-spacing: .02em; }
  .brand-mark { width: 38px; height: 38px; }
  .site-main { padding-top: 1.25rem; }
  .hero { min-height: 460px; }
  .hero-content { padding: 1.5rem; }
  .slider-arrow { width: 40px; height: 40px; top: auto; bottom: 1rem; transform: none; }
  .slider-prev { left: 1rem; }
  .slider-next { right: 1rem; }
  .slider-dots { bottom: 1.85rem; }
  .page-hero { border-radius: 22px; }
  .page-hero-content { padding: 1.75rem 1.4rem; }
  .section { margin-top: 1.25rem; padding: 1.35rem; border-radius: 18px; }
  .feature-grid, .puppy-grid, .testimonial-grid, .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .contact-form { padding: 1rem; }
  .button { width: 100%; }
  .thank-you-actions { flex-direction: column; }
  .puppy-card-content, .testimonial-card blockquote { padding: 1.15rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  h1 { font-size: clamp(2.45rem, 14vw, 4rem); }
  h2 { font-size: clamp(1.8rem, 9vw, 2.45rem); }
  .quote { padding: 1.1rem; font-size: 1.02rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide, .menu-toggle-lines span, .site-nav { transition: none; }
}

@media (max-width: 390px) {
  .brand span:last-child { max-width: 170px; line-height: 1.1; }
  .section { padding: 1.1rem; }
  .puppy-card { border-radius: 16px; }
  .pill { width: 100%; }
}

