/* =========================
   RESET + PODSTAWY
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@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;
    color: #000;
    line-height: 1.5;
    background-image: url("tlo.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
   padding-top: 150px; /* top-bar + header */

}
/* Tło tylko dla podstrony kontakt */
body.shop-page {
    background-image: url('sklep-tlo.png'); /* Twój obraz */
    background-repeat: no-repeat;
    background-position: center center; /* KLUCZ: wyśrodkowanie */
    background-size: 100% auto; /* dopasowuje obraz bez skalowania nieproporcjonalnego */
    background-attachment: fixed; /* opcjonalnie: tło nieruchome przy scrollu */
}

/* Opcjonalnie: lekko przezroczyste tło dla sekcji tekstowej */
.shop-section {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 20px;
    border-radius: 10px;
}

a {
    color: inherit;
} 

body::before {
    content: "";
    position: fixed;
    inset: 0;
    
    z-index: -1;
}

.main {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    z-index: 1;
     padding-top: 145px; /* 35px top-bar + 110px header */
}

/* =========================
   TOP BAR
========================= */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
   height: 35px;
    z-index: 1000;
    background-color: #f2f2f2;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 0 20px;
}

.top-bar .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar i {
    color: #000;
}

/* =========================
   HEADER (DESKTOP)
========================= */
header {
    position: fixed;
    top: 35px; /* wysokość .top-bar */
    left: 0;
    width: 100%;
    z-index: 900;
    height: 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
   

       background: rgba(255, 255, 255, 0.4); /* półprzezroczyste */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    border: none;
    box-shadow: none;

    transition:
        background 0.25s ease,
        backdrop-filter 0.25s ease,
        box-shadow 0.25s ease;
}


header::before {
 content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    /* tło przezroczyste z gradientem od góry do dołu */
    background: rgba(255,255,255,0.6);

    /* rozmycie całego tła pod pseudo-elementem */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    /* maska, aby blur stopniowo zanikał u dołu */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;

    pointer-events: none; /* nie blokuje kliknięć */
}






header.scrolled {
     background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 110px;
    width: auto;
}

/* =========================
   MENU GŁÓWNE (DESKTOP)
========================= */
nav ul.menu {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul.menu li {
    position: relative;
}

nav ul.menu li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    border-radius: 4px;
     transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;




    text-decoration: none;
}

