@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');


html {
    font-size: 10px;
    font-family: 'Outfit';
}



:root {
  --orange: #FB6107;
  --black: #110701;
  --green: #5C8001;
  --white: #F2F2F2;
  --grey: #E7E7E7;
}

p {
    line-height: 150%;
    font-size: 2rem;
    font-weight: 300;
}
h2, h1, h3 {
    line-height: 110%;
}
a {
    text-decoration: none;
}
h4 {
    font-size: 2.4rem;
    font-weight: 300;
    line-height: 140%;
}
body {
    background-color: #F2F2F2;;
}


/* ------------------------------------- stylowanie stopki ------------------------------------------- */

.brown-bg {
  background-color: #6B4C3B; /* brązowe tło (przykład) */
  color: #fff;
}
.black-bg {
    background-color: var(--black);
    color: var(--white);
}
.grey-bg {
    background-color: var(--grey);
}
.second-container {
  width: 100%;
}

.background-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url(../assets/LOGO_ALFA_FOOD_RGB_TRANSPARENT_4.png) no-repeat center center;
  background-size: contain;
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
  background-position: right;
  will-change: transform; /* podpowiedź dla GPU */
  transition: transform 0.12s ease-out; /* wygładzenie drobnych skoków */
}

.content-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--white);
}

.content-container h2 {
  margin-bottom: 10px;
}

.company-name {
    margin-bottom: 40px;
    font-weight: 300;
    font-size: 2rem;
    padding-top: 4%;
    width: 23%;
    padding-left: 18px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.columns-row:last-child {
  margin-bottom: 0;
}

.col {
    flex: 1 1 25%;
    padding: 0 24px;
    box-sizing: border-box;
}

.social-link {
  color: var(--white);
  text-decoration: underline;
}

.email-link {
  color: var(--white);
  text-decoration: none;
}

.details-foot {
    background: rgb(0 0 0 / 0%);
    color: var(--white);
    padding: 0px;
    margin-top: 50px;
    width: 100%;
    border-top: 1px solid #F2F2F2;
}

.details-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 14px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 33%;
}

.footer-center {
  text-align: center;
}

.footer-right {
  text-align: right;
}

.privacy-link {
  color: var(--white);
  text-decoration: none;
}
.opakowane {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
} 
.gray-bg {
    background-color: var(--grey);
}
h3.tytul-h3 {
    font-size: 3.2rem;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 600;
    padding-top: 6%;
}

h2.title-section, h2.title-section p {
    font-size: 6.4rem;
    font-weight: 300;
}
.opakowane {
    max-width: 1920px;
    width: 100%;
    justify-items: left;
    padding: 2%;
}


div#wpforms-61 {
    margin: 0px;
    width: 100%;
}
h1 strong {
    font-weight: 600;
}

.form-row {
  display: flex;
  gap: 20px; /* odstęp między kolumnami */
  margin-bottom: 15px;
  width: 46%;
}
.form-row p {
    width: 100%;
}
.form-row label {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
}
form.wpcf7-form, form.wpcf7-form.sent, form.wpcf7-form.submitting, form.wpcf7-form.resetting {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 10rem;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #5c800100;
    width: 100%;
    font-size: 1.6rem;
    border: none;
    color: var(--black);
    padding: 2rem;
    border: 1px solid var(--black);
}

.wpcf7 form .wpcf7-response-output {
  margin: 0px;
}

div#wpcf7-f64-o1 {
    width: 100%;
}
.wpcf7 input[type="url"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], textarea, input[type="text"], input[type="button"], input[type="submit"], input[type="reset"], input[type="search"], input[type="password"] {
  width: 100%;
}
input.wpcf7-form-control.wpcf7-text, textarea.wpcf7-form-control.wpcf7-textarea {
    padding: 18px;
    border: 1px solid var(--black);
    background-color: var(--white);
}
textarea.wpcf7-form-control.wpcf7-textarea {
    height: 244px;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
  background-color: var(--orange);
    border: none;
    padding: 12px 28px 17px 30px;
    color: var(--white);
    border-radius: 6px;
    width: max-content;
    font-size: 2.4rem;
    font-weight: 500;
    text-decoration: none;
}
.wpcf7-list-item {
    display: inline-block;
    margin: 0;
    padding-bottom: 4rem;
}
.form-row-end {
    width: 60%;
    padding-bottom: 4%;
}

