:root {
  --color-primary: #5A0E24;
  --color-secondary: #76153C;
  --color-accent: #BF124D;
  --color-highlight: #67B2D8;
  --color-text: #1a1a1a;
  --color-text-light: #666;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f8f8;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 0.05em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.03em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p {
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header {
  position: relative;
  padding: var(--space-md) 0;
  background: var(--color-bg);
  z-index: 1000;
  transition: transform var(--transition-base);
}

.header.hidden {
  transform: translateY(-100%);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  cursor: pointer;
  padding: var(--space-xs);
  order: 1;
  z-index: 999999;
}

.nav {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  background-image: url('../pictures/BG.jpeg');
  background-position: center;
  background-size: cover;
}

.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;
  padding: var(--space-xl);
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  color: white;
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.section {
  padding: var(--space-xxl) 0;
  position: relative;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-sm);
}

.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-lg);
  margin-top: var(--space-lg);
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.asymmetric-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.asymmetric-item {
  position: relative;
  padding: var(--space-lg);
}

.asymmetric-item:nth-child(odd) {
  margin-left: 0;
  margin-right: 10%;
}

.asymmetric-item:nth-child(even) {
  margin-left: 10%;
  margin-right: 0;
}

.asymmetric-item::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100px;
  height: 100px;
  background: var(--color-highlight);
  opacity: 0.1;
  border-radius: 50%;
  z-index: -1;
}

.contact-section {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
}

.contact-section h2 {
  color: white;
  text-align: center;
  margin-bottom: var(--space-xl);
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.1);
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.6);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-highlight);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: normal;
}

.footer {
  background: var(--color-primary);
  color: white;
  padding: var(--space-lg) 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.footer p {
  margin-bottom: var(--space-xs);
  opacity: 0.9;
}

.footer a {
  color: var(--color-highlight);
}

.footer a:hover {
  color: white;
}

.map-container {
  margin-top: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.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(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-card-content {
  padding: var(--space-lg);
}

.product-card h3 {
  margin-bottom: var(--space-sm);
}

.product-price {
  font-size: 1.8rem;
  font-family: var(--font-display);
  color: var(--color-accent);
  margin: var(--space-md) 0;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.popup-overlay.active {
  display: flex;
}

.popup-content {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  margin: var(--space-md);
  animation: fadeInUp 0.3s ease-out;
}

.popup-content h2 {
  margin-bottom: var(--space-md);
}

.popup-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.btn-secondary {
  background: var(--color-text-light);
}

.btn-secondary:hover {
  background: var(--color-text);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 990px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-base);
    z-index: 999;
    display: none;
  }

  .nav.active {
    right: 0;
    display: flex;
  }

  .nav a {
    font-size: 1rem;
    padding: var(--space-sm) 0;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: var(--space-md);
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .asymmetric-item:nth-child(odd),
  .asymmetric-item:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .section {
    padding: var(--space-lg) 0;
  }
}
