/* Estilos específicos para la página de Servicios - Estilo Cinematográfico */

/* Page Header cinematográfico */
.page-header {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 77, 77, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 20%, rgba(255, 107, 107, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #ff4d4d 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

.page-header p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Estilos generales de la sección de servicios cinematográficos */
.services-section {
  padding: 6rem 0;
  background: rgba(26, 26, 26, 0.8);
  position: relative;
}

.service-category {
  padding: 5rem 0;
  border-bottom: 1px solid rgba(255, 77, 77, 0.2);
  position: relative;
}

.service-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 77, 0.5), transparent);
}

.service-category:last-child {
  border-bottom: none;
}

.service-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-content.reverse {
  flex-direction: row-reverse;
}

.service-text {
  flex: 1;
}

.service-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 77, 77, 0.2);
}

.service-image:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(255, 77, 77, 0.3);
  border-color: #ff4d4d;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.9) contrast(1.1);
}

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

.service-tag {
  display: inline-block;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff6b6b 100%);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3); }
  50% { box-shadow: 0 5px 25px rgba(255, 77, 77, 0.6); }
}

.service-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 77, 77, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-text p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin: 2.5rem 0;
  padding: 0;
  list-style: none;
}

.service-features li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem 1.2rem 1rem 2.2rem;
  border-radius: 8px;
  border-left: 3px solid #ff4d4d;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0.8rem;
  color: #ff4d4d;
  font-weight: bold;
  font-size: 1.1rem;
}

/* CTA Section cinematográfica */
.cta-section {
  text-align: center;
  padding: 8rem 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 77, 77, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #fff 0%, #ff4d4d 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 2;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff6b6b 100%);
  color: white !important;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background: transparent;
  color: #ff4d4d !important;
  border-color: #ff4d4d;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 77, 77, 0.4);
}

/* FAQ Section cinematográfica */
.faq-section {
  padding: 6rem 0;
  background: rgba(26, 26, 26, 0.8);
  position: relative;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 77, 0.5), transparent);
}

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

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 77, 77, 0.2);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 77, 77, 0.5);
  box-shadow: 0 5px 15px rgba(255, 77, 77, 0.1);
}

.faq-question {
  width: 100%;
  padding: 2rem;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #ff4d4d;
}

.faq-question::after {
  content: '+';
  font-size: 1.8rem;
  color: #ff4d4d;
  transition: all 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 2rem 2rem;
}

/* Responsive cinematográfico */
@media (max-width: 1024px) {
  .service-content {
    gap: 3rem;
  }

  .service-text h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 6rem 0 3rem;
  }

  .page-header h1 {
    font-size: 2.8rem;
  }

  .service-content {
    flex-direction: column;
  }

  .service-content.reverse {
    flex-direction: column;
  }

  .service-text, .service-image {
    width: 100%;
  }

  .service-features {
    grid-template-columns: 1fr;
  }

  .cta-section h2 {
    font-size: 2.5rem;
  }

  .cta-section {
    padding: 6rem 2rem;
  }
}

@media (max-width: 480px) {
  .service-category {
    padding: 3rem 0;
  }

  .service-text h2 {
    font-size: 2rem;
  }

  .cta-section {
    padding: 4rem 1.5rem;
  }

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

  .cta-section p {
    font-size: 1.1rem;
  }

  .faq-question {
    padding: 1.5rem;
    font-size: 1rem;
  }
}

/* Mobile Menu Responsivo */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(0, 0, 0, 0.9) 100%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    border-left: 1px solid rgba(255, 77, 77, 0.2);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 0.8rem 0;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff4d4d 0%, #ff6b6b 100%);
    transition: width 0.3s ease;
  }

  .nav-links a:hover {
    color: white;
  }

  .nav-links a:hover::after {
    width: 100%;
  }

  .nav-links a.active {
    color: #ff4d4d;
  }

  .nav-links a.active::after {
    width: 100%;
  }

  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
  }

  .mobile-menu-btn:hover {
    color: #ff4d4d;
    transform: rotate(90deg);
  }

  .mobile-menu-btn.active {
    position: fixed;
    right: 5%;
  }

  .page-header h1 {
    font-size: 2.8rem;
  }

  .service-content {
    gap: 3rem;
  }

  .service-text h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 6rem 0 3rem;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .page-header p {
    font-size: 1.1rem;
  }

  .service-content {
    flex-direction: column;
  }

  .service-content.reverse {
    flex-direction: column;
  }

  .service-text, .service-image {
    width: 100%;
  }

  .service-features {
    grid-template-columns: 1fr;
  }

  .cta-section h2 {
    font-size: 2.5rem;
  }

  .cta-section {
    padding: 6rem 2rem;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 5rem 0 2.5rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .service-category {
    padding: 3rem 0;
  }

  .service-text h2 {
    font-size: 1.8rem;
  }

  .cta-section {
    padding: 4rem 1.5rem;
  }

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

  .cta-section p {
    font-size: 1.1rem;
  }
}
