/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/css.css to edit this template
*/
/* 
    Created on : Apr 6, 2025, 6:14:02 PM
    Author     : britt
*/

/* Base styling */
body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    background: url('gallery/leaves.jpg') no-repeat center center/cover;
    color: #2f3e46;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Sticky navigation */
.sticky-nav {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: none;
    transition: all 0.3s ease;
    z-index: 1000;
    border-radius: 5px;
}

.sticky-nav.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navbar layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Container */
.logo {
  display: flex;
  align-items: center;
  height: 80px;
  overflow: hidden; 
}

/* Logo Image */
.logo-img {
  height: 200px; /* fills the height of .logo */
  width: auto; 
}



.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    padding: 0.5rem 0.8rem;
    transition: background 0.3s ease;
    border-radius: 5px;
}

.nav-links a:hover {
    background-color: #dbe9e1;
    color: #1b4332;
}

/* Hero Section */
.hero {
    background: url('gallery/leaves.jpg') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.5s ease-out;
}

.cta-button {
    background-color: #2c6e49;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background-color: #1b4332;
}

/* Features section */
.features {
  padding: 4rem 2rem;
  background-color: #ffffff;
}

.feature-card {
  background-color: #eaf4f4;
  padding: 2rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  gap: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card.reverse {
  flex-direction: row-reverse;
}

.feature-img {
  flex: 1;
  max-width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.feature-text {
  flex: 1;
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-5px);
  background-color: #dbe9e1;
}

.feature-card h3 {
  color: #2c6e49;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .feature-card {
    flex-direction: column;
    text-align: center;
  }

  .feature-card.reverse {
    flex-direction: column;
  }

  .feature-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
  }

  .feature-text {
    text-align: center;
  }
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #2c6e49;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
    font-size: 16px; /* Adjust font size for readability */
  }
  
  .hero {
    height: auto;
    padding: 4rem 1rem;
    text-align: center;
  }
  .logo {
    margin-bottom: 5px; /* Space between the logo and the menu */
  }
  .logo-img {
    height: 120px;  /* Adjust size as needed */
    width: auto;
  }

  .container {
    padding: 1rem; /* Adjust container padding for mobile */
  }
  
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .nav-links {
    position: absolute;
    top: 60px;
    right: 2rem;
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem;
    background-color: #1b4332;
    color: white;
    border-radius: 5px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Service Details Section Styling */
.services-detail {
    background-color: #f5f9f6;
    padding: 3rem 2rem;
    text-align: center;
}

.services-detail h2 {
    font-size: 2.5rem;
    color: #2c6e49;
    margin-bottom: 1.5rem;
}

.services-detail p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.services-detail ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.services-detail li {
    font-size: 1.2rem;
    color: #333;
    padding: 0.8rem;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s ease;
}

.services-detail li:hover {
    background-color: #dbe9e1;
    color: #2c6e49;
}
.service-list {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
  align-items: center;
}

.service-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f8f8f8;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.service-toggle {
  text-align: center;
  display: block;
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  background-color: #e8f5e9;
  border: none;
  cursor: pointer;
  font-weight: bold;
  color: #2c6e49;
}


.service-toggle:hover {
  background-color: #e6f4ea;
}

.service-description {
  padding: 1rem;
  background-color: #fff;
  color: #444;
  text-align: left; /* This aligns text inside the box */
}

.description-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.description-text {
  flex: 1;
}

.description-image img {
  max-width: 250px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* Smooth fade-in effect */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .services-detail {
    padding: 2rem 1rem;
  }

  .services-detail h2 {
    font-size: 2rem;
  }

  .services-detail p {
    font-size: 1rem;
  }

  .services-detail li {
    font-size: 1rem;
  }
  .service-toggle {
    font-size: 1rem;
    padding: 0.9rem;
  }

  .service-description {
    font-size: 0.95rem;
  }
  .description-content {
    flex-direction: column;
    text-align: center;
  }

  .description-image img {
    max-width: 100%;
  }
}

/* Gallery Section Styling */
.gallery {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f9f9f9;
}

.gallery h2 {
    font-size: 2.5rem;
    color: #2c6e49;
    margin-bottom: 1.5rem;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 1.5rem;
    padding: 0;
}

.image-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-item:hover img {
  transform: scale(1.1);
}
.before-after-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
/* Each Before-After Pair */
.before-after-item {
  display: flex;
  flex-direction: row; /* Side by side */
  gap: 1rem;
  flex-wrap: wrap; /* Allows wrapping on small screens */
}

/* Images inside each pair */
.before-after-item img {
  flex: 1;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.image-label-pair {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.image-label-pair .label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #2c6e49;
}

.image-label-pair img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile-friendly */
@media (max-width: 768px) {
  .gallery {
    padding: 2rem 1rem;
  }

  .gallery h2 {
    font-size: 2rem;
  }
  .before-after-item {
    flex-direction: column; /* Stack on mobile */
    text-align: center;
  }
}

/* Estimate Form Styling */
.estimate-form {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 2rem auto;
}

.estimate-form h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c6e49;
    margin-bottom: 1rem;
}

.estimate-form label {
    display: block;
    margin: 0.5rem 0;
    font-size: 1rem;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea{
    width: 95%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.estimate-form button {
    background-color: #2c6e49;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.estimate-form button:hover {
    background-color: #1b4332;
}

#estimate-result {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #2c6e49;
}
/* Contact Form Styling */
.contact-form {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 2rem auto;
}

.contact-form h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c6e49;
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 95%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
}

.contact-form textarea {
    height: 120px;
    max-width: 95%;
    resize: vertical;
}

.contact-form button {
    background-color: #2c6e49;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background-color: #45a049;
}

@media (max-width: 768px) {
  .contact-form {
    margin: 0.5rem;
    padding: 1rem;
  } 

  .contact-form h2 {
    font-size: 1.8rem;
  }
}
/* Testimonial Form */
.testimonial-form {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 2rem auto;
}

.testimonial-form form {
  display: flex;
  flex-direction: column;
}

.testimonial-form label {
    display: block;
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #333;
}

.testimonial-form input,
.testimonial-form textarea {
   width: 95%;
   padding: 0.8rem;
   margin-bottom: 1rem;
   border: 1px solid #ddd;
   border-radius: 5px;
   font-size: 1rem;
   color: #333;
}

.testimonial-form button {
   background-color: #2c6e49;
   color: white;
   padding: 0.8rem 1.5rem;
   border: none;
   border-radius: 30px;
   font-weight: bold;
   cursor: pointer;
   transition: background 0.3s ease;
}

.testimonial-form button:hover {
  background-color: #45a049;
}

/* Star Rating */
.stars {
  color: gold;
  font-size: 1.5em;
  text-shadow: 0 0 3px rgba(255, 215, 0, 0.6);
}

#stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 5px;
  margin-top: 0.5rem;
}

