/* ============================================
   RUSTED METAL WORKS — Custom Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,600;1,300&family=Barlow+Condensed:wght@400;600;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0a0908;
  --surface:     #111009;
  --card:        #1a1612;
  --rust:        #c4450a;
  --rust-bright: #e05b1a;
  --rust-glow:   rgba(196, 69, 10, 0.35);
  --amber:       #d4882a;
  --metal:       #8c7355;
  --text:        #e8ddd0;
  --text-muted:  #9a8a78;
  --border:      rgba(196, 69, 10, 0.2);
  --font-display: 'Bebas Neue', sans-serif;
  --font-cond:    'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--rust); border-radius: 3px; }

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(10,9,8,0.9), transparent);
  backdrop-filter: blur(2px);
  transition: background 0.4s;
}

nav.scrolled {
  background: rgba(10,9,8,0.95);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--text);
}

.nav-brand span { color: var(--rust); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-cond);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--rust-bright); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/Ajay with arc cutter.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 8s ease-out;
  filter: brightness(0.35) saturate(0.7);
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(10,9,8,0.7) 100%),
    linear-gradient(to top, var(--bg) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 1.5rem;
}

.hero-eyebrow {
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 12rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--text);
  text-shadow: 0 0 80px var(--rust-glow);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.5s forwards;
}

.hero-title em {
  font-style: normal;
  color: var(--rust-bright);
}


.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 1s forwards;
}

.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--rust);
  color: var(--text);
  font-family: var(--font-cond);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--rust-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--rust-glow);
}

.btn-outline {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: var(--text);
  font-family: var(--font-cond);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(232,221,208,0.3);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn-outline:hover {
  border-color: var(--rust);
  color: var(--rust-bright);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 1.4s forwards;
}

.hero-scroll span {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--rust), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================
   SECTION SHARED
   ============================================ */
section { padding: 6rem 0; }

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--text);
}

.section-divider {
  width: 48px;
  height: 2px;
  background: var(--rust);
  margin: 1.5rem 0 2rem;
}

/* ============================================
   ABOUT
   ============================================ */
#about {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: saturate(0.75);
}

.about-image-accent {
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid var(--rust);
  pointer-events: none;
  z-index: -1;
}

.about-body p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-body p strong {
  color: var(--text);
  font-weight: 600;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--rust);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ============================================
   GALLERY
   ============================================ */
#gallery { background: var(--bg); }

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.gallery-grid {
  columns: 3;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: saturate(0.8) brightness(0.9);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--rust-glow);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.1) brightness(1.0);
}

.gallery-item:hover::after { opacity: 1; }

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5,4,3,0.96);
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 0 80px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover { color: var(--rust-bright); }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 1rem;
  transition: color 0.2s;
  line-height: 1;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--rust-bright); }

/* ============================================
   PROCESS / CTA STRIP
   ============================================ */
#process {
  background: var(--rust);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* ── Ace Hardware ── */
#ace-hardware {
  padding: 80px 0;
  background: #1a1a1a;
}

.ace-header {
  text-align: center;
  margin-bottom: 48px;
}

.ace-header .section-divider {
  margin: 16px auto 24px;
}

.ace-sub {
  max-width: 560px;
  margin: 0 auto;
  color: #aaa;
  font-size: 1.05rem;
  line-height: 1.7;
}

.ace-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.ace-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

@media (max-width: 600px) {
  .ace-photos {
    grid-template-columns: 1fr;
  }
}

/* ── Video ── */
#video {
  padding: 80px 0;
  background: #111;
}

.video-header {
  text-align: center;
  margin-bottom: 40px;
}

.video-header .section-divider {
  margin: 16px auto 0;
}

.video-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.process-logo-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 45vw, 480px);
  filter: invert(1) brightness(1.1);
  mix-blend-mode: screen;
  opacity: 0.13;
  pointer-events: none;
  user-select: none;
}

.process-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.process-text .section-label { color: rgba(255,255,255,0.6); }

.process-text .section-title {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.process-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-top: 1rem;
  max-width: 480px;
}

.btn-white {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #fff;
  color: var(--rust);
  font-family: var(--font-cond);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.btn-white:hover {
  background: var(--text);
  transform: translateY(-2px);
}

/* ============================================
   CONTACT
   ============================================ */
#contact {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--rust);
  font-size: 1.1rem;
}

.contact-detail-label {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-detail-value {
  font-size: 1.05rem;
  color: var(--text);
}

.contact-detail-value a:hover { color: var(--rust-bright); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--rust);
}

.form-group select option { background: var(--card); }

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-success {
  display: none;
  padding: 1rem;
  border: 1px solid var(--rust);
  color: var(--rust-bright);
  font-family: var(--font-cond);
  letter-spacing: 0.1em;
  text-align: center;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.1em;
}

.footer-brand span { color: var(--rust); }

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--rust-bright); }

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: border-color 0.2s, color 0.2s;
}

.social-link:hover {
  border-color: var(--rust);
  color: var(--rust-bright);
}

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .about-image-wrap { max-width: 480px; }

  .gallery-grid { columns: 2; }

  .process-inner { flex-direction: column; text-align: center; }
  .process-text p { max-width: 100%; }

  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 600px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(10,9,8,0.98); padding: 1.5rem; gap: 1.5rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-cta { flex-direction: column; align-items: center; }

  .gallery-grid { columns: 1; }
  .form-row { grid-template-columns: 1fr; }

  .about-stats { flex-wrap: wrap; gap: 1.5rem; }

  .gallery-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
