/* ==================================
   O NAS
================================== */


.about-section {
    background: #fff;
}
.about-section{
    &.reversed{
        .about-container{
            .about-photo{
                order: 2;
            }
            .about-content {
                order: 1;
            }
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        }
    }
    .about-eyebrow{
        color:hsl(252,32%,57%);

    }
}
.about-container {
    max-width: 1160px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
}

/* ==================================
   FOTO
================================== */

.about-photo {
    position: relative;
}

.about-photo-decoration {
    position: absolute;
    left: -18px;
    bottom: -18px;

    width: 110px;
    height: 110px;

    border-radius: 50%;
    background: rgb(220, 239, 230);

    z-index: 1;
}

.about-image {
    position: relative;
    z-index: 2;

    height: 460px;

    overflow: hidden;
    border-radius: 28px;
}

.about-image figure {
    width: 100%;
    height: 100%;
    margin: 0;
}

.about-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.foto-block-wrapper .foto-text{
    &.foto-text2{
        bottom: 150px;
        right: -35px;
    }
    &.foto-text1{
        top: 40px;
        left: -55px;
    }
    span{
        font-weight: 700;
        font-size: 15px;
        line-height: 1.3;
    }
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    box-shadow: 0 6px 20px #2b2b3351;
    pointer-events: none;
    z-index: 2;
}
.foto-block-wrapper .text-arrow{
    &.text-arrow2{
        bottom: 163px;
        right: 47px;
        transform: rotate(150deg);
    }
    &.text-arrow1{
        top: 39px;
        left: 16px;
        transform: rotate(-25deg);
    }
    filter: drop-shadow(0px 0px 7px #ffffff);
    z-index: 2;
    position: absolute;
    display: flex;
    width: 40px;
    height: 40px;
    background-image: url('/img/down-arrow-pink.svg');
    background-size: 40px;
    background-repeat: no-repeat;
}

/* ==================================
   CONTENT
================================== */

.about-content {
    display: flex;
    flex-direction: column;
}
.about-content .table-responsive .table{
    margin-bottom: 0;
}

.about-content h2 {
    margin: 0 0 16px;

    font-family: "Baloo 2", sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.6;

    color: #2b2b33;
}
.about-content{
    h1{
        font-size: 34px;
        margin: 0 0 16px;
        font-family: "Baloo 2", sans-serif;
        font-size: 34px;
        font-weight: 700;
        line-height: 1.6;
        color: #2b2b33;
    }
    .buttons{
        .new-btn-primary {
            font-size: 16px;
        padding: 14px 28px;
        text-transform: none;
        border-radius: 999px;
        background: rgb(199, 106, 134);
        color: #fff;
      }


      .new-btn-primary:hover {
        box-shadow:
          0 8px 20px rgba(199, 106, 134, 0.25);
        background-color: rgb(169, 79, 108) ;
        color: #fff;
      }

      /* DRUGI PRZYCISK */
      .new-btn-secondary {
        font-size: 16px;
        border-radius: 999px;
        text-transform: none;
        padding: 14px 28px;
        background:
          linear-gradient(
            135deg,
            rgb(230, 222, 244),
            rgb(219, 231, 244)
          );
        border: 2px solid rgb(124, 110, 180);
        color: rgb(97, 83, 154);
        box-shadow: 0 4px 14px rgba(124, 110, 180, 0.25);
      }
      .new-btn-secondary:hover{
        background: rgb(124, 110, 180);
        color: #fff;
      }
    }
}

.about-content p {
    margin: 0 0 16px;

    font-size: 16px;
    line-height: 1.65;

    color: #2b2b33;
}

/* O KRÓLESTWIE */

.about-content p:first-child {
    margin-bottom: 16px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.about-content p:first-child span {
    color: rgb(124, 110, 180) !important;
}

/* ==================================
   WYRÓŻNIENIE
================================== */

.about-content ul {
    padding: 18px 20px;

    list-style: none !important;

    background: rgb(246, 243, 251);
    border-radius: 16px;
}

.about-content ul li {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none !important;
}

.about-content ul li::before {
    content: none !important;
    display: none !important;
}

.about-content ul li figure {
    flex-shrink: 0;

    width: 16px !important;
    height: 16px !important;

    margin: 4px 0 0 !important;
}

.about-content ul li figure.image {
    margin-bottom: 0 !important;
}

.about-content ul li figure img {
    display: block;

    width: 16px !important;
    height: 16px !important;

    object-fit: contain;
}

.about-content ul li p {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 16px;
    line-height: 1.65;

    color: #2b2b33;
}
/* ==================================
   PRZYCISKI
================================== */

.about-content .buttons {
    margin-top: 20px;
}
.foto-block-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Tutaj ustawiasz odstęp między sekcjami o-nas (np. 40px) */
}
/* ==================================
   RESPONSIVE
================================== */
@media (max-width: 575.5px) {
        .about-section{
        &.reversed{
            .about-container{
                grid-template-columns: 1fr;
            }
        }
    }
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    .about-photo{
        grid-row: 2;
    }
    .about-content{
        grid-row: 1;
    }

    .about-image {
        height: 360px;
    }
    .about-content h2{
        font-size: 28px;
    }
    .about-content h1{
        font-size: 28px;
    }
}
@media (min-width: 576px) and (max-width: 767.5px) {
    .about-section{
        &.reversed{
            .about-container{
                grid-template-columns: 1fr;
            }
        }
    }
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    .about-photo{
        grid-row: 2;
    }
    .about-content{
        grid-row: 1;
    }

    .about-image {
        height: 460px;
    }
    .about-content h2,h1{
        font-size: 28px;
    }
}
@media (min-width: 768px) and (max-width: 991.5px) {
    .about-section{
        &.reversed{
            .about-container{
                grid-template-columns: 1fr;
            }
        }
    }
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;

    }
    .about-photo{
        grid-row: 2;
    }
    .about-content{
        grid-row: 1;
    }
    .about-image {
        height: 460px;
    }
    .about-content h2{
        font-size: 28px;
    }
    .about-content h1{
        font-size: 28px;
    }
}
@media (min-width: 992px) and (max-width: 1199.5px) {
    .about-container{
        padding: 0 24px;
        margin: 0 auto;
    }
}
@media (min-width: 1200px) and (max-width: 1579.5px) {
    .about-container{
        padding: 0 24px;
        margin: 0 auto;
    }
}