/* EcoLife & Sustainable Living - Main Stylesheet */

:root {
  /* Color Palette - Eco-friendly Pastels */
  --color-primary-1: #7eb64f;    /* Soft #0d900f */
  --color-primary-2: #f5dd34;    /* #0ed54e */
  --color-primary-3: #c3cdbc;    /* Light Sage */
  --color-primary-4: #d4ddf2;    /* Powder #0f00ff */
  --color-primary-5: #ffba57;    /* Warm #bdff00 */

  /* Shades & Tints */
  --color-dark-1: #74b749;      /* Dark #023e00 */
  --color-dark-2: #afdd29;      /* Dark #00c704 */
  --color-dark-3: #8dc28b;      /* Dark Sage */
  --color-dark-4: #c6cad2;      /* Dark #5222df */
  --color-dark-5: #ffe88d;      /* Dark #bc9000 */

  --color-light-1: #86c46a;     /* Light #2ab800 */
  --color-light-2: #fff788;     /* Light #00ff0e */
  --color-light-3: #def2a6;     /* Pale Sage */
  --color-light-4: #c8d6ea;     /* Pale #162add */
  --color-light-5: #ffe190;     /* Pale #b0db0b */
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #584044;
  overflow-x: hidden;
  background-color: var(--color-light-3);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222829;
}

a {
  color: var(--color-primary-1);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-dark-1);
  text-decoration: none;
}

.btn {
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--color-primary-1);
  border-color: var(--color-primary-1);
}

.btn-primary:hover {
  background-color: var(--color-dark-1);
  border-color: var(--color-dark-1);
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 60px;
  text-align: center;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--color-primary-1);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
}

/* Header Styles */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: var(--color-primary-1);
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: #213556;
  padding: 10px 20px;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--color-primary-1);
  bottom: 5px;
  left: 20px;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: calc(100% - 40px);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 52px;
  color: #fff;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

.hero-content .btn {
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

/* About Section */
.about-section {
  position: relative;
  overflow: hidden;
  background-color: #fff;
}

.about-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-img img {
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-content {
  padding: 30px 0 30px 30px;
}

.about-feature {
  margin-bottom: 30px;
  padding: 25px;
  border-radius: 10px;
  background-color: var(--color-light-3);
  transition: all 0.3s ease;
  border-left: 4px solid var(--color-primary-1);
}

.about-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-feature i {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--color-primary-1);
}

/* Services Section */
.services-section {
  background-color: var(--color-light-3);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../ELD_images/leaf-pattern.png');
  background-size: 200px;
  background-repeat: repeat;
  opacity: 0.05;
}

.service-item {
  margin-bottom: 30px;
  padding: 30px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.service-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background-color: var(--color-light-1);
  border-radius: 50%;
  transform: translate(50%, 50%);
  z-index: -1;
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-item:hover::before {
  transform: scale(6);
  opacity: 0.1;
}

.service-icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  border-radius: 50%;
  background-color: var(--color-light-1);
  margin-bottom: 20px;
  position: relative;
}

.service-icon i {
  font-size: 30px;
  color: var(--color-primary-1);
}

.service-title {
  font-size: 20px;
  margin-bottom: 15px;
}

.service-price {
  display: inline-block;
  padding: 8px 15px;
  background-color: var(--color-light-1);
  color: var(--color-dark-1);
  border-radius: 30px;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-features {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.service-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.service-features li::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary-1);
}

/* Features Section */
.features-section {
  background-color: #fff;
}

.feature-item {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background-color: var(--color-light-3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  width: 80px;
  height: 80px;
  line-height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-color: var(--color-light-1);
  color: var(--color-primary-1);
  font-size: 32px;
}

/* Price Plan Section */
.price-plan-section {
  background-color: var(--color-light-3);
  position: relative;
}

.price-plan-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  margin-bottom: 30px;
  z-index: 1;
  overflow: hidden;
}

.price-plan-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--color-primary-1);
  z-index: -1;
}

