/*
Theme Name: Nelson Steel Products
Theme URI: https://nelsonsteelprod.com
Author: Nelson Steel Products, Inc.
Author URI: https://nelsonsteelprod.com
Description: Custom WordPress theme for Nelson Steel Products, Inc. — World-class wire supplier since 1979.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nelson-steel
Tags: custom, industrial, business
*/

:root {
  --steel:    #1a1e2e;
  --dark:     #0d1017;
  --mid:      #252b3b;
  --accent:   #c8a84b;
  --accent2:  #e8c96a;
  --silver:   #9ba3b8;
  --light:    #e8eaf0;
  --white:    #f5f6fa;
  --border:   rgba(200,168,75,0.25);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--light);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ─── NAVIGATION ─── */
nav#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 76px;
  background: rgba(13,16,23,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 4px;
  transition: opacity 0.2s;
}
.nav-logo-img:hover { opacity: 0.85; }
/* Fallback text styles (used only if no custom logo is set in WP Customizer) */
.nav-logo-main { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; letter-spacing: 0.12em; color: var(--white); line-height: 1; }
.nav-logo-sub { font-size: 0.6rem; letter-spacing: 0.35em; color: var(--accent); text-transform: uppercase; font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--silver); text-decoration: none; position: relative; transition: color 0.2s; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.3s; }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { background: var(--accent) !important; color: var(--dark) !important; padding: 0.55rem 1.4rem !important; border-radius: 2px; font-weight: 700 !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--accent2) !important; }
.nav-cta::after { display: none !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-toggle span { width: 24px; height: 2px; background: var(--light); border-radius: 1px; display: block; transition: all 0.3s; }

/* ─── HERO ─── */
#hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 5%; overflow: hidden; }

/* Hero photo background — swap via front-page.php */
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Fallback if no image loads: */
  background-color: #1a1e2e;
}
/* Dark gradient overlay sits on top of the photo */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(13,16,23,0.88) 0%,
    rgba(13,16,23,0.72) 50%,
    rgba(13,16,23,0.85) 100%
  );
}
.hero-lines { position: absolute; inset: 0; overflow: hidden; }
.hero-lines::before { content: ''; position: absolute; top: -50%; right: -10%; width: 2px; height: 200%; background: linear-gradient(to bottom, transparent, var(--accent) 30%, var(--accent) 70%, transparent); transform: rotate(-15deg); opacity: 0.15; }
.hero-lines::after { content: ''; position: absolute; top: -50%; right: 5%; width: 1px; height: 200%; background: linear-gradient(to bottom, transparent, var(--silver) 40%, var(--silver) 60%, transparent); transform: rotate(-15deg); opacity: 0.08; }
.hero-inner { position: relative; padding-top: 76px; padding-bottom: 4rem; }
.hero-grid-label { font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 0.3em; color: var(--accent); text-transform: uppercase; margin-bottom: 1.8rem; display: flex; align-items: center; gap: 1rem; animation: fadeUp 0.8s ease both; }
.hero-grid-label::before { content: ''; width: 40px; height: 1px; background: var(--accent); display: inline-block; }
.hero-headline { font-family: 'Bebas Neue', sans-serif; font-size: clamp(4rem, 9vw, 9rem); line-height: 0.9; letter-spacing: 0.04em; color: var(--white); margin-bottom: 1.6rem; animation: fadeUp 0.8s 0.1s ease both; }
.hero-headline em { font-style: normal; color: var(--accent); display: block; }
.hero-sub { max-width: 520px; font-size: 1.08rem; line-height: 1.75; color: var(--silver); font-weight: 300; margin-bottom: 3rem; animation: fadeUp 0.8s 0.2s ease both; }
.hero-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; animation: fadeUp 0.8s 0.3s ease both; }
.btn-primary { background: var(--accent); color: var(--dark); padding: 1rem 2.2rem; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: background 0.2s, transform 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); color: var(--dark); }
.btn-secondary { border: 1px solid var(--border); color: var(--light); padding: 1rem 2.2rem; font-weight: 500; font-size: 0.82rem; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: border-color 0.2s, color 0.2s, transform 0.2s; display: inline-block; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.hero-stats { position: absolute; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); animation: fadeUp 0.8s 0.4s ease both; }
.hero-stat { padding: 1.8rem 5%; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.3rem; }
.hero-stat:last-child { border-right: none; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; color: var(--accent); letter-spacing: 0.05em; line-height: 1; }
.stat-label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver); font-weight: 500; }

/* ─── SHARED SECTION STYLES ─── */
section { padding: 7rem 5%; }
.section-label { font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--accent); display: inline-block; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.8rem, 5vw, 5rem); letter-spacing: 0.04em; line-height: 1; color: var(--white); margin-bottom: 1.5rem; }
.section-body { font-size: 1rem; line-height: 1.8; color: var(--silver); font-weight: 300; max-width: 640px; }

