:root {
  --primary-blue: #1e5a7a;
  --light-gray: #f5f5f5;
  --beige: #f0e8e0;
  --dark-green: #2d5a3d;
  --white: #ffffff;
  --text-dark: #333333;
  --border-light: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 0.5rem 0;
}

header .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.5rem;
}

header .logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header .logo img {
  width: 35px;
  height: 35px;
}

header .nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header .nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

header .nav-links a:hover {
  color: var(--primary-blue);
}

@media (max-width: 768px) {
  header .nav-links {
    display: none;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
}

main {
  margin-top: 70px;
}

section {
  padding: 4rem 1.5rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(30, 90, 122, 0.8) 100%), url('images/hero.jpg') center/cover;
  background-blend-mode: overlay;
  color: var(--white);
  padding: 8rem 1.5rem;
  text-align: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 0;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  display: inline-block;
  background-color: var(--dark-green);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--dark-green);
}

.btn-cta:hover {
  background-color: transparent;
  color: var(--dark-green);
  box-shadow: 0 4px 12px rgba(45, 90, 61, 0.2);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  margin-bottom: 0.8rem;
  color: var(--primary-blue);
}

.card-content p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 2rem 0;
}

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-height: 400px;
  object-fit: cover;
}

.two-column-text h3 {
  color: var(--primary-blue);
  margin-bottom: 1.2rem;
}

.two-column-text ul {
  list-style: none;
  margin: 1.5rem 0;
}

.two-column-text li {
  padding: 0.7rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
}

.two-column-text li:before {
  content: "•";
  color: var(--dark-green);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

#energia {
  background-color: var(--light-gray);
}

#pielegnacja {
  background-color: var(--white);
}

#odzywianie {
  background-color: var(--beige);
}

#stylzycia {
  background-color: var(--light-gray);
  position: relative;
  background-size: cover;
  background-position: center;
}

#stylzycia::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 90, 122, 0.4);
  z-index: 1;
}

#stylzycia .container-wide {
  position: relative;
  z-index: 2;
}

#stylzycia h2 {
  color: var(--primary-blue);
}

#stylzycia p {
  color: #333;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

table th {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
}

table tr:last-child td {
  border-bottom: none;
}

table tr:hover {
  background-color: var(--light-gray);
}

.accordion {
  margin-top: 2rem;
}

.accordion-item {
  margin-bottom: 0.5rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
}

.accordion-header {
  background-color: var(--light-gray);
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #efefef;
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(45deg);
}

.accordion-content {
  display: none;
  padding: 1.5rem;
  background-color: var(--white);
  color: #555;
  border-top: 1px solid var(--border-light);
}

.accordion-item.active .accordion-content {
  display: block;
}

footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 4rem;
}

footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

footer a {
  color: #ccc;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-blue);
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 0.5rem;
}

footer .divider {
  height: 1px;
  background-color: rgba(255,255,255,0.1);
  margin: 1.5rem 0;
}

footer .footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: #999;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  overflow-y: auto;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-dark);
}

.modal-close:hover {
  color: var(--primary-blue);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(30, 90, 122, 0.1);
}

.form-disclaimer {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  background-color: var(--light-gray);
  border-radius: 4px;
}

.btn-submit {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

.btn-submit:hover {
  background-color: var(--dark-green);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: var(--white);
  padding: 1.5rem;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-banner.hidden {
  display: none;
}

.cookie-message {
  flex: 1;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: var(--dark-green);
  color: var(--white);
}

.cookie-accept:hover {
  background-color: #1e4a2a;
}

.cookie-reject {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.cookie-reject:hover {
  background-color: rgba(255,255,255,0.1);
}

.cookie-learn {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  cursor: pointer;
}

.cookie-learn:hover {
  background-color: rgba(255,255,255,0.1);
}

.text-center {
  text-align: center;
}

.mt-3 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 1.5rem;
}

.disclaimer-section {
  background-color: var(--beige);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-blue);
  margin: 2rem 0;
}

.disclaimer-section h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.disclaimer-section p {
  font-size: 0.95rem;
  color: #555;
}

.full-width-img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 8px;
  margin: 1.5rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 2.5rem 1rem;
  }
  
  .two-column {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .two-column img {
    max-height: 250px;
  }
  
  .hero {
    padding: 4rem 1rem;
    min-height: 400px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  footer .footer-content {
    grid-template-columns: 1fr;
  }
  
  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-wrap: wrap;
  }
  
  .modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }
}
