/* Adept Roofing LLC - 2020 Build Vibe */
:root {
  --green: #0d5c3d;
  --green-light: #1a7a52;
  --green-dark: #083d28;
  --green-muted: rgba(13, 92, 61, 0.12);
  --white: #fafafa;
  --black: #0a0a0a;
  --gray: #1a1a1a;
  --gray-mid: #2d2d2d;
  --gray-light: #6b6b6b;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.3s;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--black);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  font-size: 1.5rem;
  color: var(--green);
}

.logo-text em {
  font-style: normal;
  font-weight: 500;
  color: var(--gray-light);
}

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

.nav a {
  text-decoration: none;
  color: var(--gray-mid);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.nav-cta {
  color: var(--green) !important;
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--black);
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 8rem 1.5rem 4rem;
  background: linear-gradient(135deg, var(--white) 0%, #e8f5ef 50%, #d4ede2 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(13, 92, 61, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 92, 61, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-shape {
  position: absolute;
  background: var(--green);
  opacity: 0.08;
}

.hero-shape-1 {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  top: -120px;
  right: -120px;
}

.hero-shape-2 {
  width: 220px;
  height: 220px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  bottom: 15%;
  left: 3%;
  animation: morph 8s ease-in-out infinite;
}

.hero-shape-3 {
  width: 100px;
  height: 100px;
  top: 35%;
  right: 15%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

@keyframes morph {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.hero-content {
  position: relative;
  max-width: 620px;
}

.hero-badge {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: var(--black);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--green);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-mid);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.7;
}

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

.btn {
  display: inline-block;
  padding: 1rem 1.75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-outline:hover {
  background: var(--green-muted);
}

.btn-full {
  width: 100%;
}

/* Stats */
.stats {
  padding: 3rem 0;
  background: var(--black);
  color: var(--white);
}

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

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--green-light);
}

.stat-label {
  font-size: 0.9rem;
  color: #9ca3af;
}

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

/* Section headers */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-sub {
  color: var(--gray-light);
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

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

.services h2,
.services .section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
}

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

.service-card {
  background: var(--gray);
  padding: 2rem;
  border: 1px solid var(--gray-mid);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Areas */
.areas {
  padding: 4rem 0;
  background: var(--white);
}

.areas h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.areas-intro {
  text-align: center;
  color: var(--gray-mid);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.areas-list span {
  padding: 0.5rem 1rem;
  background: var(--green-muted);
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
}

.areas-list span:last-child {
  background: transparent;
  color: var(--gray-light);
  font-style: italic;
}

/* About */
.about {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f5f5f5 0%, var(--white) 100%);
}

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

.about-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.about h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--gray-mid);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-list {
  list-style: none;
  margin-top: 1.5rem;
}

.about-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.about-visual {
  aspect-ratio: 4/3;
  background: var(--gray);
  border-radius: 8px;
  overflow: hidden;
}

.about-block {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: var(--black);
  color: var(--white);
}

.testimonials h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 3rem;
}

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

.testimonial {
  background: var(--gray);
  padding: 2rem;
  border: 1px solid var(--gray-mid);
  border-left: 4px solid var(--green);
}

.testimonial p {
  font-size: 1rem;
  line-height: 1.7;
  color: #e5e7eb;
  margin-bottom: 1rem;
}

.testimonial cite {
  font-size: 0.9rem;
  color: #9ca3af;
  font-style: normal;
}

/* FAQ */
.faq {
  padding: 5rem 0;
}

.faq h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-item summary {
  padding: 1.25rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--green);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding-bottom: 1.25rem;
  color: var(--gray-mid);
  line-height: 1.7;
}

/* Contact */
.contact {
  padding: 5rem 0;
  background: linear-gradient(180deg, #e8f5ef 0%, var(--white) 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.contact-info p {
  color: var(--gray-mid);
  margin-bottom: 1rem;
}

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

.contact-details a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--gray-light);
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #ddd;
  background: var(--white);
  transition: border-color 0.2s;
  border-radius: 4px;
}

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

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

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.footer-brand .logo-icon {
  color: var(--green);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.footer-contact a {
  color: var(--green);
  font-weight: 500;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-mid);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Mobile menu & responsive */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: none;
  }

  .nav.open {
    display: flex;
  }

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

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

  .stat-num {
    font-size: 1.75rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .btn-outline {
    text-align: center;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
