:root {
  --primary-color: #4CAF50;
  --secondary-color: #2E7D32;
  --accent-color: #8BC34A;
  --text-color: #333333;
  --text-light: #777777;
  --background-color: #ffffff;
  --background-alt: #f9f9f9;
  --border-color: #e0e0e0;

  --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: 16px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
}

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

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

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

main {
  overflow: hidden;
}

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

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition-normal);
}

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

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

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

/* Header & Navigation */
.header {
  padding: var(--space-md) 0;
  position: relative;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1000;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: all var(--transition-normal);
}

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

.nav-links li {
  margin-left: var(--space-lg);
}

.nav-links a {
  font-weight: 500;
}

/* Section Styling */
.section {
  padding: var(--space-xl) 0;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: var(--space-lg);
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-secondary);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Hero Section */
.hero {
  background-color: var(--background-alt);
  position: relative;
  overflow: hidden;
}

.hero-content {
  padding: var(--space-xl) 0;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: var(--primary-color);
  font-family: var(--font-secondary);
}

.hero-text {
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

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

.rotate-45 {
  transform: rotate(45deg) translate(5px, 5px);
}

.opacity-0 {
  opacity: 0;
}

.rotate-negative-45 {
  transform: rotate(-48deg) translate(7px, -5px);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  margin-top: 15px;
}

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

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

.form-control {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  transition: border-color var(--transition-fast);
}

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

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

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

.form-check-input {
  margin-right: var(--space-sm);
  margin-top: 0.25rem;
}

/* Footer */
.footer {
  background-color: var(--background-alt);
  padding: var(--space-lg) 0;
  margin-top: var(--space-xl);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-info {
  flex: 1;
  min-width: 250px;
  margin-right: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-links {
  flex: 1;
  min-width: 200px;
}

.footer-links h3 {
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
  font-weight: 600;
}

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

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

.copyright {
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-md);
  margin-top: var(--space-lg);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.product-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.product-image {
  height: 200px;
  background-color: var(--background-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-details {
  padding: var(--space-lg);
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.product-price {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
  margin: var(--space-md) 0;
}

/* Cookie Policy Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: white;
  padding: var(--space-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.cookie-popup.active {
  opacity: 1;
  transform: translateY(0);
}

.cookie-text {
  flex: 1;
  margin-right: var(--space-md);
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

/* 404 Page */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.error-code {
  font-size: 6rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.error-message {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.slide-in {
  animation: slideInRight 0.8s ease forwards;
}

.pulse {
  animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }

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

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--background-color);
    flex-direction: column;
    padding: 80px var(--space-lg) var(--space-lg);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
    z-index: 999;
  }

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

  .nav-links li {
    margin: var(--space-md) 0;
  }

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

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

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

  .footer-content {
    flex-direction: column;
  }

  .footer-info, .footer-links {
    margin-right: 0;
  }
}

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

  .container {
    width: 95%;
    padding: 0 var(--space-sm);
  }

  .services-grid, .products-grid {
    grid-template-columns: 1fr;
  }

  .cookie-popup {
    flex-direction: column;
    text-align: center;
  }

  .cookie-text {
    margin-right: 0;
    margin-bottom: var(--space-md);
  }
}