/* ========== Reset & Base ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}

h1, h2, h3, h4 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a2e;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: background 0.3s;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: 'Work Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: 1px;
}

.logo span {
  color: #2e7d32;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1a1a2e;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2e7d32;
  transition: width 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  color: #2e7d32;
}

.lang-switch {
  display: flex;
  gap: 8px;
  margin-left: 20px;
}

.lang-switch a {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  transition: all 0.3s;
}

.lang-switch a::after {
  display: none;
}

.lang-switch a:hover,
.lang-switch a.active {
  background: #2e7d32;
  color: #fff;
  border-color: #2e7d32;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #1a1a2e;
  transition: all 0.3s;
}

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

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.8) 0%, rgba(26,26,46,0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: #fff;
  padding-top: 70px;
}

.hero-content h1 {
  font-size: 48px;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content h1 span {
  color: #4caf50;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #2e7d32;
  color: #fff;
}

.btn-primary:hover {
  background: #1b5e20;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(46,125,50,0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  margin-left: 15px;
}

.btn-outline:hover {
  background: #fff;
  color: #1a1a2e;
}

/* ========== About ========== */
.about {
  padding: 100px 0;
  background: #1a1a2e;
  color: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.about .section-title h2 {
  color: #fff;
}

.section-title .line {
  width: 60px;
  height: 3px;
  background: #2e7d32;
  margin: 0 auto 20px;
}

.section-title p {
  font-size: 16px;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
  opacity: 0.9;
  line-height: 1.8;
  font-size: 16px;
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(26,26,46,0.5), transparent);
  border-radius: 8px;
}

/* ========== Services ========== */
.offer {
  padding: 100px 0;
  background: #f8f9fa;
}

.offer .section-title h2 {
  color: #1a1a2e;
}

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

.service-card {
  position: relative;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}

.service-card:hover .service-card-bg {
  transform: scale(1.08);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, rgba(26,26,46,0.3) 60%, rgba(26,26,46,0.1) 100%);
  transition: background 0.3s;
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(46,125,50,0.9) 0%, rgba(46,125,50,0.4) 60%, rgba(46,125,50,0.2) 100%);
}

.service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  color: #fff;
  z-index: 1;
}

.service-card-content h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 10px;
}

.service-card-content p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.6;
}

/* ========== Projects / Photos ========== */
.projects {
  padding: 100px 0;
  background: #fff;
}

.projects .section-title h2 {
  color: #1a1a2e;
}

.project-categories {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.project-category {
  text-align: center;
  padding: 20px 30px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #2e7d32;
}

.project-category h3 {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a2e;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.photo-item:hover img {
  transform: scale(1.1);
}

.photo-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(46,125,50,0);
  transition: background 0.3s;
}

.photo-item:hover::after {
  background: rgba(46,125,50,0.2);
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: rgba(26,26,46,0.75);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  z-index: 1;
  min-height: 0;
}

.photo-caption:empty {
  display: none;
}

/* ========== Contact ========== */
.contact {
  padding: 100px 0;
  background: #2e7d32;
  color: #fff;
}

.contact .section-title h2 {
  color: #fff;
}

.contact .section-title p {
  color: rgba(255,255,255,0.8);
}

.contact-info-centered {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 15px;
  border: none;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  background: rgba(0,0,0,0.15);
  color: #fff;
  outline: none;
  transition: background 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(0,0,0,0.25);
}


.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-form .btn {
  background: #fff;
  color: #2e7d32;
  width: 100%;
  font-size: 15px;
}

.contact-form .btn:hover {
  background: #1a1a2e;
  color: #fff;
  transform: translateY(-2px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-item-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.contact-item h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.5;
}

.contact-item a {
  color: #fff;
  opacity: 0.85;
}

.contact-item a:hover {
  opacity: 1;
}

/* ========== Footer ========== */
.footer {
  background: #1a1a2e;
  color: #fff;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-family: 'Work Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-logo span {
  color: #4caf50;
}

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

.footer-links a {
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  color: #4caf50;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  opacity: 0.5;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 36px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .nav.active {
    display: flex;
  }

  .lang-switch {
    margin-left: 0;
    justify-content: center;
  }

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 10px;
  }

  .hero-content .btn {
    display: block;
    text-align: center;
  }

  .section-title h2 {
    font-size: 28px;
  }

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

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

  .project-categories {
    flex-direction: column;
    gap: 15px;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
