/* Converting Tailwind CSS to custom CSS with same design system */
:root {
  --background: #ffffff;
  --foreground: #1f2937;
  --card: #f1f5f9;
  --card-foreground: #1f2937;
  --primary: #1f2937;
  --primary-foreground: #ffffff;
  --secondary: #ea580c;
  --secondary-foreground: #ffffff;
  --muted: #f1f5f9;
  --muted-foreground: #6b7280;
  --accent: #ea580c;
  --accent-foreground: #ffffff;
  --border: #e5e7eb;
  --input: #ffffff;
  --radius: 0.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

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

/* Header Styles */
.header {
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-top {
  display: none;
  justify-content: flex-end;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
}

.header-top .contact-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-top .contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

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

.nav-desktop a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-desktop a:hover {
  color: var(--accent);
}

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

.btn-primary {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-primary:hover {
  background-color: var(--accent);
  opacity: 0.9;
}

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

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

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

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

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--accent);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--background) 0%, var(--muted) 100%);
  padding: 5rem 0 8rem;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
}

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

.hero-features {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hero-badge-number {
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-badge-text {
  font-size: 0.875rem;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--background);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.service-icon {
  padding: 0.5rem;
  background-color: rgba(234, 88, 12, 0.1);
  border-radius: var(--radius);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--card-foreground);
}

.service-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.service-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

.service-details {
  background-color: rgba(234, 88, 12, 0.05);
  border: 1px solid rgba(234, 88, 12, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
  display: none;
}

.service-details.active {
  display: block;
}

.service-details-grid {
  display: grid;
  gap: 2rem;
}

.service-details h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.service-details p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.service-details ul {
  list-style: none;
}

.service-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--muted-foreground);
}

.service-details li::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: rgba(241, 245, 249, 0.5);
}

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.stat-icon-bg {
  padding: 0.75rem;
  background-color: rgba(234, 88, 12, 0.1);
  border-radius: var(--radius);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-badge {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.about-badge-year {
  font-size: 1.125rem;
  font-weight: 700;
}

.about-badge-text {
  font-size: 0.875rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--background);
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-form-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 1.5rem;
}

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

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

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--input);
  font-size: 0.875rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

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

.contact-info-icon {
  padding: 0.75rem;
  background-color: rgba(234, 88, 12, 0.1);
  border-radius: var(--radius);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-text h3 {
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 0.25rem;
}

.contact-info-text .primary {
  color: var(--primary);
  font-weight: 500;
}

.contact-info-text .secondary {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-company h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-company p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-section h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (min-width: 768px) {
  .header-top {
    display: flex;
  }

  .nav-desktop {
    display: flex;
  }

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

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

  .hero-title {
    font-size: 3.75rem;
  }

  .hero-buttons {
    flex-direction: row;
  }

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

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

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

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

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

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

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

/* Icons (using simple CSS shapes as placeholders) */
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
}

.icon-phone::before {
  content: "📞";
}

.icon-mail::before {
  content: "✉️";
}

.icon-map::before {
  content: "📍";
}

.icon-clock::before {
  content: "🕒";
}

.icon-construction::before {
  content: "🚧";
}

.icon-route::before {
  content: "🛣️";
}

.icon-paint::before {
  content: "🎨";
}

.icon-sign::before {
  content: "🚏";
}

.icon-shield::before {
  content: "🛡️";
}

.icon-check::before {
  content: "✅";
}

.icon-award::before {
  content: "🏆";
}

.icon-users::before {
  content: "👥";
}

.icon-arrow::before {
  content: "→";
}

.icon-menu::before {
  content: "☰";
}

.icon-close::before {
  content: "✕";
}
