/* style/contact.css */

/* Biến CSS */
:root {
  --page-contact-primary-color: #FFD700; /* Vàng kim */
  --page-contact-secondary-color: #000080; /* Xanh đậm */
  --page-contact-text-dark: #333333;
  --page-contact-text-light: #FFFFFF;
  --page-contact-background-light: #F8F8F8;
  --page-contact-background-dark: #1A1A2E;
  --page-contact-accent-color: #DAA520; /* Vàng đậm hơn cho hover */
}

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

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

/* Hero Section */
.page-contact__hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--page-contact-primary-color) 0%, var(--page-contact-secondary-color) 100%);
  color: var(--page-contact-text-light);
  padding: 60px 20px;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

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

.page-contact__title {
  font-size: 3.5em;
  margin-bottom: 15px;
  color: var(--page-contact-text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__subtitle {
  font-size: 1.3em;
  font-weight: 300;
  color: var(--page-contact-text-light);
}

/* Info Section */
.page-contact__info-section {
  padding: 60px 0;
  background-color: var(--page-contact-background-light);
}

.page-contact__info-section .page-contact__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

.page-contact__info-card:hover {
  transform: translateY(-5px);
}

.page-contact__info-heading {
  font-size: 2em;
  color: var(--page-contact-secondary-color);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--page-contact-primary-color);
  padding-bottom: 10px;
}

.page-contact__info-text {
  margin-bottom: 20px;
  color: var(--page-contact-text-dark);
}

.page-contact__info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-contact__info-card ul li {
  margin-bottom: 10px;
  color: var(--page-contact-text-dark);
}

.page-contact__info-card ul li strong {
  color: var(--page-contact-secondary-color);
}

.page-contact__info-card a {
  color: var(--page-contact-secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__info-card a:hover {
  color: var(--page-contact-primary-color);
}

.page-contact__note {
  font-style: italic;
  margin-top: 15px;
  color: #666;
}

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

.page-contact__form-heading {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--page-contact-primary-color);
}

.page-contact__form-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  color: var(--page-contact-text-light);
}

.page-contact__form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--page-contact-secondary-color);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px;
  border: 1px solid #555;
  border-radius: 5px;
  background-color: #2a2a4a;
  color: var(--page-contact-text-light);
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #aaa;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: var(--page-contact-primary-color);
  outline: none;
}

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background-color: var(--page-contact-primary-color);
  color: var(--page-contact-secondary-color);
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__submit-button:hover {
  background-color: var(--page-contact-accent-color);
  transform: translateY(-2px);
}

.page-contact__cta-buttons {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-contact__btn {
  display: inline-block;
  padding: 12px 25px;
  margin: 0 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.page-contact__btn--login {
  background-color: var(--page-contact-primary-color);
  color: var(--page-contact-secondary-color);
  border: 2px solid var(--page-contact-primary-color);
}

.page-contact__btn--login:hover {
  background-color: var(--page-contact-accent-color);
  color: var(--page-contact-background-dark);
  transform: translateY(-2px);
}

.page-contact__btn--register {
  background-color: transparent;
  color: var(--page-contact-primary-color);
  border: 2px solid var(--page-contact-primary-color);
}

.page-contact__btn--register:hover {
  background-color: var(--page-contact-primary-color);
  color: var(--page-contact-secondary-color);
  transform: translateY(-2px);
}

/* Map Section */
.page-contact__map-section {
  padding: 60px 0;
  background-color: var(--page-contact-background-light);
}

.page-contact__map-heading {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--page-contact-secondary-color);
}

.page-contact__map-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  color: var(--page-contact-text-dark);
}

.page-contact__map-placeholder {
  width: 100%;
  height: 450px;
  background-color: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.page-contact__social-heading {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--page-contact-primary-color);
}

.page-contact__social-description {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  color: var(--page-contact-text-light);
}

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

.page-contact__social-icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: var(--page-contact-primary-color);
  color: var(--page-contact-secondary-color);
  font-size: 1.8em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px; /* Adjust padding as needed for icon visibility */
}

.page-contact__social-icon:hover {
  background-color: var(--page-contact-accent-color);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact__title {
    font-size: 2.8em;
  }

  .page-contact__subtitle {
    font-size: 1.1em;
  }

  .page-contact__hero {
    height: 350px;
    padding: 40px 15px;
  }

  .page-contact__info-section .page-contact__container {
    grid-template-columns: 1fr;
  }

  .page-contact__form,
  .page-contact__info-card {
    padding: 30px;
  }

  .page-contact__map-placeholder {
    height: 350px;
  }

  .page-contact__form-heading,
  .page-contact__map-heading,
  .page-contact__social-heading {
    font-size: 2em;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__btn {
    margin: 10px 0;
    width: 80%;
  }
}

@media (max-width: 768px) {
  .page-contact__title {
    font-size: 2.2em;
  }

  .page-contact__subtitle {
    font-size: 1em;
  }

  .page-contact__hero {
    height: 300px;
  }

  .page-contact__form,
  .page-contact__info-card {
    padding: 25px;
  }

  .page-contact__map-placeholder {
    height: 300px;
  }

  .page-contact__form-heading,
  .page-contact__map-heading,
  .page-contact__social-heading {
    font-size: 1.8em;
  }

  .page-contact__social-links {
    gap: 15px;
  }

  .page-contact__social-icon {
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 1.6em;
  }
}

@media (max-width: 480px) {
  .page-contact__title {
    font-size: 1.8em;
  }

  .page-contact__subtitle {
    font-size: 0.9em;
  }

  .page-contact__hero {
    height: 250px;
    padding: 30px 10px;
  }

  .page-contact__form,
  .page-contact__info-card {
    padding: 20px;
  }

  .page-contact__map-placeholder {
    height: 250px;
  }

  .page-contact__form-heading,
  .page-contact__map-heading,
  .page-contact__social-heading {
    font-size: 1.5em;
  }

  .page-contact__social-links {
    gap: 10px;
  }

  .page-contact__social-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.4em;
  }
  .page-contact__btn {
    width: 100%;
    margin: 5px 0;
  }
}