/*
Theme Name: Blocksy Child Oaza STATIC
Description: Strona Grill Bar Oaza na bazie Motywu Blocksy.
Author: LP
Template: blocksy
Version: 2.0.0
Text Domain: blocksy-child-oaza-static
*/

/* =========================================================
   1. ZMIENNE / DESIGN SYSTEM
   ========================================================= */

:root {
  --kol-1: #164B2E; /* --oaza-green-dark: */
  --kol-2: #3B7A2E; /* --oaza-green */
  --kol-3: #8FB630; /* --oaza-lime */
  --kol-4: #A9C96A; /* --oaza-lime-light */
  --kol-5: #F6F3ED; /* --oaza-cream */
  --kol-6: #8C6B43; /* --oaza-brown */
  --kol-7: #686868; /* --oaza-gray */
  --text: #333333;
  --white: #ffffff;
  --line: #dfd9cc;
  --page: #F6F3ED;
  --font-heading: "Oswald", sans-serif;
  --font-body: "Lato", sans-serif;
  --font-script: "Allura", cursive;
  --container-max: 1200px;
  --page-margin: 24px;
  --grid-gap: 24px;
  --radius: 12px;
}
	

/* =========================================================
   2. BAZA
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.625;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--container-max), calc(100% - (2 * var(--page-margin))));
  margin-inline: auto;
}

.art {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--kol-1);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================================================
   3. HEADER / NAWIGACJA
   ========================================================= */

.site-header {
  position: relative;
  z-index: 20;
  overflow: visible;
  background: transparent;
}

.header__inner {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 0;
  overflow: visible;
}

.brand {
  display: block;
  width: 300px;
  max-width: 32vw;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  overflow: visible;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 38px;
  padding-top: 2px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

/* Stare ustawienie
.main-nav a,
.main-nav a:link,
.main-nav a:visited,
.main-nav a:hover,
.main-nav a:active,
.main-nav a:focus {
  color: var(--kol-1) !important;
}
*/

.main-nav a,
.main-nav a:link,
.main-nav a:visited {
  color: var(--kol-1) !important;
  transition: color 200ms ease, transform 150ms ease;
  display: inline-block;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--kol-2) !important; /* Jaśniejszy zielony przy najechaniu */
  transform: translateY(-1px);
}

.main-nav a:active {
  color: var(--kol-3) !important; /* Odcień przy kliknięciu */
  transform: translateY(0);
}


.social-link {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  line-height: 1;
}

.social-link,
.social-link:link,
.social-link:visited,
.social-link:hover,
.social-link:active,
.social-link:focus {
  color: var(--kol-1) !important;
}

.social-link i {
  font-size: 23px;
  line-height: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--kol-1);
}

/* =========================================================
   4. HERO
   ========================================================= */

.hero {
  margin-top: -12px;
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  min-height: 490px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: center;
}

.hero__content {
  grid-column: span 5;
  position: relative;
  z-index: 2;
  padding-block: 28px 56px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  /*font-size: clamp(52px, 5vw, 64px); --powiększenie h1*/ 
  font-weight: 700;
  line-height: 56px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--kol-1);
  margin-bottom:22px;
}

/*Stara szeryfowa
.script-title {
  margin: 4px 0 26px;
  font-family: var(--font-script);
  font-size: 56px;
  line-height: .95;
  color: var(--kol-2);
}

.script-title--small {
  margin-top: -4px;
  margin-bottom: 22px;
  font-size: 48px;
}
*/

.script-title {
  margin: 4px 0 26px;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--kol-2); /* Zachowany jasny zielony kolor */
}

.script-title--small {
  margin-top: -4px;
  margin-bottom: 22px;
  font-size: 22px;
}

