/* Service Page Specific Styles */

/* Hero Slideshow */
.service-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 450px;
  overflow: hidden;
  background: var(--color-primary);
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slideshow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}

.slide-caption {
  position: absolute;
  bottom: 20%;
  left: 10%;
  right: 10%;
  text-align: center;
  color: white;
  z-index: 3;
}

.slide-caption h2 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-caption p {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Slideshow Navigation */
.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-nav:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}


.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.slide-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;
}

.dot.active {
  background: var(--color-accent);
  width: 30px;
  border-radius: 10px;
}

/* Page Header */
.page-header {
  padding: 3rem 0 2rem;
  text-align: center;
  background: var(--color-bg-primary);
}

.page-header h1 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* Offerings Section */
.offerings-section {
  padding: 3rem 0;
  background: var(--color-bg-primary);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.offering-card {
  background: var(--color-bg-card);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.offering-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.offering-icon {
  width: 70px;
  height: 70px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.offering-icon i {
  font-size: 2rem;
  color: var(--color-primary);
}

.offering-card h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.offering-card p {
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.offering-list {
  list-style: none;
  padding: 0;
}

.offering-list li {
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.offering-list li i {
  color: var(--color-accent);
  font-size: 1rem;
}

/* Gallery Section */
.gallery-section {
  padding: 4rem 0;
  background: var(--color-bg-secondary);
}

.gallery-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.gallery-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay span {
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

/* Why Us Section */
.why-us-section {
  padding: 4rem 0;
  background: var(--color-bg-primary);
}

.why-us-section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--color-primary);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  text-align: center;
}

.why-us-item i {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.why-us-item h4 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.why-us-item p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  text-align: center;
  color: white;
}

.cta-section h2 {
  margin-bottom: 1rem;
  color: white;
}

.cta-section p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .service-hero {
    height: 50vh;
    min-height: 350px;
  }
  
  .slide-caption {
    bottom: 15%;
  }
  
  .slide-nav {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .prev {
    left: 10px;
  }
  
  .next {
    right: 10px;
  }
  
  .offerings-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .why-us-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .service-hero {
    height: 40vh;
  }
  
  .slide-caption h2 {
    font-size: 1.2rem;
  }
  
  .slide-caption p {
    font-size: 0.8rem;
  }
  
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}