/* ===== MARKIE QUALLS DESIGN - CONTRACTOR LANDING PAGE ===== */

:root {
  --bg-base: #0f1419;
  --bg-card: #161b22;
  --bg-card-hover: #1c2128;
  --fg: #f0f6fc;
  --fg-muted: #8b949e;
  --accent: #d4a84b;
  --accent-hover: #e0b85c;
  --accent-subtle: rgba(212, 168, 75, 0.08);
  --border: rgba(240, 246, 252, 0.1);
  --border-hover: rgba(240, 246, 252, 0.2);
  --font-display: 'Syne', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-base);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(15, 20, 25, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: #0f1419;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1.5rem;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 168, 75, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(212, 168, 75, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  border: 1px solid rgba(212, 168, 75, 0.2);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #0f1419;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(212, 168, 75, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 75, 0.35);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 6rem 2rem;
}

.section-dark {
  background: var(--bg-card);
}

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

.section-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 650px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ===== PROBLEM SECTION ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.problem-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.problem-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.problem-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.problem-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.service-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
}

.service-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg-muted);
}

.service-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.service-card li {
  font-size: 0.95rem;
  color: var(--fg-muted);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.service-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.service-card .btn-service {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  transition: all 0.2s;
}

.service-card .btn-service:hover {
  background: var(--accent);
  color: #0f1419;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.portfolio-item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.portfolio-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-badge {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.portfolio-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.portfolio-info p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Testimonials placeholder */
.testimonials {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: 16px;
  text-align: center;
}

.testimonials-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.testimonials p {
  font-size: 1.1rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-content h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.about-image {
  position: relative;
}

.about-image-placeholder {
  aspect-ratio: 4 / 5;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}

.about-image-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--fg-muted);
  opacity: 0.3;
}

.about-image-placeholder span {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.about-highlight {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-stat {
  text-align: center;
}

.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.about-stat span {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ===== BOTTOM CTA ===== */
.cta-bottom {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bottom-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(212, 168, 75, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-bottom-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-bottom h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1rem;
}

.cta-bottom p {
  font-size: 1.15rem;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
}

.footer-brand span {
  color: var(--accent);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 0.875rem 1.5rem;
  }

  .hero {
    padding: 7rem 1.5rem 4rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-sub {
    font-size: 1.1rem;
  }

  .section {
    padding: 4rem 1.5rem;
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
  }

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

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.problem-card,
.service-card,
.portfolio-item {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.problem-card:nth-child(1) { animation-delay: 0.1s; }
.problem-card:nth-child(2) { animation-delay: 0.2s; }
.problem-card:nth-child(3) { animation-delay: 0.3s; }
.problem-card:nth-child(4) { animation-delay: 0.4s; }

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }