/* === RESET & GLOBAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: f8f8f8#;
  background-color: ghostwhite;
  scroll-behavior: smooth;
}


img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}



/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: #8c1528;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  backdrop-filter: blur(6px);
  font-weight: 700;
}



.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: White;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo img {
  width: 40px;
  height: 40px;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.navbar a {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  color: whitesmoke;
}

.navbar a:hover,
.navbar a.active {
  background-color: white;
  color: black;
}

.hamburger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    background-color: #8c1528;
    display: none;
    padding: 1rem;
  }

  .nav-links.show {
    display: flex;
  }
}

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slideshow {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.1); /* semi-transparent dark background */
  padding: 1rem;
  border-radius: 20px;
  backdrop-filter: blur(1px);     /* this creates the blur effect */
  -webkit-backdrop-filter: blur(6px); /* for Safari support */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* optional: adds depth */
}

.subtext {
  font-size: 3rm;
  font-weight: bold;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  padding: 0.8rem 1.5rem;
  background: white;
  color: black;
  font-weight: bold;
  border-radius: 30px;
  transition: background 0.3s;
}

.btn:hover {
  background: #d1ffd1;
}

/* === SECTIONS === */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: black;
}

/* === ABOUT === */
.about p {
  font-size: 1.1rem;
  color: black;
}

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 128, 0, 0.2); /* subtle green glow */
  padding: 2rem;
}

.service-card {
  position: relative;
  height: 300px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  font-color: greenyellow;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s;
  color: greenyellow;
}

.service-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px #90ee90aa;
}

.service-label {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  background: rgba(0,0,0,0.6);
  padding: 0.8rem;
  font-weight: bold;
  font-size: 1.1rem;
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  color: greenyellow;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

/* === CONTACT === */
.contact h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.contact p {
  text-align: center;
  margin-bottom: 2rem;
}

.google-form-container iframe {
  border-radius: 12px;
  background-color: white;
}

/* === FAQ === */
#faq {
  min-height: 80vh; /* Adjust as needed */
  padding-bottom: 100px;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #444;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: black;
  font-size: 1rem;
  text-align: left;
  padding: 1rem 0;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding-bottom: 1rem;
  color: black;
}

.faq-item.open .faq-answer {
  display: block;
}

/* === FOOTER === */
.footer {
  text-align: center;
  padding: 2rem;
  background: #111;
  font-size: 0.9rem;
  color: #aaa;
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }

  .navbar ul {
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    display: none;
  }

  .navbar ul.show {
    display: flex;
  }
}

/* Smooth fade for the service label */
.service-label {
  transition: opacity 0.3s ease-in-out;
}

/* Hide label when hovering over the card */
.service-card:hover .service-label {
  opacity: 0;
}

/* === GALLERY SPECIFIC STYLING === */

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.gallery-category {
  margin-bottom: 4rem;
}

.gallery-category h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #004d00;
  border-left: 5px solid #90ee90;
  padding-left: 0.75rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* === MODAL VIEWER === */

.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.image-modal.active {
  display: flex;
}

.modal-img {
  max-width: 90%;
  max-height: 70vh;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px #90ee90;
}

.modal-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: white;
  font-size: 1rem;
}

.nav-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.modal-counter {
  font-size: 0.9rem;
  padding: 0.3rem 0.7rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

/* === CLOSE BUTTON === */
.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  font-weight: bold;
  color: red;
  background: white;
  border-radius: 50%;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  transition: background 0.3s;
}

.close-btn:hover {
  background: #ffdddd;
}

#backToTop {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 1000;
  background-color: rgba(0, 51, 0, 0.6); /* Semi-transparent dark green */
  color: white;
  border: 2px solid white;
  border-radius: 12px; /* Rounded edges */
  padding: 10px 14px;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  backdrop-filter: blur(4px); /* optional: adds nice modern transparency effect */
}

#backToTop:hover {
  background-color: rgba(0, 128, 0, 0.85); /* Stronger green on hover */
  border-color: #cfffcc;
}