/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --logo-red:    #C8272D;
  --logo-yellow: #F5C912;
  --logo-blue:   #3B5B9A;
  --neon-pink:   #FF2D78;
  --neon-green:  #39FF14;
  --neon-orange: #FF6200;
  --black:       #111111;
  --dark-gray:   #222222;
  --mid-gray:    #555555;
  --light-gray:  #F0F0F0;
  --white:       #FFFFFF;
  --font-heading: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:    'Barlow', Arial, sans-serif;
  --section-pad:  80px;
  --container:    1200px;
  --gutter:       60px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--black); background: var(--white); }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ============================================================
   UTILITY
   ============================================================ */
.container  { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section-tag {
  display: inline-block; font-family: var(--font-heading); font-size: 13px;
  font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--logo-red); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading); font-size: clamp(36px, 5vw, 58px);
  font-weight: 800; line-height: 1.05; text-transform: uppercase; color: var(--black);
}
.section-title span { color: var(--logo-red); }
.section-body { font-size: 16px; color: var(--mid-gray); max-width: 640px; margin-top: 16px; }

/* ============================================================
   STRIPE
   ============================================================ */
.stripe-bar, .footer-stripe {
  width: 100%; height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--logo-yellow) 0px, var(--logo-yellow) 16px,
    var(--black)       16px, var(--black)       32px
  );
}
.footer-stripe { height: 8px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-size: 17px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; padding: 14px 32px;
  border: 3px solid transparent; border-radius: 3px; cursor: pointer;
  transition: all 0.2s ease; white-space: nowrap;
}
.btn-primary { background: var(--neon-orange); color: var(--white); border-color: var(--neon-orange); }
.btn-primary:hover { background: transparent; color: var(--neon-orange); }
.btn-red  { background: var(--logo-red); color: var(--white); border-color: var(--logo-red); }
.btn-red:hover { background: transparent; color: var(--logo-red); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: var(--neon-pink); border-color: var(--neon-pink); }
.btn-call { background: var(--neon-green); color: var(--black); border-color: var(--neon-green); font-size: 20px; padding: 18px 40px; }
.btn-call:hover { background: transparent; color: var(--neon-green); }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--black); border-bottom: 4px solid var(--logo-yellow);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
}
.site-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-logo img { height: 48px; width: auto; border-radius: 50%; }
.site-logo-text {
  font-family: var(--font-heading); font-size: 19px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase; color: var(--white); line-height: 1.1;
}
.site-logo-text span { display: block; font-size: 11px; font-weight: 400; letter-spacing: 2px; color: var(--logo-yellow); }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  font-family: var(--font-heading); font-size: 14px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--light-gray);
  padding: 8px 14px; border-radius: 2px; transition: color 0.2s, background 0.2s;
}
.primary-nav a:hover, .primary-nav a.active { color: var(--logo-yellow); background: rgba(245,201,18,0.08); }
.nav-cta { margin-left: 12px; background: var(--neon-orange) !important; color: var(--white) !important; border-radius: 3px !important; }
.nav-cta:hover { background: var(--logo-red) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 640px; display: flex; align-items: center;
  background: var(--dark-gray); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(120deg, rgba(17,17,17,0.72) 0%, rgba(17,17,17,0.38) 60%),
    url('assets/wood-fence-autumn.png');
  background-size: cover;
  background-position: center 40%;
}
.hero-content { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 80px var(--gutter); }
.hero-eyebrow {
  font-family: var(--font-heading); font-size: 13px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--logo-yellow); margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-heading); font-size: clamp(52px, 8vw, 96px);
  font-weight: 900; line-height: 0.95; text-transform: uppercase; color: var(--white); margin-bottom: 24px;
}
.accent-red    { color: var(--logo-red); }
.accent-yellow { color: var(--logo-yellow); }
.accent-blue   { color: var(--logo-blue); }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.82); max-width: 520px; margin-bottom: 36px; line-height: 1.6; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Badges */
.hero-badges { background: var(--logo-blue); padding: 18px var(--gutter); }
.hero-badges-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; gap: 40px; flex-wrap: wrap; align-items: center; justify-content: center;
}
.hero-badge {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-family: var(--font-heading); font-size: 15px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.badge-icon { font-size: 24px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { padding: var(--section-pad) 0; background: var(--light-gray); }
.services-header  { text-align: center; margin-bottom: 56px; }
.services-header .section-body { margin: 16px auto 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  background: var(--white); border-top: 5px solid var(--logo-red);
  padding: 36px 28px; transition: transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: var(--logo-yellow); transform: scaleX(0); transition: transform 0.3s; transform-origin: left;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:nth-child(2) { border-top-color: var(--logo-yellow); }
.service-card:nth-child(3) { border-top-color: var(--logo-blue); }
.service-card:nth-child(4) { border-top-color: var(--neon-orange); }
.service-icon  { font-size: 42px; margin-bottom: 16px; display: block; }
.service-title { font-family: var(--font-heading); font-size: 22px; font-weight: 800; text-transform: uppercase; color: var(--black); margin-bottom: 10px; }
.service-desc  { font-size: 15px; color: var(--mid-gray); line-height: 1.65; }
.service-link  { display: inline-block; margin-top: 18px; font-family: var(--font-heading); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--logo-red); transition: color 0.2s; }
.service-link:hover { color: var(--neon-orange); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { padding: var(--section-pad) 0; background: var(--white); }
.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-image-wrap { position: relative; }
.photo-placeholder {
  width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--dark-gray) 0%, #3a3a3a 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-left: 6px solid var(--logo-red); border-radius: 2px;
}
.split-image-wrap img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 2px; border-left: 6px solid var(--logo-red);
  display: block;
}
.split-image-wrap::before {
  content: ''; position: absolute; top: -16px; left: -16px; width: 60%; height: 60%;
  background: var(--logo-yellow); z-index: -1; border-radius: 2px;
}
.split-text .section-title { margin-bottom: 20px; }
.split-text p { color: var(--mid-gray); font-size: 16px; margin-bottom: 14px; }
.split-text .btn { margin-top: 12px; }
.stat-bar { display: flex; gap: 32px; margin: 28px 0; flex-wrap: wrap; }
.stat-number { font-family: var(--font-heading); font-size: 48px; font-weight: 900; color: var(--logo-red); line-height: 1; }
.stat-label  { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--mid-gray); margin-top: 4px; }

