/* ----- custom properties: palette from image ----- */
:root {
  --color-primary: #87A646;    /* fresh sage */
  --color-primary-dark: #63732C;
  --color-primary-deep: #535925;
  --color-warm: #8C613B;       /* earthy brown */
  --color-dark: #402718;       /* deep root */
  --color-bg: #f6f4f0;
  --color-text: #2b241f;
  --color-muted: #6b6259;
  --color-border: #d8d2c9;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-light: 0 8px 24px -8px rgba(64, 39, 24, 0.08);
  --shadow-hover: 0 20px 36px -12px rgba(64, 39, 24, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  background: radial-gradient(circle at center, 
    rgba(0, 0, 0, 0.8) 0%,      /* light gray at center */
    rgba(0, 0, 0, 0.9) 100%     /* dark gray at edges */
  );
  color: var(--color-text);
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ----- typography (serif) ----- */
h1, h2, h3, blockquote, .logo, .nav-links a, .btn-primary, .btn-outline {
  font-family: 'Merriweather', serif;
}

/* ----- navigation (less round) ----- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 0 1.2rem 0;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 10;
}

.logo {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.logo i {
  color: var(--color-primary);
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  letter-spacing: 0.2px;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1;
}

.nav-links a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary);
  color: #1e1a16 !important;
  padding: 0.5rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
  border: 1px solid var(--color-primary);
  text-shadow: none !important;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transform: translateY(-4px);
}

.nav-cta:hover {
  background: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark);
  color: #fff !important;
}

/* ----- hero section with background image ----- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: -1.2rem -2rem 0 -2rem;
  padding: 6rem 2rem;
  overflow: hidden;
}

/* Background image with overlay */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/hero/DJI_0299-2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-background-02{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/bg-02.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Dark overlay for readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #fff;
}

.hero-content .badge {
  display: inline-block;
  background: var(--color-primary);
  color: #1e1a16;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 1.2rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-content h1 span {
  color: var(--color-primary);
  font-weight: 300;
  font-style: italic;
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2.2rem auto;
  font-weight: 300;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-primary {
  background: var(--color-primary);
  border: none;
  padding: 0.8rem 2.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: #1e1a16;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  border: 1px solid var(--color-primary);
}

.btn-primary i {
  font-size: 0.9rem;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  padding: 0.8rem 2.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: border 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  backdrop-filter: blur(4px);
}

.btn-outline i {
  color: var(--color-primary);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: rgba(135, 166, 70, 0.15);
}

/* ----- feature strip (adjusted for dark theme) ----- */
.feature-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 0 2.8rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: 1rem 0 2.5rem 0;
  gap: 1.5rem;
  background: rgba(246, 244, 240, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 2rem 3rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-text);
}

.feature-item i {
  font-size: 1.8rem;
  color: var(--color-primary-dark);
  width: 2.4rem;
}

.feature-item span {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.2px;
}

.feature-item small {
  display: block;
  font-weight: 400;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
}

/* ----- testimonial (sharp edges, serif) ----- */
.testimonial {
  background: #eae6df;
  border-radius: var(--radius-md);
  padding: 3rem 3.5rem;
  margin: 2rem 0 3.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-left: 6px solid var(--color-primary);
  text-align: center;
}

.testimonial blockquote {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.3px;
  color: var(--color-dark);
}

.testimonial blockquote i {
  color: var(--color-primary);
  font-size: 1.6rem;
  margin-right: 0.6rem;
  opacity: 0.7;
}

.testimonial cite {
  font-style: normal;
  font-weight: 700;
  color: var(--color-warm);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Merriweather', serif;
}

.testimonial cite span {
  font-weight: 400;
  color: var(--color-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

/* ----- gallery grid (sharper) ----- */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0 2.5rem 0;
}

.gallery-preview .gallery-item {
  aspect-ratio: 1/1;
  background: #cfc6ba;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(255,255,255,0.2);
}

.gallery-preview .gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.gallery-item .placeholder-img {
  background: linear-gradient(135deg, #bdb1a2, #a59786);
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3d332b;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.gallery-item .placeholder-img i {
  font-size: 2rem;
  margin-right: 0.6rem;
  opacity: 0.6;
  color: var(--color-primary-deep);
}

/* ----- footer (centered) ----- */
.footer {
  padding: 3rem 0 2.2rem 0;
  border-top: 1px solid var(--color-border);
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-content {
  color: var(--color-muted);
}

.footer-socials {
  display: flex;
  gap: 1.8rem;
  font-size: 1.2rem;
}

.footer-socials a {
  color: var(--color-text);
  transition: color 0.2s;
}

.footer-socials a:hover {
  color: var(--color-primary-dark);
}

.footer small {
  font-weight: 300;
  opacity: 0.7;
  font-family: 'Inter', sans-serif;
}

/* ----- responsive fine-tune ----- */
@media (max-width: 800px) {
  .hero {
    min-height: 70vh;
    padding: 4rem 1.5rem;
    margin: -1.2rem -1rem 0 -1rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

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

  .testimonial {
    padding: 2rem 1.8rem;
  }

  .testimonial blockquote {
    font-size: 1.4rem;
  }

  .navbar {
    flex-direction: column;
    align-items: start;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 1.2rem;
  }

  .feature-strip {
    flex-direction: column;
    align-items: start;
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .btn-group .btn-primary,
  .btn-group .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .feature-strip {
    flex-direction: column;
    align-items: start;
  }

  .navbar {
    flex-direction: column;
    align-items: center; /* Changed from 'start' to 'center' */
    gap: 1rem;
    text-align: center;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center; /* Added to center the links */
    width: 100%;
  }

  .logo {
    justify-content: center; /* Center the logo */
    width: 100%;
  }
}

/* ----- about section ----- */
.about-section {
  padding: 4rem 0 3rem 0;
  display: flex;
  gap: 4rem;
  align-items: stretch;
  flex-wrap: nowrap;
}

.about-content {
  flex: 1;
  min-width: 0;
  color: #ffffff;
}

.about-image {
  flex: 0 0 30%;
  display: flex;
  align-items: center;
}

.about-image .portrait-placeholder {
  width: 80%;
  max-width: 400px;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, #b7ad9e, #9b8f7e);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #3d332b;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.about-image .portrait-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.6;
  color: var(--color-primary-deep);
}

.about-image .portrait-placeholder .caption {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.5rem;
  font-weight: 300;
  text-transform: none;
}

/* ----- contact section ----- */
.contact-section {
  padding: 4rem 0 3rem 0;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1 1 35%;
  min-width: 280px;
}

.contact-info h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.contact-info .subtitle {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 2rem;
  display: block;
}

.contact-info p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: 300;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.contact-detail-item i {
  color: var(--color-primary);
  font-size: 1.4rem;
  width: 2rem;
  text-align: center;
}

.contact-detail-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-detail-item a:hover {
  color: var(--color-primary);
}

/* ----- contact form ----- */
.contact-form-wrapper {
  flex: 1 1 50%;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-light);
}

.contact-form-wrapper h2 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.contact-form-wrapper .form-subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  font-weight: 300;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  font-family: 'Inter', sans-serif;
}

.form-group label .optional {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  font-size: 0.8rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.08);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.submit-btn {
  background: var(--color-primary);
  color: #1e1a16;
  padding: 0.9rem 2.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Merriweather', serif;
  width: 100%;
  justify-content: center;
}

.submit-btn:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.submit-btn i {
  font-size: 0.9rem;
}

/* Add to your existing mobile responsive section */
@media (max-width: 800px) {
  /* ... existing styles ... */
  
  .contact-section {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .contact-info {
    flex: 1 1 auto;
    width: 100%;
    text-align: center;
  }

  .contact-details {
    align-items: center;
  }

  .contact-info h1 {
    font-size: 2.5rem;
  }

  .contact-form-wrapper {
    width: 100%;
    padding: 1.8rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 500px) {
  .contact-info h1 {
    font-size: 2rem;
  }

  .contact-info p {
    font-size: 0.95rem;
  }

  .contact-form-wrapper {
    padding: 1.2rem;
  }

  .contact-form-wrapper h2 {
    font-size: 1.5rem;
  }
}


/* Gallery page background */
.gallery-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  transition: background-image 0.6s ease-in-out;
}

.gallery-page::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* Gallery section */
.gallery-section {
  padding: 4rem 0 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.gallery-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
  text-align: center;
}

.gallery-section .subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  margin-bottom: 4rem;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Gallery categories */
.gallery-categories {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 600px;
}

.gallery-category {
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0.5rem 1rem;
  position: relative;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
  width: 100%;
  text-align: center;
}

.gallery-category::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.gallery-category:hover {
  color: #fff;
  transform: scale(1.02);
}

.gallery-category:hover::after {
  width: 60%;
}

/* Gallery responsive styles */
@media (max-width: 800px) {
  .gallery-section h1 {
    font-size: 2.8rem;
  }

  .gallery-category {
    font-size: 2rem;
  }
}

@media (max-width: 500px) {
  .gallery-section h1 {
    font-size: 2.2rem;
  }

  .gallery-category {
    font-size: 1.6rem;
  }

  .gallery-section .subtitle {
    font-size: 1rem;
    margin-bottom: 3rem;
  }
}

/* ----- gallery template styles ----- */

.gallery-template {
  padding: 2rem 0 3rem 0;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

.view-toggle {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.view-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.view-btn:hover {
  color: rgba(255, 255, 255, 0.9);
}

.view-btn.active {
  background: var(--color-primary);
  color: #1e1a16;
}

.view-btn i {
  margin-right: 0.4rem;
}

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

.grid-item {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
  background: #b7ad9e;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.grid-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 1.5rem 1rem 0.8rem 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.grid-item:hover .overlay {
  opacity: 1;
}

.grid-item .overlay span {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 300;
  font-family: 'Inter', sans-serif;
}

/* Carousel view */
.carousel-view {
  display: none;
  position: relative;
}

.carousel-view.active {
  display: block;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 70vh;
  background: #b7ad9e;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #b7ad9e;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.3s ease;
  z-index: 5;
  backdrop-filter: blur(4px);
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-btn.prev {
  left: 1rem;
}

.carousel-btn.next {
  right: 1rem;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-indicator.active {
  background: var(--color-primary);
}

/* Lightbox (expanded view) */
.lightbox {
  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;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: -2rem;
  right: -2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10;
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.3s ease;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav.prev {
  left: 1rem;
}

.lightbox-nav.next {
  right: 1rem;
}

.lightbox-counter {
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

/* Gallery template responsive styles */
@media (max-width: 800px) {
  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-header h1 {
    font-size: 2rem;
  }

  .grid-view {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }

  .carousel-container {
    height: 50vh;
  }

  .carousel-btn {
    padding: 0.7rem;
    font-size: 1.2rem;
  }

  .lightbox-content img {
    max-width: 95vw;
    max-height: 80vh;
  }

  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.5rem;
  }

  .lightbox-nav {
    padding: 0.7rem 1rem;
    font-size: 1.2rem;
  }
}

@media (max-width: 500px) {
  .grid-view {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.8rem;
  }

  .carousel-container {
    height: 40vh;
  }

  .carousel-btn {
    padding: 0.5rem;
    font-size: 1rem;
  }

  .view-btn {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }
}

.services-section {
  background: #eae6df;
  border-radius: var(--radius-md);
  padding: 3rem 3.5rem;
  margin: 2rem 0 3.5rem 0;
  border-left: 6px solid var(--color-primary);
}

.services-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);          /* Dark text like testimonial */
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  text-align: center;
}

.services-section .services-text {
  font-size: 1.1rem;
  color: var(--color-text);          /* Regular text color */
  line-height: 1.8;
  font-weight: 300;                  /* Light weight like testimonial */
}

