:root {
  --zmierzch-bg: #2a1f3d;
  --text-white-dusk: #f5f0f8;
  --accent-violet: #9b6ba8;
  --accent-navy: #3d2563;
  --highlight-glow: #d4a8e0;
  --dark-night: #1a0f2e;
}

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

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--zmierzch-bg);
  color: var(--text-white-dusk);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: var(--text-white-dusk);
  text-decoration: none;
  transition: all 200ms ease;
}

a:hover {
  color: var(--highlight-glow);
}

header {
  background: linear-gradient(180deg, var(--dark-night) 0%, var(--zmierzch-bg) 100%);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(155, 107, 168, 0.2);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--highlight-glow);
  letter-spacing: 2px;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  color: var(--text-white-dusk);
  border-bottom: 2px solid transparent;
  padding-bottom: 0.25rem;
  transition: all 200ms ease;
}

nav a:hover, nav a.active {
  color: var(--highlight-glow);
  border-bottom-color: var(--highlight-glow);
}

.btn-catalog {
  background: transparent;
  border: 1px solid var(--accent-violet);
  color: var(--accent-violet);
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 200ms ease;
  font-weight: 500;
}

.btn-catalog:hover {
  background: rgba(155, 107, 168, 0.1);
  border-color: var(--highlight-glow);
  color: var(--highlight-glow);
  transform: scale(1.04);
}

.hero {
  background: linear-gradient(135deg, rgba(26, 15, 46, 0.8) 0%, rgba(61, 37, 99, 0.7) 100%),
    url('images/hero-bathroom.jpg') center/cover;
  color: var(--text-white-dusk);
  padding: 8rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  color: rgba(245, 240, 248, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 0.8rem 2rem;
  border-radius: 2px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 220ms ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--accent-violet);
  color: var(--text-white-dusk);
  border: 1px solid var(--accent-violet);
}

.btn-primary:hover {
  background: var(--highlight-glow);
  border-color: var(--highlight-glow);
  color: var(--dark-night);
  transform: scale(1.04);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white-dusk);
  border: 1px solid var(--text-white-dusk);
}

.btn-secondary:hover {
  background: rgba(212, 168, 224, 0.15);
  border-color: var(--highlight-glow);
  color: var(--highlight-glow);
  transform: scale(1.04);
}

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

section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(155, 107, 168, 0.1);
}

section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-align: center;
}

section .section-intro {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(245, 240, 248, 0.95);
}

.zmierzch-relief {
  background: linear-gradient(135deg, rgba(61, 37, 99, 0.5) 0%, rgba(155, 107, 168, 0.3) 100%);
  padding: 3rem 1.5rem;
}

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

.point-card {
  background: rgba(212, 168, 224, 0.08);
  padding: 1.5rem;
  border-left: 3px solid var(--accent-violet);
  border-radius: 2px;
  transition: all 200ms ease;
}

.point-card:hover {
  background: rgba(212, 168, 224, 0.12);
  border-left-color: var(--highlight-glow);
  transform: translateX(4px);
}

.point-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--highlight-glow);
}

.point-card p {
  font-size: 0.95rem;
  color: rgba(245, 240, 248, 0.85);
  line-height: 1.5;
}

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

.tile {
  background: linear-gradient(135deg, rgba(61, 37, 99, 0.6) 0%, rgba(155, 107, 168, 0.3) 100%);
  padding: 2rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 200ms ease;
  border: 1px solid rgba(155, 107, 168, 0.3);
  position: relative;
  overflow: hidden;
}

.tile:hover {
  background: linear-gradient(135deg, rgba(61, 37, 99, 0.7) 0%, rgba(155, 107, 168, 0.4) 100%);
  border-color: var(--highlight-glow);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(155, 107, 168, 0.2);
}

.tile h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--highlight-glow);
  font-weight: 700;
}

