/* =============================================
   NathoAsto — Industries Page Styles
   ============================================= */

.industries-hero { text-align: center; }
.industries-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); }

/* ── Industries Grid ── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1.5rem;
}

/* ── Base Industry Card ── */
.industry-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--transition-base);
  background: var(--clr-bg-2);
}
.industry-card:hover {
  border-color: rgba(198,166,100,0.4);
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

/* Dark gradient overlay */
.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.95) 0%,
    rgba(10,10,10,0.6) 50%,
    rgba(10,10,10,0.2) 100%
  );
  transition: background 0.4s ease;
  z-index: 1;
}
.industry-card:hover .industry-overlay {
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.90) 0%,
    rgba(10,10,10,0.45) 50%,
    rgba(10,10,10,0.15) 100%
  );
}

/* Background visual layer */
.industry-bg-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}
.industry-card:hover .industry-bg-visual { opacity: 0.85; }

/* Content layer */
.industry-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  transition: var(--transition-base);
}
.industry-card:hover .industry-content {
  transform: translateY(-8px);
}

.industry-icon-large {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}
.industry-card:hover .industry-icon-large {
  transform: scale(1.1);
}

.industry-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.industry-card h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  margin-bottom: 0.75rem;
}
.industry-card p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.industry-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.industry-services span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.12);
  letter-spacing: 0.03em;
}

.industry-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 28px;
}
.industry-cta-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 20px;
  font-size: var(--fs-xs);
}

/* Hover arrow slide-in */
.industry-hover-arrow {
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: var(--clr-primary);
  z-index: 3;
  transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
}
.industry-card:hover .industry-hover-arrow {
  right: 1.5rem;
  opacity: 1;
}

/* ── Grid Layout ── */
.luxury-card {
  grid-column: 1 / 3;
  min-height: 480px;
}
.jewellery-card  { grid-column: 3; }
.health-card     { grid-column: 1; }
.tech-card       { grid-column: 2 / 4; min-height: 440px; }
.corporate-card  { grid-column: 1 / 3; }
.ecom-card       { grid-column: 3; }

/* ── Luxury Background ── */
.luxury-orbs { position: absolute; inset: 0; }
.lux-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}
.lux-orb-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(198,166,100,0.35) 0%, transparent 70%);
  top: -50px; right: -50px;
}
.lux-orb-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(198,166,100,0.2) 0%, transparent 70%);
  bottom: 20%; left: 10%;
}
.luxury-diamonds {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.diamond-shape {
  position: absolute;
  border: 1.5px solid rgba(198,166,100,0.3);
  transform: rotate(45deg);
}
.d1 { width: 120px; height: 120px; top: 15%; right: 20%; }
.d2 { width: 70px;  height: 70px;  top: 30%; right: 35%; opacity: 0.5; }
.d3 { width: 40px;  height: 40px;  top: 10%; right: 10%; opacity: 0.3; }

/* ── Jewellery Sparkles ── */
.jewel-sparkles { position: absolute; inset: 0; }
.sparkle {
  position: absolute;
  color: #FFD700;
  animation: pulseGlow 2s ease-in-out infinite;
}
.s1 { top: 20%; left: 30%; font-size: 1.5rem; animation-delay: 0s; }
.s2 { top: 40%; right: 20%; font-size: 1rem; animation-delay: 0.5s; }
.s3 { top: 15%; right: 35%; font-size: 2rem; animation-delay: 1s; }
.s4 { bottom: 30%; left: 20%; font-size: 1.25rem; animation-delay: 0.7s; }
.s5 { bottom: 20%; right: 30%; font-size: 0.75rem; animation-delay: 1.5s; }

/* ── Health Circles ── */
.health-circles { position: absolute; inset: 0; }
.hc-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(74,222,128,0.25);
}
.hc-1 { width: 200px; height: 200px; top: 10%; right: 10%; animation: floatSlow 8s ease-in-out infinite; }
.hc-2 { width: 130px; height: 130px; top: 30%; right: 30%; border-style: dashed; animation: floatSlow 6s ease-in-out infinite 1s; }
.hc-3 { width: 80px;  height: 80px;  top: 20%; right: 20%; background: rgba(74,222,128,0.06); animation: floatSlow 10s ease-in-out infinite 0.5s; }