/* ─── ABOUT ─── */
#about { background: var(--steel); position: relative; overflow: hidden; }
#about::before { content: '1979'; position: absolute; right: -2%; top: 50%; transform: translateY(-50%); font-family: 'Bebas Neue', sans-serif; font-size: 22vw; color: rgba(255,255,255,0.025); line-height: 1; pointer-events: none; letter-spacing: -0.02em; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.value-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); padding: 1.5rem; border-radius: 4px; position: relative; overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.value-card:hover { border-color: var(--border); transform: translateY(-3px); }
.value-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.value-card:hover::before { transform: scaleX(1); }
.value-icon { font-size: 1.5rem; margin-bottom: 0.75rem; display: block; }
.value-title { font-weight: 700; font-size: 0.88rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--white); margin-bottom: 0.4rem; }
.value-desc { font-size: 0.82rem; color: var(--silver); line-height: 1.6; font-weight: 300; }

/* About photo block */
.about-right { position: relative; }
.about-photo-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  /* Decorative gold border offset */
  box-shadow: 8px 8px 0 var(--accent);
}
/* 📸 To swap: change the <img src="..."> in front-page.php */
.about-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) contrast(1.05);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.about-photo-wrap:hover .about-photo { transform: scale(1.03); filter: brightness(0.95) contrast(1.05); }

/* Gold "EST 1979" badge on photo */
.about-photo-badge {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: var(--accent);
  color: var(--dark);
  padding: 0.8rem 1.2rem;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.badge-num { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; line-height: 1; letter-spacing: 0.05em; }
.badge-label { font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; }

/* Info card below photo */
.about-card-overlay {
  background: linear-gradient(145deg, var(--mid), rgba(200,168,75,0.05));
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem 2rem;
  position: relative;
  overflow: hidden;
}
.about-card-overlay::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: linear-gradient(to bottom, var(--accent), transparent); }
.about-quote { font-size: 0.95rem; font-weight: 300; line-height: 1.8; color: var(--light); font-style: italic; margin-bottom: 1.5rem; }
.about-quote strong { color: var(--accent); font-style: normal; font-weight: 500; }
.about-certs { display: flex; flex-direction: column; gap: 0.6rem; }
.cert-item { display: flex; align-items: center; gap: 0.8rem; font-size: 0.82rem; color: var(--silver); }
.cert-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ─── PRODUCTS ─── */
#products { background: var(--dark); }
.products-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 4rem; align-items: end; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* Card layout with image on top */
.product-card {
  background: var(--steel);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Image container */
.product-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
/* 📸 To swap: change the <img src="..."> in front-page.php */
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7) contrast(1.1) saturate(0.7);
  transition: transform 0.5s ease, filter 0.4s ease;
}
.product-card:hover .product-img { transform: scale(1.06); filter: brightness(0.85) contrast(1.1) saturate(0.8); }

/* Dark gradient over image so tag text is always readable */
.product-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
}

/* Tag in bottom-left of image */
.product-tag {
  position: absolute;
  bottom: 0.9rem; left: 1rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(13,16,23,0.7);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

/* Card text body */
.product-body { padding: 1.6rem 1.6rem 2rem; }
.product-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.55rem; letter-spacing: 0.05em; color: var(--white); margin-bottom: 0.6rem; line-height: 1; }
.product-desc { font-size: 0.82rem; color: var(--silver); line-height: 1.65; font-weight: 300; margin-bottom: 1.2rem; }
.product-specs { display: flex; flex-direction: column; gap: 0.3rem; }
.product-spec { font-size: 0.75rem; color: var(--silver); display: flex; align-items: center; gap: 0.5rem; }
.product-spec::before { content: '›'; color: var(--accent); font-size: 0.9rem; }

/* ─── MATERIALS ─── */
#materials { background: linear-gradient(180deg, var(--dark) 0%, var(--steel) 100%); position: relative; overflow: hidden; }
.materials-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
.materials-table { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.mat-header { background: rgba(200,168,75,0.12); padding: 1rem 1.5rem; font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--border); }
.mat-group { padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mat-group:last-child { border-bottom: none; }
.mat-group-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); margin-bottom: 0.6rem; }
.mat-items { display: flex; flex-direction: column; gap: 0.25rem; }
.mat-item { font-size: 0.8rem; color: var(--silver); display: flex; align-items: center; gap: 0.6rem; font-weight: 300; }
.mat-item::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex-shrink: 0; opacity: 0.7; }
.finishes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1rem; }
.finish-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; padding: 1.8rem 1.5rem; transition: border-color 0.3s, transform 0.3s; }
.finish-card:hover { border-color: var(--border); transform: translateY(-4px); }
.finish-icon { width: 42px; height: 42px; border-radius: 50%; background: rgba(200,168,75,0.12); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1rem; }
.finish-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 0.05em; color: var(--white); margin-bottom: 0.4rem; }
.finish-detail { font-size: 0.78rem; color: var(--silver); line-height: 1.6; font-weight: 300; }

