/*
Theme Name: MM Oświetlenie
Theme URI: https://mmoswietlenie.local
Description: Professional theme for household lighting shop
Version: 1.0.0
Author: Michal
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mm-oswietlenie
Domain Path: /languages
*/

/* Colors */
:root {
  --color-navy: #1a2651;
  --color-red: #e84c3d;
  --color-white: #ffffff;
  --color-light-blue: #5b8fc7;
  --color-light-gray: #f5f5f5;
  --color-dark-gray: #333333;
  --color-text: #444444;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Exo 2', sans-serif;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
}

a {
  color: var(--color-light-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-red);
}

/* Container Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background: linear-gradient(135deg, #2e4a8a 0%, var(--color-navy) 50%, #0f1a3d 100%);
  color: var(--color-white);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  gap: 20px;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: clamp(50px, 8vw, 90px);
  width: auto;
  object-fit: contain;
  background: rgba(255,255,255,0.92);
  border-radius: 6px;
  padding: 6px 10px;
}

.neon-tagline {
  font-family: 'Pacifico', cursive;
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow:
    0 0 3px  #fff,
    0 0 8px  #fff,
    0 0 14px #ff2d78,
    0 0 28px #ff2d78,
    0 0 50px #ff1060;
  animation: neon-flicker 3.5s infinite alternate;
}

@keyframes neon-flicker {
  0%, 95%, 100% {
    text-shadow:
      0 0 3px  #fff,
      0 0 8px  #fff,
      0 0 14px #ff2d78,
      0 0 28px #ff2d78,
      0 0 50px #ff1060;
    opacity: 1;
  }
  96% {
    text-shadow: none;
    opacity: 0.6;
  }
  97% {
    text-shadow:
      0 0 3px  #fff,
      0 0 8px  #fff,
      0 0 14px #ff2d78,
      0 0 28px #ff2d78;
    opacity: 0.9;
  }
  98% {
    text-shadow: none;
    opacity: 0.5;
  }
  99% {
    text-shadow:
      0 0 3px  #fff,
      0 0 8px  #fff,
      0 0 14px #ff2d78;
    opacity: 1;
  }
}

.logo-image {
  width: 50px;
  height: 50px;
  background-color: var(--color-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 28px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
}

nav a {
  color: var(--color-white);
  font-size: 16px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--color-red);
}

/* Start Info Hero Section */
.start-info {
  background: radial-gradient(ellipse at 72% center, rgba(255,255,255,0.95) 0%, var(--color-light-blue) 35%, var(--color-navy) 75%);
  color: var(--color-white);
  padding: 60px 0;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
}

.start-info .container {
  display: flex;
  gap: 60px;
  align-items: center;
}

.start-info-left {
  flex: 1;
}

.start-info-left h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 0 10px rgba(255,255,255,0.6), 2px 2px 4px rgba(0,0,0,0.3);
}

.start-info-left p {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 15px;
}

.start-info-right {
  flex: 1;
  text-align: center;
}

.start-info-right img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
  opacity: 0.9;
}

/* Main Layout */
.site-layout {
  margin: 40px 0;
}

.start-info {
  grid-column: 1 / -1;
  margin-bottom: 0 !important;
}

.sidebar {
  width: auto;
}

.main-content {
  max-width: 800px;
  margin: 0 auto;
}

/* =====================
   Card component
   ===================== */
.card {
  background: var(--color-white);
  border: 1px solid #e0e0e0;
  border-top: 4px solid var(--color-red);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

/* Horizontal: ikona po lewej, tekst po prawej */
.card--row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
}

/* Media: zdjęcie/placeholder na górze */
.card--media {
  padding: 0;
  overflow: hidden;
}

.card-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

.card--row .card-icon {
  font-size: 24px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.card h3 {
  color: var(--color-navy);
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

.card ul {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.card ul li {
  padding: 4px 0;
  font-size: 14px;
  color: var(--color-text);
}

.card ul li::before {
  content: "→ ";
  color: var(--color-red);
}

/* Siatka kart */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

/* Wrapper treści strony */
.page-content {
  margin-bottom: 0;
}

/* CTA box */
.page-cta {
  text-align: center;
  background: var(--color-light-gray);
  padding: 40px;
  border-radius: 8px;
}

.page-cta h2 {
  color: var(--color-navy);
  margin-bottom: 10px;
}

.page-cta p {
  margin-bottom: 20px;
  color: #666;
  font-size: 17px;
}

/* Sidebar Styles */
.sidebar-box {
  background-color: var(--color-light-gray);
  padding: 25px;
  margin-bottom: 25px;
  border-left: 4px solid var(--color-red);
  border-radius: 4px;
}

.sidebar-box h3 {
  color: var(--color-navy);
  margin-bottom: 15px;
  font-size: 18px;
}

.sidebar-box ul {
  list-style: none;
}

.sidebar-box li {
  margin-bottom: 10px;
}

.sidebar-box a {
  color: var(--color-navy);
}

.sidebar-box a:hover {
  color: var(--color-red);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-light-blue) 100%);
  color: var(--color-white);
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 40px;
  border-radius: 8px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 0 10px rgba(255,255,255,0.6), 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 18px;
  opacity: 0.95;
}

/* Featured Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.product-card {
  background: var(--color-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image {
  width: 100%;
  height: 250px;
  background-color: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

.product-info {
  padding: 20px;
}

.product-title {
  color: var(--color-navy);
  font-size: 18px;
  margin-bottom: 10px;
}

.product-price {
  color: var(--color-red);
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  background-color: var(--color-red);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-light-blue);
}

.btn-secondary:hover {
  background-color: var(--color-navy);
}

/* Posts/Articles */
.post {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
}

.post:last-child {
  border-bottom: none;
}

.post h2 {
  color: var(--color-navy);
  margin-bottom: 10px;
  font-size: 28px;
}

.post-meta {
  color: #999;
  font-size: 14px;
  margin-bottom: 15px;
}

.post-excerpt {
  color: var(--color-text);
  margin-bottom: 15px;
  line-height: 1.8;
}

.read-more {
  color: var(--color-light-blue);
  font-weight: 600;
}

.read-more:hover {
  color: var(--color-red);
}

/* Footer */
footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 15px 0 15px;
  margin-top: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 10px;
}

