@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #444;
    background: #fff;
}

/* ===== NAGŁÓWEK RABAKOM ===== */

.container {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

#site-header {
    background: #fff;
}

.topbar {
    height: 35px;
    border-bottom: 1px solid #e4e4e4;
    background: #fff;
}

.topbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.topbar-contact {
    font-size: 12px;
    color: #666;
}

.topbar-contact span {
    margin: 0 8px;
    color: #ccc;
}

.main-header {
    height: 90px;
    border-bottom: 1px solid #e4e4e4;
    background: #fff;
}

.main-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    width: 300px;
    height: 22px;
    display: block;
}

#site-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

#site-navigation li {
    margin: 0;
    padding: 0;
}

#site-navigation a {
    display: block;
    padding: 36px 15px;
    color: #666;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

#site-navigation a:hover {
    color: #289dcc;
}

/* ===== MOBILE ===== */

@media (max-width: 900px) {

    .container {
        width: 100%;
    }

    .main-header {
        height: auto;
    }

    .main-header .container {
        flex-direction: column;
        padding: 20px 15px;
        gap: 20px;
    }

    #site-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    #site-navigation a {
        padding: 10px;
    }
}

/* ===== MENU - NIEBIESKA BELKA I ANIMACJA ===== */

#site-navigation a {
    position: relative;
    transition: color 0.25s ease;
}

#site-navigation a::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    height: 3px;
    background: #289dcc;

    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

#site-navigation a:hover {
    color: #289dcc;
}

#site-navigation a:hover::after {
    transform: scaleX(1);
}

/* aktywna strona */
#site-navigation .current-menu-item > a {
    color: #289dcc;
}

#site-navigation .current-menu-item > a::after {
    transform: scaleX(1);
}

/* ========================================
   SLIDER RABAKOM
   ======================================== */

.rabakom-slider {
    position: relative;
    width: 100%;
    height: 390px;
    overflow: hidden;
    background: #fff;
}

.slider-content {
    position: relative;
    width: 1400px;
    height: 390px;
    margin: 0 auto;
}

.slider-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 390px;
    overflow: hidden;
}

.slider-background img {
    position: absolute;
    width: 1400px;
    height: 720px;
    max-width: none;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

/* RABAKOM */

.slider-rabakom {
    position: absolute;
    left: 205px;
    top: 33px;
    width: 735px;
    height: 607px;
    max-width: none;
}

/* CIRCLE */

.slider-circle {
    position: absolute;
    left: 678px;
    top: 28px;
    width: 216px;
    height: 293px;
    max-width: none;
}

/* IKONY */

.slider-sklepy {
    position: absolute;
    left: 848px;
    top: 25px;
    width: 131px;
    height: 61px;
}

.slider-business {
    position: absolute;
    left: 901px;
    top: 103px;
    width: 79px;
    height: 61px;
}

.slider-ins {
    position: absolute;
    left: 900px;
    top: 181px;
    width: 79px;
    height: 61px;
}

.slider-pc {
    position: absolute;
    left: 850px;
    top: 259px;
    width: 131px;
    height: 61px;
}

/* NAPISY */

.slider-text {
    position: absolute;
    left: 1020px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 22px;
    color: #555;
    white-space: nowrap;
}

.slider-text-1 {
    top: 47px;
}

.slider-text-2 {
    top: 126px;
}

.slider-text-3 {
    top: 205px;
}

.slider-text-4 {
    top: 287px;
}

/* GŁÓWNY NAPIS */

.slider-title {
    position: absolute;
    left: 560px;
    top: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    line-height: 35px;
    color: #555;
    white-space: nowrap;
}

.slider-years {
    position: absolute;
    left: 555px;
    top: 207px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    line-height: 30px;
    color: #555;
    white-space: nowrap;
}

/* ========================================
   RESPONSYWNOŚĆ
   ======================================== */

@media (max-width: 1400px) {

    .slider-content {
        transform-origin: top center;
        transform: scale(calc(100vw / 1400));
    }

    .rabakom-slider {
        height: calc(390px * (100vw / 1400));
    }
}

@media (max-width: 700px) {

    .rabakom-slider {
        display: none;
    }
}

/* ========================================
   SLIDER RABAKOM
   ======================================== */

.rabakom-slider {
    position: relative;
    width: 100%;
    height: 390px;
    overflow: hidden;
    background: #fff;
}

.slider-content {
    position: relative;
    width: 1400px;
    height: 390px;
    margin: 0 auto;
}

.slider-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 390px;
    overflow: hidden;
}