/* ─── PACKAGING ─── */
#packaging { background: var(--steel); }
.packaging-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.pack-card { border: 1px solid rgba(255,255,255,0.07); border-radius: 6px; padding: 2.5rem 1.8rem; text-align: center; background: rgba(255,255,255,0.03); transition: border-color 0.3s, transform 0.3s; position: relative; overflow: hidden; }
.pack-card:hover { border-color: var(--border); transform: translateY(-5px); }
.pack-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transform: scaleX(0); transition: transform 0.5s; }
.pack-card:hover::before { transform: scaleX(1); }
.pack-icon { font-size: 2.8rem; margin-bottom: 1.2rem; display: block; }
.pack-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 0.05em; color: var(--white); margin-bottom: 0.5rem; }
.pack-desc { font-size: 0.8rem; color: var(--silver); line-height: 1.65; font-weight: 300; }

/* ─── QUALITY ─── */
#quality { background: var(--dark); position: relative; overflow: hidden; }
.quality-bg-text { position: absolute; right: -3%; top: 50%; transform: translateY(-50%); font-family: 'Bebas Neue', sans-serif; font-size: 18vw; color: rgba(255,255,255,0.02); line-height: 1; pointer-events: none; }
.quality-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: center; }
.quality-points { display: flex; flex-direction: column; gap: 2rem; margin-top: 3rem; }
.quality-point { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.5rem; border-radius: 4px; border: 1px solid transparent; transition: border-color 0.3s, background 0.3s; }
.quality-point:hover { border-color: var(--border); background: rgba(255,255,255,0.02); }
.qp-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: rgba(200,168,75,0.25); line-height: 1; flex-shrink: 0; width: 50px; transition: color 0.3s; }
.quality-point:hover .qp-num { color: var(--accent); }
.qp-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; letter-spacing: 0.02em; }
.qp-desc { font-size: 0.85rem; color: var(--silver); line-height: 1.7; font-weight: 300; }
.commitment-card { background: linear-gradient(145deg, var(--mid), rgba(200,168,75,0.08)); border: 1px solid var(--border); border-radius: 8px; padding: 3rem; position: relative; overflow: hidden; }
.commitment-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: linear-gradient(to bottom, var(--accent), transparent); }
.commitment-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 0.05em; color: var(--white); margin-bottom: 1.2rem; }
.commitment-text { font-size: 0.9rem; color: var(--silver); line-height: 1.8; font-weight: 300; margin-bottom: 2rem; }
.commitment-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pillar { background: rgba(0,0,0,0.2); border-radius: 4px; padding: 1.2rem; text-align: center; }
.pillar-num { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: var(--accent); line-height: 1; margin-bottom: 0.2rem; }
.pillar-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--silver); font-weight: 500; }

/* ─── CONTACT ─── */
#contact { background: linear-gradient(135deg, var(--steel) 0%, var(--dark) 100%); position: relative; overflow: hidden; }
#contact::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 2.5rem; margin-top: 3rem; }
.contact-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; color: var(--accent); background: rgba(200,168,75,0.05); }
.contact-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 0.2rem; }
.contact-value { font-size: 0.95rem; color: var(--light); font-weight: 400; }
.contact-value a { color: inherit; text-decoration: none; transition: color 0.2s; }
.contact-value a:hover { color: var(--accent); }

/* ─── CONTACT FORM (WP native + CF7 compatible) ─── */
.quote-form-wrap { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 8px; padding: 3rem; }
.form-title { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 0.05em; color: var(--white); margin-bottom: 0.5rem; }
.form-sub { font-size: 0.85rem; color: var(--silver); margin-bottom: 2rem; font-weight: 300; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.wpcf7-form label,
.form-group label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--silver); font-weight: 500; display: block; margin-bottom: 0.4rem; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea,
.form-group input,
.form-group select,
.form-group textarea { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 3px; padding: 0.8rem 1rem; color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 300; outline: none; transition: border-color 0.2s; width: 100%; }
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.wpcf7-form textarea,
.form-group textarea { resize: vertical; min-height: 120px; }
.wpcf7-form select option,
.form-group select option { background: var(--steel); }
.wpcf7-submit,
.form-submit { width: 100%; background: var(--accent); color: var(--dark); border: none; padding: 1rem 2rem; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; border-radius: 3px; cursor: pointer; transition: background 0.2s, transform 0.2s; margin-top: 0.5rem; }
.wpcf7-submit:hover,
.form-submit:hover { background: var(--accent2); transform: translateY(-2px); }
.wpcf7-response-output { margin-top: 1rem !important; border: 1px solid var(--border) !important; border-radius: 4px !important; padding: 1rem !important; color: var(--accent) !important; font-size: 0.85rem !important; }