.footer-section h3 {
  color: var(--color-red);
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--color-white);
}

.footer-section a:hover {
  color: var(--color-red);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #aaa;
}

.footer-bottom a {
  color: #aaa;
}

.footer-bottom a:hover {
  color: var(--color-red);
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    height: auto;
    padding: 15px 0;
  }

  .site-header {
    flex-wrap: wrap;
    padding: 10px 15px;
    gap: 10px;
    position: relative;
  }

  .logo img {
    height: 50px;
  }

  .neon-tagline {
    font-size: 0.85rem;
  }

  .site-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    width: 100%;
  }

  /* hamburger button */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 200;
    -webkit-appearance: none;
    appearance: none;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
  }

  /* nav mobile */
  #primary-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  #primary-nav.open {
    max-height: 400px;
  }

  nav ul {
    gap: 0;
    flex-direction: column;
  }

  nav ul li a {
    display: block;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .start-info {
    background: radial-gradient(ellipse at 50% 78%, rgba(255,255,255,0.95) 0%, var(--color-light-blue) 25%, var(--color-navy) 65%);
  }

  .start-info .container {
    flex-direction: column;
    gap: 30px;
  }

  .start-info-left h2 {
    font-size: 24px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .page-bg {
    padding: 24px 12px 40px;
  }

  .content-card {
    border-radius: 10px;
    padding: 28px 20px;
  }
}

/* Co nas wyróżnia section */
.co-nas-wyroznia {
  padding: 50px 0 40px;
}

.co-nas-wyroznia h2 {
  text-align: center;
  color: var(--color-white);
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 40px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(255,255,255,0.6), 2px 2px 4px rgba(0,0,0,0.3);
}

.wyroznia-cta {
  text-align: center;
  font-size: 17px;
  color: var(--color-white);
  font-weight: 500;
  margin-top: 32px;
}

.wyroznia-cta a {
  color: var(--color-red);
  font-weight: 600;
}

/* Page wrapper (full width) */
.page-wrap {
  width: 100%;
}

/* Blue background section — matches header & footer */
.page-bg {
  background: linear-gradient(180deg, var(--color-navy) 0%, #0f1a3d 100%);
  padding: 50px 20px 70px;
}

/* Rounded white content card */
.content-card {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

/* Page Hero Banner */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-light-blue) 100%);
  color: var(--color-white);
  padding: 50px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 10px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 0 10px rgba(255,255,255,0.6), 2px 2px 4px rgba(0,0,0,0.3);
}

.page-hero p {
  font-size: 18px;
  opacity: 0.85;
}

/* O nas page */
.o-nas-content {
  max-width: 900px;
  margin: 0 auto 60px;
}

.o-nas-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
  align-items: start;
}

.o-nas-text h2 {
  color: var(--color-navy);
  font-size: 28px;
  margin-bottom: 16px;
}

.o-nas-text p {
  margin-bottom: 14px;
  line-height: 1.8;
}

.o-nas-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.o-nas-offer-summary h2 {
  color: var(--color-navy);
  font-size: 24px;
  margin-bottom: 16px;
}

.spec-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.spec-list li {
  padding: 10px 16px;
  background: var(--color-light-gray);
  border-radius: 4px;
}

.spec-list li::before {
  content: "✓ ";
  color: var(--color-red);
  font-weight: bold;
}

/* Realizacje page */
.producenci-section {
  margin-bottom: 60px;
}

.producenci-section h2,
.realizacje-gallery h2 {
  color: var(--color-navy);
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-light-gray);
}

