/* style/contact.css */

:root {
  --primary-color: #2D3E50; /* Midnight Blue */
  --secondary-color: #E74C3C; /* Flame Red */
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --bg-light: #f9f9f9;
  --bg-dark: #202c3a; /* Slightly lighter than primary for distinction */
  --border-color: #e0e0e0;
}

.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light body background */
  background-color: #ffffff; /* Assuming body background is white */
}

/* Fixed Header Offset */
.page-contact {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-color-light); /* Text on hero image/gradient */
  overflow: hidden; /* Ensure image doesn't overflow */
  background: linear-gradient(135deg, var(--primary-color), var(--bg-dark)); /* Subtle gradient */
}

.page-contact__hero-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px; /* Add some padding to content */
}

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

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-button:hover {
  background: #CC3F32; /* Darker red */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555;
}

/* Introduction Section */
.page-contact__introduction-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.page-contact__content-block {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 20px;
}

.page-contact__content-block p {
  margin-bottom: 15px;
  font-size: 1em;
  color: #444;
  text-align: justify;
}

/* Methods Section */
.page-contact__methods-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

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

.page-contact__method-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-contact__method-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-width: 250px; /* Limit max width for visual balance */
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.page-contact__method-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-contact__method-text {
  font-size: 0.95em;
  color: #666;
  flex-grow: 1; /* Allow text to take up available space */
  margin-bottom: 20px;
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push button to the bottom */
}

.page-contact__btn-primary:hover {
  background: #243240; /* Darker blue */
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: auto;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  width: 100%; /* Ensure social links container fills width */
}

.page-contact__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* Center text within button */
  padding: 10px 20px;
  border-radius: 5px;
  color: var(--text-color-light);
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease;
  min-width: 120px; /* Minimum width for social buttons */
}

.page-contact__social-btn:hover {
  transform: translateY(-2px);
}

.page-contact__social-btn--facebook {
  background: #3b5998;
}

.page-contact__social-btn--telegram {
  background: #0088cc;
}

.page-contact__social-btn--zalo {
  background: #0080ff; /* Zalo's blue */
}


/* Hours Section */
.page-contact__hours-section {
  padding: 80px 0;
  background-color: var(--bg-dark); /* Dark background for this section */
  color: var(--text-color-light); /* Light text on dark background */
}

.page-contact__hours-section .page-contact__section-title {
  color: var(--text-color-light);
}

.page-contact__hours-section .page-contact__section-description {
  color: #ccc;
}

.page-contact__hours-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1em;
}

.page-contact__hours-text {
  margin-bottom: 15px;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.page-contact__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ容器样式 */
.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}