nav ul.menu li a:hover {
    color: #fff;
    background-color: #000;
      transform: scale(1.08);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

nav ul.menu li.dropdown > a::after {
    content: " ▾";
    margin-left: 5px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    min-width: 180px;
    z-index: 1001;
    padding: 0;
    margin: 0;
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #333;
}

.dropdown-menu li a:hover {
    background-color: #eee;
}

nav ul.menu li.dropdown:hover .dropdown-menu,
nav ul.menu li.dropdown.open .dropdown-menu {
    display: block;
}

/* =========================
   MAIN / SEKCJE
========================= */
main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2 {
    margin-bottom: 20px;
}

/* =========================
   FORMULARZE
========================= */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    padding: 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
     font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

button {
    padding: 14px;
    background-color: #00c65e;
    color: #fff;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background-color: #009e4a;
}

/* =========================
   SKUP
========================= */
.skup-container {
    max-width: 600px;
}

/* =========================
   KONTAKT
========================= */
.kontakt-wrapper {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.kontakt-left {
    flex: 1;
    font-size: 16px;
     padding: 0 150px; 
}

.kontakt-right {
    flex: 1;
     padding: 0 150px; 
}

.kontakt-anim {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s ease;
    margin-bottom: 20px;
}

.kontakt-right:hover .kontakt-anim {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   MAPA
========================= */
.map-section {
    width: 100%;
    margin-top: 0px;
}

.map-section iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

/* =========================
   SUKCES MESSAGE
========================= */
.success-message {
    display: none;
    background-color: #e6ffe9;
    border: 1px solid #00c65e;
    color: #006b2e;
    padding: 12px;
    margin-bottom: 15px;
}

/* =========================
   STOPKA
========================= */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* cała wysokość ekranu */
    margin: 0;
}
main {
    flex: 1;
}
footer {
    background-color: #1a1e29; /* Twój kolor stopki */
    color: #fff;
    padding: 6px;
    text-align: center;
    font-size: 14px;
     text-transform: lowercase; /* wszystko małymi literami */
}



.footer-info a {
    color: #fff; /* linki w stopce białe */
    text-decoration: underline;
}

.footer-info .rodo-box {
    max-height: 250px;
    overflow-y: auto;
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px 0;
    text-align: left;
}
 
/* =========================
   SHOP SECTION
========================= */
.shop-section {
    position: fixed;           /* przyklejona do ekranu */
    top: 50%;                  /* środek ekranu w pionie */
    left: 300px;                /* odstęp od lewej krawędzi ekranu */
    transform: translateY(-50%); /* przesunięcie do pionowego środka */

        



    
    width: 600px;              /* szerokość ramki */
    padding: 30px 20px;        /* odstęp wewnętrzny */
    background: rgba(255, 255, 255, 0.5); /* tło ramki */
    border-radius: 10px;       /* zaokrąglone rogi */
    
    display: flex;
    flex-direction: column;
    justify-content: center;   /* pionowe wyśrodkowanie */
    align-items: center;       /* poziome wyśrodkowanie wszystkich elementów */
    text-align: center;        /* tekst w środku */




}

.shop-left {
    width: 100%;               /* zajmuje całą szerokość ramki */
    display: flex;
    flex-direction: column;
    justify-content: center;   /* pionowe wyśrodkowanie w ramce */
    align-items: center;       /* poziome wyśrodkowanie w ramce */
    text-align: center;        /* nagłówek i paragrafy wyśrodkowane */
}
  .shop-left h1 {
    font-size: 36px;      /* rozmiar nagłówka */
    font-weight: 700;     /* pogrubienie nagłówka */
    margin-bottom: 30px;  /* odstęp poniżej nagłówka */
}

.shop-left p {
    font-size: 18px;      /* rozmiar tekstu pod nagłówkiem */
    font-weight: 400;     /* normalna waga czcionki */
    margin-bottom: 30px;  /* odstęp między paragrafami */
}

.shop-left a {
    font-size: 18px;      /* rozmiar linków */
    font-weight: 600;     /* półpogrubienie, żeby link wyróżniał się */
    text-decoration: none; /* usuwa podkreślenie linku */
    color: #000;          /* kolor linku, możesz zmienić */
        text-decoration: none; /* usuwa podkreślenie */
    color: #ffffff;           /* kolor tekstu linku, np. czarny */
}
 
.btn {
    display: inline-block;       /* żeby można było ustawić padding */
    padding: 12px 25px;          /* wielkość przycisku */
    background-color: #e78b21;   /* kolor tła */
    color: #fff;                 /* kolor tekstu */
    font-weight: bold;
    text-decoration: none;       /* usuwa podkreślenie linku */
    border-radius: 6px;          /* zaokrąglone rogi */
     transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
    
}

.btn:hover {
    background-color: #ffffff;
    color: #e78b21;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}



a:hover {
    color: #e78b21;        /* opcjonalnie: zmiana koloru po najechaniu */
    text-decoration: none; /* upewniamy się, że hover nie dodaje podkreślenia */
    
}

/* =========================
   HAMBURGER BUTTON (MOBILE)
========================= */
.hamburger {
    display: none; /* desktop hidden */
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    -webkit-tap-highlight-color: transparent; /* usuwa zielony efekt iOS */
    -webkit-user-select: none;                /* nie pozwala na zaznaczanie */
    -webkit-touch-callout: none;             /* usuwa menu kontekstowe iOS */
    outline: none;                            /* usuwa ramkę focus */
    background: none;                         /* upewnij się, że tło jest przezroczyste */
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #000;
    border-radius: 2px;
     transition: all 0.3s ease;
}
/* jeśli hamburger jest aktywny, kreski zmieniają kolor na biały */
.hamburger.active span {
    background: #fff;
}

/* dla przycisku dotykowego, usuwa zielone tło przy kliknięciu */
.hamburger:active,
.hamburger:focus {
    background-color: transparent !important;
}

/* =========================
   MOBILE MENU
========================= */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
          margin-left: auto; /* przesuwa hamburgera na prawą stronę */
    }
/* Header */
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 5px 10px;   /* mniejsze pady, żeby wszystko się zmieściło */
        height: 50px;        /* dostosowana wysokość headera */
    } 

      header.scrolled {
        background: rgba(255,255,255,0.7);
        backdrop-filter: blur(8px);
    }

    /* Logo */
    .logo img {
        max-height: 40px;    /* logo mniejsze w mobile */
        width: auto;
    }
 .top-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    top: 0;
    padding: 2px 10px;
    width: 100%;
      font-size: 10px;
 }
    .top-bar .contact-item {
        gap: 6px; /* mniejsze odstępy między ikonami/tekstami */
    }


    .main-nav {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: #fff;
        display: none;
        flex-direction: column;
        border-bottom: 2px solid #000;
        z-index: 1001;
    }

    .main-nav.active {
        display: flex;
    }

    nav ul.menu {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        margin: 0;
    }

    nav ul.menu li {
        width: 100%;
    }

    nav ul.menu li a {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;

         -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none; /* blokuje menu kontekstowe przy long press */
        -webkit-user-select: none;   /* nie pozwala na zaznaczanie tekstu */
}
    nav ul.menu li a:hover,
    nav ul.menu li a:active,
    nav ul.menu li a:focus {
        color: #fff;
        background-color: #000;
    }

    /* Dropdown */
    nav ul.menu li.dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: static;
        display: none;
        flex-direction: column;
        padding-left: 15px;
        border-left: 2px solid #000;
        background: #fff;
    }

    .dropdown.open .dropdown-menu {
        display: flex;
    }

    nav ul.menu li.dropdown > a::after {
        content: "▸";
        margin-left: 5px;
        transition: transform 0.3s ease;
    }

    .dropdown.open > a::after {
        transform: rotate(90deg);
    }

    /* Skup mobile */
    .skup-container {
        width: 100%;
        padding: 0 20px;
    }

    .skup-container form {
        gap: 10px;
    }

    .skup-container input,
    .skup-container textarea {
        width: 100%;
        box-sizing: border-box;
    }

    .skup-container button {
        width: 100%;
        max-width: 300px;
        align-self: center;
    }

    /* Shop section mobile */
    .shop-section {
        position: relative;      /* usuwa fixed */
        top: auto;
        left: auto;
        transform: none;

        width: 100%;             /* pełna szerokość */
        max-width: 100%;
        margin: 20px auto;       /* odstęp od góry */
        padding: 25px 20px;

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

        background: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
    }

    .shop-left {
        width: 100%;
        text-align: center;      /* tekst na środku */
        align-items: center;
    }

    .shop-left h1 {
        font-size: 26px;
    }

    .shop-left p {
        font-size: 16px;
    }

    .btn {
        margin-top: 15px;
        background-color: #e78b21;   /* kolor tła */
    color: #fff;                 /* kolor tekstu */
    }
}


