/* style/contact.css */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Body Background */
}

.page-contact__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #C91F17; /* Main color */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-contact__main-title {
  font-size: 4em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD86A;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  max-width: 100%;
}

.page-contact__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFF5E1;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  object-fit: cover;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-contact__section-title {
  font-size: 2.8em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD86A; /* Gold */
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-contact__method-card {
  background: #D32F2F; /* Card BG */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 25px 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;
  color: #FFF5E1;
  border: 1px solid #7A0E0E; /* Deep Red */
}

.page-contact__method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.page-contact__method-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 25px;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__method-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD86A;
}

.page-contact__method-text {
  font-size: 1.05em;
  margin-bottom: 25px;
  color: #FFF5E1;
}

.page-contact__phone-number {
  font-size: 1.6em;
  font-weight: bold;
  color: #F4D34D; /* Gold */
  margin-bottom: 25px;
  display: block;
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red text for contrast */
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-3px);
}

.page-contact__form-section {
  padding: 80px 0;
  background-color: #E53935; /* Auxiliary color */
  color: #FFF5E1;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  background: #C91F17; /* Main color */
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid #F2B544; /* Border color */
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 15px;
  border: 1px solid #F2B544; /* Border color */
  border-radius: 8px;
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.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 {
  border-color: #FFD86A;
  box-shadow: 0 0 0 3px rgba(255, 216, 106, 0.3);
  outline: none;
}

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

.page-contact__btn-submit {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red text for contrast */
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-submit:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-3px);
}

.page-contact__form-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__faq-section {
  padding: 80px 0;
  background-color: #C91F17; /* Main color */
}

.page-contact__faq-list {
  margin-top: 40px;
}

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #7A0E0E; /* Deep Red */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
  color: #FFF5E1;
  box-shadow: 0 5px 15px 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 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD86A;
}

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

.page-contact__faq-qtext {
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-contact__faq-toggle {
  font-size: 2.2em;
  font-weight: bold;
  color: #F4D34D; /* Gold */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

details.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg);
}

details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 25px;
  background: #7A0E0E; /* Deep Red */
  border-radius: 0 0 10px 10px;
  color: #FFF5E1;
}

details.page-contact__faq-item .page-contact__faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

.page-contact__cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(90deg, #C91F17 0%, #E53935 100%);
  color: #FFF5E1;
}

.page-contact__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
  overflow: hidden;
}

.page-contact__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  background: transparent;
  color: #FFD86A; /* Gold */
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
  border: 2px solid #FFD86A; /* Gold border */
  cursor: pointer;
  font-size: 1.1em;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-secondary:hover {
  background: #FFD86A;
  color: #C91F17; /* Main color for text */
  transform: translateY(-3px);
}

/* General image responsive styles */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General button responsive styles */
.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__btn-submit,
.page-contact a[class*="button"],
.page-contact a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__cta-buttons,
.page-contact__button-group,
.page-contact__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-contact__main-title {
    font-size: 2.5em;
    margin-bottom: 15px;
  }

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

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

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

  .page-contact__container {
    padding: 15px;
  }

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

  .page-contact__method-card {
    padding: 20px;
  }

  .page-contact__method-icon {
    max-width: 180px;
    margin-bottom: 20px;
  }

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

  .page-contact__method-text,
  .page-contact__phone-number {
    font-size: 1em;
  }

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

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

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

  .page-contact__form-label {
    font-size: 1em;
    margin-bottom: 8px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
    font-size: 0.95em;
    width: calc(100% - 24px);
  }

  .page-contact__btn-submit {
    padding: 14px;
    font-size: 1.1em;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-contact__form-image {
    max-width: 300px;
    margin-top: 30px;
  }

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

  .page-contact__faq-qtext {
    font-size: 1em;
  }

  .page-contact__faq-toggle {
    font-size: 1.8em;
    width: 25px;
    margin-left: 15px;
  }

  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 20px 20px;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* General image responsive styles for mobile */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__cta-section,
  .page-contact__method-card,
  .page-contact__contact-form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Placeholder for modules not used on this page but required in CSS output */
/* This section demonstrates the ability to generate responsive rules for other module types if they were present */
@media (max-width: 768px) {
  /* Example for __promo-duo-grid, if it were used on this page */
  /* .page-contact__promo-duo-grid { grid-template-columns: 1fr; } */

  /* Example for __home-content / __blog-slider, if they were used on this page */
  /* .page-contact__home-content { height: 60vh; overflow-y: auto; } */
  /* .page-contact__post-cover { aspect-ratio: 16/9; object-fit: cover; } */
  /* .page-contact__blog-slider .page-contact__card { width: 100%; } */

  /* Ensure general image rules are strong for mobile */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}