:root {
  --primary-color: #FF8A00;
  --secondary-color: #008CBA;
  --accent-color: #4CAF50;
  --dark-color: #333333;
  --light-color: #F8F8F8;
  --text-color: #333333;
  --text-light: #FFFFFF;

  --font-main: 'Poppins', sans-serif;
  --font-accent: 'Playfair Display', serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;

  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
  max-width: 100%;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-accent);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-md);
  max-width: 70ch;
}

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

a:hover {
  color: var(--secondary-color);
}

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

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

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-weight: 600;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
}

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

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

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

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

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

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

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

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

.header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-sm) 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.header-scrolled {
  transform: translateY(-100%);
}

.logo {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav {
  display: flex;
  align-items: center;
}

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

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

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
}

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

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

.burger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  position: relative;
  z-index: 55555;
}

.hero {
  height: 80vh;
  min-height: 500px;
  background-color: var(--dark-color);
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  color: var(--text-light);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
}

.features {
  background-color: var(--light-color);
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
}

.services {
  background-color: #f5f5f5;
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  text-align: center;
}

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

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--space-sm);
}

.testimonials {
  background-color: var(--light-color);
}

.testimonial {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  box-shadow: var(--box-shadow);
  margin-bottom: var(--space-md);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: 20px;
  color: var(--primary-color);
  opacity: 0.2;
  font-family: var(--font-accent);
}

.testimonial-author {
  font-weight: 600;
  font-style: italic;
  color: var(--primary-color);
}

.contact {
  background-color: #f5f5f5;
}

.contact-form {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  box-shadow: var(--box-shadow);
}

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

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

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-main);
  font-size: 1rem;
}

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

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-md);
}

.form-check-input {
  margin-right: var(--space-xs);
}

.map {
  height: 400px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

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

.products {
  background-color: var(--light-color);
}

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

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

.product-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-info {
  padding: var(--space-md);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: var(--space-sm) 0;
}

.footer {
  background-color: var(--dark-color);
  color: var(--text-light);
  padding: var(--space-md) 0;
  font-size: 0.9rem;
}

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

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: var(--text-light);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

.cookies-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  box-shadow: var(--box-shadow-lg);
  max-width: 500px;
  z-index: 9999;
  display: none;
}

.cookies-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-sm);
}

.cookies-actions button {
  margin-left: var(--space-sm);
}

.page-404 {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--light-color);
}

.page-404 h1 {
  font-size: 6rem;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.page-404 p {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    background-color: var(--light-color);
    width: 80%;
    max-width: 300px;
    height: 100vh;
    transition: var(--transition);
    padding: var(--space-lg) var(--space-md);
    z-index: 1001;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    margin: var(--space-sm) 0;
  }

  .burger {
    display: block;
  }

  .header {
    position: fixed;
    background-color: white;
  }

  .hero {
    margin-top: 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .contact-form {
    padding: var(--space-md);
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }

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

  .container {
    width: 95%;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 12px;
  }
}