/* style/contact.css */

:root {
  --primary-color: #FFD700; /* Vàng kim */
  --secondary-color: #8B0000; /* Đỏ sẫm */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f4f4;
  --background-dark: #222222;
  --border-color: #e0e0e0;
}

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

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

.page-contact h1, .page-contact h2, .page-contact h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-contact h1 {
  font-size: 2.8em;
  color: var(--text-light);
}

.page-contact h2 {
  font-size: 2.2em;
  margin-top: 40px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.page-contact h3 {
  font-size: 1.6em;
  color: var(--text-dark);
}

.page-contact p {
  margin-bottom: 15px;
  font-size: 1.1em;
  text-align: center;
}

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

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

.page-contact-cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact-cta-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* Hero Banner */
.page-contact-hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: var(--background-dark);
}

.page-contact-hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  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%;
  color: var(--text-light);
}

.page-contact-hero-content p {
  color: var(--text-light);
}

/* Channel Grid */
.page-contact-channels {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

.page-contact-channel-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 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;
  justify-content: space-between;
}

.page-contact-channel-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-contact-channel-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact-channel-item h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-bottom: 15px;
  text-align: center;
}

.page-contact-channel-item p {
  font-size: 1em;
  color: var(--text-dark);
  flex-grow: 1;
}

.page-contact-channel-link {
  display: inline-block;
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-contact-channel-link:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

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

.page-contact-form-section h2, .page-contact-form-section p {
  color: var(--text-light);
}

.page-contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-contact-form-group input[type="text"],
.page-contact-form-group input[type="email"],
.page-contact-form-group input[type="tel"],
.page-contact-form-group textarea {
  width: calc(100% - 20px);
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1em;
  color: var(--text-dark);
  background-color: #f9f9f9;
}

.page-contact-form-group textarea {
  resize: vertical;
}

.page-contact-form-group input::placeholder,
.page-contact-form-group textarea::placeholder {
  color: #aaaaaa;
}

.page-contact-submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--secondary-color);
  color: var(--primary-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: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Why Us Section */
.page-contact-why-us {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-contact-why-us h2 {
  margin-bottom: 20px;
}

.page-contact-why-us p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-contact-advantage-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 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-advantage-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-contact-advantage-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact-advantage-item h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
  text-align: center;
}

.page-contact-advantage-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: center;
}

/* Operating Hours */
.page-contact-operating-hours {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-contact-operating-hours h2 {
  color: var(--secondary-color);
}

.page-contact-operating-hours p {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-contact-hours-info {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border-radius: 10px;
  max-width: 800px;
  margin: 40px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact-hours-info p {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: var(--text-dark);
  text-align: left;
}

.page-contact-hours-info p strong {
  color: var(--secondary-color);
}

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

.page-contact-faq-section h2 {
  margin-bottom: 20px;
}

.page-contact-faq-section > p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-contact-faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--secondary-color);
  text-align: left;
}

.faq-toggle {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 20px;
  background: #f9f9f9;
  border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-answer p {
  text-align: left;
}

/* Company Info */
.page-contact-company-info {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-contact-company-info h2, .page-contact-company-info p {
  color: var(--text-light);
}

.page-contact-address-block {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-contact-address-block p {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: var(--text-light);
  text-align: left;
}

.page-contact-address-block p strong {
  color: var(--primary-color);
}

.page-contact-map-placeholder {
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-contact-map-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact h1 {
    font-size: 2.2em;
  }
  .page-contact h2 {
    font-size: 1.8em;
  }
  .page-contact h3 {
    font-size: 1.4em;
  }
  .page-contact-channel-grid, .page-contact-advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-contact-hero-banner, .page-contact-channels, .page-contact-form-section, .page-contact-why-us, .page-contact-operating-hours, .page-contact-faq-section, .page-contact-company-info {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .page-contact-hero-banner {
    padding: 30px 15px;
  }
  .page-contact-hero-image {
    margin-bottom: 20px;
  }
  .page-contact-hero-content h1 {
    font-size: 1.8em;
  }
  .page-contact-hero-content p {
    font-size: 1em;
  }
  .page-contact-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact-container {
    padding: 15px;
  }
  .page-contact h1 {
    font-size: 2em;
  }
  .page-contact h2 {
    font-size: 1.6em;
  }
  .page-contact h3 {
    font-size: 1.3em;
  }
  .page-contact-channel-grid, .page-contact-advantages-grid {
    grid-template-columns: 1fr;
  }
  .page-contact-form {
    padding: 20px;
  }
  .page-contact-form-group input, .page-contact-form-group textarea {
    width: calc(100% - 24px);
  }
  .faq-question {
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-answer {
    padding: 0 15px;
  }
  .faq-item.active .faq-answer {
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .page-contact h1 {
    font-size: 1.6em;
  }
  .page-contact h2 {
    font-size: 1.4em;
  }
  .page-contact h3 {
    font-size: 1.2em;
  }
  .page-contact p {
    font-size: 0.95em;
  }
  .page-contact-channel-icon, .page-contact-advantage-icon {
    width: 80px;
    height: 80px;
  }
  .page-contact-form-group input, .page-contact-form-group textarea {
    font-size: 0.9em;
  }
  .page-contact-submit-button {
    font-size: 1em;
    padding: 12px;
  }
}