/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by 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;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
  line-height: 1.2;
}

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0; /* Light text for dark backgrounds */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-contact__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 900;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.5;
}

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

.page-contact__btn-primary {
  background: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
  box-shadow: 0 5px 15px rgba(38, 169, 224, 0.4);
}

.page-contact__btn-primary:hover {
  background: #1e87c2;
  border-color: #1e87c2;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(38, 169, 224, 0.6);
}

.page-contact__btn-secondary {
  background: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-left: 15px;
}

.page-contact__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87c2;
  transform: translateY(-3px);
}

/* Contact Methods Section */
.page-contact__contact-methods {
  padding: 80px 0;
  background-color: #0a0a0a; /* Ensure dark background */
  color: #ffffff;
}

.page-contact__contact-methods .page-contact__section-title {
  color: #26A9E0;
}

.page-contact__contact-methods .page-contact__section-intro {
  color: #f0f0f0;
}

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

.page-contact__method-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark theme */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-contact__method-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.page-contact__method-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact__method-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly darker for contrast */
  color: #ffffff;
}

.page-contact__faq-section .page-contact__section-title {
  color: #26A9E0;
}

.page-contact__faq-section .page-contact__section-intro {
  color: #f0f0f0;
}

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

.page-contact__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-contact__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-contact__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-contact__faq-qtext {
  flex-grow: 1;
  color: #f0f0f0; /* Ensure question text is light */
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
  color: #26A9E0;
  margin-left: 15px;
}

.page-contact__faq-item[open] .page-contact__faq-qtext {
  color: #26A9E0;
}

.page-contact__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1em;
  color: #e0e0e0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-contact__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-contact__faq-answer a:hover {
  color: #1e87c2;
}

/* Location Section */
.page-contact__location-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
  text-align: center;
}

.page-contact__location-section .page-contact__section-title {
  color: #26A9E0;
}

.page-contact__location-section .page-contact__section-intro {
  color: #f0f0f0;
}

.page-contact__location-details {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  max-width: 600px;
  margin: 50px auto 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-contact__location-details p {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #e0e0e0;
}

.page-contact__location-details strong {
  color: #26A9E0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-contact__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }
  .page-contact__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }
  .page-contact__hero-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
  .page-contact__hero-content {
    padding: 0;
  }
  .page-contact__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-contact__description {
    font-size: 1em;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0;
    margin-bottom: 15px;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-contact__contact-methods,
  .page-contact__faq-section,
  .page-contact__location-section {
    padding: 50px 0;
  }
  .page-contact__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-intro {
    font-size: 0.95em;
  }
  .page-contact__method-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__method-icon {
    width: 80px;
    height: 80px;
  }
  .page-contact__method-title {
    font-size: 1.5em;
  }
  .page-contact__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 10px 20px 20px;
    font-size: 0.95em;
  }
  /* Ensure all images are responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__method-card,
  .page-contact__faq-item,
  .page-contact__location-details {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
}