/*
Theme Name: main-themes
Author: ahmad
Description: Theme WordPress siap pakai (Classic Editor)
Version: 1.0
*/

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

:root {
  --emerald-50: #ecfdf5;
  --emerald-400: #34d399;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --teal-50: #f0fdfa;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --cyan-50: #ecfeff;
  --cyan-600: #0891b2;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background: white;
}

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

header {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.logo-circle {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--emerald-600), var(--teal-700));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
}

.logo-text h1 {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--gray-900);
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--gray-600);
}

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

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

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--emerald-600);
}

.btn-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--emerald-600);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-phone:hover {
  background: var(--emerald-700);
}

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

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

.nav-mobile {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--gray-200);
}

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

.nav-mobile a {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
}

.nav-mobile a.active {
  color: var(--emerald-600);
}

.hero {
  background: linear-gradient(135deg, var(--emerald-50), var(--teal-50), var(--cyan-50));
  padding: 5rem 0;
}

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

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero .highlight {
  color: var(--emerald-600);
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
  line-height: 1.8;
}

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

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

.btn-primary {
  background: var(--emerald-600);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: var(--emerald-700);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: white;
  color: var(--emerald-600);
  border: 2px solid var(--emerald-600);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: var(--gray-50);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.section {
  padding: 4rem 0;
}

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

.section-title h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 800px;
  margin: 0 auto;
}

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

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(281px, 1fr));
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  transition: all 0.3s;
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--emerald-600), var(--teal-700));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--gray-700);
  line-height: 1.8;
}

.card ul {
  list-style: none;
  padding: 0;
}

.card ul li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.card ul li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--emerald-600);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.bg-gray {
  background: var(--gray-50);
}

.bg-gradient {
  background: linear-gradient(135deg, var(--emerald-600), var(--teal-700));
  color: white;
}

.bg-gradient p {
  color: var(--emerald-50);
}

.cta-section {
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo h2 {
  color: white;
  font-size: 1.125rem;
  font-weight: bold;
}

footer h3 {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--emerald-400);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

.contact-info-list {
  list-style: none;
  padding: 0;
}

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

.service-detail-section {
  padding: 5rem 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.service-detail-grid img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

.service-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
}

.contact-form {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

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

.success-message {
  background: var(--emerald-50);
  border: 2px solid var(--emerald-600);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--emerald-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.success-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.map-container {
  height: 400px;
  background: var(--gray-200);
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

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

  .service-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .hero {
    padding: 8rem 0;
  }

  .section {
    padding: 6rem 0;
  }

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

@media (max-width: 767px) {
  .nav-desktop {
    display: none;
  }

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

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

  .hero p {
    font-size: 1.125rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}

.hidden {
  display: none;
}

.service-detail-grid ul {
    padding-left: 16px;
}

.service-detail-grid ul li {
    font-size: 1.125rem;
    color: var(--gray-700);
}