/* =========================================
   NARAYAN CABLES - Home Page Styles
   ========================================= */

/* ============ HERO SECTION ============ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  padding-top: 130px;
  padding-bottom: 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  z-index: 0;
  animation: kenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenBurns {
  0%   { transform: scale(1.08) translateX(0px);    }
  50%  { transform: scale(1.04) translateX(-8px);   }
  100% { transform: scale(1.00) translateX(4px);    }
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,13,13,0.92) 0%,
    rgba(13,13,13,0.75) 50%,
    rgba(13,13,13,0.3) 100%
  );
  z-index: 1;
}

/* Red glow bottom */
.hero-glow {
  position: absolute;
  bottom: -80px;
  left: -100px;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(227,30,36,0.15) 0%, transparent 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(227,30,36,0.12);
  border: 1px solid rgba(227,30,36,0.3);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-red 2s infinite;
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 1;
}

.hero-title .line-1 { color: var(--white); }
.hero-title .line-2 { color: var(--red); }

.hero-title .outline-text {
  -webkit-text-stroke: 2px var(--red);
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--white-70);
  font-weight: 400;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 1;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 1;
}


/* ---- Hero Stats Bar ---- */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(10px);
}

.hero-stats-inner {
  display: flex;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.stat-item {
  flex: 1;
  padding: 24px 32px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.stat-item:last-child { border-right: none; }

.stat-item:hover {
  background: rgba(227,30,36,0.05);
}

.stat-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 12px;
  color: var(--white-50);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---- Scroll Indicator ---- */
.scroll-indicator {
  position: absolute;
  right: 40px;
  bottom: 100px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-indicator .scroll-text {
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white-50);
}

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

@keyframes scrollPulse {
  0% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
}

/* ============ WHY CHOOSE SECTION ============ */
#why-choose {
  background: var(--black-2);
  position: relative;
  overflow: hidden;
}

#why-choose::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(227,30,36,0.06) 0%, transparent 70%);
  transform: translateY(-50%);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-content .section-desc { margin-bottom: 40px; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.04);
  background: var(--black-3);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: rgba(227,30,36,0.25);
  background: rgba(227,30,36,0.04);
}

.feature-item .feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(227,30,36,0.2), rgba(227,30,36,0.05));
  border: 1px solid rgba(227,30,36,0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  background: var(--red);
  border-color: var(--red);
}

.feature-item h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.feature-item p {
  font-size: 14px;
  color: var(--white-50);
  line-height: 1.6;
}

/* Why Image Side */
.why-visual {
  position: relative;
}

.why-main-img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  height: 520px;
  border: 1px solid rgba(255,255,255,0.06);
}

.why-badge-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--red);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-red);
}

.why-badge-float .big-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: block;
}

.why-badge-float .big-label {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  letter-spacing: 1px;
}

/* ============ FLEXIBILITY SECTION ============ */
#flexibility {
  background: var(--black);
  position: relative;
}

.flex-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.flex-visual {
  position: relative;
  order: -1;
}

.flex-main-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
}

.flex-tag-overlay {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flex-tag {
  padding: 8px 16px;
  background: rgba(13,13,13,0.9);
  border: 1px solid rgba(227,30,36,0.4);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
}

.flex-content .section-desc { margin-bottom: 32px; }

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 32px;
}

/* Suitable For Tags */
.suitable-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: 12px;
  font-weight: 600;
}

/* ============ SIMPLE CONNECTION SECTION ============ */
#simple-connection {
  background: var(--black-2);
  position: relative;
  overflow: hidden;
}

#simple-connection::before {
  content: 'NARAYAN CABLES';
  position: absolute;
  font-family: 'Rajdhani', sans-serif;
  font-size: 200px;
  font-weight: 900;
  color: rgba(255,255,255,0.015);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  letter-spacing: 20px;
}

.simple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.simple-visual {
  position: relative;
}

.simple-main-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
}

.simple-stat-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(13,13,13,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(227,30,36,0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  gap: 24px;
}

.mini-stat {
  text-align: center;
  flex: 1;
}

.mini-stat .m-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
  display: block;
  line-height: 1;
}

.mini-stat .m-label {
  font-size: 11px;
  color: var(--white-50);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mini-stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.08);
}

/* ============ PANEL SECTION ============ */
#panel-section {
  background: var(--black);
  position: relative;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.panel-visual {
  position: relative;
  order: -1;
}

.panel-main-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
}

.panel-corner-tag {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  background: var(--red);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: var(--shadow-red);
}

/* ============ SAFETY SECTION ============ */
#safety-section {
  background: var(--black-2);
  position: relative;
  overflow: hidden;
}