.slider-background img {
    position: absolute;
    width: 1400px;
    height: 720px;
    max-width: none;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

/* RABAKOM */

.slider-rabakom {
    position: absolute;
    left: 205px;
    top: 33px;
    width: 735px;
    height: 607px;
    max-width: none;
}

/* CIRCLE */

.slider-circle {
    position: absolute;
    left: 678px;
    top: 28px;
    width: 216px;
    height: 293px;
    max-width: none;
}

/* IKONY */

.slider-sklepy {
    position: absolute;
    left: 848px;
    top: 25px;
    width: 131px;
    height: 61px;
}

.slider-business {
    position: absolute;
    left: 901px;
    top: 103px;
    width: 79px;
    height: 61px;
}

.slider-ins {
    position: absolute;
    left: 900px;
    top: 181px;
    width: 79px;
    height: 61px;
}

.slider-pc {
    position: absolute;
    left: 850px;
    top: 259px;
    width: 131px;
    height: 61px;
}

/* NAPISY */

.slider-text {
    position: absolute;
    left: 990px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 22px;
    color: #555;
    white-space: nowrap;
}

.slider-text-1 {
    top: 47px;
}

.slider-text-2 {
    top: 126px;
}

.slider-text-3 {
    top: 205px;
}

.slider-text-4 {
    top: 287px;
}

/* GŁÓWNY NAPIS */

.slider-title {
    position: absolute;
    left: 544px;
    top: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    line-height: 35px;
    color: #555;
    white-space: nowrap;
}

.slider-years {
    position: absolute;
    left: 541px;
    top: 207px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    line-height: 30px;
    color: #555;
    white-space: nowrap;
}

/* ========================================
   RESPONSYWNOŚĆ
   ======================================== */

@media (max-width: 1400px) {

    .slider-content {
        transform-origin: top center;
        transform: scale(calc(100vw / 1400));
    }

    .rabakom-slider {
        height: calc(390px * (100vw / 1400));
    }
}

@media (max-width: 700px) {

    .rabakom-slider {
        display: none;
    }
}

/* ===== BIAŁY TEKST SLIDERA ===== */

.slider-text,
.slider-title,
.slider-years {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.slider-text {
    font-size: 18px;
}

.slider-title {
    font-size: 28px;
}

.slider-years {
    font-size: 24px;
    font-weight: 600;
}

/* ===== MOCNIEJSZE PRZESUNIĘCIE PRAWEJ CZĘŚCI SLIDERA ===== */

.slider-circle {
    left: 738px;
    top: 58px;
}

.slider-sklepy {
    left: 908px;
    top: 55px;
}

.slider-business {
    left: 961px;
    top: 133px;
}

.slider-ins {
    left: 960px;
    top: 211px;
}

.slider-pc {
    left: 910px;
    top: 289px;
}

.slider-text {
    left: 1050px;
}

.slider-text-1 {
    top: 77px;
}

.slider-text-2 {
    top: 156px;
}

.slider-text-3 {
    top: 235px;
}

.slider-text-4 {
    top: 317px;
}

.slider-title {
    left: 584px;
    top: 23px;
}

.slider-years {
    left: 581px;
    top: 237px;
}

/* ========================================
   ANIMACJA SLIDERA RABAKOM
   ======================================== */

@keyframes sliderFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes sliderFromLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes sliderFromRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes sliderFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tło */
.slider-background {
    animation: sliderFade 1.2s ease-out both;
}

/* RABAKOM */
.slider-rabakom {
    animation: sliderFromLeft 1s ease-out 0.2s both;
}

/* CIRCLE */
.slider-circle {
    animation: sliderFromRight 1s ease-out 0.5s both;
}

/* Ikony */
.slider-sklepy {
    animation: sliderFromRight 0.8s ease-out 0.8s both;
}

.slider-business {
    animation: sliderFromRight 0.8s ease-out 1s both;
}

.slider-ins {
    animation: sliderFromRight 0.8s ease-out 1.2s both;
}

.slider-pc {
    animation: sliderFromRight 0.8s ease-out 1.4s both;
}

/* Główny napis */
.slider-title {
    animation: sliderFromBottom 1s ease-out 0.6s both;
}

/* 20 lat */
.slider-years {
    animation: sliderFromBottom 1s ease-out 1s both;
}

/* Teksty */
.slider-text-1 {
    animation: sliderFromRight 0.8s ease-out 1s both;
}

.slider-text-2 {
    animation: sliderFromRight 0.8s ease-out 1.2s both;
}

.slider-text-3 {
    animation: sliderFromRight 0.8s ease-out 1.4s both;
}

.slider-text-4 {
    animation: sliderFromRight 0.8s ease-out 1.6s both;
}

/* ========================================
   SEKCJA POD SLIDEREM
   ======================================== */

.home-intro {
    padding: 55px 0 60px;
    background: #fff;
}

.home-intro-text {
    max-width: 900px;
    margin: 0 auto 45px;
    text-align: center;
}

.home-intro-text h2 {
    margin: 0 0 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #666;
}

.home-intro-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #777;
}

/* ===== TRZY BLOKI ===== */

.home-features {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.home-feature {
    flex: 1;
    max-width: 330px;
    text-align: center;
    padding: 10px 20px;
}

.home-feature-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 18px;
    border-radius: 50%;
    border: 2px solid #289dcc;
    color: #289dcc;
    font-size: 17px;
    line-height: 51px;
    font-weight: bold;
}

.home-feature h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 400;
    color: #555;
}