.hero__lead {
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 26px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.btn:focus-visible {
  outline: 3px solid var(--kol-4);
  outline-offset: 3px;
}


/* ==========================================
   1. PRIMARY BUTTON (Zaktualizowany)
   ========================================== */
.btn--primary {
  background-color: var(--kol-2);
  border-color: var(--kol-2);
  color: var(--white);
	
  border: 1px solid var(--kol-2);
  border-radius: 20px;
  padding: 0 28px;
  gap: 16px;
  max-width: 250px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  font-family: var(--font-body);
  font-size: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  transition: transform 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.btn--primary:hover {
  /* Kolor pośredni pomiędzy --kol-1 (#164B2E) a --kol-2 (#3B7A2E) */
  background-color: #29632e;
  border-color: #29632e;
  color: var(--white);
	
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.btn--primary:active {
  background-color: var(--kol-1);
  border-color: var(--kol-1);
  color: var(--white);
}


/* ==========================================
   2. SECONDARY / LIGHT BUTTON (Kolumna 2)
   ========================================== */
.btn--secondary {
  background-color: var(--kol-5);
  border-color: var(--kol-5);
  color: var(--text);
}

.btn--secondary:hover {
  background-color: #eae3d5; /* lekko przyciemniony wariant --kol-5 / odcień beżu */
  border-color: #eae3d5;
  color: var(--text);
}

.btn--secondary:active {
  background-color: var(--line);
  border-color: var(--line);
  color: var(--kol-7);
}


/* ==========================================
   3. OUTLINE BUTTON (Kolumna 3)
   ========================================== */
.btn--outline {
  background-color: transparent;
  border-color: var(--kol-4);
  color: var(--kol-2);
}

.btn--outline:hover {
  background-color: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn--outline:active {
  background-color: transparent;
  border-color: var(--line);
  color: #b5b0a4; /* wyblakły szary/beż dla stany active */
}


/* ==========================================
   4. CIRCLE / ICON BUTTON (Kolumna 4)
   ========================================== */
.btn--icon {
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--kol-3);
  border-color: var(--kol-3);
  color: var(--white);
}

.btn--icon:hover {
  background-color: var(--kol-1);
  border-color: var(--kol-1);
  color: var(--white);
}

.btn--icon:active {
  background-color: var(--kol-5);
  border-color: var(--kol-5);
  color: var(--white);
}


/* ==========================================
   TEXT-ICON-OUTLINE BUTTON (Pill shape)
   ========================================== */
.btn--text-icon-outline {
  background-color: transparent;
  border: 1px solid var(--kol-2);
  color: var(--kol-1);
  border-radius: 50px;
  padding: 0 28px;
  gap: 16px;
  max-width: 250px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size:16px;
}

/* Stylizacja strzałki */
.btn--text-icon-outline .btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 0;             /* Kluczowe: usuwa wysokość linii tekstu dla ikony */
  height: 1em;                /* Wymusza spójną wysokość kwadratu */
  margin-top: -5px;           /* Subtelna korekta optyczna (dostosuj jeśli trzeba) */
  transition: transform 150ms ease;
}

/* Stany przycisku (Hover & Active) */
.btn--text-icon-outline:hover {
  background-color: transparent;
  border-color: var(--kol-1);
  color: var(--kol-1);
}

/* Subtelne mignięcie/przesunięcie strzałki przy najechaniu */
.btn--text-icon-outline:hover .btn__arrow {
  transform: translateX(3px);
}

.btn--text-icon-outline:active {
  background-color: transparent;
  border-color: var(--line);
  color: var(--kol-7);
}


.hero__art {
  grid-column: span 7;
  align-self: stretch;
  min-height: 490px;
}


/* ==========================================
   Przycisk Menu ze strzałką i ściętym rogiem
   ========================================== */
/* Przycisk Menu ze zmienionym tłem, zaokrąglonymi rogami i cieniami */
.btn--menu-pill {
  background-color: var(--kol-1);
  color: var(--white);
  border-radius: 20px 20px 0 20px;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 200px;
  font-family: var(--font-body);
  font-size: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  transition: transform 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.btn--menu-pill:hover {
  background-color: var(--kol-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  color: var(--white);
}

/* Oryginalny styl strzałki z btn--text-icon-outline */
.btn--menu-pill .btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 0;
  height: 1em;
  margin-top: -5px;
  transition: transform 150ms ease;
}

.btn--menu-pill:hover .btn__arrow {
  transform: translateX(3px);
}



.art--hero {
  background-image: url("https://grillbaroaza.pl/wp-content/uploads/2026/09/hero.jpg");
  background-size: min(710px, 116%) auto;
  background-position: center 58%;
}

/* =========================================================
   5. CECHY
   ========================================================= */

.features {
  border-bottom: 1px solid var(--line);
}

.features__grid {
  min-height: 118px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
}

.feature {
  position: relative;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 28px;
}

.feature + .feature::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: radial-gradient(circle, var(--kol-3) 0 1.1px, transparent 1.25px) center top / 2px 10px repeat-y;
}

.feature__icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  background-size: contain;
}

.art--feature-food {
  background-image: url("https://grillbaroaza.pl/wp-content/uploads/2026/09/dania.svg");
}

.art--feature-grill {
  background-image: url("https://grillbaroaza.pl/wp-content/uploads/2026/09/grill.svg");
}

.art--feature-fireplace {
  background-image: url("https://grillbaroaza.pl/wp-content/uploads/2026/09/kominek.svg");
}

.art--feature-pet {
  background-image: url("https://grillbaroaza.pl/wp-content/uploads/2026/09/animal.svg");
}

.feature p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--kol-1);
}

