/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid #e5e7eb;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 2.5rem;
  width: auto;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: #9c2bad;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #9c2bad;
  color: white;
}

.btn-primary:hover {
  background-color: #7c1d8a;
}

.btn-outline {
  border: 1px solid #d1d5db;
  background-color: transparent;
  color: #374151;
}

.btn-outline:hover {
  background-color: #f9fafb;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  color: #6b7280;
  border-bottom: 1px solid #f3f4f6;
}

/* Hero Section */
.hero {
  width: 100%;
  padding: 3rem 0 6rem;
  background: linear-gradient(to bottom, #ffffff, #f9fafb);
}

.hero-content {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.hero p {
  color: #6b7280;
  font-size: 1.125rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-image {
  display: none;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Sections */
.section {
  width: 100%;
  padding: 3rem 0;
}

.section-muted {
  background-color: #f9fafb;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-header p {
  color: #6b7280;
  font-size: 1.125rem;
  max-width: 900px;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Service Cards */
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  background-color: white;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(156, 43, 173, 0.1);
  color: #9c2bad;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.service-card p {
  text-align: center;
  color: #6b7280;
}

/* Project Cards */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  transition: transform 0.2s;
}

.project-card:hover {
  transform: translateY(-2px);
}

.project-card img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  transition: transform 0.2s;
}

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

.project-card-content {
  padding: 1rem;
}

.project-card h3 {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.project-card p {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: rgba(156, 43, 173, 0.1);
  color: #9c2bad;
  border-radius: 0.375rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.feature-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: #6b7280;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  color: #6b7280;
}

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

.testimonial-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: rgba(156, 43, 173, 0.1);
  color: #9c2bad;
}

.testimonial-info h4 {
  font-size: 0.875rem;
  font-weight: 500;
}

.testimonial-info p {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Service Detail Sections */
.service-detail {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.service-detail-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.service-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  background-color: rgba(156, 43, 173, 0.1);
  color: #9c2bad;
  border-radius: 0.5rem;
  width: fit-content;
}

.service-detail h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.service-detail p {
  color: #6b7280;
  font-size: 1.125rem;
  max-width: 600px;
}

.service-list {
  display: grid;
  gap: 0.5rem;
  list-style: none;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-list .icon {
  width: 1rem;
  height: 1rem;
  color: #9c2bad;
}

.service-detail-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 0.75rem;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Contact Form */
.contact-section {
  display: grid;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.contact-info h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.contact-info p {
  color: #6b7280;
  font-size: 1.125rem;
  max-width: 600px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #9c2bad;
  margin-top: 0.125rem;
}

.contact-item-content h3 {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-item-content p {
  font-size: 0.875rem;
  color: #6b7280;
}

.contact-form {
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  background-color: white;
}

.contact-form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-form p {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #374151;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #9c2bad;
  box-shadow: 0 0 0 3px rgba(156, 43, 173, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Footer */
.footer {
  width: 100%;
  border-top: 1px solid #e5e7eb;
  background-color: white;
  padding: 1.5rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-logo {
  height: 2rem;
  width: auto;
}

.footer-text {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #9c2bad;
}

/* Responsive Design */
@media (min-width: 400px) {
  .hero-buttons {
    flex-direction: row;
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero {
    padding: 6rem 0 12rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .hero-image {
    display: block;
  }

  .section {
    padding: 6rem 0;
  }

  .section-header h2 {
    font-size: 3rem;
  }

  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    flex-direction: row;
  }

  .footer-text {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }

  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .hero {
    padding: 12rem 0;
  }

  .hero h1 {
    font-size: 4rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

.w-full {
  width: 100%;
}

.max-w-sm {
  max-width: 24rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Icons */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Map */
.map-container {
  width: 100%;
  max-width: 64rem;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  margin: 0 auto;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
}
