/* Podstawowe style */
body {
    
    margin: 0 auto;
    font-family: Arial, sans-serif;
    color: #333;
    max-width: 900px;
    background-color: #f5f5f5;
}

/* Nagłówek */
header {
    margin-bottom: 1rem;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1e293b; /* Kolor tła */
    padding: 1rem 2rem;
    border-radius: 10px; /* Zaokrąglone rogi */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Cień */
    margin: 0 auto;
    max-width: 1200px; /* Szerokość navbaru */
}

/* Marka/tytuł */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Odstęp między logo a tekstem */
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.navbar-logo {
    width: 40px; /* Szerokość logo */
    height: 40px; /* Wysokość logo */
    object-fit: contain; /* Dopasowanie proporcji logo */
    border-radius: 5px; /* Opcjonalne zaokrąglenie rogów logo */
}

/* Linki */
.navbar-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    list-style: none;
}

.navbar-links a {
    text-decoration: none;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Aktywny link */
.navbar-links a.active {
    background-color: #2563eb; /* Kolor aktywnego linku */
    color: #ffffff;
}

/* Hover efekt */
.navbar-links a:hover {
    background-color: #3b82f6;
    color: #ffffff;
}

/* Responsywność */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}


.og-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(10,10,10,0.85);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.og-modal[aria-hidden="false"] { display: flex; }

.og-modal-content {
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  position: relative;
}

.og-modal-content img {
  max-width: 100%;
  max-height: calc(90vh - 80px);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

.og-modal-caption {
  margin-top: 10px;
  color: #ddd;
  font-size: 0.95rem;
  text-align: center;
  max-width: 1000px;
}

/* przyciski */
.og-modal-close,
.og-modal-prev,
.og-modal-next {
  position: absolute;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 8px 12px;
  opacity: 0.9;
}

.og-modal-close { top: 12px; right: 18px; font-size: 2.6rem; }
.og-modal-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.og-modal-next { right: 12px; top: 50%; transform: translateY(-50%); }

.og-modal-close:focus,
.og-modal-prev:focus,
.og-modal-next:focus { outline: 2px solid #fff; border-radius: 6px; }

/* małe miniaturki w karcie (opcjonalne) */
.product img { cursor: zoom-in; transition: transform .15s ease; }
.product img:hover { transform: scale(1.02); }

/* mały wskaźnik ilości zdjęć (opcjonalny) */
.product .photo-count {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
}
.product { position: relative; }


.logo {
    width: 120px;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    color: #fff;
    background-color: #007BFF;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Sekcja produktów */
.products {
    padding: 50px 20px;
    text-align: center;
}

.product {
    position: relative;
    display: inline-block;
    margin: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
}

.product:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.product img {
    width: 300px;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.product.sold img {
    opacity: 0.5; /* Wyszarzenie zdjęcia */
}

.product .watermark {
    display: none; /* Domyślnie ukryte */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 5px;
}

.product.sold .watermark {
    display: block; /* Widoczne tylko dla produktów oznaczonych jako "sprzedane" */
}

.btn {
    display: inline-block;
    padding: 10px 15px;
    color: white;
    background-color: #28a745;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #218838;
}

/* Kontakt */
.contact {
    text-align: center;
    padding: 20px;
    background-color: #222;
    color: #fff;
}

/* Ogólne style dla strony kontaktowej */
.contact-section {
    padding: 2rem;
    background-color: #f8f9fa;
    color: #333;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.contact-section h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    padding: 1rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-details h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #007bff;
}

.contact-details p {
    margin: 0.5rem 0;
}

.contact-details a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: #0056b3;
}

/* Formularz kontaktowy */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background: #f9f9f9;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #007bff;
    outline: none;
    background: #fff;
}

.contact-form button {
    background-color: #007bff;
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}


/* Stopka */
.footer {
    text-align: center;
    padding: 10px;
    background-color: #000;
    color: #fff;
}

footer .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

footer .social-links a img {
    width: 40px; /* Rozmiar ikony */
    height: 40px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

footer .social-links a img:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Efekty animacji */
[data-scroll] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-scroll-visible] {
    opacity: 1;
    transform: translateY(0);
}
