/* style/contact.css */

/* General styles for .page-contact */
.page-contact {
  font-family: Arial, sans-serif;
  color: #FFF5E1; /* Use Text Main color for default text */
  background-color: #B71C1C; /* Use specified background color */
}

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

.page-contact__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #F4D34D; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 204, 102, 0.6); /* Glow effect */
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small padding top, not --header-offset */
  background-color: #7A0E0E;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height for hero image */
}

.page-contact__hero-content {
  padding: 40px 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for readability */
  width: 100%;
  box-sizing: border-box;
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #F4D34D;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 204, 102, 0.8);
}

.page-contact__hero-description {
  font-size: 1.1rem;
  color: #FFF5E1;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Dark text on gold button */
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-contact__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

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

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

.page-contact__info-card {
  background-color: #D32F2F; /* Card BG color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #F2B544; /* Border color */
}

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

.page-contact__card-icon img {
  width: 200px; /* Minimum 200x200 */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-contact__card-text {
  font-size: 16px;
  color: #FFF5E1;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-contact__card-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

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

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #D32F2F;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #F2B544;
}

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

.page-contact__form-label {
  display: block;
  font-size: 18px;
  color: #F4D34D;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #F2B544;
  border-radius: 5px;
  background-color: #7A0E0E;
  color: #FFF5E1;
  font-size: 16px;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 245, 225, 0.6);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #F4D34D;
  box-shadow: 0 0 0 3px rgba(244, 211, 77, 0.4);
}

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  font-size: 20px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  text-decoration: none; /* Ensure it looks like a button */
}

.page-contact__form-submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

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

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

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #F2B544;
  overflow: hidden;
  background: #D32F2F; /* Card BG for FAQ item */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F4D34D;
}
details.page-contact__faq-item summary.page-contact__faq-question::-webkit-details-marker {
  display: none;
}
details.page-contact__faq-item summary.page-contact__faq-question:hover {
  background: #7A0E0E; /* Darker red on hover */
}
.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F4D34D;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 20px 20px;
  background: #7A0E0E; /* Deep Red for answer background */
  border-radius: 0 0 5px 5px;
  color: #FFF5E1;
  font-size: 16px;
  line-height: 1.6;
}

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

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

.page-contact__faq-link {
  color: #F4D34D;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-contact__faq-link:hover {
  color: #FFCC66;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-image {
    max-height: 400px;
  }

  .page-contact__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-contact__info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* General mobile text scaling */
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Hero Section */
  .page-contact__hero-section {
    padding-top: 10px !important; /* Ensure small padding */
  }

  .page-contact__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__hero-content {
    padding: 30px 15px;
  }

  .page-contact__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
  }

  .page-contact__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Section Titles & Descriptions */
  .page-contact__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

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

  /* Info Section */
  .page-contact__info-section {
    padding: 40px 0;
  }

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

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

  .page-contact__card-icon img {
    width: 200px !important;
    height: 200px !important;
    max-width: 100% !important;
    height: auto !important;
  }

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

  .page-contact__card-text {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-contact__card-button {
    padding: 10px 20px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Form Section */
  .page-contact__form-section {
    padding: 40px 0;
  }

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

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

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

  .page-contact__form-submit-button {
    padding: 12px 15px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* FAQ Section */
  .page-contact__faq-section {
    padding: 40px 0;
  }

  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px;
  }

  .page-contact__faq-qtext {
    font-size: 16px;
  }

  .page-contact__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* General image and button container adaptation */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__container,
  .page-contact__contact-form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}