/* ========== assets/css/style.css ========== */
/* COMMON STYLESHEET FOR ALL PAGES */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
}

body {
  background-color: #f7fcf7;
  color: #1d3525;
  line-height: 1.5;
}

/* navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 40, 0, 0.05);
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo h1 {
  font-size: 2rem;
  color: #1b5a38;
  font-weight: 800;
  line-height: 1.1;
}

.logo span {
  font-size: 0.9rem;
  color: #557a62;
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #1d4a31;
  font-size: 1.1rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: #1b5a38;
  color: #0b3b21;
}

.btn-quote-nav {
  background: #1b5a38;
  color: white !important;
  padding: 0.6rem 1.8rem !important;
  border-radius: 40px;
  border-bottom: none !important;
  box-shadow: 0 4px 10px #1b5a3860;
}

.btn-quote-nav:hover {
  background: #12462b;
  color: white;
}

/* page headers */
.page-header {
  text-align: center;
  padding: 3rem 5% 2rem;
  background: linear-gradient(145deg, #15482c, green);
  border-radius: 0 0 60px 60px;
}
     
.page-header h2 {
  font-size: 3rem;
  color: #154f2c;
  font-weight: 700;
}

.page-header p {
  font-size: 1.2rem;
  color: #336f48;
}

/* buttons */
.btn-primary, .btn-outline, .btn-large {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 60px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
  border: none;
}

.btn-primary {
  background: #1b5a38;
  color: white;
  box-shadow: 0 6px 14px #9fc0a8;
}

.btn-outline {
  background: transparent;
  border: 2px solid #1b5a38;
  color: #1b5a38;
}

.btn-large {
  background: white;
  color: #1b5a38;
  font-size: 1.3rem;
  padding: 1.2rem 3rem;
  box-shadow: 0 10px 18px #a3c7af;
}

/* hero (home) */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 5%;
  background: #ebf9eb;
}

.hero-content {
  flex: 1 1 350px;
}

.tagline {
  background: rgba(255,255,240,0.8);
  display: inline-block;
  padding: 0.3rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  margin-bottom: 1rem;
  border: 1px solid #9bc4a4;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #1b5a38;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
 }