.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.safety-visual {
  position: relative;
}

.safety-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.safety-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 36px;
}

.safety-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--black-3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.safety-card:hover {
  border-color: rgba(227,30,36,0.3);
  background: rgba(227,30,36,0.04);
}

.safety-card .s-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.safety-card h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.safety-card p {
  font-size: 14px;
  color: var(--white-50);
  line-height: 1.6;
}

/* ============ APPLICATIONS SECTION ============ */
#applications {
  position: relative;
  overflow: hidden;
}

.applications-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/applications_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  z-index: 0;
}

.applications-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.85) 100%);
  z-index: 1;
}

.applications-inner {
  position: relative;
  z-index: 2;
}

.applications-header {
  text-align: center;
  margin-bottom: 64px;
}

.applications-header .section-desc {
  margin: 0 auto;
}

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

.app-card {
  background: rgba(20,20,20,0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  cursor: default;
}

.app-card:hover {
  background: rgba(227,30,36,0.08);
  border-color: rgba(227,30,36,0.3);
  transform: translateY(-6px);
}

.app-card .app-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
  color: var(--red);
  transition: var(--transition);
}

.app-card:hover .app-icon {
  color: var(--white);
  transform: scale(1.1);
}

.app-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.app-card p {
  font-size: 14px;
  color: var(--white-50);
  line-height: 1.6;
}

.app-card .app-line {
  width: 30px;
  height: 2px;
  background: var(--red);
  margin: 16px 0 0;
  transition: width 0.3s ease;
}

.app-card:hover .app-line { width: 50px; }

/* ============ PROMISE SECTION ============ */
#promise-section {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-2) 100%);
  position: relative;
  overflow: hidden;
}

.promise-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.promise-inner .section-label { justify-content: center; }
.promise-inner .section-label::before { display: none; }

.promise-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 24px;
}

.promise-title .outline {
  -webkit-text-stroke: 2px rgba(255,255,255,0.2);
  color: transparent;
}

.promise-text {
  font-size: 17px;
  color: var(--white-70);
  max-width: 650px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

/* ============ PRODUCT CATEGORIES ============ */
#products {
  background: var(--black-2);
  position: relative;
}

.products-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.product-card {
  background: var(--black-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.product-card:hover::before { transform: scaleX(1); }

.product-card:hover {
  border-color: rgba(227,30,36,0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.product-card .p-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(227,30,36,0.15), rgba(227,30,36,0.05));
  border: 1px solid rgba(227,30,36,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: var(--transition);
}

.product-card:hover .p-icon {
  background: var(--red);
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}

.product-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.product-card p {
  font-size: 13px;
  color: var(--white-50);
  line-height: 1.6;
}

/* ============ CTA SECTION ============ */
#cta-section {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

#cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(227,30,36,0.08) 0%, transparent 70%);
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(36px, 6vw, 70px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 20px;
}

.cta-title span { color: var(--red); }

.cta-desc {
  font-size: 17px;
  color: var(--white-70);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Decorative elements */
.cta-line {
  width: 80px;
  height: 2px;
  background: var(--red);
  margin: 0 auto 28px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .why-grid, .flex-grid, .simple-grid,
  .panel-grid, .safety-grid { gap: 48px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #hero {
    min-height: auto;
    padding: 110px 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .hero-badge {
    font-size: 10px;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    margin-bottom: 16px;
    max-width: 100%;
    white-space: normal;
  }

  .hero-title {
    font-size: clamp(32px, 8.5vw, 46px);
    line-height: 1.05;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 20px;
  }

  .hero-stats {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    background: transparent;
    border-top: none;
    backdrop-filter: none;
    margin-top: 20px;
    width: 100%;
  }

  .hero-stats-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0;
  }

  .stat-item {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    border-right: none;
    flex: none;
  }

  .stat-number {
    font-size: 24px;
    color: var(--red);
  }

  .stat-label {
    font-size: 10px;
    margin-top: 4px;
  }

  .why-grid, .flex-grid, .simple-grid,
  .panel-grid, .safety-grid { grid-template-columns: 1fr; gap: 36px; }

  .flex-visual, .panel-visual { order: 0; }

  .why-main-img, .flex-main-img, .simple-main-img,
  .panel-main-img, .safety-main-img { height: 260px; }

  .check-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .why-badge-float { position: static; margin-top: 24px; display: inline-flex; }
  .flex-tag-overlay { position: static; flex-direction: row; margin-top: 16px; }
  .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  #hero { padding: 96px 0 24px; }
  .hero-title { font-size: 30px; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
  .simple-stat-overlay { flex-direction: column; gap: 12px; padding: 16px; }
}

