/* ============================================
   CSS Variables - Nordic Allergy-Safe Palette
   ============================================ */
:root {
  --color-primary: #2c6e49;
  --color-secondary: #f4f1de;
  --color-fresh-linen: #F9F9F7;
  --color-sky-blue: #C7E2F0;
  --color-sage-green: #A3C1A2;
  --color-charcoal: #3A3D3B;
  --color-mist-grey: #D7D9D7;
  --color-white: #FFFFFF;
  --color-text: #3A3D3B;
  --color-text-light: #6B6E6C;
  
  --font-primary: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  --shadow-sm: 0 2px 4px rgba(58, 61, 59, 0.1);
  --shadow-md: 0 4px 8px rgba(58, 61, 59, 0.15);
  --shadow-lg: 0 8px 16px rgba(58, 61, 59, 0.2);
  
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.7s ease;
  
  --max-width: 1200px;
  --header-height: 70px;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-fresh-linen);
  overflow-x: hidden;
}



/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-sage-green);
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1000;
  transition: transform var(--transition-medium);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-text {
  font-family: var(--font-primary);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--color-charcoal);
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.nav-link:hover {
  background-color: var(--color-mist-grey);
  color: var(--color-primary);
}

.burger-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  font-size: 1.5rem;
  color: var(--color-charcoal);
  order: 999;
  z-index: 1001;
}

.burger-button:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
/* ============================================
   Mobile Navigation
   ============================================ */
@media (max-width: 768px) {
  .burger-button {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    gap: var(--space-sm);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-link {
    width: 100%;
    text-align: center;
    padding: var(--space-md);
  }
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
  min-height: calc(100vh - var(--header-height) - 150px);
  padding: var(--space-xl) 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  margin-bottom: var(--space-xxl);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--color-charcoal);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-xxl);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(58, 61, 59, 0.7) 0%, rgba(163, 193, 162, 0.5) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: var(--space-xl);
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--color-white);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-white);
  opacity: 0.95;
}

/* ============================================
   Cards & Grids
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-charcoal);
}

.card-text {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.card-rating {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background-color: var(--color-sky-blue);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-top: var(--space-md);
}

/* ============================================
   Content Sections
   ============================================ */
.content-section {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.content-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.text-content {
  max-width: 800px;
  margin: 0 auto;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-item {
  padding: var(--space-sm) 0;
  padding-left: var(--space-xl);
  position: relative;
  color: var(--color-text-light);
}

.feature-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-sage-green);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ============================================
   Forms
   ============================================ */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--color-charcoal);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-mist-grey);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-sage-green);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.checkbox-input {
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.875rem;
  color: var(--color-text-light);
  cursor: pointer;
}

.submit-button {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.submit-button:hover {
    color: black;
  background-color: var(--color-sage-green);
  transform: translateY(-2px);
}

.submit-button:active {
  transform: translateY(0);
}

/* ============================================
   Maps
   ============================================ */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-xl) 0;
  box-shadow: var(--shadow-md);
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   Comparison Table
   ============================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-mist-grey);
}

.comparison-table th {
  background-color: var(--color-sky-blue);
  font-weight: 600;
  color: var(--color-charcoal);
}

.comparison-table tr:hover {
  background-color: var(--color-fresh-linen);
}

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

/* ============================================
   Interactive Checklist
   ============================================ */
.checklist-container {
  background-color: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: var(--space-xl) 0;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.checklist-item:hover {
  background-color: var(--color-fresh-linen);
}

.checklist-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.checklist-label {
  flex: 1;
  cursor: pointer;
  color: var(--color-text);
}

.checklist-label.completed {
  text-decoration: line-through;
  color: var(--color-text-light);
}

/* ============================================
   Product Cards
   ============================================ */
.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-fast);
}

.product-card:hover {
  transform: scale(1.02);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-charcoal);
}

.product-description {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: var(--space-md);
}

/* ============================================
   Privacy Popup
   ============================================ */
.privacy-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(58, 61, 59, 0.8);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.privacy-popup.active {
  display: flex;
}

.popup-content {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.popup-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.popup-close:hover {
  background-color: var(--color-mist-grey);
}

.popup-title {
  margin-bottom: var(--space-lg);
  color: var(--color-charcoal);
}

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

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  padding: var(--space-xl) 0;
  margin-top: var(--space-xxl);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  list-style: none;
  margin-bottom: var(--space-lg);
}

.footer-link {
  color: var(--color-white);
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.footer-link:hover {
  opacity: 1;
  color: var(--color-sage-green);
}

.footer-text {
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: var(--space-md);
    color: white;
}

.date {
  display: inline-block;
  margin-top: var(--space-sm);
}

/* ============================================
   Thank You Page
   ============================================ */
.thank-you-container {
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-sage-green);
  margin-bottom: var(--space-lg);
}

.thank-you-title {
  color: var(--color-charcoal);
  margin-bottom: var(--space-lg);
}

.thank-you-message {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
}

/* ============================================
   404 Page
   ============================================ */
.error-container {
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
  max-width: 600px;
  margin: 0 auto;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.error-title {
  color: var(--color-charcoal);
  margin-bottom: var(--space-lg);
}

.error-message {
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn var(--transition-medium) ease-out;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.6;
  }
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: var(--color-white);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat 3s ease-in-out infinite;
}

/* ============================================
   Hero Background Images
   ============================================ */
.hero-bg-home {
  background-image: url('../img/the-style-is-candid-image-photography-with-natural__30365.webp');
}

.hero-bg-bedding {
  background-image: url('../img/the-style-is-candid-image-photography-with-natural__30369.webp');
}

.hero-bg-cleaning {
  background-image: url('../img/the-style-is-candid-image-photography-with-natural__30374.webp');
}

.hero-bg-tools {
  background-image: url('../img/the-style-is-candid-image-photography-with-natural__30368.webp');
}

.hero-bg-contact {
  background-image: url('../img/the-style-is-candid-image-photography-with-natural__30365.webp');
}

/* ============================================
   Utility Classes
   ============================================ */
.icon-large {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

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

.text-large {
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
}

.bg-sky-blue {
  background-color: var(--color-sky-blue);
}

.button-inline {
  display: inline-block;
  width: auto;
  padding: var(--space-md) var(--space-xl);
}

.margin-top-xl {
  margin-top: var(--space-xl);
}

.ordered-list {
  padding-left: var(--space-xl);
  color: var(--color-text-light);
}

.ordered-list li {
  margin-bottom: var(--space-sm);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-xxl: 3rem;
  }
  
  .hero-section {
    min-height: 400px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-table {
    font-size: 0.875rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: var(--space-sm);
  }
  
  .footer-menu {
    flex-direction: column;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  :root {
    --space-lg: 1.5rem;
    --space-xl: 1.5rem;
    --space-xxl: 2rem;
  }
  
  .header-container {
    padding: 0 var(--space-sm);
  }
  
  .content-section {
    padding: var(--space-lg);
  }
  
  .form-container {
    padding: var(--space-lg);
  }
  
  .hero-content {
    padding: var(--space-lg);
  }
}

@media (max-width: 320px) {
  .card-grid {
    gap: var(--space-md);
  }
  
  .card {
    padding: var(--space-md);
  }
}

