/* C4 Land Solutions — styles.css */

:root {
  --blue:       #1e72d4;
  --blue-dark:  #1558a6;
  --blue-glow:  rgba(30, 114, 212, 0.22);
  --black:      #080808;
  --dark-1:     #0e0e0e;
  --dark-2:     #141414;
  --dark-3:     #1c1c1c;
  --border:     #2c2c2c;
  --white:      #ffffff;
  --text:       #c8c8c8;
  --muted:      #7a7a7a;
  --radius:     4px;
  --ease:       0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--dark-1);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

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

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-sub {
  color: var(--muted);
  margin-top: 1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.divider {
  width: 56px;
  height: 3px;
  background: var(--blue);
  margin: 1.1rem auto 0;
}

.divider.left { margin-left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.9rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: background var(--ease), border-color var(--ease), color var(--ease), transform 0.15s ease, box-shadow var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

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

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

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 6px 24px var(--blue-glow);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.07);
}

.btn-xl { font-size: 1.1rem; padding: 1.05rem 2.4rem; }
.btn-icon { width: 17px; height: 17px; flex-shrink: 0; }

/* Fade-in animation */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAVBAR ─────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--ease), box-shadow var(--ease);
}

.navbar.scrolled {
  background: rgba(8,8,8,0.96);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo img { height: 54px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav-link {
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius);
  transition: color var(--ease), background var(--ease);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  background: var(--blue);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius);
  margin-left: 0.75rem;
  transition: background var(--ease);
  white-space: nowrap;
}

.nav-cta svg { width: 15px; height: 15px; flex-shrink: 0; }
.nav-cta:hover { background: var(--blue-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.45rem;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO ────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 45%, rgba(30,114,212,0.13) 0%, transparent 52%),
    radial-gradient(ellipse at 82% 65%, rgba(30,114,212,0.07) 0%, transparent 45%),
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,255,255,0.011) 3px, rgba(255,255,255,0.011) 4px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 7rem 1.5rem 5rem;
  max-width: 860px;
}

.hero-logo {
  width: min(320px, 72vw);
  margin: 0 auto 2.25rem;
  filter: drop-shadow(0 0 36px rgba(30,114,212,0.38));
}

.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 5.8rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.1rem;
  text-shadow: 0 3px 30px rgba(0,0,0,0.7);
}

.hero-sub {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(0.9rem, 2.2vw, 1.15rem);
  font-weight: 300;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 2;
  line-height: 0;
}

.hero-wave svg { width: 100%; height: 70px; }

/* ── SERVICES ───────────────────────── */
.services {
  background: var(--dark-2);
  padding: 6rem 0 7rem;
}

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

.service-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 2.25rem 1.9rem;
  transition: transform var(--ease), box-shadow var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(30,114,212,0.5);
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  background: rgba(30,114,212,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.service-icon { width: 30px; height: 30px; color: var(--blue); }

.service-card h3 { margin-bottom: 0.7rem; }
.service-card p  { color: var(--muted); font-size: 0.93rem; line-height: 1.65; }

/* ── ABOUT ───────────────────────────── */
.about {
  background: var(--dark-1);
  padding: 7rem 0;
}

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

.about-media { position: relative; }

.about-img-box {
  aspect-ratio: 4 / 3;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.about-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--muted);
  padding: 2rem;
}

.ph-icon { width: 64px; height: 64px; opacity: 0.3; }

.about-img-inner span {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.45;
}

.about-badge {
  position: absolute;
  bottom: -1.4rem;
  right: -1.4rem;
  background: var(--blue);
  color: var(--white);
  padding: 1.1rem 1.6rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 28px rgba(30,114,212,0.45);
}

.badge-top {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.badge-bot {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 0.2rem;
}

.about-content h2 { margin: 0.45rem 0 1.4rem; }
.about-content p   { color: var(--muted); margin-bottom: 1.2rem; line-height: 1.75; }
.about-content .lead { color: var(--text); font-size: 1.02rem; }

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 1.6rem 0 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text);
}

.check {
  display: inline-block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  position: relative;
}

.check::after {
  content: '';
  position: absolute;
  top: 4px; left: 3px;
  width: 9px; height: 5px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

/* ── WHY BANNER ─────────────────────── */
.why-banner {
  background: var(--blue);
  padding: 4.5rem 0;
}

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

.why-item { text-align: center; color: var(--white); }

.why-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.9rem;
  color: white;
  opacity: 0.92;
}

