/* ═══════════════════════════════════════════════════════
   industries.css — Skyline Drone Solutions
   Page-specific styles for industries.html
   ═══════════════════════════════════════════════════════ */

:root {
  --navy-card: #0d1e35;
}

/* ───────── SECTION OVERRIDES ───────── */
.section-label { color: var(--blue-light); }
.section-title { color: #fff; }
.section-sub { color: rgba(255,255,255,0.42); margin-bottom: 3.5rem; }

/* ───────── INDUSTRIES MOSAIC GRID ───────── */
.industries-section {
  background: var(--navy-dark);
  padding: 6rem 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
}

.industry-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.industry-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: unset;
}

.industry-card-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.industry-card:hover .industry-card-img { transform: scale(1.06); }

.industry-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    0deg,
    rgba(7,15,30,0.95) 0%,
    rgba(7,15,30,0.5) 45%,
    rgba(7,15,30,0.15) 100%
  );
  transition: background 0.4s;
}
.industry-card:hover .industry-card-overlay {
  background: linear-gradient(
    0deg,
    rgba(7,15,30,0.97) 0%,
    rgba(7,15,30,0.65) 45%,
    rgba(7,15,30,0.25) 100%
  );
}

.industry-card-body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem;
  z-index: 1;
}
.industry-card:first-child .industry-card-body { padding: 3rem; }

.industry-card-icon {
  width: 40px; height: 40px;
  background: rgba(47,107,255,0.15);
  border: 1px solid rgba(47,107,255,0.25);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: var(--blue-light);
  transition: background 0.3s, border-color 0.3s;
}
.industry-card:first-child .industry-card-icon { width: 52px; height: 52px; border-radius: 13px; }
.industry-card:hover .industry-card-icon { background: rgba(47,107,255,0.25); border-color: rgba(47,107,255,0.5); }

.industry-card-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blue-light); margin-bottom: 0.4rem;
}

.industry-card-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem; font-weight: 800; color: #fff;
  letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 0.6rem;
}
.industry-card:first-child .industry-card-name {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
}

.industry-card-desc {
  font-size: 0.82rem; line-height: 1.6; color: rgba(255,255,255,0.55);
  margin-bottom: 0; max-width: 320px;
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22,1,0.36,1), opacity 0.35s;
  opacity: 0;
}
.industry-card:first-child .industry-card-desc {
  max-height: none; opacity: 1; margin-bottom: 1.5rem;
}
.industry-card:hover .industry-card-desc { max-height: 100px; opacity: 1; }

.industry-card-uses {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.85rem;
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22,1,0.36,1) 0.05s, opacity 0.35s 0.05s;
  opacity: 0;
}
.industry-card:first-child .industry-card-uses { max-height: none; opacity: 1; }
.industry-card:hover .industry-card-uses { max-height: 60px; opacity: 1; }

.industry-use-chip {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem; border-radius: 100px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7);
}

.industry-card-arrow {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.4s cubic-bezier(0.22,1,0.36,1);
  z-index: 1;
}
.industry-card:hover .industry-card-arrow {
  border-color: var(--blue); color: #fff; background: var(--blue); transform: rotate(45deg);
}

/* ───────── SPOTLIGHT SECTION ───────── */
.spotlight-section {
  background: #fff;
  padding: 6rem 0;
}

.spotlight-header {
  text-align: center; margin-bottom: 5rem;
}
.spotlight-header .section-label { color: var(--blue); }
.spotlight-header .section-title { color: var(--text-dark); margin: 0 auto 1rem; text-align: center; }
.spotlight-header .section-sub { color: var(--gray-600); margin: 0 auto; text-align: center; }

.spotlight-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  padding: 4rem 0;
  border-top: 1px solid var(--gray-200);
}
.spotlight-row:last-child { border-bottom: 1px solid var(--gray-200); }
.spotlight-row.reverse { direction: rtl; }
.spotlight-row.reverse > * { direction: ltr; }

.spotlight-img {
  position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3;
  background: var(--navy-mid);
}
.spotlight-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.spotlight-img:hover img { transform: scale(1.04); }

.spotlight-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,31,58,0.25) 0%, transparent 60%);
}

