/*
Theme Name: Studzieniczne Clean
Theme URI: https://studzieniczne.pl/
Author: Soban IT
Description: Lekki motyw dla domku letniskowego w Studzienicznej.
Version: 1.0.0
Text Domain: studzieniczne-clean
*/

:root {
  --green: #294f32;
  --green-2: #3f744b;
  --sand: #f3ead8;
  --cream: #fffaf0;
  --wood: #8a5a2b;
  --text: #182119;
  --muted: #5f6d62;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(0,0,0,.14);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(24,33,25,.78);
  backdrop-filter: blur(14px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .2px;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand small {
  font-weight: 500;
  opacity: .82;
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.menu a {
  color: var(--white);
  text-decoration: none;
  opacity: .92;
}

.menu a:hover {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  background: var(--green-2);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.btn.light {
  background: var(--white);
  color: var(--green);
}

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: #1b2d21;
}

.hero-photo,
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 100vh;
  min-width: 100vw;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: .48;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.66), rgba(0,0,0,.18)),
    linear-gradient(0deg, rgba(0,0,0,.32), rgba(0,0,0,.18));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 32px));
  padding-top: 90px;
}

.kicker {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(38px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -2.2px;
}

.hero p {
  max-width: 680px;
  font-size: clamp(18px, 2.2vw, 24px);
  margin: 24px 0 28px;
  opacity: .94;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.section {
  padding: 88px 0;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-title {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-title h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -1.4px;
  line-height: 1.08;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 16px 40px rgba(24,33,25,.08);
  border: 1px solid rgba(41,79,50,.1);
}

.card h3 {
  margin-top: 0;
  font-size: 22px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery a {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 240px;
  background: #ddd;
  box-shadow: 0 14px 34px rgba(0,0,0,.1);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.gallery a:hover img {
  transform: scale(1.04);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
}

.panel {
  background: var(--sand);
  border-radius: 28px;
  padding: 34px;
}

.panel h2 {
  margin-top: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.2px;
}

.checks {
  padding-left: 0;
  list-style: none;
}

.checks li {
  margin: 12px 0;
  padding-left: 30px;
  position: relative;
}

.checks li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-2);
  font-weight: 900;
}

.video-box {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #111;
  aspect-ratio: 16 / 9;
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-box {
  background: var(--green);
  color: var(--white);
  border-radius: 32px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}

.contact-box h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 48px);
}

.contact-box p {
  margin: 0;
  opacity: .9;
}

.site-footer {
  background: #162119;
  color: rgba(255,255,255,.82);
  padding: 36px 0;
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.page-content {
  padding: 130px 0 80px;
}

.page-content article {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 16px 40px rgba(24,33,25,.08);
}

@media (max-width: 860px) {
  .menu {
    display: none;
  }

  .hero-video {
    display: none;
  }

  .cards,
  .gallery,
  .split,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .gallery a {
    min-height: 220px;
  }

  .section {
    padding: 64px 0;
  }
}

.video-fallback {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.video-fallback a {
  color: var(--green);
  font-weight: 750;
}

.video-link-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #111;
  aspect-ratio: 16 / 9;
  color: #fff;
  text-decoration: none;
}

.video-link-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: transform .25s ease, opacity .25s ease;
}

.video-link-card:hover img {
  transform: scale(1.03);
  opacity: .72;
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.92);
  color: var(--green);
  font-size: 34px;
  box-shadow: 0 18px 45px rgba(0,0,0,.3);
}

.video-caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  right: 22px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(8px);
  font-weight: 800;
}

/* BEGIN STUDZIENICZNE RICH CONTENT CSS */

.soft {
  background: #f7f0e3;
}

.hero-price {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 22px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
}

.hero-price strong {
  font-size: 24px;
}

.hero-price span {
  opacity: .92;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  border: 1px solid rgba(41,79,50,.10);
  box-shadow: 0 14px 34px rgba(24,33,25,.07);
}

.feature span {
  display: block;
  font-size: 20px;
  font-weight: 850;
  color: var(--green);
  margin-bottom: 10px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.price-card {
  background: var(--green);
  color: #fff;
  border-radius: 30px;
  padding: 38px;
  box-shadow: var(--shadow);
}

.price-card .price-label {
  display: block;
  opacity: .82;
  font-weight: 750;
  margin-bottom: 8px;
}

.price-card strong {
  display: block;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -1.6px;
  margin-bottom: 18px;
}

.price-card p {
  opacity: .92;
  margin-bottom: 24px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(41,79,50,.10);
  box-shadow: 0 10px 28px rgba(24,33,25,.06);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
  color: var(--green);
}

.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.rich-contact {
  display: block;
}

.contact-lines {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.contact-lines a {
  color: #fff;
  font-weight: 800;
}

.contact-form-card {
  background: #fff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(41,79,50,.10);
}

.st-contact-form {
  display: grid;
  gap: 14px;
}

.st-contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 750;
  color: var(--green);
}

.st-contact-form input,
.st-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(41,79,50,.20);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: #fffaf0;
  color: var(--text);
}

