/* ============================================================
   Southern Skies Construction LLC — Landing Page Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0F1F3D;
  --navy-mid:  #162B52;
  --navy-light:#1E3A6E;
  --gold:      #C8A84B;
  --gold-light:#E0C060;
  --bg-light:  #F5F6F8;
  --bg-white:  #FFFFFF;
  --text-dark: #111827;
  --text-mid:  #374151;
  --text-light:#6B7280;
  --border:    #E5E7EB;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --max-w:     1200px;
  --font:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(200,168,75,0.35);
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 20px rgba(200,168,75,0.45);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-navy:hover {
  background: var(--navy-light);
  box-shadow: var(--shadow-md);
}

.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ── Section Chrome ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

.section-title-light { color: #fff; }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 600px;
  margin-top: 12px;
  line-height: 1.7;
}

.section-subtitle-light { color: rgba(255,255,255,0.75); }

/* ── ① HEADER ─────────────────────────────────────────────── */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
}

.header-logo-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.header-logo-tagline {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 4px 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.15s;
}
.header-phone:hover { color: var(--gold); }

.header-phone svg { flex-shrink: 0; }

.header-cta { display: block; }

/* mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* ── ② HERO ───────────────────────────────────────────────── */
#hero {
  position: relative;
  background: var(--navy);
  background-image: url('images/Gemini_Generated_Image_xs854xxs854xxs85.png');
  background-size: cover;
  background-position: right center;
  overflow: hidden;
  padding: 96px 0 80px;
  min-height: 620px;
}

/* left-to-right gradient overlay — navy solid on left, fades to reveal photo */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15,31,61,1)    0%,
    rgba(15,31,61,1)    30%,
    rgba(15,31,61,0.92) 45%,
    rgba(15,31,61,0.6)  62%,
    rgba(15,31,61,0.2)  80%,
    rgba(15,31,61,0.05) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* diagonal accent */
#hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-light);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,168,75,0.12);
  border: 1px solid rgba(200,168,75,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span { color: var(--gold); }

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.proof-item {
  display: flex;
  flex-direction: column;
}
.proof-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.proof-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.proof-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
}


/* ── ③ TRUST BAR ──────────────────────────────────────────── */
#trust-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-right: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-mid);
}

.trust-item:last-child { border-right: none; }

.trust-icon {
  width: 32px;
  height: 32px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg { color: var(--gold); }

/* ── ④ SERVICES ───────────────────────────────────────────── */
#services {
  padding: 100px 0;
  background: var(--bg-light);
}

.services-header {
  text-align: center;
  margin-bottom: 56px;
}

.services-header .section-subtitle {
  margin: 12px auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,168,75,0.3);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg { color: var(--gold); }

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── ⑤ ABOUT ──────────────────────────────────────────────── */
#about {
  padding: 100px 0;
  background: var(--bg-white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

/* placeholder */
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-light);
  font-size: 0.85rem;
  text-align: center;
}

.about-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-accent-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.about-accent-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

.about-content .section-subtitle {
  margin-top: 16px;
}

.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-feature-icon {
  width: 24px;
  height: 24px;
  background: rgba(200,168,75,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature-icon svg { color: var(--gold); }

.about-feature-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}
.about-feature-text span {
  font-size: 0.875rem;
  color: var(--text-mid);
}

/* ── ⑥ PROCESS ────────────────────────────────────────────── */
#process {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#process::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,168,75,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,168,75,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.process-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.process-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.process-step {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
}

.process-step:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
}

.process-step-num {
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 24px;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* connector lines between steps */
.process-steps::before {
  content: '';
  position: absolute;
  top: 68px; /* center of the number circles */
  left: calc(16.66% + 28px);
  right: calc(16.66% + 28px);
  height: 1px;
  background: linear-gradient(90deg,
    transparent, var(--gold), transparent);
  opacity: 0.3;
  pointer-events: none;
}

/* ── ⑦ CONTACT / CTA ──────────────────────────────────────── */
#contact {
  padding: 100px 0;
  background: var(--bg-light);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-content .section-subtitle {
  margin-top: 16px;
  margin-bottom: 40px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-action-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid var(--border);
  background: var(--bg-white);
}

.contact-action-btn:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.contact-action-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-action-icon.gold-bg {
  background: var(--gold);
  color: var(--navy);
}

.contact-action-icon.navy-bg {
  background: var(--navy);
  color: var(--gold);
}

.contact-action-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}
.contact-action-text span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.contact-details {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px;
}

.contact-details h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.detail-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.detail-row:last-child { margin-bottom: 0; }

.detail-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}

.detail-info strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 2px;
}
.detail-info span {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* ── ⑧ FOOTER ─────────────────────────────────────────────── */
#footer {
  background: var(--navy);
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 4px 8px;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}
.footer-logo-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}
.footer-logo-cred {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner,
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-accent {
    bottom: -12px;
    right: 12px;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-steps::before { display: none; }

  .trust-items {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0 24px;
  }

  .trust-item {
    border-right: none;
    padding: 8px 0;
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  /* ── Mobile Header ── */
  #header { border-bottom: 1px solid rgba(255,255,255,0.1); }

  .header-inner { height: 60px; gap: 0; }

  /* Compact logo on mobile — hide text, logo image only */
  .header-logo img { height: 44px; padding: 3px 6px; }
  .header-logo-text { display: none; }

  .header-actions { gap: 8px; margin-left: auto; }

  /* Phone: show number as gold text — biggest mobile CTA */
  .header-phone {
    background: rgba(200,168,75,0.12);
    border: 1px solid rgba(200,168,75,0.3);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    gap: 5px;
    white-space: nowrap;
  }
  .header-phone .phone-text { display: inline; } /* show number on mobile */

  /* CTA button: compact "Free Estimate" */
  .header-cta { display: block; }
  .header-cta .btn {
    padding: 9px 14px;
    font-size: 0.8rem;
  }
  .header-cta .btn-text { display: inline; } /* override the hide */

  /* ── Mobile Hero ── */
  #hero { padding: 40px 0 48px; }

  /* Full overlay on mobile — text spans full width, needs even coverage */
  #hero::before { background: rgba(15,31,61,0.82); }

  .hero-badge { font-size: 0.7rem; padding: 5px 12px; }

  .hero-title { font-size: 2rem; margin-bottom: 16px; }

  .hero-subtitle { font-size: 1rem; margin-bottom: 28px; }

  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-ctas .btn-lg { padding: 16px 28px; font-size: 1rem; }

  .hero-social-proof {
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 28px;
    padding-top: 24px;
  }
  .proof-divider { display: none; }

  /* ── Other sections ── */
  .contact-details { padding: 28px 24px; }
  .services-grid { grid-template-columns: 1fr; }
}
