/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    to bottom,
    hsl(var(--background)),
    hsl(var(--muted))
  );
  padding: 6rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
  letter-spacing: 0.05em;
  transition: color 0.4s ease;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: hsl(var(--muted-foreground));
  margin-bottom: 2.5rem;
  line-height: 1.6;
  transition: color 0.4s ease;
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}

.btn-outline:hover {
  background: hsl(var(--muted));
}

/* Section */
section {
  padding: 5rem 1.5rem;
  transition: background-color 0.4s ease;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
  letter-spacing: 0.05em;
  transition: color 0.4s ease;
}

.section-header p {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.4s ease;
}

/* Card Component */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* About Section */
.about {
  background: hsl(var(--background));
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  transition: border-color 0.4s ease;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.about-text h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
  letter-spacing: 0.05em;
  transition: color 0.4s ease;
}

.about-text p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  line-height: 1.7;
  transition: color 0.4s ease;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  transition: border-color 0.4s ease;
}

.stat-item {
  text-align: center;
}

.stat-item h4 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: hsl(var(--foreground));
  transition: color 0.4s ease;
}

.stat-item p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  transition: color 0.4s ease;
}

/* Projects Section */
.projects {
  background: hsl(var(--muted));
}

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

.project-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
}

.project-card:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

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

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
  transition: color 0.4s ease;
}

.project-meta {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  transition: color 0.4s ease;
}

/* Before & After */
.before-after {
  background: hsl(var(--background));
}

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

.ba-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s ease;
}

.ba-card:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ba-image-wrapper {
  position: relative;
  height: 250px;
}

.ba-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: hsl(var(--background) / 0.9);
  color: hsl(var(--foreground));
  padding: 0.25rem 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid hsl(var(--border));
  transition: all 0.4s ease;
}

.ba-content {
  padding: 1.5rem;
}

.ba-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
  transition: color 0.4s ease;
}

.ba-content p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.6;
  transition: color 0.4s ease;
}

/* Process Section */
.process {
  background: hsl(var(--muted));
}

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

.process-step {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.2s ease;
}

.process-step:hover {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.process-icon {
  width: 48px;
  height: 48px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: calc(var(--radius) - 2px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.4s ease;
}

.process-icon svg {
  width: 24px;
  height: 24px;
}

.process-step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
  transition: color 0.4s ease;
}

.process-step p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.6;
  transition: color 0.4s ease;
}

/* Testimonials */
.testimonials {
  background: hsl(var(--background));
}

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

.testimonial-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.testimonial-card:hover {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

.testimonial-text {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  transition: color 0.4s ease;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-image {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid hsl(var(--border));
  transition: border-color 0.4s ease;
}

.author-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  transition: color 0.4s ease;
}

.author-info p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.4s ease;
}

/* FAQ Section */
.faq {
  background: hsl(var(--muted));
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: hsl(var(--foreground));
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.faq-question svg {
  color: hsl(var(--muted-foreground));
  transition: transform 0.2s ease, color 0.4s ease;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.6;
  transition: color 0.4s ease;
}

/* Contact Section */
.contact {
  background: hsl(var(--background));
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 2rem auto;
}

.contact-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.contact-item:hover {
  box-shadow: 0 10px 20px -5px rgb(0 0 0 / 0.15);
  transform: translateY(-5px);
  border-color: hsl(var(--primary));
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
  border-radius: calc(var(--radius) - 2px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-item-icon {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  transform: scale(1.1);
}

.contact-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
  transition: color 0.4s ease;
}

.contact-item p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  transition: color 0.3s ease;
  margin: 0;
}

.contact-item:hover h4 {
  color: hsl(var(--primary));
}

.contact-item:hover p {
  color: hsl(var(--foreground));
}

.contact-cta {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image img {
    height: 350px;
  }

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

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .ba-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-cta {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .ba-images {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .project-image {
    height: 250px;
  }

  .ba-image-wrapper {
    height: 200px;
  }

  .contact-item {
    padding: 1.5rem;
  }
}