/* =========================================================
   6. NAGLOWKI SEKCJI
   ========================================================= */

.section {
  border-bottom: 1px solid var(--line);
}

.section-title {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--kol-1);
}

/* -- Usunięte w toku edycji
.section-title::before,
.section-title::after {
  content: "❦";
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--kol-3);
}
*/

/* =========================================================
   7. MENU
   ========================================================= */

.section--menu {
  padding: 30px 0 44px;
  border-bottom: 0 !important;
  background: var(--kol-5);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
	
/* Środkuje elementy w poziomie i pionie wewnątrz własnych komórek */
  justify-items: center; /* Poziom */
  align-items: center;   /* Pion */ 	
	
}

.menu-card {
  min-height: 220px;
  display: grid;
  grid-template-columns: 66% 34%;
  overflow: hidden;
  border: 1px solid #cfc9b8;
  border-radius: var(--radius);
  background: var(--kol-5);
  text-decoration: none;
}

.menu-card,
.menu-card:link,
.menu-card:visited,
.menu-card:hover,
.menu-card:active,
.menu-card:focus {
  color: inherit;
  text-decoration: none;
}

.menu-card__image {
  position: relative;
  z-index: 1;
  min-height: 220px;
  background-size: cover;
  background-position: center;
}

.menu-card--pl .menu-card__image {
  background-image: url("assets/03_menu/webp/menu-pl-danie-z-karty.webp");
}

.menu-card--en .menu-card__image {
  background-image: url("assets/03_menu/webp/menu-en-kielbasa-z-karty.webp");
}

.menu-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 28px;
  background: var(--kol-5);
}

.menu-card__content::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -86px;
  width: 88px;
  pointer-events: none;
}

.menu-card--pl .menu-card__content {
  background: var(--kol-2);
  color: var(--white);
}

.menu-card--pl .menu-card__content::before {
  background: linear-gradient(90deg, rgba(59, 122, 46, 0) 0%, rgba(59, 122, 46, .48) 45%, var(--kol-2) 100%);
}

.menu-card--en .menu-card__content {
  background: var(--kol-5);
}

.menu-card--en .menu-card__content::before {
  background: linear-gradient(90deg, rgba(246, 243, 237, 0) 0%, rgba(246, 243, 237, .55) 48%, var(--kol-5) 100%);
}