/* ── Tech Grid Visual ── */
.tech-grid-visual { position: absolute; inset: 0; }
.tech-node {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(251,32,86,0.6);
  box-shadow: 0 0 12px rgba(251,32,86,0.8);
  animation: pulseGlow 2s ease-in-out infinite;
}
.tn1 { top: 20%; left: 20%; animation-delay: 0s; }
.tn2 { top: 20%; right: 20%; animation-delay: 0.5s; }
.tn3 { bottom: 20%; left: 40%; animation-delay: 1s; }
.tn4 { bottom: 30%; right: 25%; animation-delay: 1.5s; background: rgba(198,166,100,0.6); box-shadow: 0 0 12px rgba(198,166,100,0.8); }
.tech-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.6;
}

/* ── Corp Building ── */
.corp-building {
  position: absolute;
  right: 10%; top: 10%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0.5;
}
.cb-row { display: flex; gap: 4px; }
.cb-win {
  width: 16px; height: 20px;
  background: rgba(74,144,217,0.15);
  border: 1px solid rgba(74,144,217,0.25);
  border-radius: 2px;
}
.cb-win.lit {
  background: rgba(74,144,217,0.4);
  box-shadow: 0 0 6px rgba(74,144,217,0.4);
  animation: blink 2s ease-in-out infinite;
}

/* ── E-Commerce visual ── */
.ecom-visual { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ev-card {
  width: 120px; height: 80px;
  background: rgba(124,77,255,0.15);
  border: 1px solid rgba(124,77,255,0.3);
  border-radius: 12px;
  position: absolute;
  animation: floatSlow 6s ease-in-out infinite;
}

@media (max-width: 1200px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .luxury-card   { grid-column: 1 / 3; }
  .jewellery-card { grid-column: 1; }
  .health-card   { grid-column: 2; }
  .tech-card     { grid-column: 1 / 3; }
  .corporate-card { grid-column: 1; }
  .ecom-card     { grid-column: 2; }
}

@media (max-width: 768px) {
  .industries-grid { grid-template-columns: 1fr; gap: 1rem; }
  .luxury-card, .jewellery-card, .health-card,
  .tech-card, .corporate-card, .ecom-card {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .industry-card { min-height: 320px; }
  .industry-hover-arrow { display: none; }
  .industry-content { padding: 1.5rem; }
  .industry-card h2 { font-size: 1.75rem; }
  .industry-card h3 { font-size: 1.5rem; }
  .luxury-card { min-height: 360px; }
  .tech-card   { min-height: 340px; }
}

@media (max-width: 480px) {
  .industries-grid { gap: 0.75rem; }
  .industry-card { min-height: 280px; border-radius: 20px; }
  .industry-content { padding: 1.25rem; }
  .industry-card h2 { font-size: 1.5rem; }
  .industry-card h3 { font-size: 1.25rem; }
  .industry-card p  { font-size: 0.83rem; }
  .industry-icon-large { font-size: 1.75rem; margin-bottom: 0.5rem; }
  .industry-services span { font-size: 0.63rem; padding: 2px 8px; }
  .industry-cta     { padding: 10px 18px; font-size: 0.8rem; }
  .industry-cta-sm  { padding: 8px 14px; font-size: 0.72rem; }
  /* Hide heavy background decorations on very small screens for perf */
  .luxury-diamonds, .hc-circle, .tech-lines { display: none; }
}

@media (max-width: 360px) {
  .industry-card { min-height: 260px; }
  .industry-services { margin-bottom: 0.5rem; }
}
