/* Base styles */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background-color: #f9f9fb;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header and Navigation */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid #e5e7eb;
  /* Sticky positioning is disabled by default for better mobile scrolling. */
  /* The header will become sticky on larger screens via a media query below. */
}

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

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-mark {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  background-color: #ffc83d;
  border-radius: 50%;
}

.site-nav a {
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #c97c14;
}

.quote-btn {
  background-color: #ffc83d;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 600;
  color: #1a1a1a;
}

.quote-btn:hover {
  background-color: #ffb700;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #ffecc2 0%, #fff9e5 100%);
  padding: 4rem 0;
  text-align: left;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #424242;
}

.cta {
  display: inline-block;
  background-color: #ffc83d;
  color: #1a1a1a;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.cta:hover {
  background-color: #ffb700;
}

/* Services Section */
.services {
  padding: 4rem 0;
  background-color: #f9f9fb;
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-intro {
  text-align: center;
  margin-bottom: 2rem;
  color: #6b7280;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.card {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  width: 300px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.card p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* Projects Section */
.projects {
  padding: 4rem 0;
  background-color: #fff;
}

.projects h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

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

.project-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  background-color: #f0f0f0;
}

.project-grid img {
  width: 100%;
  display: block;
  height: auto;
  transition: transform 0.3s ease;
}

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

.project-grid figcaption {
  padding: 0.5rem;
  font-size: 0.9rem;
  background-color: #fff;
  color: #374151;
  text-align: center;
}

/* Process Section */
.process {
  padding: 4rem 0;
  background-color: #f9f9fb;
}

.process h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

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

.process-step {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.step-number {
  width: 2rem;
  height: 2rem;
  background-color: #ffc83d;
  color: #1a1a1a;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.process-step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.process-step p {
  font-size: 0.9rem;
  color: #4b5563;
}

/* FAQ Section */
.faq {
  padding: 4rem 0;
  background-color: #fff;
}

.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.faq-item {
  margin-bottom: 1rem;
}

details {
  background-color: #f9f9fb;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  padding: 1rem;
  cursor: pointer;
}

details summary {
  font-weight: 600;
  margin-bottom: 0.5rem;
  outline: none;
}

details p {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
}

/* Contact Section */
.contact {
  padding: 4rem 0;
  background-color: #f9f9fb;
}

.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-container p {
  text-align: center;
  margin-bottom: 2rem;
  color: #4b5563;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  flex: 1 1 200px;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
  background-color: #ffc83d;
  color: #1a1a1a;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #ffb700;
}

.contact-alt {
  text-align: center;
  margin-top: 1rem;
  color: #4b5563;
  font-size: 0.9rem;
}

.contact-alt a {
  color: #c97c14;
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background-color: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 2rem 0;
}

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

.footer-links a {
  margin: 0 0.5rem;
  color: #6b7280;
  font-size: 0.9rem;
}

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

.copyright {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
  .card-grid {
    flex-direction: column;
    align-items: center;
  }
  .process-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .site-nav a {
    margin-left: 1rem;
  }

  /* Make hero section more compact on mobile */
  .hero {
    padding: 3rem 1.5rem 2.5rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 0.95rem;
  }
}

/* Enable sticky header on larger screens */
@media (min-width: 1024px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }
}