/**
 * Rapid Teck - Animations & Effects
 * @package RapidTeck
 */

/* ===================================
   Hero Section Styles
   =================================== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #484169 0%, #342e4d 100%);
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(72, 65, 105, 0.3);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  padding: 2rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.85;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn-primary {
  background-color: #ffffff;
  color: #484169;
  border-color: #ffffff;
}

.hero-buttons .btn-primary:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

.hero-buttons .btn-outline {
  border-color: #ffffff;
  color: #ffffff;
}

.hero-buttons .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #ffffff;
  z-index: 4;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.scroll-arrow {
  font-size: 1.5rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ===================================
   Section Styles
   =================================== */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-muted);
}

/* ===================================
   Services Section
   =================================== */
.services-section {
  background-color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(72, 65, 105, 0.08);
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(72, 65, 105, 0.2);
  border-color: var(--primary-color);
}

.service-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(5deg);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link:hover {
  gap: 1rem;
  color: var(--primary-dark);
}

/* ===================================
   About Section
   =================================== */
.about-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(72, 65, 105, 0.15);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.1);
}

/* ===================================
   Projects Section
   =================================== */
.projects-section {
  background-color: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.project-image {
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.2);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(72, 65, 105, 0.95) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.1s;
}

.project-card:hover .project-overlay h3 {
  transform: translateY(0);
}

.project-overlay p {
  font-size: 1rem;
  opacity: 0.9;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.2s;
}

.project-card:hover .project-overlay p {
  transform: translateY(0);
}

/* ===================================
   Reviews Section
   =================================== */
/* .reviews-section {
  background: linear-gradient(135deg, #484169 0%, #342e4d 100%);
  color: #ffffff;
}

.reviews-section .section-header h2,
.reviews-section .section-header p {
  color: #ffffff;
} */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.review-stars {
  color: #ffc107;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.review-text {
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
}

.review-author strong {
  font-size: 1.1rem;
}

.review-author span {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* ===================================
   Video Section
   =================================== */
.video-section {
  background-color: #ffffff;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(72, 65, 105, 0.2);
  cursor: pointer;
}

.video-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.video-wrapper:hover img {
  transform: scale(1.05);
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(72, 65, 105, 0.4);
}

.video-wrapper:hover .video-play-button {
  transform: translate(-50%, -50%) scale(1.2);
  background-color: var(--primary-dark);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
  background: linear-gradient(135deg, #484169 0%, #342e4d 100%);
  color: #ffffff;
  text-align: center;
}

.cta-content h2 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
