/* ============================================================
   Alexis Ferrous and Non Ferrous Pvt Ltd — Main Stylesheet
   ============================================================ */

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

:root {
  --teal:     #1a3c34;
  --teal-mid: #24514a;
  --orange:   #d4600a;
  --orange-lt:#e8752a;
  --white:    #ffffff;
  --gray-bg:  #f5f5f3;
  --charcoal: #1c1c1c;
  --text:     #2e2e2e;
  --muted:    #7a7a7a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgba(26,60,52,0.96);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  border-bottom: 1px solid rgba(212,96,10,0.35);
}

.nav-logo {
  display: flex; align-items: center; gap: 14px;
}
.nav-logo img {
  height: 42px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
}
.nav-logo-text {
  display: flex; flex-direction: column; line-height: 1.1;
}
.nav-logo-text span:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 700; color: var(--white);
  letter-spacing: 0.08em;
}
.nav-logo-text span:last-child {
  font-size: 0.62rem; color: var(--orange); letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500;
}

.nav-links {
  display: flex; gap: 36px; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }

.nav-cta {
  background: var(--orange); color: var(--white);
  border: none; padding: 10px 24px;
  font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
  font-family: 'Inter', sans-serif;
  text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: var(--orange-lt); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(26,60,52,0.92) 0%, rgba(13,38,33,0.88) 55%, rgba(17,17,17,0.85) 100%),
    url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?w=1800&q=80') center / cover no-repeat;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 5vw 80px;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(212,96,10,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Big A watermark */
.hero-watermark {
  position: absolute; right: 5vw; top: 50%; transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(220px, 28vw, 420px);
  font-weight: 700; color: rgba(255,255,255,0.03);
  line-height: 1; user-select: none; pointer-events: none;
  letter-spacing: -0.04em;
}

.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--orange);
  font-weight: 600; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 36px; height: 1px; background: var(--orange);
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 600; color: var(--white);
  line-height: 1.0; max-width: 820px;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: normal; color: var(--orange); }

.hero-sub {
  margin-top: 28px;
  font-size: 1.05rem; color: rgba(255,255,255,0.55);
  max-width: 520px; line-height: 1.75; font-weight: 300;
}

.hero-actions {
  margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--orange); color: var(--white);
  padding: 15px 36px; text-decoration: none;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; transition: all 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--orange-lt); transform: translateY(-2px); }

.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 15px 36px; text-decoration: none;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--orange);
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat-item {
  padding: 36px 20px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 700; color: var(--white); line-height: 1;
}
.stat-label {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); margin-top: 6px; font-weight: 500;
}

/* ── SECTION BASE ── */
section { padding: 100px 5vw; }

.section-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange); font-weight: 600; margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before {
  content: ''; display: block; width: 28px; height: 2px; background: var(--orange);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 600; color: var(--charcoal);
  line-height: 1.1; letter-spacing: -0.01em;
}
.section-title.light { color: var(--white); }

/* ── ABOUT ── */
.about {
  background: var(--gray-bg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

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

.about-image-block .img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-image-block .img-placeholder::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 60%; height: 4px; background: var(--orange);
}
.about-image-block .img-placeholder img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.about-image-block .img-placeholder svg { display: none; }

.about-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--orange); color: var(--white);
  width: 130px; height: 130px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.about-badge strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 700; line-height: 1;
}
.about-badge span {
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; margin-top: 4px;
}

.about-body p {
  font-size: 0.97rem; color: #555; line-height: 1.85;
  margin-top: 20px; font-weight: 300;
}
.about-body p:first-of-type { margin-top: 24px; }

.about-features {
  margin-top: 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.about-feature { display: flex; align-items: flex-start; gap: 12px; }
.about-feature-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(212,96,10,0.1);
  display: flex; align-items: center; justify-content: center;
}
.about-feature-icon svg { width: 18px; fill: var(--orange); }
.about-feature-text strong {
  font-size: 0.82rem; font-weight: 600; color: var(--charcoal);
  display: block; letter-spacing: 0.02em;
}
.about-feature-text span { font-size: 0.75rem; color: var(--muted); line-height: 1.5; }

/* ── PRODUCTS ── */
.products { background: var(--white); }
.products-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.products-header .section-eyebrow { justify-content: center; }
.products-header .section-eyebrow::before { display: none; }
.products-header p { margin-top: 16px; color: var(--muted); font-size: 0.95rem; line-height: 1.75; }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }

.product-card {
  position: relative; overflow: hidden;
  background: var(--teal);
  padding: 48px 36px;
  cursor: default;
  transition: all 0.4s ease;
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.product-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.5s ease, opacity 0.4s ease;
  opacity: 0.25;
}
.product-card:hover .product-card-bg { transform: scale(1.06); opacity: 0.4; }

.product-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,38,33,0.95) 40%, rgba(13,38,33,0.5) 100%);
  z-index: 0;
}
.product-card:nth-child(even) { background: var(--teal-mid); }
.product-card:hover { background: var(--charcoal); }

.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 2;
}
.product-card:hover::before { transform: scaleX(1); }

