/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* PODSTAWOWE USTAWIENIA */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Georgia', serif;
  background-color: #efeded;
  height: 100%;
}

/* UKŁAD */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px; /* odstęp między modułami */
  padding: 60px 0;
}



/* LEWA KOLUMNA */
.left-column {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

/* LEWA KOLUMNA */
.middle-column {
  flex: 1;
  padding: 5px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.top-label {
  font-size: 12px;
  letter-spacing: 3px;
  font-family: Arial, sans-serif;
  color: #444;
}

.logo {
  width: 300px;
  margin: 30px 0;
}

.main-title {
  font-size: 40px;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: 'Old Standard TT', serif;
}

.main-title1 {
  font-size: 20px;
  text-align: center;
  line-height: 1.2;
  margin-top: 20px;
  font-family: 'Old Standard TT', serif;
}

.main-title2 {
  font-size: 20px;
  text-align: center;
  line-height: 1.2;
  margin-top: 0px;
  font-family: 'Old Standard TT', serif;
}

.znaczki {
	font-size: 20px;
}

.main-title-left {
  font-size: 40px;
  text-align: left;
  line-height: 1.2;
  margin-bottom: 60px;
  font-family: 'Old Standard TT', serif;
}

.main-title-left7 {
  font-size: 40px;
  text-align: left;
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: 'Old Standard TT', serif;
}

.m4-main-title {
  font-size: 30px;
  text-align: left;
  line-height: 1.2;
  margin-bottom: 10px;
  font-family: 'Old Standard TT', serif;
}

.m5-main-title {
  font-size: 60px;
  text-align: left;
  line-height: 1.2;
  margin-bottom: 60px;
  font-family: 'Old Standard TT', serif;
}

.m5-main-title-min {
  font-size: 20px;
  text-align: left;
  line-height: 1.2;
  margin-bottom: 10px;
  font-family: 'Old Standard TT', serif;
}

.subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: #555;
  text-align: justify;
  flex: 1 1 45%;
  min-width: 300px;
}

.subtitle7 {
	font-family: 'Playfair Display', serif;
	padding: 20px;
}

/* DOLNY TEKST */
.bottom-text {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 400px;
}

.quote {
  font-size: 12px;
  line-height: 1.4;
  flex: 1;
}

.divider {
  width: 1px;
  height: 50px;
  background-color: #333;
  margin: 0 15px;
}

.year {
  font-family: Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
  text-align: center;
}

/* PRAWA KOLUMNA */
.right-column {
  flex: 1;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
    height: auto;
    width: 95vw;
  }

  .left,
  .right {
    width: 100%;
    text-align: center;
  }

  .left {
    padding: 20px;
  }

  .right img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .bottom {
    justify-content: center;
    text-align: center;
  }
}
.right {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.right .logo {
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.subtitles-row {
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap; /* jeśli węższy ekran, złamie na kolejną linię */
}
.rozciagniety {
	 justify-content: space-between;
}


.social-list {
    padding-left: 0;
}

.social-list .list-inline-item {
    display: inline-block;
    margin-right: 10px;
}

.social-list i {
    font-size: 36px;
    color: #333;
    transition: color 0.3s ease;
}

.social-list a:hover i {
    color: #007bff; /* albo kolor pasujący do Twojej strony */
}

.bottom-text {
  margin-top: auto;
  margin-bottom: auto;
  justify-content: center;
}

/* Zewnętrzny wrapper z pełną szerokością i tłem */
.full-width-wrapper {
  width: 100%;
}

/* Klasa do indywidualnego koloru tła — można zmieniać / kopiować */
.bg-color-1 {
  background-color: #efeded; 
}
.bg-color-2 {
  background-color: #dcdcdc; 
}
.bg-color-3 {
  background-color: #efeded; 
}
.bg-color-4 {
  background-color: #dcdcdc; 
}
.bg-color-5 {
  background-color: #efeded; 
}
.bg-color-6 {
  background-color: #dcdcdc; 
}
.bg-color-7 {
  background-color: #efeded; 
}



/* Dodaj więcej klas wg potrzeb */

/* Wewnętrzny wrapper z niestandardową proporcją kolumn */
.wrapper.custom-ratio {
  display: flex;
  width: 80vw;
  height: auto;
  margin: 0 auto;
  padding: 60px 0;
}

/* Kolumny: lewa 65%, prawa 35% */
.left-wide {
  flex: 0 0 65%;
  padding: 20px;
}

.right-narrow {
  flex: 0 0 35%;
  padding: 20px;
}


.wrapper {
  width: 80vw;
  margin: 0 auto;
  display: flex;
  height: auto;
}



.left-column.two-images {
  width: 65%;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.left-column.two-images img {
  width: 48%;
  height: auto;
  object-fit: contain;
  display: block;
}

.right-column.text-content {
  width: 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right-column.text-content h2.main-title.small {
  font-size: 1.8em;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
}

.right-column.text-content p,
.right-column.text-content ul {
  font-family: 'Old Standard TT', serif;
  font-size: 1em;
  line-height: 1.6;
  color: #333;
}

.right-column.text-content ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.right-column.text-content ul li::before {
  content: "• ";
  color: #888;
  margin-right: 6px;
}

@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
    height: auto;
    width: 95vw;
  }
  
.full-width-wrapper.bg-color-3 .wrapper {
  display: flex;
  width: 80vw;
  margin: 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  height: auto;
}

.two-images-wrapper {
  display: flex;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap; /* pozwala na zawijanie na małych ekranach */
  align-items: stretch; /* wyrównuje wysokości kolumn */
}

/* Kolumny z obrazkami */
.image-column {
  flex: 0 0 30%; /* każda kolumna obrazka zajmuje 30% szerokości */
  display: flex;
  justify-content: center;
}

.image-column img {
  max-width: 100%;
  height: 300px;
  object-fit: cover; /* lub contain jeśli chcesz całe obrazki */
  border-radius: 6px;
  display: block;
}

/* Kolumna z tekstem - zajmuje pozostałe miejsce */
.right-column.text-content {
  flex: 1 1 35%; /* elastycznie dopasowuje szerokość, min 35% */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 20px;
  min-width: 280px;
}

/* Dostosowanie nagłówka */
.right-column.text-content h2.main-title.small {
  font-size: 1.8em;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
}

/* Responsywność */
@media (max-width: 900px) {
  .two-images-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .image-column,
  .right-column.text-content {
    flex: 1 1 100%;
    padding-left: 0;
    margin-bottom: 20px;
    text-align: center;
  }

  .right-column.text-content ul {
    padding-left: 0;
  }
}

/* ————————————————————————————
   MOBILE LAYOUT (smartfony)
———————————————————————————— */

/* dla ekranów do 600px */
@media (max-width: 600px) {
  /* Główne kontenery */
  .container,
  .full-width-wrapper .wrapper,
  .wrapper {
    display: flex;
    flex-direction: column !important;
    width: 95vw;              /* niemal pełna szerokość */
    max-width: 95vw;
    margin: 0 auto 20px;      /* centrowanie + odstęp u dołu */
    padding: 0;
    align-items: center;      /* wyśrodkuj poziomo */
  }

  /* Usuń stałe paddingi na kolumnach */
  .left-column,
  .middle-column,
  .right-column,
  .image-column,
  .right-column.text-content {
    flex: 1 1 100% !important;
    width: 100% !important;
    padding: 10px 0 !important;
    text-align: center !important;
  }

  /* Obrazki pełna szerokość, bez pikselowych wysokości */
  img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    object-fit: contain !important;
    margin: 0 auto;
    display: block;
  }

  /* Wszystkie tytuły i teksty w kolumnie, wyśrodkowane */
  h1,
  h2,
  .main-title,
  .main-title-left,
  .main-title-left7,
  .m4-main-title,
  .m5-main-title,
  .m5-main-title-min,
  p,
  ul,
  .subtitle,
  .subtitle7 {
    width: 100% !important;
    margin: 10px 0 !important;
    text-align: center !important;
    line-height: 1.3 !important;
  }

  /* Listy – punkty jeden pod drugim */
  ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
  }
  ul li {
    display: block;
    margin: 5px 0 !important;
  }

  /* Ikony społecznościowe centrowane */
  .social-list {
    width: 100%;
    text-align: center !important;
    margin-top: 15px;
  }
  .social-list .list-inline-item {
    display: inline-block;
    margin: 0 8px !important;
  }

  /* Usuń wszelkie stałe szerokości/kolumny */
  .two-images-wrapper,
  .left-column.two-images,
  .wrapper.custom-ratio,
  .left-wide,
  .right-narrow {
    flex-direction: column !important;
    width: 95vw !important;
    max-width: 95vw !important;
    gap: 10px !important;
  }
}
@media (max-width: 768px) {
  body, html {
    padding: 0 10px;
  }
  
img {
	max-width: 80vw !important;
}


  .wrapper,
  .container,
  .left-column,
  .right-column,
  .middle-column,
  .right,
  .left,
  .two-images-wrapper,
  .right-column.text-content {
    width: 100%;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
   /* padding: 20px 10px !important; */
    text-align: center !important;
   gap: 20px !important;
  }

  .left-column.two-images img,
  .image-column img,
  .hero-img,
  .right img,
  .logo {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
  }

  .main-title,
  .main-title1,
  ..main-title2,
  .main-title-left,
  .main-title-left7,
  .m4-main-title,
  .m5-main-title,
  .m5-main-title-min,
  .top-label,
  .subtitle,
  .subtitle7,
  .year,
  .quote {
    font-size: clamp(14px, 4vw, 24px) !important;
    text-align: center !important;
  }

  .bottom-text {
    flex-direction: column;
    text-align: center;
    /* margin: 20px 0; */
  }

  .divider {
    display: none;
  }

  .subtitles-row {
    flex-direction: column;
    align-items: center;
  }

  .right-column.text-content ul {
    padding-left: 0;
    text-align: center;
  }

  .right-column.text-content ul li::before {
    display: none;
  }

  .image-column,
  .right-column.text-content {
    flex: 1 1 100% !important;
    padding: 0 !important;
  }

  .full-width-wrapper.bg-color-3 .wrapper {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
  }
  
  .smaller {
	  font-size: 28px !important;
  }
}
  .smaller1 {
	  font-size: 40px !important;
  }
  
    .smaller2 {
	  font-size: 36px !important;
  }