.hero-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2d6a4f;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.hero-content p {
  font-size: 1.1rem;
  color: #4a6b55;
  line-height: 1.6;
  margin-bottom: 2rem;
}


    /* Gallery-specific styles */
    .gallery-hero {
      background: linear-gradient(135deg, #1b5a38, #2d7b4b);
      color: white;
      padding: 2rem 1%;
      text-align: center;
      border-radius: 0 0 60px 60px;
      margin-bottom: 2rem;
    }

    .gallery-hero h1 {
      font-size: 3.5rem;
      margin-bottom: 1rem;
      font-weight: 700;
    }

    .gallery-hero p {
      font-size: 1.3rem;
      max-width: 700px;
      margin: 0 auto;
      opacity: 0.95;
    }

    /* Category filter tabs */
    .gallery-categories {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 1rem;
      margin: 2rem 5% 3rem;
    }

    .category-btn {
      padding: 0.8rem 2rem;
      border: none;
      background: white;
      border-radius: 50px;
      font-size: 1rem;
      font-weight: 600;
      color: #1d4a31;
      cursor: pointer;
      transition: all 0.3s;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      border: 2px solid transparent;
    }

    .category-btn:hover {
      background: #e8f5e8;
      transform: translateY(-2px);
    }

    .category-btn.active {
      background: #1b5a38;
      color: white;
      box-shadow: 0 8px 18px rgba(27, 90, 56, 0.3);
    }

    .category-btn i {
      margin-right: 8px;
    }

    /* Gallery Grid */
    .gallery-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 5% 4rem;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
      gap: 2rem;
      margin-bottom: 3rem;
    }

    .gallery-item {
      background: white;
      border-radius: 30px;
      overflow: hidden;
      box-shadow: 0 15px 30px rgba(27, 90, 56, 0.1);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      cursor: pointer;
    }

    .gallery-item:hover {
      transform: translateY(-12px);
      box-shadow: 0 25px 40px rgba(27, 90, 56, 0.2);
    }

    .gallery-item-image {
      position: relative;
      overflow: hidden;
      aspect-ratio: 4/3;
    }

    .gallery-item img,
    .gallery-item video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s;
    }

    .gallery-item:hover img,
    .gallery-item:hover video {
      transform: scale(1.08);
    }

    .gallery-item-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
      opacity: 0;
      transition: opacity 0.3s;
      display: flex;
      align-items: flex-end;
      padding: 1.5rem;
    }

    .gallery-item:hover .gallery-item-overlay {
      opacity: 1;
    }

    .gallery-item-caption {
      color: white;
      transform: translateY(20px);
      transition: transform 0.3s;
    }

    .gallery-item:hover .gallery-item-caption {
      transform: translateY(0);
    }

    .gallery-item-caption h4 {
      font-size: 1.2rem;
      margin-bottom: 0.3rem;
      font-weight: 600;
    }

    .gallery-item-caption p {
      font-size: 0.9rem;
      opacity: 0.9;
      margin-bottom: 0.3rem;
    }

    .gallery-item-caption .service-tag {
      display: inline-block;
      background: rgba(255,255,255,0.2);
      padding: 0.2rem 1rem;
      border-radius: 30px;
      font-size: 0.8rem;
      backdrop-filter: blur(5px);
    }

    .media-type-badge {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: rgba(255,255,255,0.9);
      color: #1b5a38;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      z-index: 2;
    }

    /* ===== CUSTOM LIGHTBOX STYLES ===== */
    .lightbox-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.95);
      z-index: 1000;
      justify-content: center;
      align-items: center;
      backdrop-filter: blur(10px);
    }

    .lightbox-overlay.active {
      display: flex;
      animation: lightboxFadeIn 0.3s ease;
    }

    @keyframes lightboxFadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .lightbox-content {
      position: relative;
      max-width: 90vw;
      max-height: 90vh;
      animation: lightboxZoomIn 0.3s ease;
    }

    @keyframes lightboxZoomIn {
      from { transform: scale(0.9); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }

    .lightbox-image {
      max-width: 100%;
      max-height: 85vh;
      border-radius: 20px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

    .lightbox-video {
      max-width: 100%;
      max-height: 85vh;
      border-radius: 20px;
    }

    .lightbox-close {
      position: absolute;
      top: -40px;
      right: -40px;
      width: 50px;
      height: 50px;
      background: white;
      border: none;
      border-radius: 50%;
      font-size: 1.8rem;
      color: #1b5a38;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
      box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

    .lightbox-close:hover {
      transform: rotate(90deg);
      background: #e9b171;
      color: white;
    }

    .lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 60px;
      height: 60px;
      background: rgba(255,255,255,0.2);
      border: 2px solid white;
      border-radius: 50%;
      color: white;
      font-size: 2rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
      backdrop-filter: blur(5px);
    }

    .lightbox-nav:hover {
      background: #e9b171;
      border-color: #e9b171;
    }

    .lightbox-nav.prev {
      left: -80px;
    }

    .lightbox-nav.next {
      right: -80px;
    }

    .lightbox-caption {
      position: absolute;
      bottom: -50px;
      left: 0;
      right: 0;
      text-align: center;
      color: white;
      font-size: 1.1rem;
      padding: 1rem;
      background: rgba(0,0,0,0.5);
      border-radius: 50px;
      backdrop-filter: blur(5px);
    }

    .lightbox-counter {
      position: absolute;
      top: -40px;
      left: 0;
      color: white;
      font-size: 1rem;
      background: rgba(0,0,0,0.5);
      padding: 0.5rem 1rem;
      border-radius: 30px;
      backdrop-filter: blur(5px);
    }

    @media (max-width: 768px) {
      .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
      }
      
      .lightbox-nav.prev {
        left: 10px;
      }
      
      .lightbox-nav.next {
        right: 10px;
      }
      
      .lightbox-close {
        top: 10px;
        right: 10px;
      }
      
      .lightbox-counter {
        top: 10px;
        left: 10px;
      }
    }

    /* Upload section */
    .upload-section {
      background: linear-gradient(135deg, #f8fff8, #e8f5e8);
      padding: 3rem 5%;
      margin: 2rem 5% 4rem;
      border-radius: 60px;
      text-align: center;
      border: 2px dashed #9bc4a4;
    }

    .upload-section h3 {
      font-size: 2rem;
      color: #1b5a38;
      margin-bottom: 1rem;
    }

    .upload-btn {
      background: #1b5a38;
      color: white;
      border: none;
      padding: 1.2rem 3rem;
      border-radius: 60px;
      font-size: 1.2rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 8px 18px rgba(27, 90, 56, 0.3);
    }

    .upload-btn:hover {
      background: #12462b;
      transform: scale(1.05);
    }

    /* Loading spinner */
    .gallery-loading {
      text-align: center;
      padding: 3rem;
      display: none;
    }

    .gallery-loading.show {
      display: block;
    }

    .spinner {
      width: 50px;
      height: 50px;
      border: 4px solid #e8f5e8;
      border-top-color: #1b5a38;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin: 0 auto;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    /* Empty state */
    .gallery-empty {
      text-align: center;
      padding: 4rem;
      background: #f8fff8;
      border-radius: 60px;
      grid-column: 1 / -1;
    }
  

.hero-gallery {
  display: flex;
  gap: 1rem;
  justify-content: center;
padding-top:20px;
}

.hero-gallery img {
  width: 150px;
  height: 200px;
  object-fit: cover;
  border-radius: 40px;
  border: 4px solid white;
  box-shadow: 0 20px 28px -8px #4e7b5e;
}

/* quote banner */
.quote-banner {
  background: #134f30;
  color: white;
  padding: 1rem 5%;
  text-align: center;
  border-radius: 60px;
  margin: 1rem 5%;
}

.tagline-emphasis {
  font-size: 2rem;
  font-style: italic;
  background: #2d7b4b60;
  padding: 0.5rem 2rem;
  border-radius: 60px;
  display: inline-block;
  margin: 1rem .5rem;
}

/* services preview grid (home) */
.services-preview {
  padding: 3rem 5%;
  text-align: center;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.preview-item {
  background: white;
  padding: 1.5rem 0.5rem;
  border-radius: 40px;
  box-shadow: 0 10px 18px #c6e0ce;
  font-weight: 600;
  border: 1px solid #b1dbbd;
}

.preview-item i {
  color: #1b5a38;
  font-size: 2rem;
  display: block;
  margin-bottom: 0.4rem;
}

/* ===== REVIEWS SECTION STYLES ===== */
.reviews-section {
  padding: 4rem 5%;
  background: linear-gradient(135deg, #f0f9f0, #e4f3e4);
  border-radius: 60px;
  margin: 2rem 5%;
}

.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-header h2 {
  font-size: 2.5rem;
  color: #154f2c;
  margin-bottom: 0.5rem;
}

.reviews-header h2 i {
  color: #ffb800;
  margin: 0 0.5rem;
}

.reviews-header p {
  color: #2d6742;
  font-size: 1.1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.review-card {
  background: white;
  border-radius: 40px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(27, 90, 56, 0.1);
  border: 1px solid #c5e0cd;
  transition: transform 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(27, 90, 56, 0.15);
}

.review-stars {
  color: #ffb800;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.review-stars i {
  margin-right: 0.2rem;
}

.review-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2d3f32;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 2px solid #e0f0e0;
  padding-top: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1b5a38, #2d7b4b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}

.author-info h4 {
  color: #154f2c;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.author-info p {
  color: #5f7e6a;
  font-size: 0.9rem;
}

.reviews-footer {
  text-align: center;
  margin-top: 2rem;
}

.reviews-footer .btn-outline {
  margin: 0 0.5rem;
}

.average-rating {
  display: inline-block;
  background: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  margin-top: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.average-rating span {
  font-weight: 700;
  color: #154f2c;
  font-size: 1.2rem;
}

/* Add Review Form (on Contact page) */
.add-review-section {
  background: white;
  padding: 3rem 5%;
  margin: 2rem 5%;
  border-radius: 60px;
  box-shadow: 0 10px 25px rgba(27, 90, 56, 0.1);
}

.add-review-section h3 {
  font-size: 2rem;
  color: #154f2c;
  margin-bottom: 1.5rem;
  text-align: center;
}

.review-form {
  max-width: 600px;
  margin: 0 auto;
}

.review-form .form-group {
  margin-bottom: 1.5rem;
}

.review-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #1d4a31;
  font-weight: 500;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #d0e8d0;
  border-radius: 30px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  outline: none;
  border-color: #1b5a38;
}

.rating-select {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.rating-select input[type="radio"] {
  display: none;
}

.rating-select label {
  cursor: pointer;
  padding: 0.5rem 1rem;
  background: #f0f9f0;
  border-radius: 30px;
  border: 2px solid #d0e8d0;
  transition: all 0.3s;
}

.rating-select label:hover {
  background: #1b5a38;
  color: white;
  border-color: #1b5a38;
}

.rating-select input[type="radio"]:checked + label {
  background: #1b5a38;
  color: white;
  border-color: #1b5a38;
}

.review-form button {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* services full page */
.services-full {
  padding: 3rem 5%;
}

.service-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 1rem .5rem .8rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 6px 20px #d1e8d9;
  border: 1px solid #c0e0c0;
}

.service-card i {
  font-size: 3rem;
  color: #1b5a38;
  background: #e2f3e2;
  padding: 0.2rem;
  border-radius: 0px;
}

/* media snippet (services) */
.media-snippet {
  padding: 2rem 5%;
}

.snippet-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.snippet-grid img, .snippet-grid video {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 40px;
  border: 3px solid white;
}

/* gallery page */
.upload-area {
  background: white;
  margin: 2rem 5%;
  padding: 2rem;
  border-radius: 50px;
  border: 1px dashed #5f9e71;
  text-align: center;
}

.upload-box {
  background: #e8f8e8;
  padding: 2rem;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 1rem;
}

.file-input-label {
  background: #1b5a38;
  color: white;
  padding: 0.8rem 2.2rem;
  border-radius: 40px;
  border: none;
  font-weight: 600;
  margin-top: 1rem;
  display: inline-block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 2rem 5%;
}

.gallery-item {
  background: white;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 8px 18px #b1d6bc;
  transition: 0.2s;
}

.gallery-item img, .gallery-item video {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.gallery-item p {
  padding: 0.8rem;
  font-weight: 500;
}

/* contact page */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding: 3rem 5%;
}

.contact-info {
  flex: 1 1 300px;
  background: #deefde;
  padding: 2rem;
  border-radius: 50px;
}

.quote-form {
  flex: 1 1 350px;
  background: white;
  padding: 2rem;
  border-radius: 50px;
  box-shadow: 0 10px 18px #c3dfcd;
}

.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  padding: 1rem;
  margin: 0.5rem 0 1.2rem;
  border: 2px solid #c5e0cd;
  border-radius: 30px;
  font-size: 1rem;
}

.map-container img {
  width: 90%;
  margin: 2rem 5%;
  border-radius: 60px;
  border: 4px solid white;
  box-shadow: 0 8px 22px #597a66;
}

/* footer */
footer {
  background: #15482c;
  color: #def3e0;
  padding: 3rem 5% 2rem;
  border-radius: 60px 60px 0 0;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
}

.footer-grid a {
  color: #c9e6d2;
  text-decoration: none;
}

.social-links {
  margin-top: 1.2rem;
}

.social-links a {
  background: #2d6d49;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #3f7a59;
  margin-top: 2rem;
}

/* responsive */
@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    gap: 0.5rem;
  }
  .nav-links {
    justify-content: center;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
