:root {
  --color-primary: #3E0703;
  --color-secondary: #660B05;
  --color-accent: #8C1007;
  --color-light: #FFF0C4;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 2px 4px rgba(62, 7, 3, 0.1);
  --shadow-md: 0 4px 8px rgba(62, 7, 3, 0.15);
  --shadow-lg: 0 8px 16px rgba(62, 7, 3, 0.2);
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-primary);
  background-color: #ffffff;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

* {
  max-width: 100%;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
}

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;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: var(--space-md) 0;
  transform: translateY(0);
  transition: transform 0.3s ease;
  z-index: 100;
}

.header.hidden {
  transform: translateY(-100%);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-light);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 100000;
  position: relative;
  width: 30px;
  height: 30px;
  order: 1;
}

.nav-toggle i.fa-bars {
  display: block;
}

.nav-toggle i.fa-times {
  display: none;
}

.nav-toggle.active i.fa-bars {
  display: none;
}

.nav-toggle.active i.fa-times {
  display: block;
}

.nav {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav a {
  color: var(--color-light);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav a:hover {
  background-color: rgba(255, 240, 196, 0.1);
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-light) 0%, #ffffff 100%);
  overflow: hidden;
  padding: var(--space-xxl) var(--space-md);
  z-index: 1;
  background-image: url('../pictures/bg.jpeg');
  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;
  max-width: 800px;
}

@media (max-width: 1030px) {
  .hero {
    z-index: 1;
  }

  .hero-canvas {
    z-index: 1;
  }

  .hero-content {
    z-index: 2;
  }
}

.hero h1 {
  font-size: 3.5rem;
  color: #ffffff;
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 4px rgb(140 16 7);
}

.hero p {
  font-size: 1.125rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-lg);
  color: #ffffff;
  text-shadow: 2px 2px 4px rgb(140 16 7);
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--color-accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.section {
  padding: var(--space-xxl) 0;
}

.section-alt {
  background-color: var(--color-light);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title h2 {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  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 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--color-secondary);
  font-size: 0.875rem;
}

.asymmetric-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.asymmetric-item {
  position: relative;
  padding: var(--space-lg);
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.asymmetric-item:nth-child(odd) {
  transform: rotate(-1deg);
  margin-left: var(--space-md);
}

.asymmetric-item:nth-child(even) {
  transform: rotate(1deg);
  margin-right: var(--space-md);
}

.asymmetric-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.contact-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: var(--space-xxl) 0;
  color: var(--color-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h2 {
  color: var(--color-light);
  margin-bottom: var(--space-lg);
}

.contact-info p {
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-light);
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 240, 196, 0.7);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.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: 0.25rem;
}

.checkbox-group label {
  font-size: 0.8125rem;
  line-height: 1.4;
}

.footer {
  background-color: var(--color-primary);
  color: var(--color-light);
  padding: var(--space-lg) 0;
  text-align: center;
  font-size: 0.8125rem;
}

.footer p {
  margin-bottom: var(--space-xs);
}

.footer a {
  color: var(--color-light);
  text-decoration: underline;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.product-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.product-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.product-info {
  padding: var(--space-lg);
}

.product-info h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.product-info p {
  color: var(--color-secondary);
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.thank-you-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
}

.thank-you-content h1 {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.thank-you-content p {
  color: var(--color-secondary);
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
}

.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
}

.error-content h1 {
  font-size: 4rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.error-content p {
  color: var(--color-secondary);
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
}

.map-container {
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-primary);
  color: var(--color-light);
  padding: var(--space-md);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.cookie-text {
  flex: 1;
  font-size: 0.875rem;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

.cookie-buttons .btn {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.8125rem;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero h1 {
    font-size: 3rem;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
  }
}

@media (max-width: 1030px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    min-height: 60vh;
    padding: var(--space-xl) var(--space-md);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-primary);
    flex-direction: column;
    padding: var(--space-xxl) var(--space-lg);
    z-index: 99999;
    overflow-y: auto;
  }

  .nav.active {
    display: flex;
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav a {
    font-size: 1rem;
    padding: var(--space-sm);
    display: block;
    width: 100%;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contact-form {
    padding: var(--space-lg);
  }

  .asymmetric-item:nth-child(odd),
  .asymmetric-item:nth-child(even) {
    transform: none;
    margin-left: 0;
    margin-right: 0;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .logo {
    font-size: 1.5rem;
  }

  .map-container iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.8125rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .hero {
    min-height: 50vh;
    padding: var(--space-lg) var(--space-sm);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.9375rem;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .section-title {
    margin-bottom: var(--space-lg);
  }

  .grid,
  .product-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .card {
    padding: var(--space-md);
  }

  .product-card img {
    height: 250px;
  }

  .product-info {
    padding: var(--space-md);
  }

  .product-price {
    font-size: 1.25rem;
  }

  .logo {
    font-size: 0.9rem;
  }

  .nav {
    width: 100%;
    padding: var(--space-xl) var(--space-md);
  }

  .contact-form {
    padding: var(--space-md);
  }

  .map-container iframe {
    height: 250px;
  }

  .btn {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.875rem;
  }
}

@media (max-width: 320px) {
  body {
    font-size: 0.75rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.125rem;
  }

  .hero {
    min-height: 45vh;
    padding: var(--space-md) var(--space-xs);
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.875rem;
  }

  .container {
    padding: 0 var(--space-xs);
  }

  .section {
    padding: var(--space-md) 0;
  }

  .logo {
    font-size: 1rem;
    letter-spacing: 0.05em;
  }

  .nav {
    width: 100%;
    padding: var(--space-lg) var(--space-sm);
  }

  .nav a {
    font-size: 0.9375rem;
    padding: var(--space-xs);
  }

  .card {
    padding: var(--space-sm);
  }

  .card img {
    height: 150px;
  }

  .product-card img {
    height: 200px;
  }

  .product-info {
    padding: var(--space-sm);
  }

  .product-price {
    font-size: 1.125rem;
  }

  .contact-form {
    padding: var(--space-sm);
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.8125rem;
    padding: var(--space-xs);
  }

  .map-container iframe {
    height: 200px;
  }

  .btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8125rem;
  }

  .cookie-popup {
    padding: var(--space-sm);
  }

  .cookie-text {
    font-size: 0.75rem;
  }

  .footer {
    padding: var(--space-md) 0;
    font-size: 0.75rem;
  }
}

