/* Help Hero Section */
.help-hero {
  background-image: url('assets/usecase_living.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5rem 0;
  position: relative;
  text-align: center;
  color: white;
}

.help-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.help-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.help-hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.help-hero .subtitle {
  font-size: 1.25rem;
  margin-bottom: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Measuring Guide Section */
.measuring-guide {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

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

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

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.step-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

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

.step-card p {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.step-tips {
  background-color: rgba(37, 99, 235, 0.1);
  border-left: 3px solid var(--primary-color);
  padding: 1rem;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-size: 0.9rem;
}

.measuring-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Project Gallery Section */
.project-gallery {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  height: 350px;
}

.gallery-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

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

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

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

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

.gallery-caption {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay p {
  opacity: 1;
}

/* Installation Tips Section */
.installation-tips {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

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

.tip-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-5px);
}

.tip-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

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

.tip-card ul {
  list-style-type: none;
  padding-left: 0;
}

.tip-card ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.tip-card ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .help-hero h1 {
    font-size: 2.5rem;
  }
  
  .gallery-grid,
  .measuring-steps,
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .help-hero h1 {
    font-size: 2rem;
  }
  
  .gallery-grid,
  .measuring-steps,
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .step-card,
  .tip-card {
    padding: 1.5rem;
  }
  
  .gallery-item {
    height: 300px;
  }
}
