:root {
  --bg:#f5f2ee;
  --bg-alt:#ece7e2;
  --text:#2d241d;
  --accent:#b77a30;
  --accent-dark:#8c5819;
  --line:#d9cec4;
  --radius:10px;
  --shadow:0 4px 12px -4px rgba(0,0,0,.15);
  --font-system:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
}
* { box-sizing:border-box; }
body {
  margin:0;
  font-family:var(--font-system);
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img { max-width:100%; height:auto; display:block; }
h1,h2,h3 { line-height:1.2; margin:0 0 .6em; font-weight:600; }
p { margin:0 0 1em; }
a { color:var(--accent); text-decoration:none; }
a:hover, a:focus { text-decoration:underline; }
.skip-link {
  position:absolute;left:-999px;top:auto;
}
.skip-link:focus { left:1rem; top:1rem; background:#fff; padding:.5rem 1rem; z-index:999; }
.site-header {
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:.6rem 1.2rem;
  background:#fffefcdd; backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.logo { width:60px; height:auto; }
.logo-wrap { display:flex; align-items:center; gap:.7rem; font-weight:600; font-size:1.1rem; }
.main-nav ul {
  list-style:none; margin:0; padding:0; display:flex; gap:1rem; align-items:center;
}
.main-nav a { padding:.4rem .7rem; border-radius:6px; font-size:.95rem; }
.main-nav a:hover { background:var(--bg-alt); text-decoration:none; }
.nav-toggle {
  display:none; background:none; border:0; cursor:pointer; padding:.4rem;
}
.nav-toggle .bar { display:block; width:26px; height:3px; background:var(--text); margin:5px 0; border-radius:2px; transition:.3s; }
@media (max-width:920px) {
  .nav-toggle { display:block; }
  .main-nav {
    position:absolute; top:100%; right:0; background:#fff; border:1px solid var(--line);
    padding:1rem; border-radius:var(--radius); display:none;
    box-shadow:var(--shadow); min-width:230px;
  }
  .main-nav.open { display:block; }
  .main-nav ul { flex-direction:column; align-items:stretch; }
  .main-nav a { display:block; }
}

.hero {
  min-height:70vh;
  display:flex; align-items:center; justify-content:center;
  text-align:center;
  background:
    radial-gradient(circle at 30% 30%, #ffffffaa, transparent 60%),
    linear-gradient(135deg,#e4ded6,#d1c6bb);
  padding:4rem 1rem 3rem;
  position: relative;
  overflow: hidden;
}
.video-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}
.video-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(245, 242, 238, 0.6); /* Light overlay to keep text readable */
}
.hero-inner { 
  max-width:700px; 
  position: relative; 
  z-index: 1; 
}
.hero-inner h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-shadow: 
    0 2px 10px rgba(255,255,255,0.5),
    0 4px 20px rgba(255,255,255,0.3);
  margin-bottom: 0.3em;
}
.tagline { font-size:1.2rem; font-weight:400; }
.section {
  padding:4rem 1.2rem;
}
.section.alt { background:var(--bg-alt); }
.content-narrow { max-width:760px; margin:0 auto; }
.content-wide { max-width:1150px; margin:0 auto; }
.bullets { padding-left:1.1rem; margin:0 0 1.5rem; }

/* Oferta - pionowy układ */
.offer-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  margin-bottom: 1rem;
  transition: background-color 0.2s;
}
.offer-item.has-media {
  cursor: pointer;
}
.offer-item.has-media:hover {
  background-color: #fcfcfc;
}
.offer-item:last-child {
  margin-bottom: 0;
}
.offer-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.offer-item.has-media h3::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s;
  color: var(--accent);
}
.offer-item.active h3::after {
  transform: rotate(45deg);
}
.offer-item p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}
.offer-content {
  margin-bottom: 0;
}
.offer-item.active .offer-content {
  margin-bottom: 1rem;
}
.offer-media, .offer-gallery {
  display: none;
}
.offer-item.active .offer-media,
.offer-item.active .offer-gallery {
  display: block;
  animation: fadeIn 0.5s;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.offer-media video {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto;
}
.offer-gallery {
  margin-top: 1rem;
}
.offer-gallery .gallery {
  margin-top: 0;
}
.offer-gallery .gallery-video {
  margin-top: 1rem;
}

/* Konie - karty ras */
.horse-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1.2rem;
}
.horse {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.horse:hover {
  transform: translateY(-5px);
}
.horse img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background-color: var(--bg-alt);
}
.horse-info {
  padding: 1.2rem;
}
.horse-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.horse-info p {
  margin: 0;
}

/* Galeria zdjęć */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-item:hover {
  transform: scale(1.02);
  text-decoration: none;
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-video {
  margin-top: 1.5rem;
}
.gallery-video video {
  width: 100%;
  max-width: 800px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  margin: 0 auto;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1.5rem;
  background: none; border: none;
  color: #fff; font-size: 2.5rem;
  cursor: pointer;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 0.7; }
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none; color: #fff;
  font-size: 2rem; padding: 1rem 1.2rem;
  cursor: pointer; border-radius: 50%;
  transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

iframe {
  width:100%; height:280px; border:1px solid var(--line); border-radius:var(--radius);
}
.price-table { width:100%; border-collapse:collapse; margin-bottom:1rem; font-size:.95rem; }
.price-table th, .price-table td { border:1px solid var(--line); padding:.55rem .6rem; text-align:left; }
.price-table th { background:#fff; }
details { border:1px solid var(--line); border-radius:6px; padding:.7rem .9rem; margin-bottom:.8rem; background:#fff; }
details[open] { box-shadow:var(--shadow); }
.cta-section { text-align:center; }
.btn, .btn-cta {
  display:inline-block; background:var(--accent); color:#fff; padding:.7rem 1.1rem;
  border-radius:30px; font-weight:600; letter-spacing:.5px; font-size:.9rem;
  transition:.25s; border:0;
}
.btn:hover, .btn:focus, .btn-cta:hover { background:var(--accent-dark); text-decoration:none; }
.note { font-size:.85rem; opacity:.75; }
.small { font-size:.8rem; opacity:.8; }
.site-footer {
  text-align:center; padding:2.5rem 1rem;
  background:#2d241d; color:#eee; font-size:.85rem;
}
.site-footer a { color:#fff; }
.fade-in { opacity:0; transform:translateY(20px); transition:opacity .6s var(--ease, cubic-bezier(.4,.2,.2,1)), transform .6s; }
.fade-in.visible { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-in.visible { opacity:1; transform:none; transition:none; }
  html { scroll-behavior:auto; }
}