/* Contact Page Styles - Estilo Cinematográfico */

/* Contact Hero cinematográfico */
.contact-hero {
  position: relative;
  height: 60vh;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(0, 0, 0, 0.7) 100%),
              url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1472&q=80') center/cover no-repeat;
  color: white;
  padding: 0 20px;
  overflow: hidden;
}

.contact-hero::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%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(26, 26, 26, 0.5) 100%);
  pointer-events: none;
}

.contact-hero .hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, #ff4d4d 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite;
}

.contact-hero .hero-content p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

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

.contact-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);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  border: 1px solid rgba(255, 77, 77, 0.2);
}

.contact-info {
  padding: 4rem;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
  color: white;
  position: relative;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff6b6b 100%);
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  padding-bottom: 1rem;
  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;
}

.contact-info h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff6b6b 100%);
  border-radius: 2px;
}

.contact-info p {
  margin-bottom: 2.5rem;
  line-height: 1.8;
  opacity: 0.9;
  font-size: 1.1rem;
}

.contact-method {
  display: flex;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255, 77, 77, 0.2) 0%, rgba(255, 107, 107, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
  color: #ff4d4d;
  font-size: 1.4rem;
  border: 2px solid rgba(255, 77, 77, 0.3);
  transition: all 0.3s ease;
}

.contact-method:hover .contact-icon {
  background: #ff4d4d;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);
}

.contact-details h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: white;
  font-weight: 600;
}

.contact-details p {
  margin: 0;
  opacity: 0.8;
  font-size: 1rem;
  line-height: 1.5;
}

.social-media {
  margin-top: 4rem;
}

.social-media h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: white;
}

.social-links {
  display: flex;
  gap: 1.2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 77, 77, 0.2);
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid rgba(255, 77, 77, 0.3);
  font-size: 1.2rem;
}

.social-links a:hover {
  background: linear-gradient(135deg, #ff4d4d 0%, #ff6b6b 100%);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 77, 77, 0.4);
  border-color: #ff4d4d;
}

.contact-form-container {
  padding: 4rem;
  background: rgba(0, 0, 0, 0.2);
}

.contact-form-container h2 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  color: white;
  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;
}

.contact-form-container > p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 2rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-row:last-child {
  margin-bottom: 0;
}

.form-col {
  flex: 1;
  min-width: 0;
}

label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 77, 77, 0.3);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  backdrop-filter: blur(5px);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #ff4d4d;
  box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255, 255, 255, 0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-top: 2.5rem;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 1rem;
  margin-top: 0.3rem;
  accent-color: #ff4d4d;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.privacy-link {
  color: #ff4d4d;
  text-decoration: none;
  transition: all 0.3s ease;
}

.privacy-link:hover {
  text-decoration: underline;
  color: #ff6b6b;
  text-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
}

.submit-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff6b6b 100%);
  color: white;
  border: none;
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.submit-btn::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;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #e64444 0%, #ff4d4d 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 77, 77, 0.4);
}

/* Map Section cinematográfica */
.map-section {
  width: 100%;
  height: 500px;
  background: rgba(26, 26, 26, 0.8);
  position: relative;
}

.map-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);
  z-index: 1;
}

.map-container {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.2) contrast(1.1);
}

/* Footer cinematográfico */
.footer {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(0, 0, 0, 0.9) 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 6rem 0 3rem;
  font-size: 0.95rem;
  position: relative;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-about {
  grid-column: 1 / -1;
  max-width: 400px;
}

.footer-logo {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #ff4d4d 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

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

.footer-logo:hover::after {
  transform: scaleX(1);
}

.footer-about p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
  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;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff6b6b 100%);
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
}

.footer-links a::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #ff4d4d;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #ff4d4d;
  padding-left: 20px;
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-newsletter p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form {
  display: flex;
  gap: 0.8rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(255, 77, 77, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  background: linear-gradient(135deg, #ff4d4d 0%, #ff6b6b 100%);
  color: white;
  border: none;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.newsletter-form button:hover {
  background: linear-gradient(135deg, #e64444 0%, #ff4d4d 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

.footer-bottom {
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: #ff4d4d;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: white;
  text-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
}

/* Animaciones cinematográficas */
@keyframes titleGlow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Responsive cinematográfico */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding: 3rem;
  }

  .contact-form-container {
    padding: 3rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .contact-hero .hero-content h1 {
    font-size: 3rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-col {
    margin-bottom: 2rem;
  }

  .form-col:last-child {
    margin-bottom: 0;
  }

  .map-section {
    height: 400px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .contact-hero {
    height: 50vh;
    min-height: 400px;
  }

  .contact-hero .hero-content h1 {
    font-size: 2.5rem;
  }

  .contact-hero .hero-content p {
    font-size: 1.1rem;
  }

  .contact-method {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-icon {
    margin-bottom: 1rem;
  }

  .map-section {
    height: 350px;
  }
}
