/* V3 Services Page Styles */

/* Services Hero Section */
.v3-services-hero {
  padding: 3rem 0 4rem;
  background: white;
  text-align: center;
}

.v3-services-hero-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  max-width: 1200px;
}

.v3-services-hero-subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: #FE8E40;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  display: block;
  margin-bottom: 1.5rem;
}

.v3-services-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 2rem;
  line-height: 1.2;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.v3-services-hero-tagline {
  font-size: 1.4rem;
  font-weight: 500;
  color: #666;
  display: block;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Service Blocks Section */
.v3-services-blocks {
  padding: 4rem 0;
  background: #f8f9fa;
}

.v3-services-blocks-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.v3-services-blocks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.v3-service-block {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.v3-service-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.v3-service-block-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.v3-service-block-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.v3-service-block:hover .v3-service-block-overlay {
  background: linear-gradient(45deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 100%);
}

.v3-service-block-title {
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
}

/* Projects Section */
.v3-services-projects {
  padding: 0;
  background: white;
  scroll-margin-top: 140px;
  min-height: 320px;
}

.v3-services-projects-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}

.v3-services-projects-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #333;
  margin-bottom: 4rem;
}

.v3-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.v3-project-card {
  display: block;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  color: inherit;
}

.v3-project-card--static {
  cursor: default;
}

.v3-project-card--static .v3-project-card-overlay {
  pointer-events: none;
}

.v3-project-card-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.v3-project-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.v3-project-card:hover .v3-project-card-overlay {
  opacity: 1;
}

.v3-project-card-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.v3-project-card-description {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .v3-services-hero {
    padding: 4rem 0 3rem;
  }
  
  .v3-services-hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .v3-services-hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .v3-services-hero-tagline {
    font-size: 1.2rem;
  }
  
  .v3-services-blocks-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .v3-service-block {
    height: 200px;
  }
  
  .v3-service-block-title {
    font-size: 1.5rem;
  }
  
  .v3-services-projects-title {
    font-size: 2rem;
    margin-bottom: 3rem;
  }
  
  .v3-projects-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .v3-project-card-overlay {
    padding: 1.5rem;
  }
  
  .v3-project-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
  
  .v3-project-card-description {
    font-size: 0.9rem;
  }
}
