/* assets/css/style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fafcf8;
  color: #1e2b24;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ----- NAVIGATION ----- */
.navbar {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(30, 58, 47, 0.08);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 2px solid #e6f0e6;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* logo */
.nav-logo a {
  display: flex;
  align-items: center;
}

.logo-svg {
  height: 48px;
  width: auto;
}

/* desktop menu */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.nav-list li a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e3a2f;
  padding: 0.5rem 0.2rem;
  transition: 0.2s ease;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list li a i {
  color: #4b7b5e;
  font-size: 1rem;
  width: 1.4rem;
  text-align: center;
}

.nav-list li a:hover {
  color: #2b6e3b;
  border-bottom-color: #4b7b5e;
}

/* hamburger */
.hamburger {
  display: none;
  font-size: 1.8rem;
  color: #1e3a2f;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: 0.2s;
}

.hamburger:hover {
  background: #e9f3e9;
}

/* mobile sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: #ffffff;
  box-shadow: 6px 0 30px rgba(0, 0, 0, 0.08);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  border-right: 2px solid #e6f0e6;
}

.mobile-sidebar.open {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.sidebar-logo .sidebar-svg {
  height: 40px;
  width: auto;
}

.close-sidebar {
  font-size: 1.8rem;
  color: #1e3a2f;
  cursor: pointer;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  transition: 0.2s;
}

.close-sidebar:hover {
  background: #f0f7f0;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sidebar-list li a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  color: #1e3a2f;
  transition: 0.2s;
}

.sidebar-list li a i {
  width: 1.8rem;
  font-size: 1.3rem;
  color: #4b7b5e;
}

.sidebar-list li a:hover {
  background: #f0f7f0;
  color: #2b6e3b;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(2px);
  z-index: 999;
  display: none;
}

.sidebar-overlay.active {
  display: block;
}

/* ----- HERO ----- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://images.unsplash.com/photo-1582722872445-44dc5f7e3c8f?w=1600&q=80') center/cover no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(22, 48, 34, 0.7) 0%, rgba(10, 30, 18, 0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #f5f9f2;
}

.carousel-text {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-slide {
  display: none;
  animation: fadeUp 0.6s ease;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide h1 {
  font-size: clamp(2.8rem, 10vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: #f5e6c8;
  margin-bottom: 0.5rem;
}

.carousel-slide p {
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 500;
  color: #d9e8d4;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  letter-spacing: 1px;
}

.carousel-indicators {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid transparent;
}

.dot.active {
  background: #f5b042;
  border-color: #f5e6c8;
  transform: scale(1.2);
  box-shadow: 0 0 16px rgba(245, 176, 66, 0.5);
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ----- SERVICES (EGG) ----- */
.services {
  padding: 5rem 1.5rem;
  background: #fafff9;
  border-top: 1px solid #e3eee3;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: #1e3a2f;
}

.section-title span {
  color: #c28f3b;
  position: relative;
}

.section-title span::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: #e9d6b0;
  border-radius: 8px;
  opacity: 0.4;
  z-index: -1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: #ffffff;
  padding: 2rem 1.8rem;
  border-radius: 28px;
  box-shadow: 0 8px 28px rgba(30, 58, 47, 0.06);
  text-align: center;
  transition: 0.25s ease;
  border: 1px solid #e9f3e9;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(30, 58, 47, 0.10);
  border-color: #cde0cd;
}

.service-icon {
  font-size: 3rem;
  color: #3d7a4e;
  margin-bottom: 1rem;
  display: inline-block;
  background: #ecf6ec;
  padding: 1rem;
  border-radius: 50%;
  width: 5.5rem;
  height: 5.5rem;
  line-height: 3.5rem;
  text-align: center;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1e3a2f;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: #3f5547;
  font-size: 0.95rem;
}

.service-description {
  max-width: 820px;
  margin: 2.5rem auto 0;
  background: #f5fbf5;
  padding: 2.2rem 2.8rem;
  border-radius: 48px;
  border-left: 6px solid #4b7b5e;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.service-description p {
  font-size: 1.15rem;
  color: #1e3a2f;
  font-weight: 450;
  line-height: 1.8;
}

.service-description i {
  color: #4b7b5e;
  margin: 0 0.4rem;
  opacity: 0.7;
}

/* ----- FOOTER ----- */
.footer {
  background: #14261d;
  color: #e3efe3;
  padding-top: 3.5rem;
  border-top: 4px solid #4b7b5e;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.8fr;
  gap: 2.5rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #f5e6c8;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #3d5e47;
  padding-bottom: 0.6rem;
}

.footer-logo .footer-svg {
  height: 44px;
  width: auto;
  margin-bottom: 0.6rem;
}

.footer-desc {
  font-size: 0.95rem;
  opacity: 0.8;
  max-width: 260px;
  line-height: 1.6;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  opacity: 0.8;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: #f5b042;
}

.footer-col ul li i {
  width: 1.4rem;
  color: #8bb49b;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin: 0.8rem 0 1.2rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #1f3a2b;
  border-radius: 50%;
  color: #e3efe3;
  font-size: 1.2rem;
  transition: 0.2s;
}

.social-icons a:hover {
  background: #f5b042;
  color: #14261d;
  transform: scale(1.05);
}

.footer-newsletter {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: 40px;
  border: 1px solid #3d5e47;
  background: #1f3429;
  color: #f5f9f2;
  font-size: 0.9rem;
  outline: none;
  transition: 0.2s;
}

.newsletter-form input::placeholder {
  color: #a3c0a8;
}

.newsletter-form input:focus {
  border-color: #f5b042;
  background: #1e3a2f;
}

.newsletter-form button {
  background: #f5b042;
  border: none;
  border-radius: 40px;
  width: 48px;
  color: #14261d;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.2s;
}

.newsletter-form button:hover {
  background: #f5c46b;
}

.footer-bottom {
  border-top: 1px solid #2a4535;
  text-align: center;
  padding: 1.8rem 1rem;
  font-size: 0.9rem;
  opacity: 0.7;
  max-width: 1280px;
  margin: 0 auto;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .nav-container {
    padding: 0 1.2rem;
  }
  .hero {
    min-height: 70vh;
    background-attachment: scroll;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-desc {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-description {
    padding: 1.5rem 1.2rem;
    border-radius: 28px;
  }
  .section-title {
    font-size: 2rem;
  }
}