/* ===================================================================
   KUPTZ STEEL FENCE — SHARED BRAND STYLESHEET
   Include this file on any Kuptz Steel Fence landing page for consistent
   brand typography, colors, buttons, and base layout.

   Usage: <link rel="stylesheet" href="kuptz-shared.css">
   Then add page-specific styles in a <style> block or second CSS file.
   =================================================================== */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--primary);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== BRAND TOKENS =====
   - Primary Blue: #111635  (deep navy)
   - Accent:      #DFB44B  (warm amber-gold)
   - Dark Gray:    #151d25  (near-black cool gray)
   - Off-white / Black / White for backgrounds & neutrals
   ============================================================ */
:root {
  /* Core brand */
  --primary: #111635;
  --primary-dark: #0a0e22;
  --primary-hover: #1a2050;
  --accent: #DFB44B;
  --accent-hover: #E8C568;
  --dark-gray: #0f101a;

  /* Neutrals */
  --black: #000000;
  --white: #ffffff;
  --true-white: #ffffff;
  --off-white: #f5f4f0;
  --light-gray: #d8dee3;

  /* Legacy aliases */
  --gold: var(--accent);
  --gold-hover: var(--accent-hover);
  --gray: var(--dark-gray);
}

/* ===== TYPOGRAPHY =====
   Bebas Neue ships only at weight 400, but browsers apply faux-bold
   (700) by default to h1-h4, giving them a heavier, blockier look that
   matches the Buckley reference. Letting that default through.
   ============================================================ */
h1, h2, h3, h4, .bebas, .section-label-lg {
  font-family: 'Bebas Neue', 'Bebas Neue Pro', Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}
.logo-type {
  font-family: 'EB Garamond', 'Adobe Garamond Pro', Garamond, serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.05;
}
h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h4 {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
p { font-size: 1.05rem; line-height: 1.7; }

.section-label {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}
.section-eyebrow {
  color: var(--accent);
  font-family: 'Bebas Neue', Impact, sans-serif;
  letter-spacing: 0.35em;
  font-size: 14px;
  margin-bottom: 18px;
}

/* ===== LAYOUT ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 28px; }
section { padding: 80px 0; }
@media (min-width: 768px) { section { padding: 100px 0; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
  text-align: center;
}
.btn-primary { background: var(--accent); color: var(--primary); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 20px -4px rgba(223,180,75,0.45); }
.btn-secondary { background: transparent; color: var(--true-white); border: 2px solid rgba(255,255,255,0.6); }
.btn-secondary:hover { background: var(--true-white); color: var(--primary); border-color: var(--true-white); transform: translateY(-2px); }
.btn-dark { background: var(--primary); color: var(--true-white); border-color: var(--primary); }
.btn-dark:hover { background: transparent; color: var(--primary); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--true-white); transform: translateY(-2px); }
.btn-outline-gold { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline-gold:hover { background: var(--accent); color: var(--true-white); }
.btn svg { width: 18px; height: 18px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transform: translateY(28px); }
.fade-in.visible { animation: fadeUp 0.6s ease forwards; }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Temporarily hide footer social icons until real profile URLs are available */
.footer-social { display: none !important; }

/* ===== FOOTER ===== */
footer { background: var(--primary); color: var(--white); padding: 56px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo { display: inline-block; margin-bottom: 16px; }
.footer-brand .logo img { height: 44px; }
.footer-brand p { font-size: 15px; max-width: 320px; line-height: 1.6; opacity: .8; }
.footer-brand-contact { display: none; }
.footer-brand-contact a {
  color: var(--white); opacity: .75; text-decoration: none;
  display: block; font-size: 14px; line-height: 1.9;
  transition: color .2s ease, opacity .2s ease;
}
.footer-brand-contact a:hover { opacity: 1; color: var(--accent); }
.footer-col h4 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 18px; letter-spacing: .1em;
  color: var(--accent); margin-bottom: 18px;
}
.footer-col a {
  display: block; color: var(--white); opacity: .7;
  text-decoration: none; font-size: 14px; margin-bottom: 10px;
  transition: opacity .2s ease, color .2s ease, transform .2s ease;
}
.footer-col a:hover { opacity: 1; color: var(--accent); transform: translateX(3px); }
.footer-contact .footer-region { margin-bottom: 20px; }
.footer-contact .footer-region:last-child { margin-bottom: 0; }
.footer-contact .footer-region strong {
  display: block; color: var(--white); font-size: 14px;
  font-weight: 600; margin-bottom: 6px; opacity: .95;
}
.footer-contact .footer-region .footer-location,
.footer-contact .footer-region span.footer-location {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 4px;
  background: none !important;
  background-color: transparent !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
  pointer-events: none;
  cursor: default;
}
/* Suppress browser auto-detected map/address links inside contact block */
.footer-contact a:not([href^="tel:"]):not([href^="mailto:"]) {
  color: rgba(255, 255, 255, 0.7) !important;
  background: transparent !important;
  background-color: transparent !important;
  text-decoration: none !important;
  pointer-events: none;
  cursor: default;
  transform: none !important;
}
.footer-contact .footer-region a { margin-bottom: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px;
  font-size: 12px; opacity: .6;
}
.footer-bottom a {
  color: var(--white); text-decoration: none;
  transition: color .2s ease;
}
.footer-bottom a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 968px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  footer { padding-bottom: 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-col { display: none; }
  .footer-brand { text-align: center; margin-bottom: 16px; }
  .footer-brand .logo { display: flex; justify-content: center; }
  .footer-brand p { margin: 0 auto 12px; }
  .footer-brand-contact { display: block; text-align: center; }
}