.producenci-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.producent-logo {
  background: var(--color-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 18px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 80px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.producent-logo:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.producent-logo img {
  max-height: 50px;
  max-width: 110px;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease;
}

.producent-logo::after {
  content: attr(data-name);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-navy);
  letter-spacing: 0.5px;
  text-align: center;
  padding: 8px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.producent-logo:hover img {
  opacity: 0;
}

.producent-logo:hover::after {
  opacity: 1;
}


.realizacje-gallery {
  margin-bottom: 50px;
}

.realizacje-intro {
  font-size: 17px;
  color: #555;
  margin-bottom: 36px;
  line-height: 1.8;
}

.realizacja-img-placeholder {
  background: var(--color-light-gray);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.realizacja-info {
  padding: 18px 20px;
}

.realizacja-info h3 {
  color: var(--color-navy);
  font-size: 16px;
  margin-bottom: 4px;
}

.realizacja-info p {
  color: #888;
  font-size: 13px;
  margin-bottom: 10px;
}

.realizacja-tag {
  display: inline-block;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Kontakt page */
.kontakt-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  margin-bottom: 60px;
  align-items: start;
}

.kontakt-intro {
  margin-bottom: 28px;
}

.kontakt-intro p {
  margin-bottom: 12px;
  line-height: 1.8;
}

.kontakt-lista {
  list-style: none;
  margin: 12px 0 16px;
}

.kontakt-lista li {
  padding: 5px 0;
  line-height: 1.6;
}

.kontakt-info h2,
.kontakt-form-section h2 {
  color: var(--color-navy);
  font-size: 24px;
  margin-bottom: 24px;
}

.kontakt-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Contact form */
.kontakt-form .form-group {
  margin-bottom: 18px;
}

.kontakt-form label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.kontakt-form input,
.kontakt-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: var(--color-light-blue);
}

/* Contact Form 7 — nadpisanie stylów pluginu */
.kontakt-form-section .wpcf7-form p {
  margin-bottom: 18px;
}

.kontakt-form-section .wpcf7-form label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.kontakt-form-section .wpcf7-form input:not([type="submit"]),
.kontakt-form-section .wpcf7-form textarea,
.kontakt-form-section .wpcf7-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.kontakt-form-section .wpcf7-form input:not([type="submit"]):focus,
.kontakt-form-section .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--color-light-blue);
}

.kontakt-form-section .wpcf7-form input[type="submit"] {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-light-blue);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.kontakt-form-section .wpcf7-form input[type="submit"]:hover {
  background: var(--color-navy);
}

.kontakt-form-section .wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: 13px;
  margin-top: 4px;
}

.kontakt-form-section .wpcf7-response-output {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  border: none;
}

.kontakt-form-section .wpcf7-form.sent .wpcf7-response-output {
  background: #e8f5e9;
  color: #2e7d32;
}

.kontakt-form-section .wpcf7-form.failed .wpcf7-response-output,
.kontakt-form-section .wpcf7-form.invalid .wpcf7-response-output {
  background: #fdecea;
  color: #c0392b;
}

/* Responsive — pages */
@media (max-width: 768px) {
  .o-nas-intro {
    grid-template-columns: 1fr;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .kontakt-content {
    grid-template-columns: 1fr;
  }
}

/* Kontakt — larger phone/email */
.kontakt-dane a {
  font-size: 1.2rem;
  font-weight: 600;
  overflow-wrap: break-word;
  word-break: break-all;
}

/* Realizacje — social links */
.social-links {
  display: flex;
  gap: 16px;
  margin: 16px 0 24px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.social-link:hover {
  opacity: 0.85;
}

.social-link--instagram {
  background: #e1306c;
  color: #fff;
}

.social-link--facebook {
  background: #1877f2;
  color: #fff;
}

/* Realizacje — photo placeholders grid */
.realizacje-photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.realizacja-photo-placeholder {
  aspect-ratio: 4/3;
  background: #e8eaf0;
  border-radius: 8px;
  border: 2px dashed #b0b8cc;
  overflow: hidden;
  cursor: pointer;
}

.realizacja-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.realizacja-photo-placeholder:hover img {
  transform: scale(1.04);
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  user-select: none;
}

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

/* Producenci — info text */
.producenci-info {
  margin-top: 16px;
  font-style: italic;
  color: var(--color-navy);
}

/* Very small screens (e.g. 360px Android) */
@media (max-width: 400px) {
  .page-bg {
    padding: 12px 6px 40px;
  }

  .content-card {
    padding: 20px 14px;
    border-radius: 8px;
  }

  .kontakt-content {
    gap: 24px;
  }

  .kontakt-cards {
    gap: 10px;
  }

  .card--row {
    padding: 12px 14px;
  }

  .kontakt-form input,
  .kontakt-form textarea {
    font-size: 14px;
    padding: 8px 10px;
  }

  .kontakt-form label {
    font-size: 13px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.p-20 {
  padding: 20px;
}

/* Polityka Prywatności */
.privacy-content {
  color: var(--color-navy);
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 0 40px;
  line-height: 1.8;
}

.privacy-content h2 {
  color: var(--color-red);
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.privacy-content ul li {
  margin-bottom: 8px;
}

.privacy-content a {
  color: var(--color-red);
}

.privacy-content a:hover {
  text-decoration: underline;
}

.privacy-date {
  margin-top: 48px;
  font-size: 0.82rem;
  color: #666;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 16px;
}