.tile p {
  font-size: 0.95rem;
  color: rgba(245, 240, 248, 0.85);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tile .subtitle-small {
  font-size: 0.85rem;
  color: var(--accent-violet);
  font-weight: 500;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(155, 107, 168, 0.2);
}

.quick-notes {
  background: var(--accent-navy);
  padding: 2rem 1.5rem;
  margin-bottom: 0;
}

.quick-notes h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.note-item {
  background: rgba(212, 168, 224, 0.1);
  padding: 1rem;
  text-align: center;
  border-radius: 2px;
  border: 1px solid rgba(212, 168, 224, 0.2);
  transition: all 200ms ease;
}

.note-item:hover {
  background: rgba(212, 168, 224, 0.15);
  border-color: var(--highlight-glow);
  transform: scale(1.04);
}

.note-item p {
  font-size: 0.9rem;
  color: var(--text-white-dusk);
  line-height: 1.5;
}

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

.product-card {
  background: var(--accent-navy);
  border-radius: 2px;
  overflow: hidden;
  transition: all 200ms ease;
  border: 1px solid rgba(155, 107, 168, 0.2);
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--highlight-glow);
  box-shadow: 0 12px 32px rgba(155, 107, 168, 0.25);
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(155, 107, 168, 0.3) 0%, rgba(155, 107, 168, 0.1) 100%);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 200ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.product-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(155, 107, 168, 0.25);
  transition: all 200ms ease;
}

.product-card:hover .product-image::after {
  background: rgba(155, 107, 168, 0.15);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-violet);
  color: var(--text-white-dusk);
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
}

.product-info {
  padding: 1.5rem;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--highlight-glow);
}

.product-meta {
  font-size: 0.85rem;
  color: var(--accent-violet);
  margin-bottom: 0.8rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-meta span {
  display: flex;
  gap: 0.5rem;
}

.product-desc {
  font-size: 0.95rem;
  color: rgba(245, 240, 248, 0.8);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-availability {
  font-size: 0.85rem;
  color: var(--accent-violet);
  margin-bottom: 1rem;
  font-weight: 500;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--highlight-glow);
  margin-bottom: 1rem;
}

.btn-contact {
  background: transparent;
  border: 1px solid var(--accent-violet);
  color: var(--accent-violet);
  padding: 0.6rem 1.2rem;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 200ms ease;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  text-align: center;
}

.btn-contact:hover {
  background: rgba(155, 107, 168, 0.15);
  border-color: var(--highlight-glow);
  color: var(--highlight-glow);
  transform: scale(1.04);
}

.product-full-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}

.product-full-image {
  position: relative;
  height: 500px;
  border-radius: 2px;
  overflow: hidden;
}

.product-full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-full-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(155, 107, 168, 0.25);
  pointer-events: none;
}

.product-full-info h1 {
  font-size: 2rem;
  color: var(--highlight-glow);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.product-full-info p {
  font-size: 1rem;
  color: rgba(245, 240, 248, 0.9);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.specs-list {
  background: rgba(212, 168, 224, 0.08);
  padding: 1.5rem;
  border-left: 3px solid var(--accent-violet);
  margin-bottom: 2rem;
  border-radius: 2px;
}

.specs-list h3 {
  font-size: 1.1rem;
  color: var(--highlight-glow);
  margin-bottom: 1rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(155, 107, 168, 0.1);
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--accent-violet);
  font-weight: 500;
}

.spec-value {
  color: rgba(245, 240, 248, 0.85);
}

.product-full-price {
  font-size: 2rem;
  color: var(--highlight-glow);
  font-weight: 700;
  margin: 2rem 0;
}

.btn-order {
  background: var(--accent-violet);
  color: var(--text-white-dusk);
  border: 1px solid var(--accent-violet);
  padding: 1rem 2rem;
  border-radius: 2px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 220ms ease;
  width: 100%;
}

.btn-order:hover {
  background: var(--highlight-glow);
  border-color: var(--highlight-glow);
  color: var(--dark-night);
  transform: scale(1.04);
}

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

.faq-item {
  background: rgba(212, 168, 224, 0.08);
  padding: 1.5rem;
  border-radius: 2px;
  border: 1px solid rgba(155, 107, 168, 0.2);
}

.faq-item h3 {
  font-size: 1.1rem;
  color: var(--highlight-glow);
  margin-bottom: 1rem;
  font-weight: 700;
}

.faq-item p {
  font-size: 0.95rem;
  color: rgba(245, 240, 248, 0.85);
  line-height: 1.6;
}

footer {
  background: var(--dark-night);
  color: var(--text-white-dusk);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(155, 107, 168, 0.2);
}

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

.footer-block h3 {
  font-size: 1.1rem;
  color: var(--highlight-glow);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-block p {
  font-size: 0.95rem;
  color: rgba(245, 240, 248, 0.85);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: rgba(245, 240, 248, 0.8);
  transition: all 200ms ease;
}

.footer-links a:hover {
  color: var(--highlight-glow);
  padding-left: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(155, 107, 168, 0.2);
  font-size: 0.85rem;
  color: rgba(245, 240, 248, 0.6);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-night);
  border-top: 1px solid rgba(155, 107, 168, 0.4);
  padding: 1.5rem;
  z-index: 999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
}

.cookie-text p {
  font-size: 0.9rem;
  color: rgba(245, 240, 248, 0.8);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--highlight-glow);
}

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

