/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Body background is #0a0a0a (dark), so text must be light */
  background-color: transparent; /* Main content background will be handled by sections */
}

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

/* Section base styles */
.page-contact section {
  padding: 80px 0;
  text-align: center;
}

.page-contact__dark-section {
  background-color: #0d0d0d; /* Slightly lighter than body for contrast */
  color: #ffffff;
}

.page-contact__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
}

.page-contact__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 0; /* body handles header offset, this is for visual padding */
  text-align: center;
  overflow: hidden;
  min-height: 500px; /* Ensure sufficient height */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-contact__main-title {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
}

.page-contact__description {
  font-size: 1.2em;
  line-height: 1.6;
  color: #f0f0f0;
  max-width: 700px;
  margin: 0 auto;
}

.page-contact__hero-image {
  width: 100%;
  max-width: 1200px; /* Adjust based on hero content width */
  height: auto;
  display: block;
  margin-top: 40px; /* Separate image from text */
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Contact Methods Section */
.page-contact__contact-methods {
  background-color: #0a0a0a; /* Dark background as per body, but sections can have slightly different dark shades */
  padding: 100px 0;
}

.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-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-contact__method-icon {
  width: 200px; /* Min size 200x200px */
  height: 200px; /* Min size 200x200px */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-contact__method-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #f0f0f0;
  flex-grow: 1; /* Allow text to take up available space */
}

.page-contact__method-detail {
  font-size: 0.95em;
  margin-bottom: 5px;
  color: #cccccc;
}

/* Contact Form Section */
.page-contact__contact-form-section {
  background-color: #1a1a1a; /* Darker background for distinction */
  padding: 100px 0;
}

.page-contact__form-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
  align-items: center;
  justify-content: center;
}

.page-contact__form {
  flex: 1;
  min-width: 300px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
}

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

.page-contact__form-label {
  display: block;
  font-size: 1em;
  margin-bottom: 8px;
  color: #f0f0f0;
  font-weight: 600;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #26A9E0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.3);
}

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

.page-contact__form-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__form-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Social Media Section */
.page-contact__social-media-section {
  background-color: #0a0a0a;
  padding: 100px 0;
}

.page-contact__social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.page-contact__social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-contact__social-link:hover {
  color: #26A9E0;
}

.page-contact__social-link img {
  width: 200px; /* Min size 200x200px */
  height: 200px; /* Min size 200x200px */
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 50%; /* Make them circular */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-contact__social-link img:hover {
  transform: translateY(-5px);
}

.page-contact__social-cta {
  font-size: 1.1em;
  line-height: 1.6;
  margin-top: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-contact__faq-section {
  background-color: #1a1a1a;
  padding: 100px 0;
}

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

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-question {
  background-color: rgba(38, 169, 224, 0.2); /* Brand color on open */
  border-bottom: none;
}

.page-contact__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-contact__faq-qtext {
  flex-grow: 1;
}

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

.page-contact__faq-item[open] .page-contact__faq-toggle {
  color: #ffffff;
}

.page-contact__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
  background-color: rgba(255, 255, 255, 0.03);
}

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

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

.page-contact__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

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

.page-contact__faq-item details > summary {
  list-style: none; /* Hide default marker */
}
.page-contact__faq-item details > summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-contact__faq-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 50px auto 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Call to Action Section */
.page-contact__cta-section {
  background-color: #0a0a0a;
  padding: 100px 0;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #EA7C07; /* Login color for CTA, as it's a strong action */
  color: #ffffff;
  font-size: 1.2em;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__cta-button:hover {
  background-color: #d16b05; /* Slightly darker on hover */
  transform: translateY(-3px);
}

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

/* General button styles */
.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__btn-primary:hover {
  background-color: #1e87b7;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-contact__hero-section,
  .page-contact section {
    padding: 60px 0;
  }

  .page-contact__section-title {
    font-size: 2em;
  }

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

@media (max-width: 768px) {
  .page-contact section {
    padding: 40px 0;
  }

  .page-contact__hero-section {
    padding-top: 10px !important; /* body handles header offset, this is for visual padding */
  }

  .page-contact__container {
    padding: 0 15px !important;
  }

  .page-contact__section-title {
    font-size: 1.8em;
  }

  .page-contact__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-contact__description,
  .page-contact__section-description,
  .page-contact__method-text,
  .page-contact__method-detail,
  .page-contact__social-cta,
  .page-contact__faq-answer p {
    font-size: 0.95em;
  }

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

  /* All containers with images/buttons */
  .page-contact__hero-section,
  .page-contact__contact-methods,
  .page-contact__contact-form-section,
  .page-contact__social-media-section,
  .page-contact__faq-section,
  .page-contact__cta-section,
  .page-contact__method-card,
  .page-contact__form,
  .page-contact__form-wrapper,
  .page-contact__social-links,
  .page-contact__faq-list,
  .page-contact__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Specific padding adjustment for sections that already have 0 padding-left/right in desktop */
  .page-contact__contact-methods,
  .page-contact__contact-form-section,
  .page-contact__social-media-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-contact__method-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__form-wrapper {
    flex-direction: column;
  }
  
  .page-contact__form {
    width: 100% !important;
    padding: 25px;
  }

  .page-contact__form-image-wrapper {
    width: 100% !important;
  }

  /* Buttons responsive */
  .page-contact__btn-primary,
  .page-contact__cta-button,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    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;
    margin-top: 10px; /* Add some margin between stacked buttons */
  }

  .page-contact__social-links {
    flex-direction: column;
    gap: 20px;
  }
  
  .page-contact__social-link {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
}

/* Details/Summary specific CSS to hide default arrow */
.page-contact__faq-item details > summary {
  list-style: none;
}
.page-contact__faq-item details > summary::-webkit-details-marker {
  display: none;
}