/**
 * Seaplast India Theme Hero Section Stylesheet
 * Custom CSS matching the reference oceanic cold-chain hero design.
 */

.sp-hero-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--sp-header-height, 80px));
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #030D1B;
}

.sp-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #030D1B 0%, rgba(3, 13, 27, 0.82) 45%, rgba(6, 24, 48, 0.65) 100%);
  z-index: 1;
}

.sp-hero-container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}

.sp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

/* -------------------------------------------------------------
 * LEFT HERO TEXT CONTENT
 * ------------------------------------------------------------- */
.sp-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Trust Badge */
.sp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.35);
  border-radius: 9999px;
  padding: 6px 16px;
  margin-bottom: 24px;
  color: #FFC72C;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.sp-badge-star {
  flex-shrink: 0;
}

/* Title */
.sp-hero-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
  margin: 0 0 20px 0;
  letter-spacing: -1px;
}

.sp-text-teal {
  color: #00D2FF;
  background: linear-gradient(135deg, #00E5FF 0%, #00A8C6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtitle */
.sp-hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #CBD5E1;
  margin: 0 0 36px 0;
  max-width: 580px;
}

/* CTA Group */
.sp-hero-ctas {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.sp-btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #FF6B00 0%, #FF8800 100%);
  color: #FFFFFF !important;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(255, 107, 0, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.6);
  background: linear-gradient(135deg, #FF7700 0%, #FF9500 100%);
}

.sp-btn-hero-primary .sp-btn-icon {
  transition: transform 0.25s ease;
}

.sp-btn-hero-primary:hover .sp-btn-icon {
  transform: translateX(4px);
}

.sp-btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 168, 198, 0.1);
  border: 1.5px solid rgba(0, 168, 198, 0.6);
  color: #FFFFFF !important;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 9999px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.sp-btn-hero-secondary:hover {
  background: rgba(0, 168, 198, 0.25);
  border-color: #00D2FF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 198, 0.3);
}

/* -------------------------------------------------------------
 * RIGHT HERO 3D CONTAINER VISUAL
 * ------------------------------------------------------------- */
.sp-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sp-container-3d-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: spFloat 4s ease-in-out infinite;
}

.sp-container-img {
  max-width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 40px rgba(0, 210, 255, 0.45));
  border-radius: 20px;
  z-index: 2;
  position: relative;
}

/* Energy Glow Rings Underneath */
.sp-energy-rings {
  position: absolute;
  bottom: -30px;
  width: 320px;
  height: 100px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(0, 210, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.4), inset 0 0 15px rgba(0, 210, 255, 0.3);
  transform: rotateX(75deg);
  animation: spPulseRing 3s ease-in-out infinite alternate;
}

.sp-ring-1 {
  width: 220px;
  height: 220px;
}

.sp-ring-2 {
  width: 280px;
  height: 280px;
  animation-delay: 0.5s;
  border-color: rgba(0, 168, 198, 0.4);
}

.sp-ring-3 {
  width: 340px;
  height: 340px;
  animation-delay: 1s;
  border-color: rgba(0, 168, 198, 0.2);
}

/* -------------------------------------------------------------
 * FLOATING QUICK CONTACT DOCK (REMOVED)
 * ------------------------------------------------------------- */
.sp-contact-dock {
  display: none !important;
}

/* -------------------------------------------------------------
 * ANIMATIONS & KEYFRAMES
 * ------------------------------------------------------------- */
@keyframes spFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes spPulseRing {
  0% {
    opacity: 0.4;
    transform: rotateX(75deg) scale(0.95);
  }
  100% {
    opacity: 0.9;
    transform: rotateX(75deg) scale(1.05);
  }
}

/* -------------------------------------------------------------
 * RESPONSIVE MEDIA QUERIES
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .sp-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .sp-hero-content {
    align-items: center;
  }

  .sp-hero-title {
    font-size: 40px;
  }

  .sp-hero-subtitle {
    font-size: 16px;
  }

  .sp-hero-ctas {
    justify-content: center;
  }

  .sp-container-img {
    max-height: 380px;
  }
}

@media (max-width: 640px) {
  .sp-hero-container {
    padding: 40px 16px;
  }

  .sp-hero-title {
    font-size: 32px;
  }

  .sp-hero-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .sp-btn-hero-primary,
  .sp-btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 15px;
  }

  .sp-container-img {
    max-height: 280px;
  }

  .sp-contact-dock {
    right: 8px;
    padding: 8px 6px;
    border-radius: 12px;
  }

  .sp-dock-item span {
    display: none;
  }
}
