/* style/contact.css */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000; /* Inherited from body */
}

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

.page-contact__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #FFD700; /* Primary brand color */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 20px;
}

.page-contact__section-description {
  font-size: 18px;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  padding-top: 0; /* Handled by shared.css body padding-top */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  overflow: hidden;
}

.page-contact__hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  gap: 40px;
}

.page-contact__hero-content {
  flex: 1;
  max-width: 50%;
  text-align: left;
}

.page-contact__hero-title {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-contact__hero-button {
  display: inline-block;
  background: #FFD700;
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-contact__hero-image {
  flex: 1;
  max-width: 45%;
  text-align: right;
}

.page-contact__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Dark background for contrast */
  color: #ffffff;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #2a2a2a;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 8px;
  background-color: #3a3a3a;
  color: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
  outline: none;
}

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

.page-contact__submit-button {
  display: block;
  width: 100%;
  background: #FFD700;
  color: #000000;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__submit-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Info Section */
.page-contact__info-section {
  padding: 60px 0;
  background-color: #000;
}

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

.page-contact__info-item {
  background: #2a2a2a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__info-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-contact__info-text {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-contact__info-link {
  display: inline-block;
  background: #8B0000; /* Auxiliary brand color */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__info-link:hover {
  background-color: #a00000;
  transform: translateY(-2px);
}

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

.page-contact__channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
}

.page-contact__channel-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  background: #2a2a2a;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  max-width: 250px; /* Max width for individual channel button */
}

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

.page-contact__channel-button img {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 8px;
  background-color: #3a3a3a; /* Slightly lighter background for the image area */
}

.page-contact__channel-button span {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

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

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #1a1a1a;
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-contact__faq-question:active {
  background: #4a4a4a;
}

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

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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: 28px;
  height: 28px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 40px;
  }
  .page-contact__hero-description {
    font-size: 18px;
  }
  .page-contact__hero-button {
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-contact__section-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__hero-section {
    padding-top: 0 !important; /* Ensure no double padding if body has it */
    padding-bottom: 40px;
  }

  .page-contact__hero-container {
    flex-direction: column;
    text-align: center;
    padding: 30px 15px;
  }

  .page-contact__hero-content {
    max-width: 100%;
    text-align: center;
  }

  .page-contact__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-contact__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-contact__hero-image {
    max-width: 100%;
    margin-top: 30px;
  }

  .page-contact__form-section,
  .page-contact__info-section,
  .page-contact__channels-section,
  .page-contact__faq-section {
    padding: 40px 0;
  }

  .page-contact__section-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

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

  .page-contact__contact-form {
    padding: 25px;
  }

  .page-contact__form-label {
    font-size: 15px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 15px;
  }

  .page-contact__submit-button {
    padding: 12px 15px;
    font-size: 16px;
  }

  .page-contact__info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__info-item {
    padding: 25px;
  }

  .page-contact__info-title {
    font-size: 20px;
  }

  .page-contact__info-text {
    font-size: 15px;
  }

  .page-contact__info-link {
    padding: 8px 15px;
    font-size: 14px;
  }

  .page-contact__channels-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }

  .page-contact__channel-button {
    max-width: 100%; /* Ensure full width within grid cell */
    padding: 15px;
  }

  .page-contact__channel-button img {
    width: 200px !important;
    height: 200px !important;
    margin-bottom: 10px;
  }

  .page-contact__channel-button span {
    font-size: 16px;
  }

  .page-contact__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-contact__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-contact__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-contact__faq-answer {
    padding: 0 15px;
  }
  
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px !important;
  }

  /* Buttons responsive for mobile */
  .page-contact__hero-button,
  .page-contact__submit-button,
  .page-contact__info-link,
  .page-contact__channel-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__hero-container .page-contact__hero-button {
    max-width: 250px !important; /* Constrain hero button if it's the only one */
    margin: 0 auto;
  }
  
  .page-contact__channels-grid .page-contact__channel-button {
    max-width: 200px !important; /* Constrain channel buttons to prevent overstretching in smaller grid cells */
  }
}