.menu-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--kol-2);
}

.menu-card--pl h3 {
  color: var(--white);
}

.menu-card p {
  margin: 10px 0 8px;
  font-family: var(--font-heading);
  font-size: 19px;
  text-transform: uppercase;
}

.arrow {
  margin-top: 8px;
  font-size: 38px;
  line-height: 1;
}

/* =========================================================
   8. ODPOCZNIJ PO SPACERZE
   ========================================================= */

.about {
  position: relative;
  overflow: hidden;
  border-top: 0;
}

.about--rest {
  border-bottom: 0;
}

.about__grid {
  min-height: 430px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  column-gap: 48px;
  align-items: center;
}

.about__content {
  grid-column: 1 / span 5;
  position: relative;
  z-index: 2;
  padding: 52px 0 52px 96px;
}

/* Stara szeryfowa
.about__content h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--kol-1);
}
*/

.about__content h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--kol-1);
}

.about__content p:not(.script-title) {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

.about__botanical {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 50%;
  bottom: auto;
  width: 105px;
  height: 318px;
  transform: translateY(-50%);
}

.art--botanical-left {
  background-image: url("assets/04_sections/webp/dekor-liscie.webp");
  background-position: left center;
  background-size: 105px 318px;
}

.about__art {
  grid-column: 6 / -1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.about__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 350px;
  margin: 0;
  object-fit: cover;
  object-position: center center;
}


/* =========================================================
   SEKCJA: ZORGANIZUJ PRZYJĘCIE
   ========================================================= */

.about--events {
  position: relative;
  overflow: hidden;
  border-top: 0;
  border-bottom: 0;
  background: var(--kol-5);
}

.about__grid--reverse {
  min-height: 390px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 48px;
  align-items: center;
}

/* Grafika po lewej: zajmuje 5 z 12 kolumn */
.about__art-left {
  grid-column: 1 / span 5;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.about__art-left .about__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

/* Treść po prawej: zajmuje pozostałe 7 kolumn */
.about__content--events {
  grid-column: 6 / -1;
  width: 100%;
  padding: 32px 0;
  position: relative;
  z-index: 2;
}

/* Stara szeryfowa
.about__content--events h2 {
  margin: 0 0 24px;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--kol-1);
}
*/

.about__content--events h2 {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--kol-1);
}

.about__content--events p {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.65;
}

.about__botanical--right {
  position: absolute;
  left: auto;
  right: 0;
  top: 50%;
  bottom: auto;
  width: 105px;
  height: 318px;
  transform: translateY(-50%) scaleX(-1);
  pointer-events: none;
}

.art--botanical-right {
  background-image: url("assets/04_sections/webp/dekor-liscie.webp");
  background-position: right center;
  background-size: 105px 318px;
}

.about__list {
  margin: 6px 0 24px;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.7;
}

.about__list li::marker {
  color: var(--kol-3);
}


/* =========================================================
   CTA KONTAKT
   ========================================================= */

.about-cta {
  padding: 56px 0 64px;
  background: var(--kol-5);
  border-bottom: 1px solid var(--line);
}

.about-cta__inner {
  text-align: center;
}

/* Stara szeryfowa
.about-cta h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--kol-1);
}
*/

.about-cta h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--kol-1);
}

.about-cta .script-title {
  margin: 4px 0 28px;
}


/* =========================================================
   RESPONSYWNOŚĆ dla Sekcji Przyjęć i Roślinki
   ========================================================= */

/* Dostosowanie roślinki */
@media (max-width: 1440px) and (min-width: 1025px) {
  .about__content--events {
    padding-right: 40px;
  }
}

/* TABLET */
@media (max-width: 1024px) {
  .about__grid--reverse {
    min-height: 360px;
    column-gap: 32px;
  }

  .about__art-left {
    grid-column: 1 / span 5;
  }

  .about__content--events {
    grid-column: 6 / -1;
    padding: 24px 40px 24px 0;
  }

  .about__botanical--right {
    right: -6px;
    width: 90px;
    height: 272px;
  }

  .art--botanical-right {
    background-size: 90px 272px;
  }
}

