/** Shopify CDN: Minification failed

Line 16:0 Unexpected "{"
Line 16:1 Expected identifier but found "%"
Line 55:10 Expected identifier but found whitespace
Line 55:12 Unexpected "{"
Line 55:21 Expected ":"
Line 115:0 Unexpected "{"
Line 115:1 Expected identifier but found "%"
Line 117:0 Unexpected "<"
Line 119:5 Expected identifier but found "%"
Line 120:6 Unexpected "{"
... and 36 more hidden warnings

**/
{%- style -%}
.about-cta {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media screen and (min-width: 750px) {
  .about-cta {
    min-height: 500px;
  }
}

.about-cta__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.about-cta__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-cta__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  z-index: 2;
  opacity: {{ section.settings.image_overlay_opacity | divided_by: 100.0 }};
  pointer-events: none;
}

.about-cta__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 60px 20px;
  max-width: 800px;
}

@media screen and (min-width: 750px) {
  .about-cta__content {
    padding: 80px 40px;
  }
}

.about-cta__heading {
  font-family: "Outfit", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 16px 0;
}

@media screen and (min-width: 750px) {
  .about-cta__heading {
    font-size: 40px;
    margin-bottom: 20px;
  }
}

.about-cta__subheading {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 32px 0;
}

.about-cta__button {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #044641;
  background: #EDF060;
  padding: 8px 22px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
{%- endstyle -%}

<div class="about-cta">
  <div class="about-cta__background">
    {%- if section.settings.image != blank -%}
      {{ section.settings.image | image_url: width: 2000 | image_tag: class: 'about-cta__image', loading: 'lazy' }}
    {%- else -%}
      {{ 'lifestyle-2' | placeholder_svg_tag: 'placeholder-svg' }}
    {%- endif -%}
  </div>

  <div class="about-cta__overlay"></div>

  <div class="about-cta__content">
    {%- if section.settings.heading != blank -%}
      <h2 class="about-cta__heading">{{ section.settings.heading | escape }}</h2>
    {%- endif -%}
    
    {%- if section.settings.subheading != blank -%}
      <div class="about-cta__subheading">{{ section.settings.subheading }}</div>
    {%- endif -%}

    {%- if section.settings.button_label != blank -%}
      <a href="{{ section.settings.button_link }}" class="about-cta__button">
        {{ section.settings.button_label | escape }}
      </a>
    {%- endif -%}
  </div>
</div>

{% schema %}
{
  "name": "About CTA",
  "settings": [
    {
      "type": "image_picker",
      "id": "image",
      "label": "Zdjęcie w tle"
    },
    {
      "type": "range",
      "id": "image_overlay_opacity",
      "min": 0,
      "max": 100,
      "step": 10,
      "unit": "%",
      "label": "Przyciemnienie tła",
      "default": 40
    },
    {
      "type": "text",
      "id": "heading",
      "label": "Nagłówek",
      "default": "Nasza Historia"
    },
    {
      "type": "richtext",
      "id": "subheading",
      "label": "Podtytuł",
      "default": "<p>Poznaj naszą misję i wartości.</p>"
    },
    {
      "type": "text",
      "id": "button_label",
      "label": "Etykieta przycisku",
      "default": "Dowiedz się więcej"
    },
    {
      "type": "url",
      "id": "button_link",
      "label": "Link przycisku"
    }
  ],
  "presets": [
    {
      "name": "About CTA"
    }
  ]
}
{% endschema %}