/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

/* Header Styles */
.header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #4caf50;
  text-decoration: none;
}

/* Burger Menu Styles */
.burger-checkbox {
  display: none;
}

.burger-menu {
  display: block;
  width: 30px;
  height: 25px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background: #4caf50;
  margin-bottom: 6px;
  transition: 0.3s;
}

/* Navigation Menu */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  transition: right 0.3s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.burger-checkbox:checked ~ .nav-menu {
  right: 0;
}

.burger-checkbox:checked ~ .burger-menu span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-checkbox:checked ~ .burger-menu span:nth-child(2) {
  opacity: 0;
}

.burger-checkbox:checked ~ .burger-menu span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu ul {
  list-style: none;
  padding: 80px 30px 30px;
}

.nav-menu li {
  margin-bottom: 20px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  display: block;
  padding: 10px 0;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #4caf50;
}

/* CTA Button Styles */
.cta-button {
  display: inline-block;
  background: #4caf50;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.cta-button:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.cta-button.secondary {
  background: #f5f5f5;
  color: #333;
  border: 2px solid #4caf50;
}

.cta-button.secondary:hover {
  background: #4caf50;
  color: #ffffff;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8fff8 0%, #ffffff 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text-block {
  background: #4caf50;
  padding: 40px;
  border-radius: 15px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-description {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-cta {
  background: #ffffff;
  color: #4caf50;
}

.hero-cta:hover {
  background: #f0f0f0;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  max-height: 500px;
}

/* Placeholder Image Styles */
.placeholder-image {
  width: 100%;
  height: 300px;
  background: #e0e0e0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 18px;
  font-weight: 500;
  border: 2px dashed #ccc;
}

.placeholder-image.small {
  height: 60px;
  width: 60px;
  font-size: 12px;
  border-radius: 50%;
  margin-right: 15px;
}

/* Image Styles */
.section-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.emergency-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.budget-section,
.savings-section,
.emergency-section,
.materials-section,
.reviews-section,
.faq-section,
.contacts-section {
  padding: 80px 0;
}

.budget-section {
  background: #ffffff;
}

.savings-section {
  background: #f8fff8;
}

.emergency-section {
  background: linear-gradient(135deg, #e8f5e8 0%, #f8fff8 100%);
}

.materials-section {
  background: #ffffff;
}

.reviews-section {
  background: #f8fff8;
}

.faq-section {
  background: #ffffff;
}

.contacts-section {
  background: linear-gradient(135deg, #f0f8f0 0%, #f8fff8 100%);
}

.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-content.reverse {
  grid-template-columns: 1fr 1fr;
}

.section-content.reverse .image-content {
  order: 1;
}

.section-content.reverse .text-content {
  order: 2;
}

.text-content h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.3;
}

.text-content p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.text-content ul {
  list-style: none;
  padding-left: 0;
}

.text-content li {
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
}

.text-content li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: bold;
}

.text-content strong {
  color: #333;
}

/* Emergency Section Specific */
.emergency-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.emergency-text-block {
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.emergency-text-block h2 {
  font-size: 36px;
  color: #4caf50;
  margin-bottom: 20px;
}

.benefits-list {
  margin-top: 30px;
}

.benefits-list h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 20px;
}

.benefits-list ul {
  list-style: none;
  padding-left: 0;
}

.benefits-list li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.benefits-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: bold;
}

/* Materials Section */
.materials-section h2 {
  text-align: center;
  font-size: 36px;
  color: #333;
  margin-bottom: 50px;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.material-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border-left: 5px solid #4caf50;
}

.material-card:hover {
  transform: translateY(-5px);
}

.material-card h3 {
  color: #4caf50;
  font-size: 24px;
  margin-bottom: 15px;
}

.material-card p {
  color: #666;
  line-height: 1.6;
}

/* Reviews Section */
.reviews-section h2 {
  text-align: center;
  font-size: 36px;
  color: #333;
  margin-bottom: 50px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.review-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.reviewer-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.reviewer-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.reviewer-details h4 {
  color: #333;
  margin-bottom: 5px;
}

.reviewer-role {
  color: #4caf50;
  font-size: 14px;
  font-weight: 600;
}

.review-text {
  color: #666;
  line-height: 1.6;
  font-style: italic;
}

/* FAQ Section */
.faq-section h2 {
  text-align: center;
  font-size: 36px;
  color: #333;
  margin-bottom: 50px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  color: #4caf50;
  font-size: 20px;
  margin-bottom: 10px;
}

.faq-item p {
  color: #666;
  line-height: 1.6;
}

/* Contacts Section */
.contacts-section h2 {
  text-align: center;
  font-size: 36px;
  color: #333;
  margin-bottom: 50px;
}

.contacts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  padding: 30px;
}

.contact-item {
  margin-bottom: 30px;
}

.contact-item h3 {
  color: #4caf50;
  font-size: 20px;
  margin-bottom: 10px;
}

.contact-item p {
  color: #666;
  line-height: 1.6;
}

.contact-mission {
  background: rgba(76, 175, 80, 0.1);
  padding: 25px;
  border-radius: 10px;
  margin-top: 30px;
}

.contact-mission h3 {
  color: #4caf50;
  margin-bottom: 15px;
}

.contact-form {
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4caf50;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  margin-top: 2px;
}

.checkbox-group label {
  margin-bottom: 0;
  color: #666;
  font-size: 14px;
}

.checkbox-group a {
  color: #4caf50;
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: #ffffff;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo {
  font-size: 24px;
  font-weight: bold;
  color: #4caf50;
  margin-bottom: 15px;
}

.footer-section p {
  color: #bdc3c7;
  line-height: 1.6;
}

.footer-section h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #4caf50;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2c3e50;
  color: #ffffff;
  padding: 20px 0;
  z-index: 1002;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cookie-content p {
  color: #ecf0f1;
  line-height: 1.6;
  margin: 0;
}

.cookie-content a {
  color: #4caf50;
  text-decoration: none;
}

.cookie-content a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content,
  .section-content,
  .section-content.reverse,
  .emergency-content,
  .contacts-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-text-block {
    padding: 30px 20px;
  }

  .hero-title {
    font-size: 28px;
  }

  .nav-menu {
    width: 100%;
    right: -100%;
  }

  .nav-menu ul {
    padding: 60px 20px 20px;
  }

  .nav-menu a {
    font-size: 16px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-buttons .cta-button {
    width: 100%;
  }

  .materials-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .text-content h2,
  .materials-section h2,
  .reviews-section h2,
  .faq-section h2,
  .contacts-section h2 {
    font-size: 24px;
  }

  .hero-text-block {
    padding: 20px 15px;
  }

  .emergency-text-block {
    padding: 20px 15px;
  }
}
