:root {
  --color-archive-white: #f5f3f0;
  --color-deep-teal: #1a5f5b;
  --color-warm-apricot: #e8a872;
  --color-graphite: #2d2d2d;
  --color-pale-pistachio: #e8ede4;
  --color-border-light: #d9d5d0;
  --font-family-sans: system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-sans);
  background-color: var(--color-archive-white);
  color: var(--color-graphite);
  line-height: 1.6;
}

main {
  min-height: 60vh;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--color-graphite);
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.8rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.3rem;
}

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

a {
  color: var(--color-deep-teal);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--color-warm-apricot);
  text-decoration: underline;
}

.navbar {
  background-color: var(--color-archive-white);
  border-bottom: 1px solid var(--color-border-light);
  padding: 1rem 0;
  box-shadow: 0 1px 2px rgba(45, 45, 45, 0.05);
}

.navbar-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-deep-teal);
  letter-spacing: 0.5px;
}

.navbar-brand:hover {
  color: var(--color-warm-apricot);
}

.nav-link {
  color: var(--color-graphite) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 0 !important;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.nav-link:hover {
  border-bottom: 2px solid var(--color-deep-teal);
  color: var(--color-deep-teal) !important;
}

.btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-katalog {
  background-color: transparent;
  border: 2px solid var(--color-deep-teal);
  color: var(--color-deep-teal);
  margin-left: 1rem;
}

.btn-katalog:hover {
  background-color: var(--color-deep-teal);
  color: var(--color-archive-white);
}

.btn-primary-cta {
  background-color: var(--color-deep-teal);
  color: var(--color-archive-white);
  border-color: var(--color-deep-teal);
}

.btn-primary-cta:hover {
  background-color: var(--color-warm-apricot);
  border-color: var(--color-warm-apricot);
  color: var(--color-graphite);
  transform: scale(1.02);
}

.btn-item-cta {
  background-color: transparent;
  color: var(--color-deep-teal);
  border: 2px solid var(--color-deep-teal);
  width: 100%;
  margin-top: 1rem;
}

.btn-item-cta:hover {
  background-color: var(--color-pale-pistachio);
  border-color: var(--color-deep-teal);
  transform: scale(1.02);
}

.container-fluid {
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .container-fluid {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (min-width: 1200px) {
  .container-fluid {
    padding-left: 72px;
    padding-right: 72px;
  }
}

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

.hero {
  background-color: var(--color-archive-white);
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-border-light);
}

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

.hero-text h1 {
  color: var(--color-deep-teal);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-graphite);
  line-height: 1.8;
}

.hero-image {
  margin-top: 2rem;
}

.hero-frame {
  background-color: var(--color-pale-pistachio);
  padding: 1.5rem;
  border-radius: 12px;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(45, 45, 45, 0.1);
}

.hero-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 80px;
  height: 12px;
  background-color: var(--color-warm-apricot);
  border-radius: 0 0 6px 6px;
  z-index: 2;
}

.hero-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.hero-modules {
  padding: 3rem 0;
  background-color: var(--color-archive-white);
}

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

.module-card {
  margin-bottom: 2rem;
  padding: 1rem;
}

