/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Ensure the first content section has padding-top to clear fixed header */
.page-contact__hero-contact-section {
  padding-top: 120px; /* Adjust based on actual header height */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a); /* Dark gradient background */
  color: #ffffff;
}

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

.page-contact__hero-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #ffd700; /* Gold color for emphasis */
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

.page-contact__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #ffd700; /* Gold color for emphasis */
  line-height: 1.3;
}

.page-contact__section-intro {
  font-size: 17px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #cccccc;
}

/* Channels Section */
.page-contact__channels-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

.page-contact__dark-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-contact__contact-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__contact-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__card-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffd700;
}

.page-contact__card-text {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 25px;
}

.page-contact__btn-primary {
  display: inline-block;
  background-color: #007bff; /* Brand primary color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

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

.page-contact__address-info {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__address-info .page-contact__card-title {
  margin-bottom: 20px;
}

.page-contact__address-info .page-contact__card-text {
  font-size: 17px;
  margin-bottom: 15px;
}

.page-contact__map-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin-top: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly darker background */
  color: #ffffff;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #ffd700;
  font-size: 16px;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.4); /* Darker input background */
  color: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #007bff;
  background-color: rgba(0, 0, 0, 0.6);
  outline: none;
}

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

.page-contact__btn-submit {
  width: 100%;
  background-color: #007bff; /* Brand primary color */
  color: #ffffff;
  padding: 15px 25px;
  border-radius: 5px;
  border: none;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

/* Why Contact Section */
.page-contact__why-contact-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-contact__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-contact__benefit-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__benefit-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__benefit-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__benefit-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffd700;
}

.page-contact__benefit-text {
  font-size: 16px;
  color: #cccccc;
}

/* Operating Hours Section */
.page-contact__hours-section {
  padding: 60px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-contact__hours-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #007bff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid #007bff;
  cursor: pointer;
  font-size: 16px;
  margin-top: 15px;
}

.page-contact__btn-secondary:hover {
  background-color: #007bff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-contact__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffd700;
  pointer-events: none;
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #ffffff;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: #007bff;
  transform: rotate(45deg); /* Use rotation for minus sign effect */
}

.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 20px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.3); /* Darker background for answer */
  color: #cccccc;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important; /* Important for expand */
  padding: 20px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-contact__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* CTA Section */
.page-contact__cta-section {
  padding: 60px 0;
  background-color: #0a0a0a;
  text-align: center;
  color: #ffffff;
}

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

.page-contact__btn-large {
  padding: 15px 35px;
  font-size: 18px;
  min-width: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 38px;
  }
  .page-contact__section-title {
    font-size: 32px;
  }
  .page-contact__contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-contact__hours-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-contact__hero-contact-section {
    padding-top: 100px !important; /* Adjust for mobile fixed header */
    padding-bottom: 40px;
  }
  .page-contact__hero-title {
    font-size: 30px;
  }
  .page-contact__hero-description {
    font-size: 16px;
  }
  .page-contact__section-title {
    font-size: 26px;
  }
  .page-contact__section-intro {
    font-size: 15px;
  }
  .page-contact__contact-grid,
  .page-contact__benefits-grid,
  .page-contact__hours-info {
    grid-template-columns: 1fr;
  }
  .page-contact__contact-card,
  .page-contact__benefit-item,
  .page-contact__hours-card {
    padding: 25px;
  }
  .page-contact__contact-icon,
  .page-contact__benefit-icon {
    width: 60px;
    height: 60px;
  }
  .page-contact__card-title,
  .page-contact__benefit-title {
    font-size: 20px;
  }
  .page-contact__card-text,
  .page-contact__benefit-text {
    font-size: 15px;
  }
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__form-label,
  .page-contact__form-input,
  .page-contact__form-textarea,
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    font-size: 15px;
  }
  .page-contact__btn-submit {
    font-size: 16px;
  }
  .page-contact__faq-question {
    padding: 15px;
  }
  .page-contact__faq-question h3 {
    font-size: 16px;
  }
  .page-contact__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }
  .page-contact__faq-answer {
    padding: 0 15px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px !important;
  }
  .page-contact__faq-answer p {
    font-size: 15px;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__btn-large {
    min-width: unset;
    width: 100%;
  }
  
  /* Mobile image responsive adaptation */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__hero-contact-section,
  .page-contact__channels-section,
  .page-contact__form-section,
  .page-contact__why-contact-section,
  .page-contact__hours-section,
  .page-contact__faq-section,
  .page-contact__cta-section,
  .page-contact__container,
  .page-contact__contact-card,
  .page-contact__benefit-item,
  .page-contact__hours-card,
  .page-contact__address-info,
  .page-contact__contact-form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__map-image {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
    max-width: calc(100% + 30px);
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 26px;
  }
  .page-contact__section-title {
    font-size: 22px;
  }
  .page-contact__contact-card,
  .page-contact__benefit-item,
  .page-contact__hours-card {
    padding: 20px;
  }
  .page-contact__card-title,
  .page-contact__benefit-title {
    font-size: 18px;
  }
  .page-contact__contact-form {
    padding: 20px;
  }
}