/*
Theme Name: Anchored Construction
Theme URI: https://anchoredconstruction.com
Author: Anchored Construction
Author URI: https://anchoredconstruction.com
Description: Custom WordPress theme for Anchored Construction - Veteran Owned & Operated in Brownsville, TX. Features a full-site layout with hero, about, services, and contact sections.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Private
Text Domain: anchored-construction
*/

:root {
  --navy: #0d1b2a;
  --navy-mid: #1a2f45;
  --steel: #4a6580;
  --gold: #c8a95a;
  --gold-light: #e0c47a;
  --cream: #f5f0e8;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--navy);
  color: var(--cream);
  overflow-x: hidden;
}

/* ─── GOOGLE FONTS (loaded via functions.php) ─── */

/* ─── NAV ─── */
nav#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,27,42,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200,169,90,0.2);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
  transition: box-shadow 0.3s;
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.nav-anchor { font-size: 28px; color: var(--gold); line-height: 1; }
.nav-brand { display: flex; flex-direction: column; line-height: 1; }
.nav-brand span:first-child {
  font-family: 'Playfair Display', serif;
  font-size: 16px; letter-spacing: 0.25em;
  color: var(--white); text-transform: uppercase;
}
.nav-brand span:last-child {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 0.35em;
  color: var(--gold); text-transform: uppercase;
}
#site-nav ul.nav-links {
  display: flex; gap: 36px; list-style: none;
}
#site-nav ul.nav-links a {
  color: var(--cream); text-decoration: none;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  transition: color 0.2s; opacity: 0.8;
}
#site-nav ul.nav-links a:hover { color: var(--gold); opacity: 1; }
.nav-cta {
  background: var(--gold); color: var(--navy);
  padding: 10px 24px; border: none; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 0.2em; font-weight: 700;
  text-transform: uppercase; text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-light); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--cream); }

/* ─── HERO ─── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: 72px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(200,169,90,0.08) 0%, transparent 60%),
    linear-gradient(160deg, #0d1b2a 0%, #162437 50%, #0d1b2a 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,169,90,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,90,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-stripes {
  position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
  background: repeating-linear-gradient(
    -20deg, transparent, transparent 40px,
    rgba(200,169,90,0.025) 40px, rgba(200,169,90,0.025) 41px
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 80px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--gold); padding: 8px 18px; margin-bottom: 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
}
.hero-badge::before { content: '★'; font-size: 10px; }
h1.site-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 84px); font-weight: 900; line-height: 1.0;
  color: var(--white); margin-bottom: 10px;
}
h1.site-title span { color: var(--gold); display: block; }
.hero-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 28px;
}
.hero-desc {
  font-size: 17px; line-height: 1.7; color: rgba(245,240,232,0.75);
  max-width: 440px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 16px 36px; text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; letter-spacing: 0.2em; font-weight: 700;
  text-transform: uppercase; transition: background 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-outline {
  border: 1px solid rgba(245,240,232,0.4); color: var(--cream);
  padding: 16px 36px; text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; letter-spacing: 0.2em; font-weight: 600;
  text-transform: uppercase; transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-right { display: flex; flex-direction: column; align-items: center; }
.anchor-emblem {
  position: relative; width: 320px; height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.anchor-ring {
  position: absolute; inset: 0;
  border: 1px solid rgba(200,169,90,0.25); border-radius: 50%;
  animation: rotateSlow 30s linear infinite;
}
.anchor-ring-2 {
  position: absolute; inset: 20px;
  border: 1px dashed rgba(200,169,90,0.12); border-radius: 50%;
}
@keyframes rotateSlow { to { transform: rotate(360deg); } }
.anchor-svg { font-size: 140px; filter: drop-shadow(0 0 30px rgba(200,169,90,0.3)); }
.stats-row { display: flex; gap: 32px; margin-top: 40px; width: 100%; justify-content: center; }
.stat { text-align: center; border-top: 2px solid var(--gold); padding-top: 12px; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--gold); font-weight: 700; }
.stat-label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--steel); font-family: 'Barlow Condensed', sans-serif;
}

/* ─── SECTIONS ─── */
.section-wrap-dark { background: var(--navy); }
.section-wrap-mid { background: var(--navy-mid); }
section.inner { padding: 100px 48px; max-width: 1200px; margin: 0 auto; }
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
h2.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 700;
  color: var(--white); margin-bottom: 20px; line-height: 1.1;
}
.divider { width: 60px; height: 2px; background: var(--gold); margin-bottom: 32px; }

