:root {
  --color-primary: #005461;
  --color-secondary: #018790;
  --color-accent: #00B7B5;
  --color-light: #F4F4F4;
  --color-dark: #003d46;
  --color-text: #1a1a1a;
  --color-text-light: #666;
  
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --header-height: 4rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

header {
  background: var(--color-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--color-text);
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav-links a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 999999999;
  order: 1;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition-base);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
  overflow: hidden;
  padding: var(--space-3xl) var(--space-md);
  background-image: url('../pictures/bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
}

.hero-content h1 {
  color: white;
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 2px black;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: var(--space-xl);
  text-shadow: 2px 2px 2px black;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}

.btn:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--color-accent);
}

.btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-secondary:hover {
  background: white;
  color: var(--color-primary);
}

.section {
  padding: var(--space-3xl) var(--space-md);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-md);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card img {
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.asymmetrical-section {
  position: relative;
  padding: var(--space-3xl) var(--space-md);
}

.asymmetrical-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  max-width: 1400px;
  margin: 0 auto;
}

.asymmetrical-item {
  position: relative;
  padding: var(--space-xl);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.asymmetrical-item:nth-child(odd) {
  transform: rotate(-0.5deg);
  margin-right: var(--space-xl);
}

.asymmetrical-item:nth-child(even) {
  transform: rotate(0.5deg);
  margin-left: var(--space-xl);
}

.asymmetrical-item img {
  float: right;
  margin: 0 0 var(--space-md) var(--space-md);
  border-radius: var(--radius-md);
  max-width: 300px;
  shape-outside: circle(50%);
}

.contact-section {
  background: var(--color-primary);
  color: white;
  padding: var(--space-3xl) var(--space-md);
}

.contact-section h2 {
  color: white;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.contact-info h3 {
  color: white;
  margin-bottom: var(--space-lg);
}

.contact-info p {
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.contact-form {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  color: var(--color-text);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--color-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.813rem;
}

.map-container {
  margin-top: var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

footer {
  background: var(--color-dark);
  color: white;
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  font-size: 0.813rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-info {
  padding: var(--space-xl);
}

.product-info h3 {
  margin-bottom: var(--space-sm);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: var(--space-md);
}

.privacy-popup {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 400px;
  z-index: 10000;
  animation: slideUp var(--transition-slow);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.privacy-popup p {
  font-size: 0.813rem;
  margin-bottom: var(--space-md);
}

.privacy-popup-buttons {
  display: flex;
  gap: var(--space-sm);
}

.privacy-popup button {
  flex: 1;
  padding: var(--space-sm);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.813rem;
  transition: all var(--transition-fast);
}

.privacy-popup .btn-accept {
  background: var(--color-accent);
  color: white;
}

.privacy-popup .btn-accept:hover {
  background: var(--color-secondary);
}

.privacy-popup .btn-decline {
  background: var(--color-light);
  color: var(--color-text);
}

.privacy-popup.hidden {
  display: none;
}

.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
}

.thank-you-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-md);
}

.legal-page h1 {
  margin-bottom: var(--space-xl);
}

.legal-page h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.legal-page h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.legal-page p {
  margin-bottom: var(--space-md);
}

.legal-page ul {
  margin-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-page li {
  margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding-top: calc(var(--header-height) + var(--space-xl));
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
    padding-bottom: var(--space-xl);
    box-shadow: var(--shadow-md);
    display: none;
    z-index: 9999;
    transition: all var(--transition-base);
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .hero {
    min-height: 60vh;
  }

  .asymmetrical-item {
    transform: none !important;
    margin: 0 !important;
  }

  .asymmetrical-item img {
    float: none;
    margin: 0 0 var(--space-md) 0;
    width: 100%;
    max-width: 100%;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .hero {
    min-height: 50vh;
    padding: var(--space-xl) var(--space-md);
  }

  .section {
    padding: var(--space-xl) var(--space-md);
  }

  .privacy-popup {
    bottom: var(--space-sm);
    right: var(--space-sm);
    left: var(--space-sm);
    max-width: none;
  }
}