.home-feature p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #888;
}

/* ===== MOBILE ===== */

@media (max-width: 700px) {

    .home-intro {
        padding: 40px 0;
    }

    .home-features {
        flex-direction: column;
        align-items: center;
    }

    .home-feature {
        width: 100%;
    }
}

 /* =========================================================
    ŚRODKOWA CZĘŚĆ STRONY
    ========================================================= */

/* Informacja o godzinach sklepu */

.shop-hours {
    background: #fff;
    padding: 18px 0;
    border-bottom: 1px solid #e4e4e4;
}

.shop-hours p {
    margin: 0;
    text-align: center;
    color: #666;
    font-size: 14px;
    line-height: 22px;
}

.shop-hours strong {
    color: #444;
}


/* =========================================================
   NIEBIESKA SEKCJA - O FIRMIE
   ========================================================= */

.about-blue {
    background: #289dcc;
    padding: 45px 0;
    color: #fff;
}

.about-blue .container {
    max-width: 1100px;
}

.about-blue p {
    margin: 0 0 20px 0;
    color: #fff;
    font-size: 14px;
    line-height: 24px;
}

.about-blue p:last-child {
    margin-bottom: 0;
}

.about-signature {
    margin-top: 30px !important;
    font-weight: bold;
    line-height: 26px !important;
}


/* =========================================================
   DLACZE WARTO WYBRAĆ RABAKOM
   ========================================================= */

.why-rabakom {
    background: #fff;
    padding: 50px 0;
}

.why-rabakom h2 {
    margin: 0 0 40px 0;
    color: #666;
    font-size: 23px;
    line-height: 30px;
    font-weight: normal;
    text-align: center;
}

.why-items {
    display: flex;
    gap: 50px;
}

.why-item {
    flex: 1;
    text-align: center;
}

.why-item h3 {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 18px;
    line-height: 24px;
    font-weight: normal;
    text-transform: none;
}

.why-item p {
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 22px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .about-blue {
        padding: 30px 0;
    }

    .about-blue p {
        font-size: 13px;
        line-height: 22px;
    }

    .why-rabakom {
        padding: 35px 0;
    }

    .why-items {
        flex-direction: column;
        gap: 35px;
    }

}

/* =========================================================
   STOPKA RABAKOM
   ========================================================= */

#site-footer {
    margin: 0;
    padding: 0;
    color: #999;
    background: #444;
}

