/**
 * Contact Page Specific Styles
 * Styles for contact form, hero section, and page-specific elements
 */

/* Contact Hero Section */
.contact-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #0a0a0a;
}

.contact-hero .hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.contact-hero .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
}

.contact-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 128, 0.3) 0%,
    rgba(0, 212, 255, 0.3) 100%
  );
  z-index: 2;
}

.contact-hero .hero-content {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
}

.contact-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

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

/* Contact Form Section */
.contact-form-section {
  background: var(--bg-secondary);
}

[data-theme="dark"] .contact-form-section {
  background: var(--dark-bg);
}

.contact-form-container {
  background: var(--light-bg);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .contact-form-container {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  background: var(--light-bg);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
}

.contact-info {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: var(--light-bg);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .contact-item {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
  background: rgba(255, 0, 128, 0.1);
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

[data-theme="dark"] .contact-item h4 {
  color: var(--text-light);
}

.contact-item p,
.contact-item a {
  margin: 0;
  color: var(--text-muted);
  text-decoration: none;
}

[data-theme="dark"] .contact-item p,
[data-theme="dark"] .contact-item a {
  color: var(--text-muted-dark);
}

.contact-item a:hover {
  color: var(--primary-color);
}

/* Contact Form Styles */
.contact-form {
  margin-top: 2rem;
  button {
    background: linear-gradient(
      135deg,
      var(--primary-color),
      var(--secondary-color)
    );
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
  }
  button:hover {
    transform: translateY(-2px);
    color: white;
  }
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .contact-form .form-label {
  color: var(--text-light);
}

.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--light-bg);
  color: var(--text-dark);
}

[data-theme="dark"] .contact-form .form-control,
[data-theme="dark"] .contact-form .form-select {
  background: var(--dark-bg);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.1);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 0, 128, 0.25);
}

.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
  border-color: #dc3545;
}

.contact-form .invalid-feedback {
  display: block;
  font-size: 0.875rem;
  color: #dc3545;
  margin-top: 0.25rem;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* reCAPTCHA Styling */
.g-recaptcha {
  margin: 1rem 0;
}

#recaptcha-error {
  display: none;
  font-size: 0.875rem;
  color: #dc3545;
  margin-top: 0.25rem;
}

/* Added gradient button styling for submit button */
.contact-form .btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
  color: white;
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 128, 0.3);
  color: white;
}

.contact-form .btn-primary:disabled {
  transform: none;
  box-shadow: none;
  opacity: 0.6;
}

/* Form Alerts */
.form-success .alert,
.form-error .alert {
  border-radius: 12px;
  border: none;
  padding: 1rem 1.5rem;
  font-weight: 500;
}

.form-success .alert {
  background: rgba(25, 135, 84, 0.1);
  color: #0f5132;
  border: 1px solid rgba(25, 135, 84, 0.2);
}

[data-theme="dark"] .form-success .alert {
  background: rgba(25, 135, 84, 0.2);
  color: #75b798;
}

.form-error .alert {
  background: rgba(220, 53, 69, 0.1);
  color: #842029;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

[data-theme="dark"] .form-error .alert {
  background: rgba(220, 53, 69, 0.2);
  color: #ea868f;
}

/* FAQ Section */
.faq-section {
  background: var(--light-bg);
}

[data-theme="dark"] .faq-section {
  background: var(--dark-bg);
}

.faq-section .accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .faq-section .accordion-item {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.faq-section .accordion-button {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 12px;
}

[data-theme="dark"] .faq-section .accordion-button {
  background: var(--dark-bg);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-section .accordion-button:not(.collapsed) {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  box-shadow: none;
  border-color: var(--primary-color);
}

.faq-section .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 0, 128, 0.25);
}

.faq-section .accordion-body {
  background: var(--light-bg);
  padding: 1.5rem;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  border-top: none;
}

[data-theme="dark"] .faq-section .accordion-body {
  background: var(--dark-bg);
  color: var(--text-muted-dark);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Map Section */
.map-section {
  background: var(--light-bg);
}

[data-theme="dark"] .map-section {
  background: var(--dark-bg);
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .map-container {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
}

.location-info {
  height: 100%;
}

.location-card {
  background: var(--light-bg);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .location-card {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.location-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

[data-theme="dark"] .location-card h3 {
  color: var(--text-light);
}

.location-details {
  margin-bottom: 2rem;
}

.location-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

[data-theme="dark"] .location-item {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
}

.location-item:hover {
  background: rgba(255, 0, 128, 0.1);
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.location-item i {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-right: 1rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.location-item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

[data-theme="dark"] .location-item strong {
  color: var(--text-light);
}

.location-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

[data-theme="dark"] .location-item p {
  color: var(--text-muted-dark);
}

.location-cta {
  text-align: center;
}

/* Added gradient button styling for location CTA */
.location-cta .btn {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.location-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 128, 0.3);
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-hero {
    min-height: 90vh;
  }

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

  .contact-form-container {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-item i {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .location-card {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .location-item {
    flex-direction: column;
    text-align: center;
  }

  .location-item i {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .map-wrapper {
    height: 300px;
  }
}

/* Animation Classes */
.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