.form {
    min-height: 90vh;
}
.col.logistyka {
    background-image: url(https://alfafoodgroup.pl/wp-content/uploads/2025/08/gora-prawy.svg);
    background-repeat: no-repeat;
    padding: 32px 24px;
    background-size: contain;
}
.col.zamowienia {
    background-image: url(https://alfafoodgroup.pl/wp-content/uploads/2025/08/dol-lewy.svg);
    background-repeat: no-repeat;
    padding: 32px 24px;
    background-size: contain;
}
.col.ksiegowosc {
    background-image: url(https://alfafoodgroup.pl/wp-content/uploads/2025/08/gora-lewy.svg);
    background-repeat: no-repeat;
    padding: 32px 24px;
    background-size: contain;
}
.col.sekretariat {
    background-image: url(https://alfafoodgroup.pl/wp-content/uploads/2025/08/dol-prawy.svg);
    background-repeat: no-repeat;
    padding: 32px 24px;
    background-size: contain;
}



/* ------------------------ koniec stylowania stopki --------------------------- */

.btn-primary {
    background-color: var(--orange);
    border: none;
    padding: 12px 28px 12px 28px;
    color: var(--white);
    border-radius: 6px;
    width: max-content;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}
.btn-primary:hover {
    background-color: var(--green);
}



.details-foot .opakowane {
    padding: 40px 0px;
}

.second-container h2 {
    margin-top: 6%;
    padding-left: 20px;
}






.fade-in {
  opacity: 0;
  transform: translateY(100px); /* element przesunięty w dół o 20px */
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0); /* element wraca na swoją pozycję */
}
.fade-in.delay {
  transition-delay: 0.5s; /* opóźnienie pół sekundy */
}
.fade-in.delay-2 {
  transition-delay: 0.9s; /* opóźnienie pół sekundy */
}

.kontakt {
    gap: 2rem;
}

.kontakt h4, .dane h4  {
    color: #A0A0A0;
    margin-bottom: 1rem;
}

.footer-right a {
    color: white;
}

.sekcja-logo {
    display: none;
}

@media (max-width: 1600px) {
html {
  font-size: 9px;
}
    textarea.wpcf7-form-control.wpcf7-textarea {
        height: 231px;
    }
}

@media (max-width: 1440px) {
html {
  font-size: 8px;
}

}

@media (max-width: 1366px) {
html {
  font-size: 6px;
}
}


@media (max-width: 1025px) {
 html {
  font-size: 10px;
 }
  h1, .header-content h1 {
    font-size: 2rem;
 }
    h2, h2.title-section, h2.title-section p {
        font-size: 4.2rem;
    }
    h3, h3.tytul-h3 {
        font-size: 1.8rem;
    }
    .company-name {
    width: 55%;
}
/* .dane - 3 kolumny */
  .dane {
    display: flex;
    flex-wrap: wrap;
  }
  .dane .col {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
  
  /* .kontakt - 2 kolumny */
  .kontakt {
    display: flex;
    flex-wrap: wrap;
  }
  .kontakt .col {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .row.columns-row.kontakt {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 0px;
    padding-left: 3%;
}
.row.columns-row.dane {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
h3.tytul-h3 {
    font-size: 1rem;
}
p {
    font-size: 1.4rem;
}

form.wpcf7-form.init, form.wpcf7-form.sent, form.wpcf7-form.submitting, form.wpcf7-form.resetting {
    gap: 2rem;
    padding-top: 5rem;
}

    textarea.wpcf7-form-control.wpcf7-textarea {
        height: 220px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

.form-row-end {
    width: 100%;
}
}


@media (max-width: 768px) {
 h1, .header-content h1 {
    font-size: 2.8rem;
 }
h2, h2.title-section, h2.title-section p {
    font-size: 2.4rem;
}
.btn-primary, input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background-color: var(--orange);
    border: none;
    padding: 8px 17px 12px 19px;
    color: var(--white);
    border-radius: 6px;
    width: max-content;
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
}
.company-name {
    width: 80%;
    font-size: 1rem;
}
h4 {
    font-size: 1.2rem;
}
p {
    font-size: 1.2rem;
}
.opakowane.details-content {
    font-size: 1rem;
}
.row.columns-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
      form.wpcf7-form.init, form.wpcf7-form.sent, form.wpcf7-form.submitting, form.wpcf7-form.resetting {
        gap: 0rem;
        padding-top: 5rem;
        display: flex;
        flex-direction: column;
    }
    .form-row {
    margin-bottom: 0px;
    width: 100%;
}
.form-row-end {
    width: 100%;
}
.col.logistyka, .col.sekretariat, .col.ksiegowosc, .col.zamowienia {
    padding: 10px 16px;
}
    .dane .col {
        padding-right: 0px;
    }
    .kontakt .col {
        flex: 0 0 48%;
        max-width: 48%;
    }
.row.columns-row.kontakt {
        gap: 18px 8px;
        justify-content: space-between;
    }

    .btn-primary, input.wpcf7-form-control.wpcf7-submit.has-spinner {
        float: right;
    }

}