.st-contact-form input:focus,
.st-contact-form textarea:focus {
  outline: 3px solid rgba(63,116,75,.18);
  border-color: var(--green-2);
}

.hp-field {
  display: none !important;
}

.form-message {
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-weight: 800;
}

.form-message.success {
  background: #e6f4ea;
  color: #1f5f32;
}

.form-message.error {
  background: #fde8e8;
  color: #8a1f1f;
}

@media (max-width: 860px) {
  .feature-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .price-card {
    padding: 28px;
  }
}

/* END STUDZIENICZNE RICH CONTENT CSS */

/* BEGIN STUDZIENICZNE ATTRACTIONS MAP CSS */

.map-card {
  background: var(--green);
  color: #fff;
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.map-card h3 {
  margin: 0 0 12px;
  font-size: 30px;
}

.map-card p {
  opacity: .92;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  margin: 12px 0;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
}

.map-note {
  font-size: 14px;
  opacity: .82;
}

.attractions-groups {
  display: grid;
  gap: 34px;
}

.attraction-group h3 {
  font-size: 28px;
  margin: 0 0 16px;
  color: var(--green);
}

.attractions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.attraction {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(41,79,50,.10);
  box-shadow: 0 14px 34px rgba(24,33,25,.07);
}

.attraction strong {
  display: block;
  color: var(--green);
  font-size: 19px;
  margin-bottom: 8px;
}

.attraction p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1020px) {
  .attractions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .attractions-grid {
    grid-template-columns: 1fr;
  }
}

/* END STUDZIENICZNE ATTRACTIONS MAP CSS */

/* BEGIN STUDZIENICZNE LAKE PHOTOS CSS */

.lake-gallery {
  display: grid;
  grid-template-columns: 1.25fr .9fr .9fr;
  gap: 16px;
}

.lake-gallery a {
  display: block;
  overflow: hidden;
  min-height: 280px;
  border-radius: 24px;
  background: #ddd;
  box-shadow: 0 16px 40px rgba(24,33,25,.10);
}

.lake-gallery a:first-child {
  min-height: 420px;
  grid-row: span 2;
}

.lake-gallery img,
.map-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-photo {
  margin-top: 20px;
  overflow: hidden;
  border-radius: 20px;
  height: 210px;
  background: rgba(255,255,255,.12);
}

@media (max-width: 860px) {
  .lake-gallery {
    grid-template-columns: 1fr;
  }

  .lake-gallery a,
  .lake-gallery a:first-child {
    min-height: 240px;
    grid-row: auto;
  }
}

/* END STUDZIENICZNE LAKE PHOTOS CSS */

/* BEGIN STUDZIENICZNE REVIEWS CSS */

.reviews-summary {
  display: grid;
  grid-template-columns: .85fr 2.15fr;
  gap: 22px;
  align-items: start;
}

.rating-box {
  background: var(--green);
  color: #fff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px;
}

.rating-score {
  display: block;
  font-size: clamp(46px, 6vw, 70px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -2px;
}

.rating-stars {
  display: block;
  margin: 12px 0 8px;
  font-size: 24px;
  letter-spacing: 2px;
}

.rating-box p {
  margin: 0 0 22px;
  opacity: .9;
  font-weight: 750;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.review-card {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  border: 1px solid rgba(41,79,50,.10);
  box-shadow: 0 14px 34px rgba(24,33,25,.07);
}

.review-card p {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 16px;
}

.review-card strong {
  color: var(--green);
}

@media (max-width: 900px) {
  .reviews-summary,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .rating-box {
    position: static;
  }
}

/* END STUDZIENICZNE REVIEWS CSS */

/* BEGIN STUDZIENICZNE SIMPLE REVIEWS CSS */

.simple-reviews {
  display: block;
  max-width: 420px;
}

.simple-reviews .rating-box {
  position: static;
}

.simple-reviews .rating-stars {
  color: #fff;
}

/* END STUDZIENICZNE SIMPLE REVIEWS CSS */