/* Mobile: usuwa domyślne zielone tło przy dotknięciu i stosuje czarne hover */


nav ul.menu li a:hover,
nav ul.menu li a:active,
nav ul.menu li a:focus {
    color: #fff;
    background-color: #000;
}

.content-frame {
    max-width: 1200px;
    margin: 40px auto;              /* wyśrodkowanie */
    padding: 40px 30px;

    background: rgba(255, 255, 255, 0.5); /* jak shop */
    border-radius: 10px;

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

        display: flex;
    flex-direction: column;
    align-items: center;        /* WYŚRODKOWANIE CAŁEJ TREŚCI */
    text-align: center;         /* WYŚRODKOWANIE TEKSTU */
} 

/* =========================
   BRANDS GRID
========================= */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 kolumny */
    gap: 20px 60px;
    max-width: 600px;
    margin: 30px auto 40px auto;
  
}

.brand-item {
    font-size: 20px;           /* większe, czytelne */
    font-weight: 700;
    color: #1a1e29;            /* ciemny, profesjonalny */
    padding: 12px 18px;

    background: rgba(255, 255, 255, 0.35);
    border-radius: 8px;

    transition: 
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
    cursor: default;

     border: 1px solid rgba(0, 0, 0, 0.2);  /* delikatna czarna ramka */
}

/* efekt hover */
.brand-item:hover {
    color: #ffffff;
    background-color: #1a1e29; /* akcent – ten sam co przyciski */
  transform: scale(1.1) ;

    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* =========================
   Kategorie GRID
========================= */
.kategoria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 kolumny */
    gap: 20px 60px;
    max-width: 600px;
    margin: 30px auto 40px auto;
  
}

.kategoria-item {
    font-size: 20px;           /* większe, czytelne */
    font-weight: 700;
    color: #1a1e29;            /* ciemny, profesjonalny */
    padding: 12px 18px;

    background: rgba(255, 255, 255, 0.35);
    border-radius: 8px;

     transition: 
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;


    cursor: default;

     display: flex;
    align-items: center;        /* WYŚRODKOWANIE PIONOWE */
    justify-content: center;    /* WYŚRODKOWANIE POZIOME */

    text-align: center;

     border: 1px solid rgba(0, 0, 0, 0.2);  /* delikatna czarna ramka */
}

/* efekt hover */
.kategoria-item:hover {
    color: #ffffff;
    background-color: #1a1e29; /* akcent – ten sam co przyciski */
  transform: scale(1.1) ;

    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.skup-info {
    max-width: 700px;                /* kontrola szerokości */
    margin: 0 auto 30px auto;        /* wyśrodkowanie + odstęp */
    padding: 18px 25px;

    text-align: center;              /* WYŚRODKOWANIE TEKSTU */
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
    color: #1a1e29;

    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(0, 0, 0, 0.2); /* delikatna ramka */
    border-radius: 8px;

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}