/* Additional effects and animations for BigoSat website */

/* Card shine effect - disabled */
.card-shine {
  display: none;
}

/* Ripple effect for buttons */
.download-btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  transform: scale(0);
  opacity: 1;
  pointer-events: none;
  animation: ripple-effect 0.6s linear;
}

@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Toast notification */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--primary-gradient);
  color: white;
  padding: 15px 25px;
  border-radius: var(--button-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-notification i {
  font-size: 1.2rem;
}

/* Language transition effects */
.language-transition {
  animation: fadeBlur 0.5s ease;
}

@keyframes fadeBlur {
  0% {
    opacity: 0.5;
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

/* Subtle shadow effect for product cards */
.product-card {
  position: relative;
  z-index: 1;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}



/* Enhanced product specs icons */
.spec-item i {
  position: relative;
}

/* Initial opacity for scroll animation */
.spec-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Creative decorative elements */
.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 55, 67, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
}

.decoration-circle.top-right {
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
}

.decoration-circle.bottom-left {
  bottom: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
}

/* Service list styles */
.service-list li {
  position: relative;
  overflow: hidden;
}

/* RTL version of enhanced styles */
html[dir="rtl"] .service-list {
  padding-right: 0;
}

html[dir="rtl"] .toast-notification {
  direction: rtl;
}

/* Animated satellite dish */
.animated-satellite {
  margin: 30px auto 20px;
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.animated-satellite i {
  font-size: 2.5rem;
  color: transparent;
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  animation: rotateDish 8s linear infinite;
  position: relative;
  z-index: 5;
}

.signal-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* First wave */
.signal-waves::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  opacity: 0;
  animation: waves 2s ease-out infinite;
}

/* Second wave */
.signal-waves::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
  opacity: 0;
  animation: waves 2s ease-out infinite 0.5s;
}

@keyframes rotateDish {
  0% { transform: rotate(0); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0); }
}

@keyframes waves {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Product header with logo */
.product-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.card-logo {
  height: 60px;
  margin-right: 15px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

html[dir="rtl"] .card-logo {
  margin-right: 0;
  margin-left: 15px;
}

/* Product Gallery */
.product-gallery {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-container {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-radius: var(--card-radius);
  background-color: #f9f9f9;
}

.gallery-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  object-fit: contain;
}

.gallery-image.active {
  opacity: 1;
  position: relative;
}

.gallery-nav {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 2;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  border: 2px solid rgba(143, 55, 67, 0.3);
}

.gallery-dot.active {
  background: var(--primary-gradient);
  transform: scale(1.2);
}

/* Enhanced responsive styles for mobile */
@media (max-width: 768px) {
  .toast-notification {
    width: 90%;
    font-size: 0.9rem;
    padding: 12px 20px;
  }
  
  .animated-satellite {
    transform: scale(0.8);
  }
  
  .gallery-nav {
    bottom: 10px;
  }
  
  .gallery-dot {
    width: 10px;
    height: 10px;
  }
  
  .product-card {
    margin-bottom: 40px;
    flex-direction: column;
  }
  
  .product-image {
    width: 50%;
    min-width: 300px;
    background: white;
    border-radius: var(--card-radius) 0 0 var(--card-radius);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  
  .product-details {
    width: 100%;
    padding: 15px;
    border-radius: 0 0 var(--card-radius) var(--card-radius);
  }
  
  .product-gallery {
    height: 220px;
  }
  
  .feature-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 15px 10px;
  }
  
  .feature-item {
    width: calc(50% - 10px);
    margin-bottom: 10px;
  }
  
  .product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  
  .service-section {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .product-specs {
    grid-template-columns: 1fr;
  }
  
  .feature-item {
    width: 100%;
  }
  
  .feature-row {
    padding: 10px 5px;
  }
  
  .product-gallery {
    height: 180px;
  }
  
  .card-logo {
    max-width: 80px;
  }
  
  .product-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  
  .service-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .service-list li:last-child {
    border-bottom: none;
  }
}