.spotlight-img-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: rgba(7,15,30,0.85); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
  padding: 0.75rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.spotlight-img-badge-icon { color: var(--blue-light); }
.spotlight-img-badge-text { font-size: 0.78rem; font-weight: 700; color: #fff; }
.spotlight-img-badge-sub { font-size: 0.68rem; color: rgba(255,255,255,0.45); }

.spotlight-content-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem; letter-spacing: 0.12em;
  color: var(--blue); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 8px;
}
.spotlight-content-num::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--blue); }

.spotlight-content h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 900;
  color: var(--text-dark); line-height: 1.1; letter-spacing: -0.035em; margin-bottom: 1rem;
}
.spotlight-content p {
  font-size: 0.975rem; line-height: 1.75; color: var(--gray-600); margin-bottom: 1.75rem;
}

.spotlight-uses-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-dark); opacity: 0.5; margin-bottom: 0.85rem;
}
.spotlight-uses {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1.5rem; margin-bottom: 2rem;
}
.spotlight-uses li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.875rem; color: var(--text-dark); font-weight: 500;
}
.spotlight-uses li::before {
  content: ''; display: block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
}

/* ───────── STATS SECTION ───────── */
.stats-section { background: var(--navy-dark); padding: 0; overflow: hidden; }
.stats-section-inner { border-top: 1px solid rgba(255,255,255,0.07); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-col {
  padding: 4rem 3.5rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative; overflow: hidden;
}
.stat-col:last-child { border-right: none; }

/* ───────── INDUSTRIES LIST DARK ───────── */
.industries-list-section {
  background: var(--navy-dark);
  padding: 6rem 0;
}

.industries-list-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding-bottom: 2rem;
}
.industries-list-header .section-title { color: #fff; margin-bottom: 0; }

.industry-row {
  display: grid; grid-template-columns: 56px 1fr 280px 52px;
  align-items: center; gap: 2rem; padding: 1.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden;
}
.industry-row::after {
  content: ''; position: absolute; bottom: -1px; left: 0;
  height: 1px; width: 0; background: var(--blue);
  transition: width 0.4s cubic-bezier(0.22,1,0.36,1);
}
.industry-row:hover::after { width: 100%; }

.ind-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem;
  color: rgba(47,107,255,0.35); letter-spacing: 0.05em; transition: color 0.2s;
}
.industry-row:hover .ind-num { color: var(--blue); }

.ind-name {
  font-size: clamp(1.15rem, 1.8vw, 1.6rem); font-weight: 800;
  color: rgba(255,255,255,0.88); letter-spacing: -0.03em; transition: color 0.2s;
}
.industry-row:hover .ind-name { color: #fff; }

.ind-desc {
  font-size: 0.85rem; color: rgba(255,255,255,0.38); font-weight: 400; line-height: 1.5;
}

.ind-arrow {
  width: 42px; height: 42px; border: 1.5px solid rgba(255,255,255,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); flex-shrink: 0; margin-left: auto;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.industry-row:hover .ind-arrow {
  border-color: var(--blue); color: #fff; background: var(--blue); transform: rotate(45deg);
}

/* ───────── MEDIA QUERIES ───────── */
@media (max-width: 1024px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-card:first-child { grid-column: span 2; }
  .spotlight-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .spotlight-row.reverse { direction: ltr; }
  .spotlight-img { aspect-ratio: 16/9; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 3rem 2rem; }
  .stat-col:last-child { border-bottom: none; }
  .industry-row { grid-template-columns: 48px 1fr 48px; }
  .ind-desc { display: none; }
}

@media (max-width: 640px) {
  .page-hero { padding: 7rem 0 3.5rem; }
  .page-hero-meta { flex-wrap: wrap; gap: 1.5rem; }
  .industries-grid { grid-template-columns: 1fr; }
  .industry-card:first-child { grid-column: span 1; }
  .industry-card { aspect-ratio: 4/3; }
  .spotlight-uses { grid-template-columns: 1fr; }
  .industries-list-header { flex-direction: column; align-items: flex-start; }
  .industry-row { grid-template-columns: 40px 1fr 40px; gap: 1rem; }
  .cta-stat-column { flex-wrap: wrap; gap: 1.5rem; }
}