#stars input[type="radio"] {
  display: none;
}

#stars label {
  font-size: 2rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s;
}

#stars input[type="radio"]:checked ~ label {
  color: #ffcc00;
}

#stars label:hover,
#stars label:hover ~ label {
  color: #ffcc00;
}

/* Testimonials List */
.testimonial-list {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 2rem auto;
}

.testimonial-list ul {
  list-style: none;
  padding: 0;
}

.testimonial-list li {
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}

.testimonial-list li:last-child {
  border-bottom: none;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* dark overlay */
  justify-content: center;
  align-items: center;
    }

/* Popup box */
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
   }

/* Close button */
.close-btn {
    margin-top: 15px;
    background: #333;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    }

b {
    color: black;
    text-decoration: underline;
    cursor: pointer;
    text-align: center;
   }

/* Responsive Styles */
@media (max-width: 600px) {
  body {
    font-size: 0.95rem;
  }

  #stars label {
    font-size: 1.5rem;
  }

  .container {
    padding: 1rem;
  }

  .testimonial-form,
  .testimonial-list {
    margin: 0.5rem;
    padding: 1rem;
  }
}


.about-section {
  padding: 4rem 2rem;
  background-color: white;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h1 {
  color: #2c6e49;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.about-image {
  flex: 1;
  min-width: 280px;
}

.about-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* Responsive layout for mobile screens */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  
  .about-text h1 {
    font-size: 1.6rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .about-image img {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
  }


}



