/* ===== Tokens ===== */
:root {
  --bg: #0c0d10;
  --bg-2: #121419;
  --bg-3: #181b22;
  --surface: #1c1f27;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f1f3f7;
  --muted: #c4c9d4;        /* lightened for stronger contrast */
  --chrome: #d6d6d6;
  --chrome-2: #f3f4f6;
  --accent: #c79a4b;       /* warm brass/gold from rings */
  --accent-2: #edcd8a;
  --radius: 14px;
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: "Oswald", sans-serif; font-weight: 600; line-height: 1.1; letter-spacing: 0.2px; }

.kicker {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  color: var(--accent-2);
  margin-bottom: 14px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #1a1408;
  box-shadow: 0 8px 24px rgba(199, 154, 75, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(199, 154, 75, 0.4); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(12, 13, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand-logo { height: 22px; width: auto; }
.brand-sub {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--muted);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--muted);
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }
.nav-cta {
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.03);
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent-2) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("img/An_image_of_metal_rods_with_chrome_plating_arrang.webp") center/cover no-repeat;
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1.16); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(12,13,16,0.96) 0%, rgba(12,13,16,0.78) 42%, rgba(12,13,16,0.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(12,13,16,0) 30%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 60px; max-width: 760px; }
.hero-eyebrow {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 13px;
  color: var(--accent-2);
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-title span {
  background: linear-gradient(180deg, var(--chrome-2), #8c9099);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.75; color: #dfe3ea; max-width: 580px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex;
  gap: 48px;
  list-style: none;
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: "Oswald", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(180deg, var(--chrome-2), #9aa0ad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; }

/* ===== Sections ===== */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; margin-bottom: 16px; }
.section-lead { color: var(--muted); font-size: 1.12rem; line-height: 1.7; }

/* ===== Services ===== */
.services { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 154, 75, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.service-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(199,154,75,0.18), rgba(199,154,75,0.04));
  border: 1px solid rgba(199,154,75,0.3);
  color: var(--accent-2);
  font-size: 22px;
  margin-bottom: 22px;
}
.service-card h3 { font-size: 1.35rem; margin-bottom: 12px; letter-spacing: 0.3px; }
.service-card p { color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.service-card--accent { background: linear-gradient(160deg, rgba(199,154,75,0.1), var(--surface)); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.about-badge {
  position: absolute;
  bottom: -22px; left: 24px;
  background: var(--bg-3);
  border: 1px solid rgba(199,154,75,0.4);
  border-radius: 12px;
  padding: 14px 22px;
  display: flex; flex-direction: column;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
.about-badge strong { font-family: "Oswald", sans-serif; font-size: 1.1rem; color: var(--accent-2); letter-spacing: 0.5px; }
.about-badge span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; }
.about-text h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); text-transform: uppercase; margin-bottom: 22px; }
.about-text p { color: var(--muted); font-size: 1.08rem; line-height: 1.75; margin-bottom: 18px; }
.about-text strong { color: var(--text); }
.about-text blockquote {
  margin-top: 28px;
  padding: 18px 24px;
  border-left: 3px solid var(--accent);
  background: rgba(199,154,75,0.06);
  border-radius: 0 10px 10px 0;
  font-family: "Oswald", sans-serif;
  font-size: 1.15rem;
  color: var(--chrome-2);
  font-style: italic;
}

/* ===== Gallery ===== */
.gallery { background: var(--bg-2); border-top: 1px solid var(--line); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface);
}
.gallery-item.gi-tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item::after {
  content: "⤢";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 28px; color: #fff;
  background: rgba(12,13,16,0.45);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.contact-info h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); text-transform: uppercase; margin-bottom: 14px; }
.contact-list { list-style: none; margin: 36px 0; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ci-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  font-size: 18px; color: var(--accent-2);
}
.ci-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 2px; }
.contact-list a:hover { color: var(--accent-2); }
.contact-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(0.4) invert(0.9) hue-rotate(180deg); }

/* ===== Footer ===== */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 50px 24px; flex-wrap: wrap; }
.footer-brand img { height: 22px; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-family: "Oswald", sans-serif; color: var(--muted); transition: color 0.2s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; }
.footer-bottom .container { text-align: center; }
.footer-bottom span { font-size: 13px; color: var(--muted); }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8, 9, 11, 0.95);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lb-figure { max-width: 90vw; max-height: 88vh; text-align: center; }
.lb-figure img { max-width: 90vw; max-height: 80vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lb-figure figcaption { margin-top: 16px; color: var(--muted); font-family: "Oswald", sans-serif; letter-spacing: 0.5px; }
.lb-close, .lb-nav {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}
.lb-close { top: 24px; right: 24px; width: 46px; height: 46px; font-size: 26px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); color: #1a1408; }
.lb-nav:hover { transform: translateY(-50%) scale(1.08); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-media { max-width: 480px; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(12,13,16,0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 10px 0 20px;
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
  }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 16px 24px; border-top: 1px solid var(--line); font-size: 17px; }
  .nav-cta { margin: 12px 24px 0; width: calc(100% - 48px); justify-content: center; }
  .nav-toggle { display: flex; }
  .section { padding: 80px 0; }
  .hero-stats { gap: 32px; }
  .hero-stats strong { font-size: 1.8rem; }
}

@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item.gi-tall { grid-row: span 1; }
  .footer-inner { flex-direction: column; text-align: center; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
