/* ═══════════════════════════════════════════════════════════════ */
/* BENCHMARK STRUCTURES — MAIN STYLESHEET                         */
/* ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap');
@import url('https://fonts.cdnfonts.com/css/akrobat');

/* RESET & VARIABLES */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --tan: #aa936e;
  --navy: #001630;
  --black: #060003;
  --grey: #a7a9ac;
  --white: #fff;
  --off: #f5f3ef;
  --light: #f6f6f6;
  --placeholder: #231f20;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Akrobat', 'Akrobat-Black', sans-serif;
  font-weight: 900;
}
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--tan);
  display: block;
  margin-bottom: 12px;
}

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: 'Akrobat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 32px;
  border-radius: 30px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-tan { background: var(--tan); color: #fff; font-weight: 700; }
.btn-tan:hover { background: #9a8460; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #002a5c; }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: 9px 20px; font-size: 11px; }

/* PHOTO PLACEHOLDERS */
.photo-placeholder {
  background: var(--placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.1);
  font-family: 'Akrobat', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* PRODUCT CARDS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card { cursor: pointer; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.16); }
.product-card-photo { aspect-ratio: 16/10; overflow: hidden; }
.product-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-category { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--tan); margin-bottom: 8px; }
.product-card-name { font-family: 'Akrobat', sans-serif; font-weight: 900; font-size: 22px; color: var(--black); margin-bottom: 8px; text-transform: uppercase; }
.product-card-price { font-size: 13px; font-weight: 600; color: var(--grey); margin-bottom: 4px; }
.product-card-price strong { color: var(--navy); font-size: 18px; }
.product-card-sizes { font-size: 11px; color: #888; margin-bottom: 16px; }
.product-card-btns { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 6px; margin-top: auto; align-items: center; }
.product-card-btns a { flex: 1; display: flex !important; align-items: center; justify-content: center; min-width: 0; overflow: hidden; padding: 0; border: none; background: none; text-decoration: none; }
.product-card-btns a svg { width: 100% !important; height: auto !important; max-height: 24px; display: block; }

/* FILTER TABS */
.filter-tabs {
  display: flex;
  border-bottom: 2px solid #e0ddd8;
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  font-family: 'Akrobat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--grey);
  padding: 16px 28px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.filter-tab:hover { color: var(--black); }
.filter-tab.active { color: var(--black); border-bottom: 3px solid var(--navy); background: #e7e8e9; }

/* FEATURE CARDS */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card { text-align: center; padding: 32px 24px; }
.feature-icon {
  width: 64px; height: 64px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid var(--tan);
}
.feature-icon svg { fill: var(--tan); }
.feature-title { font-family: 'Akrobat', sans-serif; font-weight: 900; font-size: 18px; color: var(--navy); margin-bottom: 10px; text-transform: uppercase; }
.feature-desc { font-size: 13px; font-weight: 300; color: #555; line-height: 1.7; }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { text-align: center; }
.step-num {
  width: 56px; height: 56px;
  background: var(--tan);
  color: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Akrobat', sans-serif;
  font-weight: 900;
  font-size: 24px;
  margin: 0 auto 20px;
}
.step-title { font-family: 'Akrobat', sans-serif; font-weight: 900; font-size: 20px; color: var(--navy); margin-bottom: 12px; text-transform: uppercase; }
.step-desc { font-size: 13px; font-weight: 300; color: #555; line-height: 1.7; }

/* CATEGORY CARDS */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.category-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  text-decoration: none;
}
.category-card-photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.category-card:hover .category-card-photo { transform: scale(1.05); }
.category-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,22,48,.85));
  padding: 24px 20px 20px;
}
.category-card-name {
  font-family: 'Akrobat', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* SIGNUP SECTION */
.signup-section { background: var(--tan); padding: 64px 0; }
.signup-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.signup-form { background: var(--white); border-radius: 12px; padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #666; }
.form-group input { padding: 10px 14px; border: 1px solid #e0ddd8; border-radius: 6px; font-family: 'Montserrat', sans-serif; font-size: 13px; outline: none; }
.form-group input:focus { border-color: var(--tan); }
.form-check { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
.form-check input[type=checkbox] { width: 15px; height: 15px; margin-top: 2px; accent-color: var(--tan); }
.form-check label { font-size: 12px; color: #555; line-height: 1.5; }
.form-check a { color: var(--tan); }
.form-submit { width: 100%; background: var(--navy); color: var(--white); padding: 13px; border-radius: 6px; font-family: 'Akrobat', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; border: none; cursor: pointer; }
.form-submit:hover { background: #002a5c; }

/* FOOTER */
.footer { background: var(--navy); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; align-items: start; }
.footer-logo { height: 90px; display: block; margin-bottom: 16px; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.8; max-width: 260px; margin-bottom: 16px; }
.footer-contact { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.9; }
.footer-contact a { color: var(--tan); text-decoration: none; }
.footer-col-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--tan); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 12px; color: rgba(255,255,255,.45); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-follow { border-top: 1px solid rgba(255,255,255,.08); padding: 28px 0; text-align: center; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.4); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,.2); }
.footer-bar { height: 3px; background: var(--tan); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .product-grid, .feature-grid, .steps-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .signup-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .category-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* MOBILE FIX — prevent horizontal scroll */
@media (max-width: 900px) {
  html, body { overflow-x: hidden; max-width: 100vw; }
  * { max-width: 100%; box-sizing: border-box; }
  .nav-inner, .nav-right, .nav-links, .navbar { max-width: none !important; }
  .nav-btn-tan, .nav-btn-navy { display: none !important; }
  img, svg, video { max-width: 100%; height: auto; }
  .product-grid-4 { grid-template-columns: 1fr 1fr !important; }
  .product-card-btns { flex-direction: row !important; gap: 6px; flex-wrap: nowrap !important; }
  .product-card-btns a { flex: 1; justify-content: center; }
}

@media (max-width: 480px) {
  .product-grid-4 { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr 1fr !important; }
}

/* MOBILE HERO FIX */
@media (max-width: 900px) {
  /* Hero slider */
  #sheds-slides, #steel-slides {
    width: 100% !important;
  }
  /* Force all sections to fit viewport */
  section, .section { max-width: 100vw; overflow-x: hidden; }
  /* Hero images */
  .hero-sheds, .hero-steel { min-height: 280px !important; }
  /* Two-column grids become single column on mobile */
  div[style*="grid-template-columns:1.3fr 1fr"],
  div[style*="grid-template-columns:1fr 1.2fr"],
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns:1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Product hero split */
  div[style*="display:grid;grid-template-columns:1fr 1fr;min-height"] {
    grid-template-columns: 1fr !important;
  }
  /* Stat grids */
  div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
  }
  div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  /* Nav right - hide everything except hamburger */
  .nav-right { gap: 4px; }
  .nav-divider { display: none !important; }
}

/* MOBILE HERO — full width, proper height */
@media (max-width: 900px) {
  .hero-section,
  section[style*="min-height:700px"],
  section[style*="min-height: 700px"],
  div[style*="min-height:700px"] {
    min-height: 320px !important;
  }
  /* Homepage hero video background section */
  section:first-of-type {
    overflow: hidden;
  }
  /* Ensure hero images fill width */
  .hero-sheds, .hero-steel {
    min-height: 240px !important;
    max-height: 320px !important;
  }
  /* Nav dropdown items on mobile */
  .nav-links .nav-item {
    border-bottom: 1px solid #f0eeeb;
    padding: 12px 0;
  }
  .nav-links .nav-item > a {
    font-size: 14px !important;
    padding: 8px 0 !important;
    display: block;
  }
  .nav-dropdown {
    display: none !important;
  }
  /* Stats/info grids */
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr !important;
  }
  /* Container padding */
  .container {
    padding: 0 16px !important;
  }
  .footer-logo { height: 64px; }
  .footer-tagline { max-width: 100%; }
}

/* HOMEPAGE HERO MOBILE */
@media (max-width: 900px) {
  /* Homepage hero — make it stack instead of side by side */
  section[style*="min-height:520px"] {
    min-height: 320px !important;
  }
  /* Ensure hero text doesn't overflow */
  .hero-text, [class*="hero"] h1, [class*="hero"] h2 {
    font-size: clamp(24px, 6vw, 48px) !important;
    word-break: break-word;
  }
  /* Fix pill buttons on homepage hero */
  div[style*="justify-content:center;gap:16px"] {
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 24px 32px !important;
  }
  /* Fix the diagonal hero split on homepage */
  div[style*="clip-path"], div[style*="skew"] {
    clip-path: none !important;
    transform: none !important;
  }
}

/* PRODUCT CARD BUTTON GLOW ON HOVER */
.product-card-btns a:first-child:hover {
  filter: drop-shadow(0 0 6px rgba(7,27,48,.9)) drop-shadow(0 0 14px rgba(100,140,200,.5));
  transform: scale(1.04);
  transition: filter .2s, transform .15s;
}
.product-card-btns a:last-child:hover {
  filter: drop-shadow(0 0 6px rgba(169,146,110,.85)) drop-shadow(0 0 14px rgba(169,146,110,.45));
  transform: scale(1.04);
  transition: filter .2s, transform .15s;
}

/* FOOTER SOCIAL ICON GLOW */
.footer-social-fb {
  animation: fb-pulse 3s ease-in-out infinite;
}
.footer-social-yt {
  animation: yt-pulse 3s ease-in-out infinite;
  animation-delay: 1.5s;
}
@keyframes fb-pulse {
  0%,100% { filter: none; }
  50% { filter: drop-shadow(0 0 6px rgba(24,119,242,.8)) drop-shadow(0 0 14px rgba(24,119,242,.4)); }
}
@keyframes yt-pulse {
  0%,100% { filter: none; }
  50% { filter: drop-shadow(0 0 6px rgba(255,0,0,.8)) drop-shadow(0 0 14px rgba(255,0,0,.4)); }
}
.footer-social-ig {
  animation: ig-pulse 3s ease-in-out infinite;
  animation-delay: .75s;
}
.footer-social-tt {
  animation: tt-pulse 3s ease-in-out infinite;
  animation-delay: 2.25s;
}
@keyframes ig-pulse {
  0%,100% { filter: none; }
  50% { filter: drop-shadow(0 0 6px rgba(225,48,108,.85)) drop-shadow(0 0 14px rgba(131,58,180,.45)); }
}
@keyframes tt-pulse {
  0%,100% { filter: none; }
  50% { filter: drop-shadow(0 0 6px rgba(37,244,238,.8)) drop-shadow(0 0 14px rgba(254,44,85,.5)); }
}

/* FOLLOW US TEXT GLOW */
.footer-follow-text {
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tan);
  font-weight: 700;
  animation: follow-glow 2.5s ease-in-out infinite;
}
@keyframes follow-glow {
  0%,100% { 
    color: var(--tan);
    text-shadow: none;
  }
  50% { 
    color: #fff;
    text-shadow: 0 0 8px rgba(170,147,110,.9), 0 0 20px rgba(170,147,110,.6), 0 0 40px rgba(170,147,110,.3);
  }
}

/* STANDALONE DESIGN BUTTON GLOW — matches nav button glow */
.btn-design-glow:hover {
  filter: drop-shadow(0 0 8px rgba(169,146,110,.85)) drop-shadow(0 0 18px rgba(169,146,110,.45));
  transform: scale(1.04);
  transition: filter .2s, transform .15s;
}

/* 3D icon spin in button */
@keyframes icon-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.12); }
}
.btn-3d-icon {
  animation: icon-pulse 2s ease-in-out infinite;
  display: inline-block;
}

/* Product card badge/ribbon */
.product-card-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: #8B2020;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 0 0 8px 0;
  z-index: 10;
  line-height: 1;
  box-shadow: 2px 2px 6px rgba(0,0,0,.2);
}
