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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #4A5A4A;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background: #FAFCF8;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1140px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  z-index: 1000;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(164, 201, 31, 0.08);
  border: 1px solid rgba(164, 201, 31, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 8px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 0 16px;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #8FB81A;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.nav {
  display: flex;
  gap: 4px;
  background: #E8F0D4;
  padding: 4px;
  border-radius: 12px;
}

.nav a {
  text-decoration: none;
  color: #5A6A5A;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 10px;
  transition: all 0.25s;
}

.nav a:hover {
  background: #A4C91F;
  color: #fff;
  box-shadow: 0 3px 12px rgba(164, 201, 31, 0.3);
}

/* ========== Hamburger ========== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-right: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1A1A1A;
  border-radius: 2px;
  transition: 0.3s;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #1A1A1A;
  z-index: 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: #fff;
}

.hero-badge {
  display: inline-block;
  background: rgba(164, 201, 31, 0.1);
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 28px;
  border: 1px solid rgba(164, 201, 31, 0.2);
  color: #8FB81A;
}

.hero-content h1 {
  font-family: 'Lora', serif;
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 28px;
  letter-spacing: -1px;
  color: #fff;
}

.hero-content h1 .underline {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 8px;
  background: linear-gradient(90deg, #A4C91F, #C5E050, #A4C91F);
  border-radius: 4px;
}

.hero-tagline {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #A4C91F 0%, #96BD1B 50%, #8FB81A 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(164, 201, 31, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(164, 201, 31, 0.4);
  background: linear-gradient(135deg, #96BD1B 0%, #8FB81A 50%, #7AA315 100%);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(164, 201, 31, 0.3);
}

.btn-lg {
  padding: 16px 44px;
  font-size: 1rem;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #A4C91F;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(164, 201, 31, 0.2);
  transition: all 0.3s;
  border: none;
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 30px rgba(164, 201, 31, 0.35);
  background: #8FB81A;
  color: #fff;
}

.social-row {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  animation: float 3s ease-in-out infinite;
}

.social-row .social-btn {
  animation: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ========== Sections ========== */
.section {
  padding: 100px 0;
}

.section-warm {
  background: #F4F8EC;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: #E8F0D4;
  color: #7A9913;
  padding: 4px 18px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.section-tag-light {
  background: rgba(164, 201, 31, 0.1);
  color: #8FB81A;
}

.section-header h2 {
  font-family: 'Lora', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1.05rem;
  color: #8A9A7F;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== Services ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 24px 32px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid #DCE8D4;
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(164, 201, 31, 0.12);
  border-color: rgba(164, 201, 31, 0.25);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  background: #E8F0D4;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #A4C91F;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: #A4C91F;
  color: #fff;
}

.service-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1A1A1A;
}

.service-card p {
  font-size: 0.88rem;
  color: #8A9A7F;
  line-height: 1.6;
}

/* ========== Gallery ========== */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: calc((100% - 40px) / 3);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  min-width: 260px;
  background: #DCE8D4;
}

.gallery-image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s;
  display: block;
}

.gallery-image-wrap img.img-left {
  object-position: 15% center;
}

.gallery-item:hover .gallery-image-wrap img {
  transform: scale(1.08);
}

/* ========== Portfolio Sub-sections ========== */
.portfolio-subsection {
  text-align: center;
  margin-bottom: 28px;
}

.portfolio-subsection h3 {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1A1A1A;
  display: inline-block;
  border-bottom: 2px solid #A4C91F;
  padding-bottom: 8px;
}

.portfolio-subsection:not(:first-of-type) {
  margin-top: 64px;
}

/* ========== Reviews ========== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #DCE8D4;
  transition: all 0.3s;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(164, 201, 31, 0.1);
  border-color: rgba(164, 201, 31, 0.2);
}

.review-stars {
  color: #A4C91F;
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 0.95rem;
  color: #4A5A4A;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.review-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: #8A9A7F;
}

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  border: 1px solid #DCE8D4;
  transition: all 0.3s;
}

.contact-card:hover {
  box-shadow: 0 16px 48px rgba(164, 201, 31, 0.1);
  transform: translateY(-3px);
  border-color: rgba(164, 201, 31, 0.2);
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: #E8F0D4;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #A4C91F;
}

.contact-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.contact-card a {
  color: #A4C91F;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  word-break: break-all;
}

.contact-card a:hover {
  text-decoration: underline;
  color: #8FB81A;
}

.contact-note {
  font-size: 0.82rem;
  color: #9AAA8A;
  margin-top: 10px;
}

/* ========== Footer ========== */
.footer {
  background: #1A1A1A;
  padding-top: 56px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  margin-bottom: 10px;
  display: inline-flex;
}

.footer-brand .logo-img {
  height: 36px;
}

.footer-brand .logo-text {
  color: #C5DBA0;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links a:hover {
  color: #A4C91F;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ========== Scroll Reveal ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item.reveal,
.service-card.reveal,
.contact-card.reveal {
  transform: translateY(50px);
}

.gallery-item.reveal.visible,
.service-card.reveal.visible,
.contact-card.reveal.visible {
  transform: translateY(0);
}

.gallery-grid .reveal:nth-child(1) { transition-delay: 0s; }
.gallery-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.gallery-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.gallery-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.gallery-grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.gallery-grid .reveal:nth-child(6) { transition-delay: 0.5s; }

.services-grid .reveal:nth-child(1) { transition-delay: 0s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.3s; }
.services-grid .reveal:nth-child(7) { transition-delay: 0.36s; }
.services-grid .reveal:nth-child(8) { transition-delay: 0.42s; }

.contact-grid .reveal:nth-child(1) { transition-delay: 0s; }
.contact-grid .reveal:nth-child(2) { transition-delay: 0.15s; }

/* ========== Responsive ========== */
@media only screen and (max-width: 768px) {
    /* Target the sidebar or navigation container */
    #sidebar, .main-navigation, .side-menu-container {
        position: relative !important;
        width: 100% !important;
        float: none !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        display: block !important;
    }
}

  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 8px;
    right: 8px;
    width: auto;
    background: #E8F0D4;
    border-radius: 12px;
    padding: 8px;
    gap: 4px;
  }

  .nav.open {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .section {
    padding: 64px 0;
  }

  .section-header h2 {
    font-size: 1.9rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}