/* 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: #121212; /* Matches body background from shared.css */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold brand color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  background: linear-gradient(135deg, #1E1E1E 0%, #0d0d0d 100%);
  color: #ffffff;
}

.page-contact__hero-section .page-contact__container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

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

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background-color: #FFD700;
  color: #1E1E1E;
  border: 2px solid #FFD700;
}

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

.page-contact__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-contact__btn-secondary:hover {
  background-color: #FFD700;
  color: #1E1E1E;
  transform: translateY(-2px);
}

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

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

.page-contact__channel-card {
  background-color: #1E1E1E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 280px;
}

.page-contact__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.page-contact__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-contact__card-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__email-address,
.page-contact__phone-number {
  color: #FFD700;
  font-weight: bold;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: #121212;
}

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

.page-contact__faq-item {
  background-color: #1E1E1E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #2a2a2a;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #3a3a3a;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #cccccc;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px;
}

.page-contact__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* Why Choose Us Section */
.page-contact__why-choose-us-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-contact__feature-card {
  background-color: #1E1E1E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: rgba(255, 215, 0, 0.1);
  padding: 15px;
}

.page-contact__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-contact__feature-text {
  font-size: 1em;
  color: #cccccc;
}

/* Tips Section */
.page-contact__tips-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-contact__tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__tip-item {
  background-color: #1E1E1E;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__tip-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-contact__tip-item p {
  color: #cccccc;
  margin: 0;
}

/* Community Section */
.page-contact__community-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  text-align: center;
}

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

/* Commitment Section */
.page-contact__commitment-section {
  padding: 80px 0;
  background-color: #121212;
  text-align: center;
}

.page-contact__commitment-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.15);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__hero-description {
    font-size: 1.1em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-contact__hero-section {
    min-height: 500px;
    padding: calc(var(--header-offset, 120px) + 30px) 15px 30px; /* Adjust padding for mobile header */
  }
  
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__channels-section,
  .page-contact__faq-section,
  .page-contact__why-choose-us-section,
  .page-contact__tips-section,
  .page-contact__community-section,
  .page-contact__commitment-section {
    padding: 40px 0;
  }

  .page-contact__container {
    padding: 0 15px;
  }

  .page-contact__section-title {
    font-size: 1.8em;
  }

  .page-contact__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-contact__channel-card,
  .page-contact__feature-card,
  .page-contact__tip-item {
    padding: 20px;
  }

  .page-contact__card-title,
  .page-contact__feature-title,
  .page-contact__tip-title {
    font-size: 1.4em;
  }

  .page-contact__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__channel-card,
  .page-contact__feature-card,
  .page-contact__tip-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Ensure padding-top for sections if shared.css doesn't set body padding */
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

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

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__faq-question {
    font-size: 1em;
  }
}