/* ─── FOOTER ─── */
footer#site-footer { background: var(--dark); border-top: 1px solid var(--border); padding: 4rem 5% 2.5rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo-text { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 0.1em; color: var(--white); margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.78rem; color: var(--silver); font-weight: 300; line-height: 1.6; margin-bottom: 1.5rem; max-width: 260px; }
.footer-col-title { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 1.2rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { font-size: 0.85rem; color: var(--silver); text-decoration: none; font-weight: 300; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 0.78rem; color: rgba(155,163,184,0.6); font-weight: 300; }
.footer-est { font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.2em; color: var(--accent); opacity: 0.7; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .about-grid, .quality-layout, .contact-layout, .materials-layout { grid-template-columns: 1fr; gap: 3rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .finishes-grid { grid-template-columns: 1fr 1fr; }
  .about-photo { height: 340px; }
  .about-photo-wrap { box-shadow: 5px 5px 0 var(--accent); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 76px; left: 0; right: 0; background: var(--dark); padding: 2rem 5%; border-bottom: 1px solid var(--border); gap: 1.5rem; }

  /* Hero: switch stats from absolute to static so they never overlap text */
  #hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0; }
  .hero-inner { padding: 120px 5% 3rem; flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .hero-stats { position: static; grid-template-columns: repeat(2, 1fr); margin-top: auto; }
  .hero-headline { font-size: clamp(3rem, 12vw, 6rem); }
  .hero-actions { flex-direction: column; gap: 0.8rem; }
  .hero-actions a { text-align: center; width: 100%; box-sizing: border-box; }

  .products-grid { grid-template-columns: 1fr; }
  .packaging-grid { grid-template-columns: 1fr 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .products-intro { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { height: 280px; }
  .materials-layout { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .packaging-grid, .hero-stats, .finishes-grid, .commitment-pillars { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .about-photo { height: 240px; }
  .about-photo-wrap { box-shadow: 4px 4px 0 var(--accent); }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .section-title { font-size: clamp(2.2rem, 10vw, 4rem); }
}

/* ═══════════════════════════════════════════════════════════════
   IMAGE STYLES — Added in v1.1
   ═══════════════════════════════════════════════════════════════ */

/* ─── HERO BACKGROUND IMAGE ─── */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Fallback gradient if image fails to load */
  background-color: #1a1e2e;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  /* Dark gradient layered over the photo to keep text readable */
  background: linear-gradient(
    105deg,
    rgba(13,16,23,0.92) 0%,
    rgba(13,16,23,0.75) 40%,
    rgba(13,16,23,0.45) 70%,
    rgba(13,16,23,0.6) 100%
  );
}

/* ─── ABOUT PHOTO ─── */
.about-photo-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  /* Subtle gold border */
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.about-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
  filter: brightness(0.9) saturate(0.85);
}
.about-photo-wrap:hover .about-photo {
  transform: scale(1.03);
  filter: brightness(1) saturate(1);
}
/* Floating badge over the photo */
.about-photo-badge {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  background: rgba(13,16,23,0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.8rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.badge-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  line-height: 1;
}
.badge-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 500;
}

/* ─── PRODUCT CARDS WITH IMAGES ─── */
/* Override the old grid — now uses card layout */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.product-card {
  background: var(--steel);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.product-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
  filter: brightness(0.85) saturate(0.7);
}
.product-card:hover .product-img {
  transform: scale(1.06);
  filter: brightness(0.9) saturate(0.85);
}
/* Dark gradient over photo so tag text is always readable */
.product-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.55) 100%
  );
}
/* Product tag sits on top of photo */
.product-tag {
  position: absolute;
  bottom: 0.8rem;
  left: 1rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  z-index: 1;
}
/* Product text content below image */
.product-body {
  padding: 1.6rem 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1;
}
.product-desc {
  font-size: 0.82rem;
  color: var(--silver);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1.2rem;
}
.product-specs {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
.product-spec {
  font-size: 0.75rem;
  color: var(--silver);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product-spec::before {
  content: '›';
  color: var(--accent);
  font-size: 0.9rem;
}
/* CTA link at bottom of each card */
.product-cta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s, letter-spacing 0.2s;
}
.product-cta:hover {
  color: var(--accent2);
  letter-spacing: 0.18em;
}

/* ─── RESPONSIVE UPDATES FOR IMAGES ─── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
  .about-photo { height: 280px; }
  .product-img-wrap { height: 180px; }
}
