:root {
  /* Primary Color Palette */
  --primary-100: #2E4057;
  /* Deep blue-gray */
  --primary-200: #4D7EA8;
  /* Medium blue */
  --primary-300: #84A9C0;
  /* Light blue */

  /* Accent Colors */
  --accent-100: #F67280;
  /* Soft coral */
  --accent-200: #FFA69E;
  /* Light peach */

  /* Neutrals */
  --neutral-100: #1A1A1A;
  /* Almost black */
  --neutral-200: #555555;
  /* Dark gray */
  --neutral-300: #999999;
  /* Medium gray */
  --neutral-400: #E8E8E8;
  /* Light gray */
  --neutral-500: #F8F9FA;
  /* Almost white */

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-xxl: 4rem;

  /* Typography */
  --font-primary: 'Nunito', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  --font-size-xxxl: 3rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  color: var(--neutral-200);
  background-color: var(--neutral-500);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--primary-100);
}

i {
  color: black;
  font-size: 20px;
}

button, .button {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--primary-200);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

button:hover, .button:hover {
  transform: translateY(-2px);
}

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

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

h1 {
  font-size: var(--font-size-xxxl);
}

h2 {
  font-size: var(--font-size-xxl);
}

h3 {
  font-size: var(--font-size-xl);
}

h4 {
  font-size: var(--font-size-lg);
}

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

/* Header */
.header {
  position: relative;
  background-color: var(--neutral-500);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md) 0;
  transition: transform var(--transition-medium);
}

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

.logo {
  font-family: var(--font-secondary);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-100);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

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

.nav-item {
  margin-left: var(--space-lg);
}

.nav-link {
  color: var(--neutral-200);
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-100);
  transition: width var(--transition-medium);
}

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

.nav-link.active {
  color: var(--primary-100);
}

.nav-link.active:after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  padding: var(--space-xxl) 0;
  background-color: var(--primary-300);
  color: white;
  text-align: center;
}

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

.hero h1 {
  color: white;
  margin-bottom: var(--space-lg);
}

.hero p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xl);
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.hero-buttons .button {
  padding: var(--space-md) var(--space-xl);
}

.button-secondary {
  background-color: transparent;
  border: 2px solid white;
}

.button-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Section Styling */
.section {
  padding: var(--space-xxl) 0;
}

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

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--accent-100);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.feature {
  text-align: center;
  padding: var(--space-lg);
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-100);
  margin-bottom: var(--space-md);
}

.feature h3 {
  margin-bottom: var(--space-sm);
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.product-card {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  height: 200px;
  background-color: var(--primary-300);
  position: relative;
}

.product-content {
  padding: var(--space-lg);
}

.product-title {
  margin-bottom: var(--space-xs);
}

.product-price {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--primary-100);
  margin-bottom: var(--space-md);
}

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

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

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--neutral-200);
}

.form-input {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: var(--font-size-md);
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-200);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
}

.form-checkbox input {
  margin-top: 0.3em;
  margin-right: var(--space-sm);
}

/* Map */
.map-container {
  height: 400px;
  margin-top: var(--space-xl);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
  background-color: var(--primary-100);
  color: white;
  padding: var(--space-lg) 0;
  margin-top: var(--space-xxl);
}

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

.footer-copyright {
  font-size: var(--font-size-sm);
}

.footer-links {
  display: flex;
  list-style: none;
}

.footer-link {
  margin-left: var(--space-md);
}

.footer-link a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-link a:hover {
  color: white;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--neutral-100);
  color: white;
  padding: var(--space-lg);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  transition: transform var(--transition-medium);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-text {
  flex-grow: 1;
  margin-right: var(--space-lg);
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

/* 404 Page */
.error-page {
  text-align: center;
  padding: var(--space-xxl) 0;
}

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

/* Thank You Page */
.thank-you-page {
  text-align: center;
  padding: var(--space-xxl) 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  h1 {
    font-size: var(--font-size-xxl);
  }

  h2 {
    font-size: var(--font-size-xl);
  }

  .nav-toggle {
    display: block;
    position: absolute;
    right: 16px;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--neutral-500);
    box-shadow: var(--shadow-md);
    padding: var(--space-md) 0;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 55;
  }

  .nav-item {
    margin: 0;
  }

  .nav-link {
    display: block;
    padding: var(--space-sm) var(--space-lg);
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    margin-top: var(--space-md);
    justify-content: center;
  }

  .footer-link {
    margin: 0 var(--space-xs);
  }

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

  .cookie-text {
    margin-right: 0;
    margin-bottom: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 2rem;
    --space-xxl: 3rem;
  }

  .section {
    padding: var(--space-xl) 0;
  }
}