/**
 * UTA EDI FORM - Contact Page Styles
 */

/* Hero Section */
.contact-hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--azure) 100%);
  color: var(--text-light);
  padding: var(--spacing-xl) 0;
  text-align: center;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/backgrounds/dots-pattern.svg');
  opacity: 0.1;
  z-index: 1;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: var(--spacing-lg);
}

/* Logo de la page contact */
.hero-logo {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.contact-hero-logo {
  max-width: 100%;
  height: auto;
  width: 400px;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.contact-hero .hero-title {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.contact-hero .hero-title span {
  color: var(--yellow);
}

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

/* Contact Info Section */
.contact-info-section {
  padding: var(--spacing-xxl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-xl);
}

.contact-info {
  background-color: var(--light-gray);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-card {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
  background-color: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.info-icon {
  flex: 0 0 60px;
  height: 60px;
  background-color: var(--dark-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-right: var(--spacing-md);
}

.info-content h3 {
  margin-bottom: var(--spacing-xs);
  font-size: 1.2rem;
  color: var(--dark-blue);
}

.info-content p {
  margin-bottom: 0;
  color: #666;
  line-height: 1.5;
}

.info-content a {
  color: var(--azure);
  transition: color 0.3s ease;
}

.info-content a:hover {
  color: var(--dark-blue);
  text-decoration: underline;
}

.social-links {
  margin-top: var(--spacing-lg);
}

.social-links h3 {
  margin-bottom: var(--spacing-md);
  font-size: 1.2rem;
  color: var(--dark-blue);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--white);
  border-radius: 50%;
  color: var(--dark-blue);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.social-icons a:hover {
  background-color: var(--green);
  color: var(--white);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-container {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
  margin-top: var(--spacing-lg);
}

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

.form-text {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #6c757d;
  font-style: italic;
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--dark-blue);
}

.required {
  color: var(--red);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--azure);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 95, 138, 0.1);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
}

.form-checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 4px;
}

.form-checkbox label {
  font-weight: normal;
  font-size: 0.9rem;
  color: #666;
}

.form-checkbox a {
  color: var(--azure);
}

.form-checkbox a:hover {
  text-decoration: underline;
}

.contact-form .btn {
  width: 100%;
  padding: 14px 20px;
  font-weight: 600;
  margin-top: var(--spacing-md);
}

/* Form Success Message */
.form-success-message {
  background-color: #d6f5e3;
  border-left: 4px solid #11D967;
  padding: 2rem;
  border-radius: 5px;
  margin-top: 2rem;
  text-align: center;
}

.form-success-message h3 {
  color: #11D967;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.form-success-message p {
  color: #333;
  margin-bottom: 0;
}

/* Map Section */
.map-section {
  padding: 0;
  margin-bottom: -80px;
  position: relative;
  z-index: 1;
}

.map-container {
  height: 450px;
  overflow: hidden;
  border-top: 5px solid var(--dark-blue);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  border: none;
  width: 100%;
  height: 100%;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .contact-hero-logo {
    width: 350px;
  }

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

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

@media (max-width: 768px) {
  .info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info-icon {
    margin-right: 0;
    margin-bottom: var(--spacing-sm);
  }

  .social-icons {
    justify-content: center;
  }

  .contact-hero-logo {
    width: 280px;
  }

  .contact-hero .hero-title {
    font-size: 2rem;
  }

  .map-section {
    margin-bottom: -60px;
  }

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