/* ==================== */
/* VARIABLES & RESET */
/* ==================== */
:root {
  /* Kolory */
  --primary-color: #D4A017;  /* intensywny musztardowy */
  --secondary-color: #3A5A40;  /* głęboki zielony */
  --accent-color: #BC6C25;  /* ciepły brązowy */
  --dark-color: #1A1A1A;  /* głęboki antracyt */
  --light-color: #F8F4E9;  /* kremowy */
  --white: #FFFFFF;
  --gray: #EDEDED;
  --text-color: #2B2B2B;

  /* Efekty */
  --hover-translate: -3px;
  --transition-speed: 0.3s;
  
  /* Zaokrąglenia */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 10px;
  
  /* Warstwy */
  --z-index-header: 1000;
  --z-index-cookie-banner: 10000;
  --z-index-back-to-top: 999;
  --z-index-hero-content: 2;
  --z-index-hero-slider: 1;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Animacje */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@keyframes slideUp {
  to { transform: translateY(0) translateX(-50%); }
}

@keyframes slideDown {
  to { transform: translateY(100%) translateX(-50%); }
}

@keyframes flashHighlight {
  0% { box-shadow: 0 0 15px 5px var(--secondary-color); }
  100% { box-shadow: none; }
}

/* ==================== */
/* BASE STYLES */
/* ==================== */
html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ==================== */
/* TYPOGRAPHY */
/* ==================== */
.section-title {
  text-align: center;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: clamp(1.8rem, 2vw, 2rem);
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: var(--dark-color);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

/* ==================== */
/* COMPONENTS */
/* ==================== */

/* Przyciski */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
  text-align: center;
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:focus, nav ul li a:focus, .slider-arrow:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
}

.btn-primary:hover, .btn-secondary:hover {
  filter: brightness(1.1);
  transform: translateY(var(--hover-translate));
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Nagłówek */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: var(--z-index-header);
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

/* Logo */
.logo {
  font-size: clamp(1.6rem, 2.5vw, 1.8rem);
  font-weight: 920;
  color: var(--secondary-color);
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
  transition: text-shadow 0.2s ease-in-out;
  user-select: none;
  display: flex;
  align-items: center;
}

.logo:hover {
  text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.5);
}

.logo span:last-child {
  color: var(--primary-color);
}

.logo img {
  margin-right: 10px;
  max-height: 55px;
  filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.3));
}

/* Nawigacja */
nav ul {
  display: flex;
  list-style: none;
  transition: all var(--transition-speed) ease;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  transition: color var(--transition-speed);
  position: relative;
  padding: 5px 0;
}

nav ul li a:hover, nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed);
}

nav ul li a:hover::after, nav ul li a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--dark-color);
}

/* ==================== */
/* SECTIONS */
/* ==================== */

/* Sekcja Hero */
.hero {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  padding: 220px 0 80px;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-index-hero-slider);
}

.hero-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: var(--z-index-hero-content);
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  max-width: 950px;
  margin: 20px auto;
  background: rgba(0, 0, 0, 0.7);
  border-radius: var(--border-radius-md);
  padding: 30px;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Sekcja O mnie */
.about {
  padding: 100px 0;
  background-color: var(--white);
  height: auto;
}

.about-content {
  display: flex;
  gap: 60px;
  margin-top: 50px;
}

/* Stylizacja sekcji certyfikatów */
.about-certificates {
  flex: 1;

}

.certificates-slider {
  position: relative;
  width: 100%;
  height: auto; /* Zmiana z fixed height na auto */
  aspect-ratio: 3/4; /* Zachowaj proporcje certyfikatu A4 */
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  background: #f5f5f5; /* Kolor tła pasujący do overlay */
}

.certificate {
  min-width: 100%;
  position: relative;
  transition: transform 0.5s ease;
}

.certificate img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-lg);
}

.certificate-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 15px;
  text-align: center;
  border-bottom-left-radius: var(--border-radius-lg);
  border-bottom-right-radius: var(--border-radius-lg);
}

.certificates-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.cert-prev, .cert-next {
  background: var(--primary-color);
  color: #333;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cert-prev:hover, .cert-next:hover {
  background-color: #f7f7f7;
  transform: scale(1.1);
}