.why-item h4 { font-size: 1.05rem; margin-bottom: 0.3rem; color: var(--white); }
.why-item p  { font-size: 0.85rem; opacity: 0.8; line-height: 1.5; }

/* ── GALLERY ────────────────────────── */
.gallery {
  background: var(--dark-2);
  padding: 7rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 210px;
  gap: 0.9rem;
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-ph {
  width: 100%;
  height: 100%;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--ease), background var(--ease);
  cursor: default;
}

.gallery-ph:hover {
  border-color: rgba(30,114,212,0.5);
  background: rgba(30,114,212,0.04);
}

.gallery-ph span {
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.65;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.03);
}

.gallery-item { overflow: hidden; border-radius: var(--radius); }

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── BEFORE & AFTER ─────────────────── */
.ba-header {
  text-align: center;
  margin: 3.5rem 0 1.75rem;
}

.ba-header h3 {
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  margin-top: 0.4rem;
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark-3);
}

.ba-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ba-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ba-item:hover img { transform: scale(1.04); }

.ba-label {
  position: absolute;
  bottom: 0.55rem;
  left: 0.55rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  color: white;
  pointer-events: none;
}

.ba-before { background: rgba(0,0,0,0.72); }
.ba-after  { background: rgba(30,114,212,0.88); }

/* ── SERVICE AREA ───────────────────── */
.service-area {
  background: var(--dark-1);
  padding: 7rem 0;
}

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

.area-content h2 { margin: 0.45rem 0 1.4rem; }
.area-content p  { color: var(--muted); margin-bottom: 1.2rem; line-height: 1.75; }

.area-visual { display: flex; justify-content: center; }

.ohio-svg {
  max-width: 400px;
  width: 100%;
}

/* ── CONTACT ─────────────────────────── */
.contact {
  background: var(--dark-2);
  padding: 7rem 0;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem;
  text-align: center;
  transition: transform var(--ease), box-shadow var(--ease);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.38);
}

.contact-card.featured {
  border-color: var(--blue);
  background: rgba(30,114,212,0.06);
}

.contact-icon-wrap {
  width: 54px;
  height: 54px;
  background: rgba(30,114,212,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--blue);
}

.contact-icon-wrap svg { width: 22px; height: 22px; }

.contact-card h3 { font-size: 1.1rem; margin-bottom: 0.55rem; }

.contact-val {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.4rem;
  transition: color var(--ease);
}

.contact-val:hover { color: var(--white); }
.contact-card p    { font-size: 0.85rem; color: var(--muted); }

.contact-cta { text-align: center; }

.contact-form-wrap {
  margin-top: 3rem;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.contact-iframe {
  width: 100%;
  min-height: 660px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--dark-3);
  display: block;
}

/* ── FOOTER ─────────────────────────── */
.footer {
  background: var(--black);
  padding: 5rem 0 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo { height: 78px; margin-bottom: 1.2rem; }

.footer-brand p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.1rem;
}

.footer-col ul li { margin-bottom: 0.55rem; }

.footer-col ul li,
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--ease);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
  text-align: center;
}

.footer-bottom p { font-size: 0.78rem; color: var(--muted); }

/* ── RESPONSIVE ─────────────────────── */
@media (max-width: 1024px) {
  .about-grid,
  .area-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-badge { right: 0; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}

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

@media (max-width: 768px) {
  .nav-menu,
  .nav-cta { display: none; }

  .nav-toggle { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 76px; left: 0; right: 0; bottom: 0;
    background: rgba(8,8,8,0.98);
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    z-index: 999;
  }

  .nav-menu.open .nav-link {
    font-size: 1.5rem;
    padding: 0.7rem 2rem;
  }

  .nav-menu.open + .nav-cta { display: none; }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .gallery-large { grid-column: span 2; grid-row: span 1; }

  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 520px) {
  .services-grid   { grid-template-columns: 1fr; }
  .feature-list    { grid-template-columns: 1fr; }
  .why-grid        { grid-template-columns: 1fr; gap: 2rem; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }

  .gallery-large { grid-column: span 1; }

  .hero-ctas { flex-direction: column; align-items: center; }
}
