body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #222;
}
/* TOP BAR */
.top-bar {
    background: #0d47a1; /* ciemny niebieski */
    color: #ddd;
    display: flex;
    justify-content: space-between;
    padding: 8px 20px;
    font-size: 14px;
}

.top-left i, .top-right i {
    margin-right: 6px;
    color: white; /* pomarańczowy akcent */
}

.top-left span, .top-right a {
    margin-right: 15px;
}

.top-right a {
    color: #ddd;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.top-right a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: black; /* podkreślenie */
    transition: width 0.3s;
}

.top-right a:hover::after {
    width: 100%; /* animowane podkreślenie */
}

/* NAV LINKS */
/* NAV - styl przycisków */
nav {
    background: #1565c0; /* jaśniejszy niebieski */
    display: flex;
    justify-content: center;
    padding: 15px;
}

nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

nav .nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(135deg, #1e76db, #1998be);
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    margin-left: 10px;
}

/* Hover efekt */
nav .nav-link:hover {
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Podkreślenie animowane */
nav .nav-link::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 0%;
    bottom: 0;
    left: 0;
    background: #ff9800;
    border-radius: 2px;
    transition: width 0.3s;
}

nav .nav-link:hover::after {
    width: 100%;
}
/* Podświetlenie aktywnego linku w nav */
nav .nav-link.active {
    background-color: #ff9800;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

nav .nav-link.active::after {
    width: 100%;
    background-color: #fff;
}
/* SLIDER */
.slider {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fade 10s infinite;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 5s;
}

@keyframes fade {
    0% {opacity: 0;}
    10% {opacity: 1;}
    40% {opacity: 1;}
    50% {opacity: 0;}
    100% {opacity: 0;}
}

/* PRODUKTY */
.products {
    padding: 40px 20px;
    background: #f4f4f4;
}

.products h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #222;
}

/* Siatka produktów */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-grid{
    width: 75%;
    margin: auto;
}
.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product .price {
    font-weight: bold;
    font-size: 16px;
    margin: 10px 0;
    color: #333;
}

.product button {
    display: block;
    width: 90%;
    margin: 10px auto 0 auto;
    padding: 12px;
    border: none;
    background-color: #1e76db;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.product button:hover {
    background-color: #0d47a1; /* ciemniejszy pomarańczowy */
    transform: translateY(-2px);
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* FOOTER */
footer {
    background: #222;
    color: #ddd;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 40px 20px;
    gap: 20px;
    width: 80%;
    margin: auto;
    text-align: left;
}

.footer-col h3 {
    margin-bottom: 15px;
    color: white;
}
.footer-col a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #1565c0;
}

.footer-bottom {
    background: #111;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}
footer ul {
    list-style: none;   /* usuwa kropki */
    padding: 0;         /* usuwa wcięcie */
    margin: 0;          /* usuwa margines domyślny */
    text-align: left;   /* wyrównanie tekstu do lewej */
}

footer li {
    margin-bottom: 8px; /* odstęp między elementami listy */
}
/* TELEFON +48 BOX */
.phone-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.phone-wrapper .prefix {
    background: #e3f2fd;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-weight: bold;
    color: #0d47a1;
}

.phone-wrapper input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 0 6px 6px 0;
    outline: none;
    font-size: 14px;
}

.phone-wrapper input:focus {
    border-color: #1e76db;
    box-shadow: 0 0 5px rgba(30,118,219,0.3);
}
/* WIERSZ KOLORU */
.color-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.color-row label {
    font-weight: bold;
}

/* PEŁNA SZEROKOŚĆ COLOR PICKERA */
input[type="color"] {
    width: 100%;
    height: 50px;
    border-radius: 6px;
    border: 1px solid #ccc;
    cursor: pointer;
    padding: 5px;
    background: #fff;
}
input[type="color"]::-webkit-color-swatch {
    border-radius: 4px;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}