@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
  --primary: #228B22;
  --accent: #87CEEB;
  --secondary: #8B4513;
  --background: #FAF0E6;
  --text: #36454F;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu li a {
  font-weight: 600;
  padding: 0.5rem 0;
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  transition: 0.3s;
}

section {
  padding: 4rem 0;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2fa02f 50%, var(--accent) 100%);
  color: white;
  text-align: center;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.03) 10px,
      rgba(255, 255, 255, 0.03) 20px
    );
  pointer-events: none;
}

.hero::after {
  content: '🌳';
  position: absolute;
  font-size: 8rem;
  opacity: 0.08;
  top: 50%;
  left: 10%;
  transform: translateY(-50%) rotate(-15deg);
  pointer-events: none;
  line-height: 1;
}

.hero-content::before {
  content: '🍃';
  position: absolute;
  font-size: 6rem;
  opacity: 0.06;
  top: -20px;
  right: -30px;
  transform: rotate(25deg);
  pointer-events: none;
  line-height: 1;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 800px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.hero-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
}

.hero .btn {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.hero .btn:hover::before {
  width: 300px;
  height: 300px;
}

.hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary);
  color: white;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: #654321;
  color: white;
}

.btn-primary {
  background-color: var(--primary);
}

.btn-primary:hover {
  background-color: #1a6b1a;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  border-radius: 5px;
  margin-bottom: 1rem;
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 5px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
}

footer {
  background-color: var(--text);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-section a {
  color: #ccc;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #555;
  font-size: 0.9rem;
}

.privacy-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 10000;
  display: none;
}

.privacy-popup.show {
  display: block;
}

.privacy-popup h3 {
  margin-bottom: 1rem;
}

.privacy-popup-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.privacy-popup-buttons .btn {
  flex: 1;
}

@media (max-width: 1100px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    padding: 2rem 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    padding: 5rem 0;
  }

  .hero::after {
    font-size: 5rem;
    left: 5%;
    opacity: 0.06;
  }

  .hero-content {
    padding: 2.5rem 2rem;
    border-radius: 16px;
    margin: 0 10px;
  }

  .hero-content::before {
    font-size: 4rem;
    top: -15px;
    right: -20px;
    opacity: 0.05;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
  }

  section {
    padding: 3rem 0;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .privacy-popup {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero::after {
    font-size: 4rem;
    opacity: 0.05;
  }

  .hero-content {
    padding: 2rem 1.5rem;
    border-radius: 14px;
    margin: 0 5px;
  }

  .hero-content::before {
    font-size: 3rem;
    top: -10px;
    right: -15px;
    opacity: 0.04;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 320px) {
  nav {
    padding: 0.75rem 15px;
  }

  .logo {
    font-size: 1.25rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  section {
    padding: 2rem 0;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero::after {
    font-size: 3rem;
    opacity: 0.04;
  }

  .hero-content {
    padding: 1.5rem 1rem;
    border-radius: 12px;
    margin: 0;
  }

  .hero-content::before {
    font-size: 2.5rem;
    top: -8px;
    right: -10px;
    opacity: 0.03;
  }

  .card {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}