.btn-cookie-accept {
  background: var(--accent-violet);
  color: var(--text-white-dusk);
  border: 1px solid var(--accent-violet);
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 200ms ease;
}

.btn-cookie-accept:hover {
  background: var(--highlight-glow);
  color: var(--dark-night);
}

.btn-cookie-reject {
  background: transparent;
  color: var(--accent-violet);
  border: 1px solid var(--accent-violet);
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 200ms ease;
}

.btn-cookie-reject:hover {
  border-color: var(--highlight-glow);
  color: var(--highlight-glow);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: rgba(212, 168, 224, 0.1);
  border: 1px solid rgba(155, 107, 168, 0.3);
  color: var(--text-white-dusk);
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 200ms ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--highlight-glow);
  background: rgba(212, 168, 224, 0.15);
  box-shadow: 0 0 0 2px rgba(155, 107, 168, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent-violet);
}

.checkbox-group label {
  margin: 0;
  font-weight: 400;
  font-size: 0.9rem;
  cursor: pointer;
  color: rgba(245, 240, 248, 0.85);
}

.checkbox-group a {
  color: var(--highlight-glow);
}

.thank-you-container {
  text-align: center;
  padding: 4rem 1.5rem;
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-container h1 {
  font-size: 2.5rem;
  color: var(--highlight-glow);
  margin-bottom: 1rem;
}

.thank-you-container p {
  font-size: 1.1rem;
  color: rgba(245, 240, 248, 0.85);
  margin-bottom: 2rem;
  max-width: 600px;
}

.switcher {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.switcher-btn {
  background: transparent;
  border: 1px solid var(--accent-violet);
  color: var(--accent-violet);
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 200ms ease;
}

.switcher-btn.active {
  background: var(--accent-violet);
  color: var(--text-white-dusk);
}

.switcher-btn:hover {
  border-color: var(--highlight-glow);
}

@media (max-width: 768px) {
  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero {
    padding: 4rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-primary, .btn-secondary {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-full-page {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-full-image {
    height: 350px;
  }

  .quick-tiles {
    grid-template-columns: 1fr;
  }

  .quick-notes {
    padding: 1.5rem;
  }

  .notes-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .faq-container {
    grid-template-columns: 1fr;
  }

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

  .cookie-content {
    flex-direction: column-reverse;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .btn-cookie-accept, .btn-cookie-reject {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    font-size: 0.8rem;
  }

  nav a {
    padding: 0.3rem 0;
  }

  .hero {
    padding: 2.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  section h2 {
    font-size: 1.4rem;
  }

  .points-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-card {
    border-radius: 2px;
  }

  .product-image {
    height: 200px;
  }

  .quick-notes {
    padding: 1rem;
  }

  .notes-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .note-item {
    padding: 0.8rem;
    font-size: 0.85rem;
  }

  section {
    padding: 2rem 0;
  }
}