/* Stylizacja sekcji tekstowej */
/* Resetujemy paddingi i marginesy dla spójności */
.about-text {
  padding-left: 0;
  margin-left: 0;
}

/* Kontener główny sekcji tekstowej */
.about-details {
  margin-left: 0;
  padding-left: 40px; /* Wyrównanie z innymi elementami */
  position: relative;
}


.intro-header h3 {
  font-size: 2rem;
  margin-bottom: 5px;
  color: var(--dark);
}

.specialization {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: 500;
}

.about-details .first-paragraph p {
  margin-bottom: 25px;
  font-size: 1.1rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.about-details p {
  margin-bottom: 25px;
  font-size: 1.1rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.about-details i {
  color: var(--primary-color);
  margin-top: 3px;
}

.experience-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  position: relative;
  left: 0; /* Resetujemy ewentualne przesunięcia */
  margin-left: 0;
  padding-left: 0;
}



.experience-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  text-align: center; 
  width: 30px; 
  position: absolute;
  left: -35px; /* Wyrównanie z lewą krawędzią about-details */
}

.experience-item h4 {
  margin-bottom: 8px;
  color: var(--dark);
}

/* Stylizacja feature boxes */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: var(--gray-light);
  padding: 20px;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-speed) ease;
}

.feature:hover {
  transform: translateY(var(--hover-translate));
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background-color: var(--primary-light);
}

.feature i {
  color: var(--primary-color);
  font-size: 1.8rem;
}

.feature-title {
  display: block;
  font-weight: 600;
  margin-bottom: 3px;
}

.feature-desc {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-dark);
}

.certificates-slider {
  position: relative;
  width: 100%;
  height: 770px; /* Stała wysokość */
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}



.certificate {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.certificate.active {
  opacity: 1;
}

.certificate-img-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.certificate-img-container img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* Zamiast 'cover' */
  display: block;
}

.certificate-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 12px 15px;
  text-align: center;
  line-height: 1.3;
}


.cert-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--primary-color);
}



/* Sekcja Usługi */
.services {
  padding: 80px 0;
  background-color: var(--light-color);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  height: 300px;
  perspective: 1000px;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: var(--border-radius-lg);
  will-change: transform;
}

.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-front, .service-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--border-radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.service-front {
  background-color: var(--white);
  color: var(--primary-color);
}

