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

:root {
  --primary-dark-red: #8B2F2F;
  --accent-red: #A64545;
  --text-dark: #1A1A1A;
  --text-light: #4A4A4A;
  --bg-white: #FFFFFF;
  --bg-light: #F8F8F8;
  --border-light: #E0E0E0;
  --neutral-gray: #666666;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  font-size: 16px;
}

html {
  scroll-behavior: smooth;
}

a {
  color: var(--primary-dark-red);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

/* Header & Navigation */
header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark-red);
  display: flex;
  align-items: center;
}

.logo a {
  color: var(--primary-dark-red);
  display: flex;
  align-items: center;
}

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

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-dark-red);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-dark-red);
}

.nav-links a:hover:after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-dark-red);
}

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/hero-shelf.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-bottom: 4rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.5rem;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
}

/* Sections */
section {
  margin-bottom: 5rem;
  padding: 3rem 0;
}

section h2 {
  font-size: 2.5rem;
  color: var(--primary-dark-red);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

section h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 2rem 0 1rem 0;
  font-weight: 600;
}

.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.section-text {
  color: var(--text-light);
  line-height: 1.8;
}

.section-text p {
  margin-bottom: 1.5rem;
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.accent-text {
  color: var(--primary-dark-red);
  font-weight: 600;
}

/* Lists */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.8rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Tables */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--bg-light);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.95rem;
}

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

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

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

/* CTA Section */
.cta-section {
  background-color: var(--bg-light);
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  margin: 3rem 0;
}

.cta-section h3 {
  color: var(--primary-dark-red);
  margin-bottom: 1.5rem;
}

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

.cta-list li {
  margin: 0.5rem 0;
  color: var(--text-light);
  font-size: 1.05rem;
}

.cta-list li:before {
  content: '→ ';
  color: var(--primary-dark-red);
  font-weight: 600;
  margin-right: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--primary-dark-red);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  margin-top: 1rem;
}

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

.btn-secondary {
  background-color: var(--neutral-gray);
}

.btn-secondary:hover {
  background-color: var(--text-dark);
}

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

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

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-dark-red);
  box-shadow: 0 0 0 3px rgba(139, 47, 47, 0.1);
}

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

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

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

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.95rem;
}

.checkbox-group a {
  color: var(--primary-dark-red);
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: white;
  padding: 3rem 0 1rem 0;
  margin-top: 5rem;
  border-top: 1px solid var(--primary-dark-red);
}

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

.footer-section h4 {
  color: var(--accent-red);
  margin-bottom: 1rem;
  font-weight: 600;
}

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

.footer-section li {
  margin-bottom: 0.5rem;
  color: #CCCCCC;
}

.footer-section a {
  color: #CCCCCC;
  transition: color 0.3s ease;
}

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

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

/* Thank You Page */
.thank-you-container {
  text-align: center;
  padding: 4rem 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.thank-you-message h1 {
  color: var(--primary-dark-red);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thank-you-message p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: white;
  padding: 1.5rem;
  z-index: 9999;
  border-top: 3px solid var(--primary-dark-red);
  display: none;
  font-size: 0.95rem;
}

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

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

.cookie-text {
  flex: 1;
}

.cookie-text p {
  margin: 0;
}

.cookie-text a {
  color: var(--accent-red);
}

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

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

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

.cookie-accept:hover {
  background-color: var(--accent-red);
}

.cookie-decline {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: white;
    padding: 1rem;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    height: 300px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  section h2 {
    font-size: 1.8rem;
  }

  section h3 {
    font-size: 1.2rem;
  }

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

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

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    justify-content: flex-start;
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 0;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  section {
    padding: 1.5rem 0;
    margin-bottom: 3rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem;
  }

  .cookie-banner {
    padding: 1rem;
  }

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