.product-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 700;
  color: rgba(255,255,255,0.08); position: absolute;
  top: 20px; right: 24px; line-height: 1; user-select: none;
  z-index: 1;
}
.product-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; font-weight: 600; color: var(--white);
  line-height: 1.2; position: relative; z-index: 1;
}
.product-card p {
  font-size: 0.8rem; color: rgba(255,255,255,0.65);
  margin-top: 10px; line-height: 1.7; position: relative; z-index: 1;
}
.product-tag {
  display: inline-block; margin-top: 18px;
  font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--orange); font-weight: 600; position: relative; z-index: 1;
}

/* ── PROCESS ── */
.process { background: var(--charcoal); }
.process .section-title { color: var(--white); }
.process-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: flex-start; margin-bottom: 64px;
}
.process-intro p {
  margin-top: 20px; color: rgba(255,255,255,0.5);
  font-size: 0.95rem; line-height: 1.8; font-weight: 300;
}
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.process-step {
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.process-step:last-child { border-right: none; }
.step-line {
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  margin-bottom: 24px;
}
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem; color: rgba(212,96,10,0.5);
  font-weight: 600; letter-spacing: 0.1em; margin-bottom: 10px;
}
.process-step h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 600; color: var(--white); line-height: 1.2;
}
.process-step p {
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
  margin-top: 10px; line-height: 1.7;
}

/* ── WHY US ── */
.why { background: var(--gray-bg); }
.why-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.why-inner > div > p {
  margin-top: 20px; font-size: 0.95rem; color: #666; line-height: 1.85; font-weight: 300;
}
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card {
  background: var(--white);
  padding: 32px 28px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}
.why-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.why-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600; color: var(--charcoal); margin-top: 14px;
}
.why-card p { font-size: 0.78rem; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.why-card-dot { width: 10px; height: 10px; background: var(--orange); }

/* ── INDUSTRIES ── */
.industries { background: var(--charcoal); padding: 100px 5vw; }
.industries-header { text-align: center; margin-bottom: 56px; }
.industries-header .section-eyebrow { justify-content: center; }
.industries-header .section-eyebrow::before { display: none; }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}
.industry-tile { position: relative; overflow: hidden; aspect-ratio: 3/4; cursor: default; }
.industry-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease; display: block;
}
.industry-tile:hover img { transform: scale(1.08); }
.industry-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,38,33,0.92) 0%, rgba(13,38,33,0.2) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px 20px;
  transition: background 0.3s;
}
.industry-tile:hover .industry-tile-overlay {
  background: linear-gradient(to top, rgba(212,96,10,0.85) 0%, rgba(212,96,10,0.15) 60%, transparent 100%);
}
.industry-tile-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 600; color: var(--white); letter-spacing: 0.02em;
}
.industry-tile-desc { font-size: 0.7rem; color: rgba(255,255,255,0.65); margin-top: 4px; line-height: 1.5; }
.industry-tile-line {
  width: 0; height: 2px; background: var(--white);
  margin-bottom: 12px; transition: width 0.3s ease;
}
.industry-tile:hover .industry-tile-line { width: 32px; }

/* ── CTA BANNER ── */
.cta-banner {
  background:
    linear-gradient(100deg, rgba(26,60,52,0.93) 0%, rgba(14,38,32,0.92) 100%),
    url('https://images.unsplash.com/photo-1565193566173-7a0ee3dbe261?w=1600&q=80') center / cover no-repeat;
  padding: 80px 5vw;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-banner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600; color: var(--white); max-width: 600px; line-height: 1.15;
}
.cta-banner h2 em { font-style: normal; color: var(--orange); }

/* ── CONTACT ── */
.contact { background: var(--white); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info-block { display: flex; flex-direction: column; gap: 28px; margin-top: 32px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-icon svg { width: 18px; fill: var(--orange); }
.contact-info-text strong {
  display: block; font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 4px;
}
.contact-info-text span { font-size: 0.9rem; color: var(--muted); }

.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid #ddd; padding: 14px 18px;
  font-size: 0.875rem; font-family: 'Inter', sans-serif;
  color: var(--text); background: var(--gray-bg);
  outline: none; width: 100%;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--orange); background: #fff; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form select { cursor: pointer; }

/* ── FOOTER ── */
footer { background: var(--charcoal); padding: 60px 5vw 30px; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
  margin-top: 16px; line-height: 1.8; font-weight: 300;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em;
}
.footer-brand-sub {
  font-size: 0.62rem; color: var(--orange); letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500; display: block; margin-top: 3px;
}
.footer-col h5 {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white); font-weight: 600; margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.82rem; color: rgba(255,255,255,0.4); text-decoration: none;
  transition: color 0.2s; display: flex; align-items: center; gap: 8px;
}
.footer-col ul li a::before {
  content: ''; width: 5px; height: 1px; background: var(--orange); display: inline-block;
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.25); }
.footer-bottom span { color: var(--orange); }

/* ── SCROLL ANIMATION ── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; gap: 60px; }
  .about-image-block { max-width: 560px; margin: 0 auto; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .why-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 100px 5vw 60px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .products-grid { grid-template-columns: 1fr; }
  .process-intro { grid-template-columns: 1fr; gap: 24px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-tile:last-child { grid-column: span 2; aspect-ratio: 16/9; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .cta-banner { flex-direction: column; text-align: center; }
  .about-badge { bottom: -16px; right: -8px; width: 100px; height: 100px; }
  .about-badge strong { font-size: 2rem; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
}
