/* Hero Slider Gallery Styles */

/* Hero Slider Container */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Hero Slides */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Hero Navigation */
.hero-navigation {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.hero-nav-dots {
  display: flex;
  gap: 10px;
}

.hero-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-nav-dot.active {
  background-color: var(--kp-primary-500);
  border-color: white;
  transform: scale(1.2);
}

.hero-nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  padding: 0;
}

.hero-nav-arrow:hover {
  background-color: var(--kp-primary-500);
  transform: translateY(-2px);
}

/* Kwik Pass Hero Showcase Styles */
.kwikpass-hero-showcase {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.kwikpass-professional {
  position: relative;
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* Professional Tag Design */
.kwikpass-tag-pro {
  position: absolute;
  top: 40px;
  left: 30%;
  width: 180px;
  height: 100px;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  z-index: 5;
  transform: rotate(-15deg) translateZ(20px);
  animation: float-tag 4s ease-in-out infinite;
}

@keyframes float-tag {
  0%, 100% { transform: rotate(-15deg) translateZ(20px) translateY(0); }
  50% { transform: rotate(-15deg) translateZ(20px) translateY(-10px); }
}

.tag-chip-pro {
  width: 35px;
  height: 35px;
  background: linear-gradient(145deg, #f59e0b, #d97706);
  border-radius: 6px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(217, 119, 6, 0.3);
}

.tag-chip-pro::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 1px;
}

.tag-chip-pro::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 8px;
  width: 20px;
  height: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.tag-logo-pro {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--kp-primary-700);
}

.logo-icon {
  width: 18px;
  height: 18px;
  background: var(--kp-primary-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon i {
  font-size: 10px;
  color: white;
}

/* Phone Design */
.kwikpass-phone {
  position: absolute;
  top: 20px;
  right: 30%;
  width: 180px;
  height: 360px;
  background: #1e293b;
  border-radius: 30px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  z-index: 4;
  transform: rotate(5deg) translateZ(10px);
  animation: float-phone 4s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes float-phone {
  0%, 100% { transform: rotate(5deg) translateZ(10px) translateY(0); }
  50% { transform: rotate(5deg) translateZ(10px) translateY(-8px); }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f8fafc;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-header {
  padding: 12px;
  background: var(--kp-primary-500);
  color: white;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
  opacity: 0.8;
}

.phone-app-title {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.phone-content {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.kwikpass-notification {
  background: white;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  animation: notification-pulse 2s ease-in-out infinite;
}

@keyframes notification-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.notification-icon {
  width: 40px;
  height: 40px;
  background: rgba(9, 128, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kp-primary-500);
  font-size: 20px;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.notification-details {
  font-size: 12px;
  color: #64748b;
}

.kwikpass-approve-btn {
  background: var(--kp-primary-500);
  color: white;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 5px 15px rgba(9, 128, 255, 0.2);
  animation: button-pulse 2s ease-in-out infinite;
}

@keyframes button-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 5px 15px rgba(9, 128, 255, 0.2); }
  50% { transform: scale(1.03); box-shadow: 0 8px 20px rgba(9, 128, 255, 0.3); }
}

.kwikpass-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.kwikpass-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.kwikpass-feature i {
  font-size: 2rem;
  color: var(--kp-primary-500);
}

.kwikpass-feature span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--kp-text);
}

/* Security Hero Showcase Styles */
.security-hero-showcase {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.security-shield {
  position: relative;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--kp-primary-500), var(--kp-primary-700));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(9, 128, 255, 0.3);
  z-index: 2;
}

.security-shield i {
  font-size: 4rem;
  color: white;
}

.security-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(9, 128, 255, 0.5);
  opacity: 0;
  transform: scale(1);
  animation: pulse 2s ease-out infinite;
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 450px;
}

.security-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.security-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.security-feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(9, 128, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--kp-primary-500);
  flex-shrink: 0;
}

.security-feature-text {
  flex: 1;
}

.security-feature-text h5 {
  margin: 0 0 5px 0;
  font-size: 1rem;
  font-weight: 600;
}

.security-feature-text p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--kp-muted);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes car-move {
  0% { transform: translateX(-50px); }
  40% { transform: translateX(100px); }
  60% { transform: translateX(100px); }
  100% { transform: translateX(300px); }
}

@keyframes gate-open {
  0%, 30% { transform: rotate(0); }
  40%, 80% { transform: rotate(-80deg); }
  90%, 100% { transform: rotate(0); }
}

@keyframes signal-pulse {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0); }
  50% { opacity: 0.5; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2); }
}

@keyframes pulse {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero-navigation {
    bottom: 20px;
  }
  
  .kwikpass-professional {
    height: 250px;
  }
  
  .kwikpass-tag-pro {
    width: 150px;
    height: 80px;
    left: 25%;
  }
  
  .tag-chip-pro {
    width: 25px;
    height: 25px;
  }
  
  .kwikpass-phone {
    width: 150px;
    height: 300px;
    right: 25%;
  }
  
  .phone-header {
    padding: 8px;
  }
  
  .phone-app-title {
    font-size: 14px;
  }
  
  .notification-icon {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  
  .notification-title {
    font-size: 12px;
  }
  
  .notification-details {
    font-size: 10px;
  }
  
  .kwikpass-approve-btn {
    padding: 10px;
    font-size: 12px;
  }
  
  .security-shield {
    width: 120px;
    height: 120px;
  }
  
  .security-shield i {
    font-size: 3rem;
  }
}

@media (max-width: 767.98px) {
  .hero-slide {
    position: relative;
    height: auto;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  
  .hero-slide.active {
    display: block;
  }
  
  .kwikpass-hero-showcase,
  .security-hero-showcase {
    height: 350px;
    margin-top: 3rem;
  }
  
  .kwikpass-features,
  .security-features {
    max-width: 100%;
  }
  
  .hero-navigation {
    bottom: 10px;
  }
}