/* ============================================================
   FENCE TYPES
   ============================================================ */
.fence-types-section { padding: var(--section-pad) 0; background: var(--black); }
.fence-types-section .section-title { color: var(--white); }
.fence-types-section .section-tag   { color: var(--logo-yellow); }
.fence-types-section .section-body  { color: rgba(255,255,255,0.65); }
.fence-types-header { text-align: center; margin-bottom: 52px; }
.fence-types-header .section-body { margin: 16px auto 0; }
.fence-types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.fence-type-card { position: relative; aspect-ratio: 3/4; overflow: hidden; cursor: pointer; border-radius: 2px; }
.fence-type-card:hover .fence-type-overlay { background: linear-gradient(to top, rgba(17,17,17,0.95) 0%, rgba(0,0,0,0.2) 55%); }
.fence-type-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.88) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px 24px;
  transition: background 0.3s;
}
.fence-type-bar { height: 4px; width: 40px; margin-bottom: 12px; border-radius: 2px; }
.fence-type-name { font-family: var(--font-heading); font-size: 26px; font-weight: 800; text-transform: uppercase; color: var(--white); }
.fence-type-sub  { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ============================================================
   REAL PHOTO GALLERY
   ============================================================ */
.gallery-section { padding: var(--section-pad) 0; background: var(--light-gray); }
.gallery-header  { text-align: center; margin-bottom: 48px; }
.gallery-header .section-body { margin: 16px auto 0; }

.real-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 10px;
}
.gallery-item { overflow: hidden; border-radius: 2px; background: var(--dark-gray); }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s ease, filter 0.3s ease;
  filter: saturate(0.9);
}
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1.15); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--logo-red); position: relative; overflow: hidden;
  padding: 80px var(--gutter); text-align: center;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-55deg, transparent 0, transparent 24px, rgba(0,0,0,0.06) 24px, rgba(0,0,0,0.06) 48px);
}
.cta-banner-inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.cta-banner .section-title { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.88); font-size: 18px; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer { background: var(--black); color: var(--white); }
.footer-main {
  max-width: var(--container); margin: 0 auto; padding: 60px var(--gutter) 40px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px;
}
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; margin: 16px 0 20px; }
.footer-phone { font-family: var(--font-heading); font-size: 26px; font-weight: 800; color: var(--logo-yellow); }
.footer-col h4 {
  font-family: var(--font-heading); font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--logo-yellow); margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--neon-orange); }
.footer-bottom {
  max-width: var(--container); margin: 0 auto; padding: 20px var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: rgba(255,255,255,0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root { --gutter: 28px; --section-pad: 56px; }
  .primary-nav { display: none; }
  .nav-toggle   { display: flex; }
  .primary-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--dark-gray); padding: 20px var(--gutter); gap: 4px;
    border-top: 3px solid var(--logo-yellow);
  }
  .primary-nav.open a { padding: 12px 0; }
  #site-header { position: relative; }
  .split-row, .footer-main { grid-template-columns: 1fr; }
  .fence-types-grid { grid-template-columns: 1fr; }
  .real-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 2; }
  .hero-title { font-size: 52px; }
}
@media (max-width: 600px) {
  .real-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .footer-main  { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions  { flex-direction: column; align-items: center; }
  .stat-bar     { gap: 20px; }
  .hero-badges-inner { gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
