/* Services Page Styles */
.services-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  background: 
    url('../images/about.jpg') center/cover no-repeat,
    #132c17;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 70px;
  overflow: hidden;
}

.services-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.services-hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.services-hero .hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
  color: var(--secondary);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  line-height: 1.2;
  font-weight: 700;
}

.services-hero .hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  line-height: 1.5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btn {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 25px;
  background: var(--secondary);
  color: var(--primary);
  text-decoration: none;
  border: 2px solid var(--secondary);
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex: none;
}

.hero-btn:hover {
  background: transparent;
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.services-section {
  padding: 5rem 1rem;
  background: var(--light);
}

.section-intro {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.section-intro h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-intro p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-top: 4px solid var(--secondary);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.service-card li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text);
  line-height: 1.5;
}

.service-card li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.btn-learn-more {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-learn-more:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Service Modal */
.service-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.modal-content {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: fadeIn 0.4s ease;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: scale(1.1);
}

.service-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.service-image {
  background-size: cover;
  background-position: center;
  border-radius: 12px 0 0 12px;
  position: relative;
}

.service-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  border-radius: 12px 0 0 12px;
}

.service-info {
  padding: 3rem;
}

.service-info h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.service-description {
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--text);
  font-size: 1.05rem;
}

.service-features h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.service-features ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.service-features li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text);
  line-height: 1.5;
}

.service-features li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.2rem;
}

.btn-contact {
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  width: 100%;
}

.btn-contact:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .services-hero {
    height: 60vh;
    min-height: 400px;
    margin-top: 60px;
  }
  
  .services-section {
    padding: 3rem 0.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-details {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .service-image {
    height: 250px;
    border-radius: 12px 12px 0 0;
  }
  
  .service-info {
    padding: 2rem;
  }
  
  .service-info h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .services-hero {
    height: 50vh;
    min-height: 350px;
  }
  
  .services-hero .hero-content h1 {
    font-size: 1.6rem;
  }
  
  .services-hero .hero-content p {
    font-size: 1rem;
  }
  
  .hero-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .service-icon {
    font-size: 2.5rem;
    height: 60px;
  }
  
  .service-card h3 {
    font-size: 1.2rem;
  }
  
  .service-info {
    padding: 1.5rem;
  }
}