/* MOBILE */
@media (max-width: 767px) {
  .about__grid--reverse {
    display: flex;
    flex-direction: column-reverse; /* Wyrównuje w pionie: treść u góry, grafika na dole */
    gap: 24px;
  }

  .about__art-left {
    width: 100%;
  }

  .about__content--events {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 24px 12px 0;
  }

  .about__content--events h2,
  .about-cta h2 {
    font-size: 30px;
  }

  .about__content--events p,
  .about__list {
    font-size: 16px;
  }

  .about__botanical--right {
    z-index: 1;
    right: -48px;
    top: 52%;
    width: 52px;
    height: 158px;
    transform: translateY(-50%) scaleX(-1);
  }

  .art--botanical-right {
    background-size: 52px 158px;
    background-position: right center;
  }

  .about-cta {
    padding: 44px 0 52px;
  }
}


/* =========================================================
   9. DOJAZD
   ========================================================= */

.transport {
  padding: 50px 0 60px;
  border-bottom: 0 !important;
}

.transport__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.transport-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 20px;
  text-align: center; /* Wyrównanie tekstu do środka */
}

/* Podziałka kropkowana w Dojeździe */
.transport-item + .transport-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: radial-gradient(circle, var(--kol-3) 0 1.1px, transparent 1.25px) center top / 2px 10px repeat-y;
}

.transport-item h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--kol-1);
}

.transport-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  max-width: 220px; /* Zapobiega zbyt drastycznemu łamaniu słów */
}

/* =========================================================
   10. WOKÓŁ NAS
   ========================================================= */

.nearby {
  padding: 30px 0 120px;
  border-bottom: 1px solid var(--line);
}

.nearby__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.place {
  position: relative;
  min-width: 0;
  padding: 10px 8px;
  text-align: center; /* Wyrównanie tekstu do środka */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

/* Podziałka kropkowana w Wokół Nas */
.place + .place::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: radial-gradient(circle, var(--kol-3) 0 1.1px, transparent 1.25px) center top / 2px 10px repeat-y;
}

.place h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--kol-1);
}

.place p {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.3;
  color: var(--text);
  white-space: nowrap; /* Trzyma napis np. "1 minuta spacerem" w 1 linijce */
}

/* =========================================================
   11. FOOTER
   ========================================================= */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--kol-1);
  color: var(--white);
}

.footer__grid {
  min-height: 335px;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1.35fr;
}

.footer-column {
  position: relative;
  padding: 44px 38px 30px 0;
}

.footer-column + .footer-column {
  padding-left: 38px;
  border-left: 1px solid rgba(169, 201, 106, .35);
}

.footer-column h2 {
  margin: 0 0 22px;
  font-family: var(--font-heading);
  font-size: 27px;
  text-transform: uppercase;
  color: var(--kol-5);
}

.contact-list {
  font-style: normal;
}

.contact-list p {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-list a {
  text-decoration: none;
}

.contact-icon {
  width: 18px;
  flex: 0 0 18px;
  color: var(--kol-4);
  text-align: center;
}

.contact-list .fa-facebook-f {
  font-size: 15px;
}

/*
.footer-map {
  display: block;
  height: 190px;
  border-radius: var(--radius);
  background-color: #edf0e7;
  background-image: url("assets/06_footer/webp/mapa-lokalizacji.webp");
  background-size: cover;
  background-position: center;
}

.footer-column--invite {
  min-height: 335px;
  overflow: hidden;
}
*/

/* Footermap Container */
.footer-map-container {
  display: block;
  height: 190px;
  border-radius: var(--radius); /* Zachowuje spójne zaokrąglenie rogów lokalu */
  overflow: hidden;             /* Wymusza zaokrąglenie na elemencie iframe wewnątrz */
  border: 0;
  background-color: #edf0e7;    /* Kolor ładowania/tła */
}

.footer-map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* Opcjonalnie: usuwamy stary styl jeśli nie jest już nigdzie używany */
.footer-map {
  display: none;
}

.footer-column--invite > *:not(.footer-gate) {
  position: relative;
  z-index: 3;
}

.footer-column--invite p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  text-transform: uppercase;
}