/* Główna część stopki */
.footer-main {
    padding: 50px 0;
    background-color: #444;
    background-image: url("/rabakom/wp-content/uploads/2017/01/slider.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-top: 10px solid #333;
}

/* Przyciemnienie zdjęcia */
.footer-main .container {
    display: flex;
    gap: 100px;
}

/* Kolumny */
.footer-column {
    flex: 1;
    min-width: 0;
}

/* Nagłówki */
.footer-column h3 {
    margin: 0 0 20px 0;
    color: #fff;
    font-size: 18px;
    line-height: 24px;
    font-weight: normal;
}

/* Tekst */
.footer-column p {
    margin: 0 0 20px 0;
    color: #ccc;
    font-size: 13px;
    line-height: 22px;
}

/* Wyróżnienia */
.footer-column strong {
    color: #fff;
}

/* E-mail */
.footer-column a {
    color: #289dcc;
    text-decoration: none;
}

.footer-column a:hover {
    color: #fff;
}

/* Copyright */
.copyright {
    padding: 20px 0;
    background: #222;
    color: #777;
    font-size: 12px;
}

.copyright .container {
    text-align: left;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .footer-main .container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-main {
        padding: 35px 0;
    }

}

/* =========================================================
   O FIRMIE - DWIE KOLUMNY
   ========================================================= */

.about-columns {
    display: flex;
    gap: 60px;
}

.about-column {
    flex: 1;
    min-width: 0;
}

.about-column p {
    margin: 0 0 20px 0;
    color: #fff;
    font-size: 14px;
    line-height: 24px;
}

.about-column p:last-child {
    margin-bottom: 0;
}

.about-signature {
    margin-top: 30px !important;
    font-weight: bold;
    line-height: 26px !important;
}


/* Telefon / małe ekrany */

@media (max-width: 700px) {

    .about-columns {
        flex-direction: column;
        gap: 10px;
    }

}

/* =========================================================
   IKONY - DLACZEGO WYBRAĆ NAS
   ========================================================= */

.why-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px auto;

    border-radius: 50%;
    background: #289dcc;

    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon svg {
    width: 27px;
    height: 27px;

    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   PODSTRONY
   ========================================================= */

/* Pasek tytułu */

.page-title {
    background: #fafafa;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    padding: 25px 0;
}

.page-title h1 {
    margin: 0;
    color: #666;
    font-size: 28px;
    line-height: 35px;
    font-weight: normal;
}


/* Zawartość podstrony */

.page-content {
    background: #fff;
    padding: 45px 0 60px 0;
}

.page-content article {
    margin: 0;
}

.page-content p {
    margin: 0 0 20px 0;
    color: #444;
    font-size: 13px;
    line-height: 22px;
}

.page-content h2 {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 23px;
    line-height: 30px;
    font-weight: normal;
}

.page-content h3 {
    margin: 25px 0 15px 0;
    color: #666;
    font-size: 18px;
    line-height: 24px;
    font-weight: normal;
}

.page-content ul,
.page-content ol {
    margin: 0 0 20px 25px;
    padding: 0;
}

.page-content li {
    margin-bottom: 8px;
    line-height: 22px;
}


/* Obrazki */

.page-content img {
    max-width: 100%;
    height: auto;
}


/* Małe ekrany */

@media (max-width: 700px) {

    .page-title {
        padding: 20px 0;
    }

    .page-title h1 {
        font-size: 24px;
        line-height: 30px;
    }

    .page-content {
        padding: 30px 0 40px 0;
    }

}

/* =========================================================
   STRONA 404
   ========================================================= */

.rabakom-error-page {
    width: 90%;
    max-width: 650px;
    margin: 70px auto;
    padding: 50px 40px;
    text-align: center;
    background: #fff;
    border: 1px solid #e1e7ec;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.rabakom-error-code {
    font-size: 72px;
    line-height: 1;
    font-weight: 700;
    color: #1473c9;
    margin-bottom: 20px;
}

.rabakom-error-page h1 {
    margin: 0 0 15px;
    font-size: 30px;
    font-weight: 600;
    color: #222;
}

.rabakom-error-page p {
    margin: 0 0 25px;
    font-size: 17px;
    line-height: 1.6;
    color: #555;
}

.rabakom-error-button {
    display: inline-block;
    padding: 11px 26px;
    background: #1473c9;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background .2s ease;
}

.rabakom-error-button:hover {
    background: #0f5fa8;
    color: #fff !important;
}

@media (max-width: 600px) {

    .rabakom-error-page {
        margin: 40px auto;
        padding: 35px 25px;
    }

    .rabakom-error-code {
        font-size: 58px;
    }

    .rabakom-error-page h1 {
        font-size: 25px;
    }

    .rabakom-error-page p {
        font-size: 15px;
    }
}