/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* General */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background: #fafafa;
}

h1 {
  color: white;
  margin-bottom: 15px;
}

h2, h3 {
  color: #2e5e2e;
  margin-bottom: 15px;
}

p {
  line-height: 1.6;
}

/* Hero Section */
.hero {
  position: relative;
  background: url('hero-image.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 50px 20px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2e5e2e;
  z-index: 1;
}

/* Logo in the center top of hero */
.hero-logo {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  max-width: 30%;
  height: auto;
  z-index: 3;
}

@media screen and (max-width: 768px) {
  .hero-logo {
    width: 120px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-heading {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 25px;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.5;
}

.hero-services {
  font-size: 1rem;
  color: #e0f0e0;
  margin: 20px 0;
  letter-spacing: 1px;
}

.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #fff;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(10px); }
  60% { transform: translateX(-50%) translateY(5px); }
}

/* Hero Animations */
.hero h4, 
.hero h1, 
.hero p, 
.hero .hero-services, 
.hero .btn {
  opacity: 0;
  transform: translateY(20px);
  animation-fill-mode: forwards;
}

.hero h4 {
  animation: fadeUp 1s ease-out 0.3s forwards;
}

.hero h1 {
  animation: fadeUp 1s ease-out 0.6s forwards;
}

.hero p {
  animation: fadeUp 1s ease-out 0.9s forwards;
}

.hero .hero-services {
  animation: fadeUp 1s ease-out 1.2s forwards;
}

.hero .btn {
  animation: fadeUp 1s ease-out 1.5s forwards;
}

/* Keyframes for fade-up effect */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Optional Button Hover Enhancement */
.hero .btn:hover {
  background: #2e5e2e;
  color: #fff;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* About */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

@media screen and (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    margin-bottom: 20px;
  }
}

/* Services */
.services h2 {
  text-align: center;
}

.services .service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.services .card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.services .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* Remove service icons */
.service-icon {
  display: none !important;
}

/* Gallery Section */
.gallery {
  text-align: center;
  padding: 40px 20px;
}

.gallery h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.gallery-row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

/* Make horizontal scrollbar visible on desktop */
@media (min-width: 801px) {
  .gallery-row {
    scrollbar-width: thin;        
    scrollbar-color: #2e5e2e #f0f0f0; 
  }
  .gallery-row::-webkit-scrollbar {
    height: 10px;
  }
  .gallery-row::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 5px;
  }
  .gallery-row::-webkit-scrollbar-thumb {
    background: #2e5e2e;
    border-radius: 5px;
  }
}

.gallery-row img {
  flex: 0 0 auto;
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-row img:hover {
  transform: scale(1.05);
}

/* Lightbox Styling */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 800px) {
  .gallery-row img {
    width: 250px;
    height: 180px;
  }
}

@media (max-width: 500px) {
  .gallery-row {
    gap: 5px;
  }
  .gallery-row img {
    width: 180px;
    height: 140px;
  }
}

/* Reviews */
.reviews h2 {
  text-align: center;
}

.reviews {
  background: #f5f5f5;
  padding: 60px 20px;
}

/* CTA */
.cta {
  background: #3a7d44;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.cta h2 {
  color: white;
}

.cta .btn {
  background: white;
  color: #3a7d44;
  padding: 14px 28px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
}

/* Contact */
.contact h2 {
  text-align: center;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px; /* centralized form */
  margin: 0 auto;
  align-items: center;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact button {
  padding: 14px 28px;
  background: #3a7d44;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.contact .phone {
  margin-top: 20px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Footer */
footer {
  background: #2e5e2e;
  color: white;
  text-align: center;
  padding: 50px 20px;
}

footer .footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 15px;
}

footer nav {
  margin: 10px 0;
}

footer nav a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
}

footer .footer-phone a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

footer .footer-whatsapp a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #25d366;
  font-weight: bold;
  text-decoration: none;
}

footer .footer-whatsapp a i {
  font-size: 20px;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 30px;
  line-height: 60px;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* General button styling */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: #3a7d44;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #2e5e2e;
  transform: scale(1.05);
}

.hero-btn {
  margin-top: 25px;
  font-size: 1.1rem;
}

/* Section spacing */
section {
  padding: 40px 20px;
}

section h2 {
  margin-bottom: 40px;
}

/* Contact Form Status Message */
.form-status {
  margin-top: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
}
