/* Global */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  color: #2c2c2c;
  background-color: #fdf8f3;
  line-height: 1.8;
  margin: 0;
}

/* Header (logo + wood background) */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fdf3e1;
  padding: 3rem 1rem;
  position: relative;

  background:
    linear-gradient(rgba(31, 68, 47, 0.75), rgba(31, 68, 47, 0.75)),
    url("images/wood.jpg") center/cover no-repeat;
}

header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.02) 10px,
    rgba(255, 255, 255, 0.02) 20px
  );
  pointer-events: none;
}

.logo {
  width: 250px;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
  position: relative;
  z-index: 1;
}

h1 {
  margin: 0.2rem 0;
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.tagline {
  font-size: 1.05rem;
  font-style: italic;
  color: #e8e8e8;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Sticky nav (separate bar) */
.main-nav {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 1rem 1rem;
  z-index: 1000;
  border-bottom: 3px solid #c9a55b;
  background:
    linear-gradient(rgba(31, 68, 47, 0.75), rgba(31, 68, 47, 0.75)),
    url("images/wood.jpg") center/cover no-repeat;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.main-nav a {
  color: #fdf3e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 0.5rem;
}

.main-nav a:hover {
  color: #d4a574;
}

.main-nav a.active {
  color: #d4a574;
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background-color: #d4a574;
  border-radius: 2px;
}

/* Sections */
main {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto 4rem auto;
  background-color: #fefcf9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(31, 68, 47, 0.05);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #1f442f;
}

/* About section enhancements */
#about p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: #444;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  padding: 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.05rem;
  color: #555;
  padding: 0.5rem 0;
}

.about-feature i {
  color: #1f442f;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Gallery Section */
.gallery-section {
  background-color: #fff;
  max-width: 1000px;
}

.gallery-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
}

.gallery-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.gallery-slider {
  position: relative;
  width: 100%;
  height: 500px;
  background: #f5f5f5;
}

.gallery-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(31, 68, 47, 0.95), rgba(31, 68, 47, 0.85));
  color: #fff;
  padding: 1.5rem 2rem;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.slide-caption h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #fdf3e1;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.slide-caption p {
  font-size: 0.95rem;
  color: #e8e8e8;
  line-height: 1.6;
  margin: 0;
}

/* Gallery Navigation Arrows */
.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(31, 68, 47, 0.8);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(31, 68, 47, 0.95);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: 20px;
}

.gallery-next {
  right: 20px;
}

/* Gallery Dots */
.gallery-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.dot.active {
  background: #c9a55b;
  border-color: #c9a55b;
  transform: scale(1.3);
}

/* Specialties (Text Only) */
#specialties {
  background-color: #fdf8f3;
  box-shadow: none;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.specialty-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(31, 68, 47, 0.08);
  position: relative;
}

.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: rgba(201, 165, 91, 0.3);
}

.specialty-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1f442f, #2d5a38);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a574;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(31, 68, 47, 0.15);
}

.specialty-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f442f;
}

.specialty-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.additional-services {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(31, 68, 47, 0.05), rgba(201, 165, 91, 0.05));
  border-radius: 12px;
}

.additional-services h3 {
  font-size: 1.3rem;
  color: #1f442f;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

.additional-services p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

/* Why Choose Us Section */
.why-choose-section {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.why-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, rgba(31, 68, 47, 0.03), rgba(201, 165, 91, 0.03));
  border-radius: 12px;
  border: 1px solid rgba(31, 68, 47, 0.08);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 165, 91, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.why-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #1f442f, #2d5a38);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a574;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(31, 68, 47, 0.15);
}

.why-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f442f;
}

.why-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(rgba(31, 68, 47, 0.82), rgba(31, 68, 47, 0.82)),
              url("images/wood.jpg") center/cover no-repeat;
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #fdf3e1;
}

.contact-section > p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #e8e8e8;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.12);
  padding: 2.5rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(212, 165, 116, 0.4);
}

.contact-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fdf3e1;
}

.contact-card i {
  font-size: 1.5rem;
  color: #d4a574;
}

.contact-card a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: #d4a574;
}

/* Footer */
footer {
  text-align: center;
  background-color: #2c2c2c;
  color: #e8e8e8;
  padding: 1.5rem;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .logo { 
    width: 200px; 
  }
  
  h1 { 
    font-size: 1.6rem; 
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .tagline { 
    font-size: 0.95rem; 
  }
  
  .main-nav { 
    gap: 1rem; 
    flex-wrap: wrap;
    padding: 0.8rem 1rem;
  }
  
  .main-nav a {
    font-size: 0.85rem;
  }
  
  section {
    padding: 3rem 1.5rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  /* Gallery Mobile */
  .gallery-slider {
    height: 400px;
  }

  .gallery-prev,
  .gallery-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }

  .slide-caption {
    padding: 1.2rem 1.5rem;
  }

  .slide-caption h3 {
    font-size: 1.2rem;
  }

  .slide-caption p {
    font-size: 0.9rem;
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .why-card {
    padding: 2rem 1.5rem;
  }
  
  .contact-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 160px;
  }
  
  section {
    padding: 2.5rem 1rem;
  }
  
  .main-nav {
    gap: 0.8rem;
  }

  .gallery-slider {
    height: 350px;
  }

  .slide-caption {
    padding: 1rem 1.2rem;
  }

  .slide-caption h3 {
    font-size: 1.1rem;
  }

  .slide-caption p {
    font-size: 0.85rem;
  }

  .specialty-card {
    padding: 1.5rem;
  }

  .specialty-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}