.module-inner {
  background-color: white;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.module-inner:hover {
  border-color: var(--color-deep-teal);
  box-shadow: 0 4px 12px rgba(26, 95, 91, 0.1);
  transform: translateY(-2px);
}

.module-inner img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.module-inner h3 {
  color: var(--color-deep-teal);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.module-inner p {
  font-size: 0.95rem;
  color: var(--color-graphite);
  line-height: 1.6;
}

.content-block {
  padding: 3rem 0;
  background-color: var(--color-archive-white);
}

.content-block.alt {
  background-color: #fafaf8;
}

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

.content-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.content-block h2 {
  color: var(--color-deep-teal);
  margin-bottom: 1.5rem;
}

.transition-section {
  padding: 3rem 0;
  background-color: var(--color-pale-pistachio);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.transition-section h2 {
  text-align: center;
  color: var(--color-graphite);
  margin-bottom: 2rem;
}

.hint-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--color-border-light);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
}

.hint-card:hover {
  border-color: var(--color-warm-apricot);
  box-shadow: 0 4px 8px rgba(232, 168, 114, 0.1);
}

.hint-card h3 {
  color: var(--color-deep-teal);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.hint-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.catalog-intro {
  padding: 3rem 0;
  background-color: var(--color-archive-white);
  border-bottom: 1px solid var(--color-border-light);
}

.catalog-intro h1 {
  color: var(--color-deep-teal);
  margin-bottom: 1.5rem;
}

.catalog-intro p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.catalog-section {
  padding: 3rem 0;
}

.catalog-section h2 {
  color: var(--color-deep-teal);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.catalog-grid {
  gap: 2rem;
}

.catalog-item {
  margin-bottom: 1rem;
}

.item-card {
  background-color: white;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.item-card:hover {
  border-color: var(--color-deep-teal);
  box-shadow: 0 8px 16px rgba(26, 95, 91, 0.1);
  transform: scale(1.02);
}

.item-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.item-card:hover .item-image img {
  transform: scale(1.05);
}

.item-card h3 {
  color: var(--color-deep-teal);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.item-description {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.item-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.label {
  display: inline-block;
  background-color: var(--color-pale-pistachio);
  color: var(--color-graphite);
  padding: 0.35rem 0.75rem;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
}

.item-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-deep-teal);
  margin-bottom: 1rem;
}

.inquiry-section {
  padding: 3rem 0;
  background-color: #fafaf8;
  border-top: 1px solid var(--color-border-light);
}

.inquiry-section h2 {
  color: var(--color-graphite);
  margin-bottom: 1.5rem;
}

.faq-intro {
  padding: 3rem 0;
  background-color: var(--color-archive-white);
  border-bottom: 1px solid var(--color-border-light);
}

.faq-intro h1 {
  color: var(--color-deep-teal);
  margin-bottom: 1rem;
}

.faq-content {
  padding: 3rem 0;
}

.faq-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border-light);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h2 {
  color: var(--color-deep-teal);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.faq-item p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact-intro {
  padding: 3rem 0;
  background-color: var(--color-archive-white);
  border-bottom: 1px solid var(--color-border-light);
}

.contact-intro h1 {
  color: var(--color-deep-teal);
  margin-bottom: 2rem;
}

.contact-intro h3 {
  color: var(--color-graphite);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-intro img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 1rem;
}

.contact-form-section {
  padding: 3rem 0;
}

.contact-form {
  background-color: white;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  padding: 2rem;
}

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

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

.contact-form .form-control {
  border: 1px solid var(--color-border-light);
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.contact-form .form-control:focus {
  border-color: var(--color-deep-teal);
  box-shadow: 0 0 0 3px rgba(26, 95, 91, 0.1);
  outline: none;
}

.contact-form .form-check-label {
  font-weight: 500;
  margin-left: 0.5rem;
}

.contact-form .form-check-label a {
  color: var(--color-deep-teal);
}

.thank-you-section {
  padding: 4rem 0;
  background-color: var(--color-archive-white);
  min-height: 50vh;
}

.thank-you-content {
  text-align: center;
}

.thank-you-content h1 {
  color: var(--color-deep-teal);
  margin-bottom: 1.5rem;
}

.thank-you-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.legal-section {
  padding: 3rem 0;
}

.legal-section h1 {
  color: var(--color-deep-teal);
  margin-bottom: 2rem;
}

.legal-section h2 {
  color: var(--color-graphite);
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-section p {
  font-size: 0.95rem;
  line-height: 1.8;
}

footer {
  background-color: var(--color-archive-white);
  border-top: 1px solid var(--color-border-light);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}

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

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

footer p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--color-graphite);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-deep-teal);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-light);
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #999;
}

@media (max-width: 767px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

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

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

  .hero {
    padding: 2rem 0;
  }

  .hero-image {
    margin-top: 1.5rem;
    order: -1;
  }

  .module-inner img {
    height: 150px;
  }

  .content-block {
    padding: 2rem 0;
  }

  .content-block img {
    margin-bottom: 1.5rem;
    order: -1;
  }

  .item-image {
    height: 200px;
  }

  .catalog-item {
    margin-bottom: 0.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  footer {
    padding: 2rem 0 1rem;
  }

  .footer-container {
    display: block;
  }

  .row > [class*='col-'] {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575px) {
  .navbar {
    padding: 0.75rem 0;
  }

  .nav-link {
    margin: 0.25rem 0;
  }

  .btn-katalog {
    margin-left: 0;
    width: 100%;
    margin-top: 0.75rem;
  }

  .hero-frame::before {
    width: 60px;
  }

  .hint-card {
    margin-bottom: 1rem;
  }

  .contact-form {
    padding: 1.25rem;
  }
}
