/* style/contact.css */

/* Variables */
:root {
  --page-contact-primary-color: #007bff;
  --page-contact-secondary-color: #ffc107;
  --page-contact-dark-text: #212529;
  --page-contact-light-text: #ffffff;
  --page-contact-gray-bg: #f8f9fa;
  --page-contact-border-color: #dee2e6;
}

.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-contact-dark-text);
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: var(--page-contact-primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-contact__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--page-contact-secondary-color);
  border-radius: 2px;
}

.page-contact__hero {
  background: linear-gradient(135deg, var(--page-contact-primary-color) 0%, #0056b3 100%);
  color: var(--page-contact-light-text);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:hero:contact,support,team,background]');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-contact__hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-contact-light-text);
}

.page-contact__hero-content p {
  font-size: 1.2em;
  opacity: 0.9;
}

.page-contact__info-section {
  padding: 60px 0;
  background-color: var(--page-contact-gray-bg);
  text-align: center;
}

.page-contact__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-contact__info-item {
  background-color: var(--page-contact-light-text);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-contact__info-icon {
  font-size: 2.5em;
  color: var(--page-contact-secondary-color);
  margin-bottom: 15px;
}

.page-contact__info-item h3 {
  font-size: 1.5em;
  color: var(--page-contact-primary-color);
  margin-bottom: 10px;
}

.page-contact__info-item p {
  color: var(--page-contact-dark-text);
  margin: 0;
}

.page-contact__info-item a {
  color: var(--page-contact-primary-color);
  text-decoration: none;
}

.page-contact__info-item a:hover {
  text-decoration: underline;
}

.page-contact__info-image-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-contact__info-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__form-section {
  padding: 60px 0;
  background-color: var(--page-contact-light-text);
}

.page-contact__form-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-contact__form {
  flex: 1 1 500px;
  background-color: var(--page-contact-gray-bg);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-contact__form-group {
  margin-bottom: 20px;
}

.page-contact__form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--page-contact-primary-color);
}

.page-contact__form-group input,
.page-contact__form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--page-contact-border-color);
  border-radius: 5px;
  font-size: 1em;
  color: var(--page-contact-dark-text);
  background-color: var(--page-contact-light-text);
}

.page-contact__form-group input:focus,
.page-contact__form-group textarea:focus {
  border-color: var(--page-contact-primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.page-contact__form-group textarea {
  resize: vertical;
}

.page-contact__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-contact__button--primary {
  background-color: var(--page-contact-primary-color);
  color: var(--page-contact-light-text);
}

.page-contact__button--primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-contact__button--secondary {
  background-color: var(--page-contact-secondary-color);
  color: var(--page-contact-dark-text);
  margin-left: 15px;
}

.page-contact__button--secondary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-contact__form-message {
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
}

.page-contact__form-image-wrapper {
  flex: 1 1 400px;
  text-align: center;
}

.page-contact__form-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__cta-section {
  padding: 80px 0;
  background: linear-gradient(90deg, #007bff, #0056b3);
  color: var(--page-contact-light-text);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.page-contact__cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-contact__cta-text h2 {
  color: var(--page-contact-light-text);
  font-size: 2.8em;
  margin-bottom: 15px;
}

.page-contact__cta-text p {
  font-size: 1.1em;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.page-contact__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-contact__cta-image {
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-contact__social-section {
  padding: 60px 0;
  background-color: var(--page-contact-light-text);
  text-align: center;
}

.page-contact__social-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.page-contact__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: var(--page-contact-primary-color);
  color: var(--page-contact-light-text);
  font-size: 1.8em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__social-icon:hover {
  background-color: var(--page-contact-secondary-color);
  color: var(--page-contact-dark-text);
  transform: translateY(-3px) scale(1.05);
}

.page-contact__social-image {
  max-width: 70%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact__hero-content h1 {
    font-size: 3em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__info-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .page-contact__form-content {
    flex-direction: column;
  }
  .page-contact__form, .page-contact__form-image-wrapper {
    flex: 1 1 100%;
  }
  .page-contact__cta-text h2 {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero {
    padding: 80px 0;
  }
  .page-contact__hero-content h1 {
    font-size: 2.5em;
  }
  .page-contact__hero-content p {
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__info-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__button--secondary {
    margin-left: 0;
  }
  .page-contact__cta-text h2 {
    font-size: 1.8em;
  }
  .page-contact__cta-image, .page-contact__social-image {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .page-contact__hero {
    padding: 60px 0;
  }
  .page-contact__hero-content h1 {
    font-size: 2em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__info-item {
    padding: 20px;
  }
  .page-contact__form {
    padding: 25px;
  }
  .page-contact__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-contact__social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.5em;
  }
}