.service-back {
  background-color: var(--primary-color);
  color: var(--white);
  transform: rotateY(180deg);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.service-front h3, .service-back h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.service-back p {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.service-price {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
}

.section-footer {
  text-align: center;
  margin-top: 50px;
}

/* Sekcja Opinii */
.testimonials {
  padding: 80px 0;
  background-color: var(--white);
  position: relative;
}

.testimonials-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
  position: relative;
}

.testimonials-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.testimonials-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 1200px;
  padding: 10px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background-color: var(--gray);
  padding: 25px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  margin: 0 10px;
  min-width: 0;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial-content {
  margin-bottom: 20px;
}

.rating {
  color: #FFD700;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
}

.testimonial-author span {
  display: block;
  font-size: 0.9rem;
  color: #777;
  font-weight: normal;
  margin-top: 5px;
}

.testimonial-arrow {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
  z-index: 1;
}

.testimonial-arrow i {
  font-size: 18px;
  color: #333;
}

.testimonial-arrow:hover {
  background-color: #f7f7f7;
  transform: scale(1.1);
}

.testimonial-arrow:active {
  transform: scale(0.95);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.testimonial-dot.active {
  background-color: var(--primary-color);
  opacity: 1;
  transform: scale(1.1);
}

/* Sekcja Kontakt */
.contact {
  padding: 80px 0;
  background-color: var(--light-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-top: 40px;
}

.contact-info h3, .contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-item i {
  width: 30px;
  color: var(--secondary-color);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item a {
  color: var(--text-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.contact-item a:hover {
  color: var(--primary-color);
}

.work-hours {
  margin: 30px 0;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  transition: all var(--transition-speed) ease;
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(var(--hover-translate));
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  transition: all var(--transition-speed) ease;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(76, 149, 108, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Mapa */
.map {
  height: 400px;
  margin-top: 40px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Stopka */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  color: #aaa;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #aaa;
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* Przycisk do góry */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
  z-index: var(--z-index-back-to-top);
  cursor: pointer;
  border: none;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(var(--hover-translate));
}

/* ==================== */
/* COOKIE BANNER */
/* ==================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  background-color: rgba(44, 44, 44, 0.95);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  z-index: var(--z-index-cookie-banner);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  transform: translateY(100%) translateX(-50%);
  animation: slideUp 0.5s ease-out forwards;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner a {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cookie-banner a:hover {
  color: #c58f72;
  text-decoration: none;
}

.cookie-banner__content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.cookie-banner__text {
  flex: 1;
  min-width: 250px;
  text-align: left;
  line-height: 1.5;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-banner button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

.cookie-banner__accept {
  background-color: var(--primary-color);
  color: var(--white);
}

.cookie-banner__accept:hover {
  background-color: #3a7a56;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cookie-banner__settings {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-banner__settings:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.cookie-learn-more {
  color: var(--secondary-color);
  text-decoration: underline;
  cursor: pointer;
  margin-left: 5px;
  white-space: nowrap;
}

.cookie-learn-more:hover {
  text-decoration: none;
}

/* Cookie Policy Popup */
.cookie-policy-popup {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  width: 100%;
  background: var(--dark-color);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1;
}

.cookie-policy-content {
  position: relative;
  max-height: 60vh;
  overflow-y: auto;
}

.popup-close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 10px;
}

.cookie-policy-content h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.policy-text {
  font-size: 0.9rem;
  line-height: 1.6;
}

.policy-text ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.policy-text li {
  margin-bottom: 0.5rem;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: var(--z-index-cookie-banner);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.cookie-modal__content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-option {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray);
}

.cookie-option__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

/* Toggle Switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle__slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.cookie-toggle__slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cookie-toggle__slider {
  background-color: var(--primary-color);
}

input:checked + .cookie-toggle__slider:before {
  transform: translateX(26px);
}

input:disabled + .cookie-toggle__slider {
  background-color: var(--secondary-color);
  cursor: not-allowed;
}

/* Modal Buttons */
.cookie-modal__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cookie-modal__save, .cookie-modal__accept-all {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
}

.cookie-modal__save {
  background-color: var(--primary-color);
  color: white;
}

.cookie-modal__accept-all {
  background-color: var(--dark-color);
  color: white;
}

.cookie-modal__save:hover {
  background-color: #3a7a56;
}

.cookie-modal__accept-all:hover {
  background-color: #1a1a1a;
}

/* ==================== */
/* RESPONSYWNOŚĆ */
/* ==================== */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-img {
    max-width: 500px;
    margin: 0 auto 30px;
  }

  .logo img {
    max-width: 55px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 80px;
  }
  
  nav ul {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .slider-arrow {
    width: 35px;
    height: 35px;
  }
  
  .left-arrow {
    left: 10px;
  }
  
  .right-arrow {
    right: 10px;
  }

  .logo img {
    max-width: 45px;
  }

  /* Cookie Banner Mobile */
  .cookie-policy-popup {
    position: fixed;
    width: 90%;
    left: 5%;
    bottom: 100px;
    min-height: 65vh;
    overflow-y: hidden;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .service-card {
    height: 280px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
  }
  
  .cookie-banner {
    flex-direction: column;
    padding: 1rem;
    width: 95%;
  }
  
  .cookie-banner button {
    margin: 10px 0 0;
    width: 100%;
  }

  .logo img {
    max-width: 35px;
  }

  /* Cookie Banner Mobile Small */
  .cookie-policy-popup {
    width: 95%;
    left: 2.5%;
    bottom: 80px;
    max-height: 60vh;
  }

  .policy-text {
    font-size: 0.85rem;
  }

  .cookie-policy-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
}

/* Notification styles */
#formNotification {
  position: fixed;
  top: 100px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 5px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  transform: translateX(150%);
  transition: transform 0.3s ease-out;
  max-width: 300px;
  display: none;
}

#formNotification.success {
  background-color: #4CAF50;
  color: white;
}

#formNotification.error {
  background-color: #F44336;
  color: white;
}