:root {
  --color-light: #F2F2F2;
  --color-cream: #EAE4D5;
  --color-wood: #B6B09F;
  --color-dark: #000000;

  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Outfit', sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-light);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--color-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-wood);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-dark);
  color: var(--color-light);
  border: none;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: var(--color-wood);
  color: var(--color-light);
}

.btn-secondary {
  background-color: var(--color-cream);
  color: var(--color-dark);
}

.btn-secondary:hover {
  background-color: var(--color-wood);
  color: var(--color-light);
}

.header {
  background-color: var(--color-light);
  position: relative;
  transition: var(--transition);
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
}

.logo {
  display: block;
}

.logo img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(0);
}

@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav-desktop a {
  font-weight: 500;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-wood);
  transition: var(--transition);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.burger {
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: var(--color-dark);
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: var(--transition);
}

.burger span:nth-child(1) {
  top: 0;
}

.burger span:nth-child(2),
.burger span:nth-child(3) {
  top: 9px;
}

.burger span:nth-child(4) {
  top: 18px;
}

.burger.active span:nth-child(1),
.burger.active span:nth-child(4) {
  width: 0%;
  left: 50%;
  opacity: 0;
}

.burger.active span:nth-child(2) {
  transform: rotate(45deg);
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-cream);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-mobile.active {
  opacity: 1;
  visibility: visible;
}

.nav-mobile ul {
  list-style: none;
  text-align: center;
}

.nav-mobile li {
  margin-bottom: var(--space-lg);
}

.nav-mobile a {
  font-size: 1.5rem;
  font-weight: 600;
}

.hero {
  position: relative;
  background-color: var(--color-cream);
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.hero p {
  font-size: 1.125rem;
  max-width: 600px;
  margin-bottom: var(--space-lg);
}

.hero-wave {
  position: absolute;
  right: -20%;
  top: 0;
  width: 70%;
  height: 100%;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}

.section {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--color-wood);
  margin: var(--space-sm) auto 0;
}

.about {
  background-color: var(--color-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.about-img {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.services {
  background-color: var(--color-cream);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.service-card {
  background-color: var(--color-light);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: var(--color-wood);
}

.products {
  background-color: var(--color-light);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.product-card {
  background-color: var(--color-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-img {
  height: 240px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-content {
  padding: var(--space-lg);
}

.product-title {
  margin-bottom: var(--space-sm);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-wood);
  margin-bottom: var(--space-md);
}

.testimonials {
  background-color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.testimonial-wave {
  position: absolute;
  left: -10%;
  top: 0;
  width: 40%;
  height: 100%;
  background-image: url('../images/wood-wave.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.testimonials-container {
  position: relative;
  z-index: 2;
}

.testimonial-card {
  background-color: var(--color-light);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  box-shadow: var(--box-shadow);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: var(--space-md);
}

.author-name {
  font-weight: 600;
}

.author-title {
  font-size: 0.875rem;
  color: var(--color-wood);
}

.faq {
  background-color: var(--color-light);
}

.faq-item {
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-cream);
  padding-bottom: var(--space-md);
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  transition: var(--transition);
}

.faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  margin-top: 0;
}

.faq-question.active+.faq-answer {
  max-height: 1000px;
  margin-top: var(--space-md);
}

.contact {
  background-color: var(--color-cream);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.contact-info {
  margin-bottom: var(--space-lg);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.contact-icon {
  font-size: 1.25rem;
  margin-right: var(--space-md);
  color: var(--color-wood);
}

.contact-form {
  background-color: var(--color-light);
  padding: var(--space-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: var(--space-md);
}

label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--color-cream);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-secondary);
  font-size: 1rem;
}

textarea {
  min-height: 150px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.checkbox-group input {
  width: auto;
  margin-right: var(--space-sm);
  margin-top: 5px;
}

.map {
  height: 300px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-top: var(--space-lg);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.thank-you {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) 0;
}

.thank-you h1 {
  margin-bottom: var(--space-lg);
}

.thank-you p {
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

.error-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) 0;
}

.error-404 h1 {
  font-size: 4rem;
  margin-bottom: var(--space-md);
}

.error-404 p {
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

.footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: var(--space-lg) 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin-bottom: var(--space-sm);
}

.footer-menu a {
  color: var(--color-light);
  transition: var(--transition);
}

.footer-menu a:hover {
  color: var(--color-wood);
}

.social-icons {
  display: flex;
  gap: var(--space-md);
}

.social-icon {
  color: var(--color-light);
  font-size: 1.25rem;
  transition: var(--transition);
}

.social-icon:hover {
  color: var(--color-wood);
}

.copyright {
  margin-top: var(--space-lg);
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.8;
}

.cookies-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transform: translateY(100%);
  transition: var(--transition);
}

.cookies-popup.show {
  transform: translateY(0);
}

.cookies-popup p {
  margin-bottom: var(--space-md);
  text-align: center;
}

.cookies-buttons {
  display: flex;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .services-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .contact-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .cookies-popup {
    flex-direction: row;
  }

  .cookies-popup p {
    margin-bottom: 0;
    margin-right: var(--space-lg);
    text-align: left;
  }
}

@media (min-width: 992px) {
  .nav-desktop {
    display: block;
  }

  .burger {
    display: none;
  }

  .services-grid,
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}