/* style/contact.css */

/* Base styles for the page-contact scope */
.page-contact {
  background-color: #140C0C; /* Overall page background */
  color: #FFF1E8; /* Main text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Ensure headings maintain contrast */
.page-contact h1,
.page-contact h2,
.page-contact h3,
.page-contact h4,
.page-contact h5,
.page-contact h6 {
  color: #FFF1E8; /* Headings in light text */
  margin-bottom: 1em;
  font-weight: bold;
}

.page-contact a {
  color: #FFB04A; /* Gold for links */
  text-decoration: none;
}

.page-contact a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Stacks image and content vertically */
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden; /* Ensure no overflow */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-contact__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 500px; /* Limit height for aesthetic reasons */
  filter: none; /* No CSS filter */
}

.page-contact__hero-content {
  max-width: 900px;
  padding: 20px;
  margin-top: 40px;
  z-index: 1; /* Ensure content is above any potential background elements */
}

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFB04A; /* Gold for main title */
}

.page-contact__hero-description {
  font-size: 1.1em;
  color: #FFF1E8;
  max-width: 700px;
  margin: 0 auto;
}

/* General Container for sections */
.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-contact__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFB04A; /* Gold for section titles */
}

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

/* Channel Grid Section */
.page-contact__channels-section {
  background-color: #140C0C; /* Consistent dark background */
  padding: 60px 0;
}

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

.page-contact__channel-card {
  background-color: #2A1212; /* Card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border color */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__channel-icon {
  width: 200px; /* Minimum size 200px */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  filter: none; /* No CSS filter */
  display: block; /* Ensures max-width: 100% works correctly */
  max-width: 100%; /* For responsiveness */
  object-fit: cover;
}

.page-contact__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFB04A; /* Gold for card titles */
}

.page-contact__card-description {
  font-size: 1em;
  color: #FFF1E8;
  flex-grow: 1; /* Allows description to take available space */
  margin-bottom: 20px;
}

/* Call to Action Button */
.page-contact__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  color: #FFF1E8;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__cta-button:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  transform: translateY(-2px);
}

.page-contact__cta-button--large {
  padding: 15px 30px;
  font-size: 1.2em;
  margin-top: 30px;
}

/* Contact Form Section */
.page-contact__form-section {
  background-color: #140C0C;
  padding: 60px 0;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #2A1212; /* Card background */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border color */
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #FFF1E8;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #6A1E1E;
  border-radius: 5px;
  background-color: #140C0C; /* Input background */
  color: #FFF1E8;
  font-size: 1em;
  box-sizing: border-box; /* Include padding in width */
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #FFB04A; /* Gold on focus */
  box-shadow: 0 0 0 2px rgba(255, 176, 74, 0.3);
}

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  color: #FFF1E8;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.page-contact__submit-button:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  transform: translateY(-2px);
}

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

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

.page-contact__additional-card {
  background-color: #2A1212; /* Card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border color */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__social-links {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping for small screens */
}

.page-contact__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #C61F1F; /* Deep Red for social icons */
  color: #FFF1E8;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-contact__social-icon:hover {
  background-color: #E53030; /* Lighter Red on hover */
}

/* Commitment Section */
.page-contact__commitment-section {
  background-color: #C61F1F; /* Brand main color for a prominent section */
  color: #FFF1E8; /* Light text for contrast */
  padding: 80px 20px;
  text-align: center;
  border-radius: 10px; /* Rounded corners for the section */
  margin: 40px auto;
  max-width: 1200px;
  box-sizing: border-box;
}

.page-contact__commitment-section .page-contact__section-title {
  color: #FFF1E8; /* Ensure title is white on this background */
}

.page-contact__commitment-section .page-contact__section-description {
  color: #FFF1E8; /* Ensure description is white */
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

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

.page-contact__faq-item {
  background-color: #2A1212; /* Card background */
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #6A1E1E; /* Border color */
  overflow: hidden; /* For smooth transition of answer */
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #FFB04A; /* Gold for FAQ questions */
  cursor: pointer;
  background-color: #2A1212;
  border-bottom: 1px solid #6A1E1E; /* Separator for questions */
  list-style: none; /* Remove default marker for <summary> */
}

.page-contact__faq-question::-webkit-details-marker {
  display: none; /* Hide marker for Webkit browsers */
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFB04A; /* Gold for toggle icon */
}

.page-contact__faq-item[open] .page-contact__faq-question {
  border-bottom: 1px solid #6A1E1E; /* Keep border when open */
}

.page-contact__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  color: #FFF1E8;
  background-color: #140C0C; /* Inner background for answer */
}

.page-contact__faq-answer p {
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    padding: 20px 40px;
  }
}

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

  .page-contact__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-contact__hero-image {
    max-height: 300px;
  }

  .page-contact__hero-content {
    padding: 15px;
    margin-top: 20px;
  }

  .page-contact__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important; /* Smaller H1 on mobile */
    margin-bottom: 15px;
  }

  .page-contact__hero-description {
    font-size: 1em;
  }

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

  .page-contact__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

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

  .page-contact__channel-grid,
  .page-contact__additional-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__channel-card,
  .page-contact__additional-card {
    padding: 25px;
  }

  .page-contact__channel-icon {
    width: 150px;
  }

  .page-contact__card-title {
    font-size: 1.5em;
  }

  .page-contact__cta-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__cta-button--large {
    font-size: 1.1em;
    padding: 12px 20px;
  }

  .page-contact__contact-form {
    padding: 30px 20px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea,
  .page-contact__submit-button {
    font-size: 0.95em;
  }

  .page-contact__submit-button {
    padding: 12px;
  }

  .page-contact__social-links {
    flex-wrap: wrap;
    gap: 10px;
  }

  .page-contact__social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1em;
  }

  .page-contact__commitment-section {
    padding: 50px 15px;
    margin: 30px auto;
  }

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

  .page-contact__faq-answer {
    padding: 10px 20px 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__hero-image-wrapper,
  .page-contact__channel-card,
  .page-contact__additional-card,
  .page-contact__form-section,
  .page-contact__commitment-section,
  .page-contact__faq-section,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Specific mobile button adaptation */
  .page-contact__cta-button, .page-contact__submit-button {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-contact__social-links {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
}

/* Ensure no filter on images */
.page-contact img {
  filter: none;
}