/* Podstawowe style dla strony OknaEU */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Nawigacja */
nav.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  position: relative;
  z-index: 1;
  /* półprzezroczyste tło nawigacji – ciemnoczerwone */
  background: rgba(119, 0, 0, 0.8);
}

nav.navbar .logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}
nav.navbar .logo .accent {
  /* Akcent kolorystyczny w logo – intensywna czerwień */
  color: #770000;
}

/* Logo image optional styling */
.logo-img {
  height: 40px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
}

nav.navbar ul.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
}

nav.navbar ul.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
nav.navbar ul.nav-links li a:hover {
  color: #ccc;
}

/* Language switch buttons */
.lang-switch button {
  margin-left: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.lang-switch button:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lang-switch button.active {
  background: #000;
  color: #fff;
}

/* Sekcja hero */
.hero {
  height: 85vh;
  background-image: url('images/hero.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Czerwone przyciemnienie dla obrazu hero */
  background: rgba(119, 0, 0, 0.55);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 80%;
  z-index: 1;
}
.hero-content h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.cta-btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1rem;
  color: #fff;
  background: #000;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
}
.cta-btn:hover {
  background: #333;
}

/* Ogólne sekcje */
.section {
  padding: 60px 10%;
  background-color: #f9f9f9;
}

.section:nth-of-type(even) {
  background-color: #ffffff;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #770000;
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.benefit-item {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.benefit-item h3 {
  margin-top: 0;
  color: #770000;
}
.benefit-item p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Products grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.product-item {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.product-item h3 {
  color: #770000;
  margin-top: 0;
}
.product-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Profiles section */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.profile-item {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.profile-item img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 4px;
}
.profile-item h4 {
  margin: 0 0 10px;
  color: #770000;
}
.profile-note {
  margin-top: 10px;
  font-size: 0.8rem;
  font-style: italic;
}

/* Pricing section */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.price-table th,
.price-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  font-size: 0.9rem;
}
.price-table th {
  background-color: #770000;
  color: #fff;
}
.price-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Contact section */
.contact-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.contact-form input,
.contact-form textarea {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}
.contact-form button {
  align-self: flex-start;
  padding: 10px 25px;
  font-size: 1rem;
  color: #fff;
  background: #770000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-form button:hover {
  background: #550000;
}

.contact-info {
  margin-top: 20px;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: #770000;
  color: #fff;
  padding: 20px 10%;
  text-align: center;
  font-size: 0.85rem;
}

/* Comparison list styles */
.comparison-list {
  list-style: disc;
  margin-left: 2rem;
  line-height: 1.6;
  padding-left: 0;
}

.comparison-list li {
  margin-bottom: 0.5rem;
}