:root {
  --color-bg: #faf9f7;
  --color-text: #2a2a2a;
  --color-accent-red: #8b3a3a;
  --color-accent-olive: #6b7a5c;
  --color-border: #e0ddd9;
  --color-hover: #f5f3f0;
}

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

html,
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

h2 {
  font-size: 2.2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.6rem;
  font-weight: 600;
}

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

a {
  color: var(--color-accent-red);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-olive);
}

header {
  background-color: white;
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.logo:hover {
  color: var(--color-accent-red);
}

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

nav a {
  font-size: 0.95rem;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--color-accent-red);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--color-accent-red);
  color: var(--color-accent-red);
  background-color: transparent;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
}

.btn:hover {
  transform: scale(1.02);
  background-color: var(--color-accent-red);
  color: white;
}

.btn-primary {
  background-color: var(--color-accent-red);
  color: white;
  border-color: var(--color-accent-red);
}

.btn-primary:hover {
  background-color: #6b2a2a;
  border-color: #6b2a2a;
}

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

.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 1rem;
  text-align: center;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  color: white;
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
}

section {
  padding: 4rem 0;
}

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

.grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

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

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

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

@media (min-width: 768px) {
  nav {
    gap: 3rem;
  }

  h1 {
    font-size: 3.5rem;
  }

  .hero {
    padding: 8rem 1rem;
    min-height: 500px;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background-color: white;
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 1rem;
  display: block;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.card-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent-red);
  margin-bottom: 1rem;
}

.card-button {
  display: block;
  text-align: center;
}

.feature-box {
  padding: 2rem;
  background-color: white;
  border: 1px solid var(--color-border);
  text-align: center;
}

.feature-box h3 {
  color: var(--color-accent-red);
  margin-bottom: 1rem;
}

.feature-box p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.8;
}

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

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

.faq-question {
  font-weight: 600;
  color: var(--color-accent-red);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.faq-answer {
  color: #666;
  line-height: 1.8;
}

footer {
  background-color: #f0ede8;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: #666;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--color-accent-red);
}

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

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-text);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  background-color: white;
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-accent-red);
}

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

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

input[type="checkbox"] {
  width: auto;
  margin-top: 0.3rem;
  cursor: pointer;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

.form-button {
  width: 100%;
}

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

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: -2rem auto 3rem;
  color: #666;
  font-size: 1rem;
}

.sorting-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.sort-select {
  padding: 0.6rem 1rem;
  border: 1px solid var(--color-border);
}

.view-buttons {
  display: flex;
  gap: 0.5rem;
}

.view-buttons button {
  padding: 0.6rem 1rem;
  border: 1px solid var(--color-border);
  background-color: white;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-buttons button.active {
  background-color: var(--color-accent-red);
  color: white;
  border-color: var(--color-accent-red);
}

.view-buttons button:hover:not(.active) {
  background-color: var(--color-hover);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  border-top: 1px solid var(--color-border);
  padding: 1.5rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  display: none;
}

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

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

.cookie-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.95rem;
  color: #666;
}

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

.cookie-buttons button {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--color-accent-red);
  background-color: transparent;
  color: var(--color-accent-red);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.cookie-buttons button:hover {
  background-color: var(--color-accent-red);
  color: white;
}

.cookie-buttons button.accept {
  background-color: var(--color-accent-red);
  color: white;
}

.thank-you-section {
  text-align: center;
  padding: 4rem 0;
}

.thank-you-section h1 {
  color: var(--color-accent-red);
  margin-bottom: 1rem;
}

.thank-you-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.list-items {
  list-style: none;
  text-align: left;
  max-width: 600px;
  margin: 2rem auto 0;
}

.list-items li {
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  color: #666;
  line-height: 1.8;
}

.list-items li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent-olive);
  font-weight: bold;
}

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

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

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

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    display: none;
  }

  nav.active {
    display: flex;
  }

  .hero {
    padding: 3rem 1rem;
    min-height: 300px;
  }

  section {
    padding: 2rem 0;
  }

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

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

  .cookie-buttons button {
    width: 100%;
  }
}