/* ─── ABOUT ─── */
#about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text p { font-size: 16px; line-height: 1.8; color: rgba(245,240,232,0.75); margin-bottom: 20px; }
.vet-badge {
  display: flex; align-items: center; gap: 20px;
  border: 1px solid rgba(200,169,90,0.3); padding: 24px 28px; margin-top: 32px;
  background: rgba(200,169,90,0.05);
}
.vet-icon { font-size: 36px; }
.vet-text strong {
  display: block; font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold);
}
.vet-text span { font-size: 13px; color: rgba(245,240,232,0.6); }
.about-visual { display: flex; flex-direction: column; gap: 20px; }
.value-card { border-left: 3px solid var(--gold); padding: 20px 24px; background: rgba(13,27,42,0.6); }
.value-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.value-card p { font-size: 14px; color: rgba(245,240,232,0.65); line-height: 1.6; }

/* ─── SERVICES ─── */
#services { text-align: center; }
.services-intro {
  font-size: 17px; color: rgba(245,240,232,0.7);
  max-width: 600px; margin: 0 auto 60px; line-height: 1.7;
}
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.service-card {
  background: var(--navy-mid); padding: 48px 36px;
  text-align: left; position: relative; overflow: hidden;
  transition: background 0.3s; cursor: default;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: #1f3550; }
.service-icon { font-size: 40px; margin-bottom: 20px; display: block; }
.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); margin-bottom: 12px;
}
.service-card p { font-size: 14px; line-height: 1.7; color: rgba(245,240,232,0.6); }
.service-num {
  position: absolute; top: 20px; right: 24px;
  font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 900;
  color: rgba(200,169,90,0.08); line-height: 1;
}

/* ─── WHY BANNER ─── */
#why-wrap { background: var(--gold); padding: 0; }
#why { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); padding: 0 48px; }
.why-item {
  padding: 48px 32px; border-right: 1px solid rgba(13,27,42,0.15);
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.why-item:last-child { border-right: none; }
.why-item span:first-child { font-size: 28px; }
.why-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--navy); font-weight: 700;
}
.why-item p { font-size: 13px; color: rgba(13,27,42,0.7); line-height: 1.5; }

/* ─── CONTACT ─── */
#contact { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info p { font-size: 16px; color: rgba(245,240,232,0.65); line-height: 1.7; margin-bottom: 40px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-item-icon {
  width: 44px; height: 44px; background: rgba(200,169,90,0.1);
  border: 1px solid rgba(200,169,90,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-item-text strong {
  display: block; font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
}
.contact-item-text a, .contact-item-text span { font-size: 16px; color: var(--cream); text-decoration: none; }
.contact-item-text a:hover { color: var(--gold); }
.social-links { display: flex; gap: 12px; margin-top: 36px; }
.social-link {
  width: 44px; height: 44px; border: 1px solid rgba(200,169,90,0.3);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 18px; color: var(--cream); transition: all 0.2s;
}
.social-link:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ─── CONTACT FORM (WP) ─── */
.wpcf7-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  background: rgba(13,27,42,0.8); border: 1px solid rgba(200,169,90,0.2);
  padding: 14px 16px; color: var(--cream);
  font-family: 'Barlow', sans-serif; font-size: 14px;
  outline: none; transition: border-color 0.2s; width: 100%;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus { border-color: var(--gold); }
.wpcf7-form textarea { resize: vertical; min-height: 120px; }
.wpcf7-form input[type="submit"] {
  background: var(--gold); color: var(--navy);
  padding: 16px; border: none; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; letter-spacing: 0.2em; font-weight: 700;
  text-transform: uppercase; transition: background 0.2s; width: 100%;
}
.wpcf7-form input[type="submit"]:hover { background: var(--gold-light); }
.wpcf7-response-output { margin-top: 12px; padding: 12px 16px; font-size: 13px; border-radius: 0; }

/* ─── FOOTER ─── */
#site-footer {
  background: #07111c; border-top: 1px solid rgba(200,169,90,0.15); padding: 48px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--white); letter-spacing: 0.1em; }
.footer-logo span { color: var(--gold); }
.footer-copy { font-size: 12px; color: rgba(245,240,232,0.35); letter-spacing: 0.08em; }
.footer-vet {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 8px;
}

/* ─── ANIMATIONS ─── */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  nav#site-nav { padding: 0 24px; }
  #site-nav ul.nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  #site-nav ul.nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--navy); padding: 24px;
    gap: 20px; border-bottom: 1px solid rgba(200,169,90,0.2);
  }
  .hero-content { grid-template-columns: 1fr; gap: 48px; padding: 48px 24px; text-align: center; }
  .hero-desc { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-right { display: none; }
  section.inner { padding: 72px 24px; }
  #about { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  #why { grid-template-columns: 1fr 1fr; padding: 0 24px; }
  .why-item { border-right: none; border-bottom: 1px solid rgba(13,27,42,0.15); }
  #contact { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
