
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;600;700&family=Open+Sans:wght@300;400;500;600&display=swap');

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

html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fefefe;
}

/* Sticky Navigation */
.nav-container {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Header with background image */
.hero-header {
  height: 35vh;
  min-height: 250px;
  background-image: linear-gradient(to bottom, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.1) 40%, 
    rgba(254, 252, 248, 0.8) 85%, 
    rgba(254, 252, 248, 1) 100%
  ), url('./assets/icon.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  position: relative;
  opacity: 0.8;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Navigation */
.nav-menu {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
  position: sticky;
  top: 0;
  z-index: 1001;
}

.nav-link {
  color: #4a4a4a;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  background-color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  font-weight: 500;
  font-family: 'Comfortaa', cursive;
  display: block;
  border: 2px solid transparent;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  background-color: rgba(255, 255, 255, 0.95);
  color: #2c5f41;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  border-color: #2c5f41;
}

/* Main content */
.main-content {
  background: linear-gradient(to bottom, 
    rgba(254, 252, 248, 1) 0%, 
    rgba(255, 255, 255, 1) 30%
  );
  padding: 40px 20px;
  min-height: 60vh;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Mobile layout (default) */
.content-mobile {
  display: block;
}

.content-desktop {
  display: none;
}

.text-content {
  margin-bottom: 30px;
  text-align: center;
}

.text-content h1 {
  font-size: 2.5rem;
  color: #2c5f41;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  font-family: 'Comfortaa', cursive;
  font-weight: 700;
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-text {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background-color: rgba(44, 95, 65, 0.1);
  border-radius: 10px;
}

.contact-text p {
  font-size: 1.1rem;
  color: #2c5f41;
  font-weight: 500;
}

.form-container {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin: 20px 0;
}

.google-form {
  border-radius: 8px;
  width: 100%;
  height: 750px;
}

/* Sections */
.section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.section:nth-child(even) {
  background-color: white;
}

.section-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.section h2 {
  font-size: 2.2rem;
  color: #2c5f41;
  margin-bottom: 30px;
  font-family: 'Comfortaa', cursive;
  font-weight: 600;
}

.section p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.service-item {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item h3 {
  color: #2c5f41;
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-family: 'Comfortaa', cursive;
  font-weight: 600;
}

.service-item p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 10px;
}

.service-item strong {
  color: #2c5f41;
  font-weight: 600;
}

/* Contact Info */
.contact-info {
  background-color: rgba(44, 95, 65, 0.1);
  padding: 30px;
  border-radius: 10px;
  margin-top: 30px;
}

.contact-info p {
  margin: 10px 0;
  color: #2c5f41;
  font-weight: 500;
}

/* About page specific styles */
.about-details {
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
}

.about-details h2 {
  font-family: 'Comfortaa', cursive;
  color: #2c5f41;
  margin-top: 30px;
  margin-bottom: 15px;
}

.about-details ul {
  list-style-type: none;
  padding-left: 0;
}

.about-details li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.about-details li:before {
  content: "✓";
  color: #2c5f41;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Homepage specific styles */
.hero-section {
  background: linear-gradient(135deg, rgba(44, 95, 65, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
  padding: 60px 20px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin: 40px 0;
}

.feature-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.feature-item h3 {
  font-family: 'Comfortaa', cursive;
  color: #2c5f41;
  margin-bottom: 15px;
  font-weight: 600;
}

.testimonial {
  background: rgba(44, 95, 65, 0.05);
  padding: 30px;
  border-radius: 15px;
  margin: 40px 0;
  font-style: italic;
  border-left: 4px solid #2c5f41;
}

/* Footer */
.main-footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  font-size: 0.9rem;
}

.footer-content a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-content a:hover {
  color: #ccc;
}

/* Tablet styles */
@media (min-width: 768px) {
  .hero-header {
    height: 60vh;
    min-height: 400px;
  }

  .text-content h1 {
    font-size: 3rem;
  }

  .services-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .nav-menu {
    gap: 30px;
  }

  .form-container {
    padding: 30px;
  }

  .google-form {
    height: 800px;
  }
}

/* Desktop styles */
@media (min-width: 1024px) {
  /* Hide mobile layout, show desktop layout */
  .content-mobile {
    display: none;
  }

  .content-desktop {
    display: flex;
    gap: 40px;
    align-items: flex-start;
  }

  .content-desktop .form-container {
    flex: 1;
    max-width: 500px;
  }

  .content-desktop .text-content {
    flex: 1;
    text-align: left;
    margin-bottom: 0;
  }

  .content-desktop .contact-text {
    text-align: left;
    margin-top: 30px;
  }

  .hero-header {
    height: 70vh;
    min-height: 500px;
  }

  .text-content h1 {
    font-size: 3.5rem;
  }

  .services-grid,
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .main-content {
    padding: 60px 40px;
  }

  .google-form {
    height: 800px;
  }
}

/* Large desktop */
@media (min-width: 1400px) {
  .content-desktop {
    gap: 60px;
  }

  .text-content h1 {
    font-size: 4rem;
  }
}
