/* ===== INDUSTRIES.CSS — Kapoor & Nair ===== */
/* Aesthetic: Warm terracotta earth tones. Magazine editorial. Rich and grounded. */

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

:root {
  --bg: #FAF6F1;
  --bg-2: #F2EBE1;
  --terra: #9B4D2E;
  --terra-2: #B55A35;
  --terra-light: rgba(155,77,46,0.09);
  --ink: #1E130A;
  --text: #3C2A1A;
  --muted: #7A6254;
  --white: #FDFAF7;
  --gold: #C8A050;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  --radius: 14px;
  --transition: 0.4s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); overflow-x: hidden; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.15; color: var(--ink); }
em { font-style: italic; color: var(--terra-2); }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra); font-family: var(--font-body);
}
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--terra); }
.eyebrow-light { color: var(--gold); }
.eyebrow-light::before { background: var(--gold); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--terra); color: var(--white);
  padding: 16px 30px; border-radius: 6px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  transition: var(--transition); cursor: pointer; position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--terra-2); transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(155,77,46,0.3); }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 22px 0; transition: var(--transition); }
.nav.scrolled { background: rgba(250,246,241,0.96); backdrop-filter: blur(20px); padding: 14px 0; border-bottom: 1px solid rgba(155,77,46,0.12); box-shadow: 0 2px 20px rgba(0,0,0,0.05); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 40px; }
.nav-logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); }
.logo-icon { color: var(--terra); font-size: 20px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { color: var(--terra); }
.nav-cta { display: inline-block; padding: 10px 22px; background: var(--terra); color: var(--white); border-radius: 6px; font-size: 13px; font-weight: 600; transition: var(--transition); }
.nav-cta:hover { background: var(--terra-2); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: 0.3s; border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.ind-hero {
  background: var(--ink); color: var(--white);
  padding: 160px 0 100px; position: relative; overflow: hidden;
}
.ih-bg { position: absolute; inset: 0; }
.ih-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(155,77,46,0.2), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(200,160,80,0.1), transparent 50%);
}
.ih-content { position: relative; z-index: 2; max-width: 760px; }
.ih-content h1 { font-size: clamp(44px, 5.5vw, 72px); margin: 20px 0 24px; }
.ih-content p { font-size: 17px; line-height: 1.75; color: rgba(255,255,255,0.6); max-width: 600px; }
.ih-stats {
  position: relative; z-index: 2; display: flex; gap: 48px; margin-top: 56px;
  padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.1);
}
.ih-stat strong { display: block; font-size: 48px; font-family: var(--font-display); font-weight: 900; color: var(--terra-2); line-height: 1; margin-bottom: 6px; }
.ih-stat span { font-size: 13px; color: rgba(255,255,255,0.5); }

/* INDUSTRIES GRID */
.industries-section { padding: 100px 0; background: var(--bg); }
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 24px;
}
.ind-card {
  background: var(--white); border: 1px solid rgba(155,77,46,0.1);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition);
  display: flex; flex-direction: column;
}
.ind-card:hover { border-color: rgba(155,77,46,0.3); transform: translateY(-6px); box-shadow: 0 16px 48px rgba(155,77,46,0.12); }
.ind-large { grid-column: span 1; grid-row: span 2; }
.ind-large:first-child { grid-column: 1; }
.ind-large:nth-child(2) { grid-column: 2; }

.ic-img { height: 200px; overflow: hidden; }
.ind-large .ic-img { height: 260px; }
.img-placeholder {
  width: 100%; height: 100%; background: var(--bg-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: var(--muted); transition: var(--transition);
}
.ind-card:hover .img-placeholder { background: var(--terra-light); }
.img-placeholder i { font-size: 48px; color: rgba(155,77,46,0.2); }
.img-placeholder span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

.ic-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.ic-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--terra-light); display: flex; align-items: center; justify-content: center; color: var(--terra); font-size: 20px; margin-bottom: 16px; transition: var(--transition); }
.ind-card:hover .ic-icon { background: var(--terra); color: var(--white); }
.ic-top { /* already in body, no img */ }
.ic-body h3 { font-size: 20px; margin-bottom: 12px; }
.ind-card:not(.ind-large) .ic-body h3 { font-size: 17px; }
.ic-body p { font-size: 14px; line-height: 1.75; color: var(--muted); margin-bottom: 16px; flex: 1; }
.ic-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.ic-tags span { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: var(--terra-light); color: var(--terra); }
.ic-link { font-size: 13px; font-weight: 600; color: var(--terra); display: inline-flex; align-items: center; gap: 8px; margin-top: auto; transition: gap 0.3s; }
.ic-link:hover { gap: 14px; }

/* Cards without image */
.ind-card:not(.ind-large) .ic-body { padding: 28px; }
.ind-card:not(.ind-large) .ic-img { display: none; }

/* EXPERTISE BAND */
.expertise-band { background: var(--ink); color: var(--white); padding: 100px 0; }
.eb-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.eb-left h2 { font-size: clamp(32px, 3.5vw, 48px); margin-top: 16px; color: var(--white); }
.eb-left h2 em { color: var(--terra-2); }
.eb-right p { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.eb-right .btn-primary { margin-top: 12px; }

/* FOOTER */
.footer { background: var(--ink); color: var(--white); padding: 80px 0 32px; border-top: 1px solid rgba(155,77,46,0.15); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 64px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 20px; margin-bottom: 20px; }
.footer-logo i { color: var(--gold); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 300px; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 8px; border: 1px solid rgba(155,77,46,0.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); font-size: 14px; transition: var(--transition); }
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h5 { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-family: var(--font-body); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.45); transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact { gap: 14px !important; }
.footer-contact li { font-size: 13px; color: rgba(255,255,255,0.45); display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.footer-contact li i { color: var(--gold); min-width: 14px; margin-top: 3px; font-size: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 28px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.3); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-large { grid-column: span 1; grid-row: span 1; }
  .eb-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .ind-grid { grid-template-columns: 1fr; }
  .ih-stats { flex-wrap: wrap; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg); padding: 100px 32px; gap: 24px; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 22px; color: var(--ink); }
  .nav-cta { display: none; }
  .hamburger { display: flex; z-index: 1001; }
  .container { padding: 0 24px; }
}