.footer-column--invite p span {
  display: block;
}

.footer-gate {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(142deg, rgba(22, 75, 46, .95) 0%, rgba(22, 75, 46, .88) 20%, rgba(22, 75, 46, .62) 42%, rgba(22, 75, 46, .18) 63%, rgba(22, 75, 46, 0) 78%),
    linear-gradient(to top, rgba(22, 75, 46, .26) 0%, rgba(22, 75, 46, .12) 12%, rgba(22, 75, 46, 0) 28%),
    url("assets/06_footer/webp/brama-parku-rysunek.webp");
  background-size: cover;
  background-position: center bottom;
}

.footer-bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(169, 201, 106, .38);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.site-footer a,
.site-footer a:link,
.site-footer a:visited,
.site-footer a:hover,
.site-footer a:active,
.site-footer a:focus {
  color: var(--kol-5) !important;
  text-decoration: none;
}

/* =========================================================
   12. FOCUS / DOSTEPNOSC
   ========================================================= */

.site-header a:focus-visible,
.site-footer a:focus-visible,
.menu-card:focus-visible {
  outline: 2px solid var(--kol-3);
  outline-offset: 3px;
}

/* =========================================================
   13. TABLET
   ========================================================= */

@media (max-width: 1024px) {
  :root {
    --grid-gap: 18px;
  }

  .header__inner {
    min-height: 108px;
  }

  .brand {
    width: 250px;
    max-width: 34vw;
  }

  .main-nav {
    gap: 20px;
  }

  .hero {
    margin-top: -8px;
  }

  .hero__grid {
    min-height: 450px;
  }

  .hero__content {
    grid-column: span 6;
    padding-block: 24px 42px;
  }

  .hero__art {
    grid-column: span 6;
    min-height: 450px;
  }

  .art--hero {
    background-size: min(620px, 114%) auto;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature {
    padding-block: 18px;
  }

  .feature:nth-child(3)::before {
    display: none;
  }

  .about__grid {
    min-height: 400px;
    column-gap: 32px;
  }

  .about--rest .about__content {
    padding-left: 80px;
  }

  .about__botanical {
    width: 90px;
    height: 272px;
  }

  .art--botanical-left {
    background-size: 90px 272px;
  }

  .about__image {
    height: 320px;
  }

  .transport__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .transport-item:nth-child(3)::before {
    display: none;
  }

  .nearby__grid {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 24px;
  }

  .place:nth-child(5) {
    border-left: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-column--invite {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(169, 201, 106, .35);
  }
}

/* =========================================================
   14. MOBILE
   ========================================================= */

@media (max-width: 767px) {
  :root {
    --page-margin: 16px;
  }

  .header__inner {
    min-height: 96px;
  }

  .brand {
    width: 200px;
    max-width: 68vw;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px var(--page-margin) 22px;
    background: var(--page);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
  }

  .social-link {
    margin-top: 8px;
    padding: 0 !important;
  }

  .hero {
    margin-top: -6px;
  }

  .hero__grid,
  .about__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    min-height: auto;
  }

  .hero__content,
  .hero__art,
  .about__content,
  .about__art {
    grid-column: auto;
  }

  .hero__content {
    padding: 20px 0 0;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 54px;
  }

  .script-title {
    font-size: 46px;
  }

  .hero__art {
    min-height: 350px;
  }

  .art--hero {
    background-size: min(560px, 120%) auto;
    background-position: center top;
  }
	
  .features__grid {
    grid-template-columns: repeat(2, 1fr);;
    justify-items: center; /* Centruje elementy grida w poziomie */
    gap: 16px;             /* Dodaje estetyczny odstęp pionowy między cechami */
    padding-block: 24px;   /* Dodaje wewnętrzny margines góry i dołu sekcji */
  }

  .feature {
    display: flex;
    flex-direction: column; /* Układa ikonę i tekst w pionie (jeden pod drugim) */
    align-items: center;    /* Centruje ikonę i tekst w osi poziomej */
    text-align: center;     /* Wyśrodkowuje tekst wewnątrz akapitu */
    padding: 12px var(--page-margin);
    gap: 12px;              /* Zmniejsza odstęp między ikoną a tekstem w pionie */
  }

  .feature + .feature::before {
    display: none;
  }	
	
/*
   .features__grid {
    grid-template-columns: 1fr;
  }
	
  .feature {
    justify-content: flex-start;
  }

  .feature + .feature::before {
    display: none;
  }
*/
	
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-card {
    grid-template-columns: 60% 40%;
  }

  .menu-card__content::before {
    left: -56px;
    width: 58px;
  }

  .about__grid {
    min-height: auto;
    column-gap: 0;
  }

  .about--rest .about__content {
    padding: 42px 0 20px 58px;
  }

  .about--rest .about__botanical {
    top: 44%;
    width: 72px;
    height: 218px;
  }

  .art--botanical-left {
    background-size: 72px 218px;
  }

  .about__art {
    width: 100%;
    min-height: 0;
    justify-content: flex-end;
    padding: 0;
  }

  .about__image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
	
/* Zmniejszenie podtytułów na telefonach */
  .script-title--small,
  .about-cta .script-title {
    font-size: 18px;
    margin-bottom: 18px;
  }
	
	

  .transport__grid {
    grid-template-columns: 1fr;
  }

  .transport-item {
    grid-template-columns: 38% 62%;
    padding-inline: 8px;
  }

  .transport-item + .transport-item::before {
    display: none;
  }
	

  .nearby__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .place:nth-child(n) {
    border-left: 0;
  }

/* Stara podziałka liniowa
  .place:nth-child(even) {
    border-left: 1px solid #ded8cc;
  }
*/
/* Kropkowana linia tylko pośrodku między kolumnami w sekcji Wokół Nas */
  .place:nth-child(odd)::before {
    display: none !important;
    content: none !important;
  }

  .place:nth-child(even)::before {
    display: block !important;
    left: -5px;
  }
	
		
/* Ukrycie kropkowanej podziałki z lewej strony na mobilce 
  .transport-item::before,
  .transport-item + .transport-item::before {
    display: none !important;
    content: none !important;
  }*/
	
	.transport-item,
  .transport-item * {
    background-image: none !important;
  }
	
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer-column,
  .footer-column + .footer-column {
    padding: 34px 0;
  }

  .footer-column + .footer-column {
    border-left: 0;
    border-top: 1px solid rgba(169, 201, 106, .35);
  }

  .footer-column--invite {
    min-height: 300px;
  }

  .footer-gate {
    width: 100%;
    opacity: 1;
    background-image:
      linear-gradient(145deg, rgba(22, 75, 46, .96) 0%, rgba(22, 75, 46, .86) 30%, rgba(22, 75, 46, .44) 52%, rgba(22, 75, 46, .10) 72%, rgba(22, 75, 46, 0) 88%),
      linear-gradient(to top, rgba(22, 75, 46, .24) 0%, rgba(22, 75, 46, .08) 16%, rgba(22, 75, 46, 0) 30%),
      url("assets/06_footer/webp/brama-parku-rysunek.webp");
  }

  .footer-bottom {
    padding-block: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   15. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media (min-width: 1441px) {
  .about--rest .about__content {
    padding-left: 24px;
  }
}