/* Rovik Pest Solutions - Styles */

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

body {
  background-color: #f3f4f6;
  color: #000;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

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

/* Header */
.header {
  background-color: #ffffff;
  padding: 1.5rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo {
  height: 80px;
  width: auto;
}

/* Hero Section */
.hero-section {
  background-color: #f3f4f6;
  padding: 6rem 2rem;
  text-align: left;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  margin-top: -0.25rem;
  color: #000;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.hero-divider {
  border: none;
  border-top: 1px solid #d1d5db;
  margin: 0.75rem 0 1rem 0;
}

.hero-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  text-transform: uppercase;
  font-family: 'Inter', system-ui, sans-serif;
  padding-top: 1rem;
  border-top: 1px solid #d1d5db;
  display: inline-block;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: #000;
  color: #fff;
}

.btn-primary:hover {
  background-color: #1f1f1f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: #000;
  border: 1px solid #000;
}

.btn-secondary:hover {
  background-color: #000;
  color: #fff;
}

/* Services Section */
.services-section {
  background-color: #fff;
  padding: 5rem 2rem 6rem;
}

.services-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.02em;
  color: #000;
}

.section-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0 auto 3rem auto;
  max-width: 150px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.service-card {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-4px);
  background-color: #fafafa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #000;
}

.service-card p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Contact Section */
.contact-section {
  background-color: #f3f4f6;
  padding: 5rem 2rem 6rem;
  text-align: center;
}

.contact-section .section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #000;
}

.contact-section .section-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0 auto 2rem auto;
  max-width: 100px;
}

.contact-text {
  font-size: 1.05rem;
  color: #6b7280;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

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

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-family: inherit;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.contact-form button {
  background-color: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem;
  border-radius: 10px;
  border: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #1f1f1f;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Hero Grid Layout */
.hero-grid {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1.1;
}

.hero-form-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 12px 25px rgba(0,0,0,0.03);
  flex: 0.9;
  min-width: 0;
}

.hero-form-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.hero-form-text {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  background: #fff;
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.hero-form button {
  width: 100%;
  cursor: pointer;
  border: none;
}

.file-upload {
  display: block;
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  border: 1.5px dashed #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #6b7280;
  text-align: center;
}

.file-upload:hover {
  border-color: #000;
  color: #000;
}

.file-upload input[type="file"] {
  display: none;
}

.form-hint {
  text-align: center;
  color: #9ca3af;
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  background-color: #000;
  color: #fff;
  padding: 2rem;
  text-align: center;
}

.footer p {
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-section {
    padding-top: 4rem;
  }
}

@media (max-width: 768px) {
  /* Fix container padding on mobile */
  .container {
    padding: 0 1rem;
  }

  /* Logo sizing */
  .logo {
    height: 60px;
  }

  /* Hero section mobile fixes */
  .hero-section {
    padding: 3rem 1rem;
  }

  .hero-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-tagline {
    font-size: 0.85rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    text-align: center;
    width: 100%;
  }

  /* Services section mobile fixes */
  .services-section {
    padding: 3rem 1rem 4rem;
  }

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

  .service-card {
    max-width: 100%;
    width: 100%;
  }

  .section-title {
    font-size: 1.75rem;
  }

  /* Contact section mobile fixes */
  .contact-section {
    padding: 3rem 1rem 4rem;
  }

  .contact-form {
    width: 100%;
    padding: 0;
  }

  /* Hero form mobile fixes */
  .hero-form-card {
    width: 100%;
    padding: 1.25rem;
  }

  .hero-grid {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  /* Extra small mobile devices */
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-section {
    padding: 2rem 0.75rem;
  }

  .services-section,
  .contact-section {
    padding: 2rem 0.75rem 3rem;
  }

  .container {
    padding: 0 0.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}