.price-plan-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.price-plan-name {
  font-size: 24px;
  margin-bottom: 20px;
}

.price-plan-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-primary-1);
  margin-bottom: 20px;
}

.price-plan-price span {
  font-size: 18px;
  color: #b0b0b0;
  font-weight: 400;
}

.price-plan-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.price-plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid #d9d4d3;
}

/* Team Section */
.team-section {
  background-color: #fff;
}

.team-member {
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-image {
  position: relative;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  transition: all 0.3s ease;
}

.team-member:hover .team-image img {
  transform: scale(1.05);
}

.team-content {
  padding: 20px;
  text-align: center;
  background-color: #fff;
}

.team-name {
  font-size: 20px;
  margin-bottom: 5px;
}

.team-role {
  font-size: 14px;
  color: #5b5b5b;
  margin-bottom: 15px;
}

/* Reviews Section */
.reviews-section {
  background-color: var(--color-light-3);
  position: relative;
}

.review-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  margin: 20px 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.review-item::before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 24px;
  color: var(--color-light-1);
  position: absolute;
  top: 20px;
  left: 20px;
}

.review-text {
  padding-top: 20px;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  font-weight: 700;
  color: var(--color-primary-1);
}

/* Core Info Section */
.core-info-section {
  background-color: #fff;
}

.core-info-item {
  text-align: center;
  padding: 40px 30px;
  margin-bottom: 30px;
  border-radius: 10px;
  background-color: var(--color-light-3);
  transition: all 0.3s ease;
}

.core-info-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.core-info-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--color-primary-1);
}

.core-info-title {
  font-size: 22px;
  margin-bottom: 15px;
}

/* Contact Section */
.contact-section {
  background-color: var(--color-light-3);
  position: relative;
}

.contact-form {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
  height: 50px;
  border-radius: 30px;
  padding: 10px 20px;
  border: 1px solid #eaeaea;
  margin-bottom: 20px;
}

textarea.form-control {
  height: 150px;
  border-radius: 20px;
}

.contact-info {
  padding: 40px;
  background-color: var(--color-primary-1);
  color: #fff;
  border-radius: 10px;
  height: 100%;
}

.contact-info h3 {
  color: #fff;
  margin-bottom: 30px;
}

.contact-info-item {
  margin-bottom: 20px;
  padding-left: 45px;
  position: relative;
}

.contact-info-item i {
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 24px;
}

/* Blog Section */
.blog-section {
  background-color: #fff;
}

.blog-item {
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-10px);
}

.blog-image {
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  transition: all 0.5s ease;
}

.blog-item:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 25px;
  background-color: #fff;
}

.blog-title {
  font-size: 20px;
  margin-bottom: 15px;
}

.blog-excerpt {
  margin-bottom: 20px;
}

.blog-link {
  display: inline-block;
  color: var(--color-primary-1);
  font-weight: 600;
}

/* Footer */
.footer {
  background-color: #2b4064;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-desc {
  margin-bottom: 30px;
}

.footer-title {
  color: #fff;
  font-size: 18px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-primary-1);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-primary-1);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 14px;
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Shape Elements */
.shape-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.shape-divider .shape-fill {
  fill: #FFFFFF;
}

/* Space Page */
#space {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-light-3);
  padding: 100px 0;
}

/* Additional Pages */
.page-header {
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(28, 45, 55, 0.80), rgba(35, 38, 41, 0.60));
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.page-header-content h1 {
  font-size: 48px;
  color: #fff;
  margin-bottom: 20px;
}

.additional-section {
  padding: 80px 0;
  position: relative;
}

.additional-section:nth-child(even) {
  background-color: var(--color-light-3);
}

.additional-section:nth-child(odd) {
  background-color: #fff;
}

.additional-element {
  padding: 30px;
  border-radius: 10px;
  background-color: #fff;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.additional-section:nth-child(even) .additional-element {
  background-color: #fff;
}

.additional-section:nth-child(odd) .additional-element {
  background-color: var(--color-light-3);
}

.additional-element:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
} 