/* style/contact.css */

/* Custom Colors */
:root {
  --page-contact-primary: #11A84E;
  --page-contact-secondary: #22C768;
  --page-contact-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-contact-card-bg: #11271B;
  --page-contact-bg: #08160F;
  --page-contact-text-main: #F2FFF6;
  --page-contact-text-secondary: #A7D9B8;
  --page-contact-border: #2E7A4E;
  --page-contact-glow: #57E38D;
  --page-contact-gold: #F2C14E;
  --page-contact-divider: #1E3A2A;
  --page-contact-deep-green: #0A4B2C;
}

.page-contact {
  background-color: var(--page-contact-bg);
  color: var(--page-contact-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
}

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

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-contact__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-contact__hero-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Use clamp for H1 */
  color: var(--page-contact-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.1em;
  color: var(--page-contact-text-secondary);
  margin-bottom: 30px;
}

.page-contact__cta-button {
  display: inline-block;
  background: var(--page-contact-button-gradient);
  color: var(--page-contact-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-contact__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Section Titles & Descriptions */
.page-contact__section-title {
  font-size: 2.5em;
  color: var(--page-contact-text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: var(--page-contact-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Info Section */
.page-contact__info-section {
  padding: 80px 0;
  background-color: var(--page-contact-bg);
}

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

.page-contact__info-card {
  background-color: var(--page-contact-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-contact-border);
}

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

.page-contact__card-title {
  font-size: 1.5em;
  color: var(--page-contact-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-text {
  font-size: 1em;
  color: var(--page-contact-text-secondary);
  margin-bottom: 20px;
}

.page-contact__card-link {
  display: inline-block;
  color: var(--page-contact-secondary);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__card-link:hover {
  color: var(--page-contact-glow);
}

.page-contact__card-link--disabled {
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
}

.page-contact__working-hours {
  background-color: var(--page-contact-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-contact-border);
}

/* Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background-color: var(--page-contact-deep-green);
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--page-contact-card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-contact-border);
}

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

.page-contact__form-label {
  display: block;
  font-size: 1.1em;
  color: var(--page-contact-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--page-contact-border);
  border-radius: 8px;
  background-color: #0d2017;
  color: var(--page-contact-text-main);
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: var(--page-contact-text-secondary);
  opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: var(--page-contact-secondary);
  box-shadow: 0 0 0 3px rgba(34, 199, 104, 0.3);
}

.page-contact__submit-button {
  display: block;
  width: 100%;
  background: var(--page-contact-button-gradient);
  color: var(--page-contact-text-main);
  padding: 15px 20px;
  border-radius: 8px;
  border: none;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: var(--page-contact-bg);
}

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

.page-contact__faq-item {
  background-color: var(--page-contact-card-bg);
  margin-bottom: 20px;
  border-radius: 12px;
  border: 1px solid var(--page-contact-border);
  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 30px;
  cursor: pointer;
  font-size: 1.2em;
  color: var(--page-contact-text-main);
  font-weight: bold;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-contact__faq-item[open] .page-contact__faq-question {
  background-color: #1a3225; /* Slightly darker on open */
  border-bottom: 1px solid var(--page-contact-divider);
  border-radius: 12px 12px 0 0;
}

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 20px;
  color: var(--page-contact-secondary);
}

.page-contact__faq-answer {
  padding: 0 30px 20px 30px;
  font-size: 1em;
  color: var(--page-contact-text-secondary);
}

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

.page-contact__faq-answer a {
  color: var(--page-contact-secondary);
  text-decoration: underline;
}

.page-contact__faq-answer a:hover {
  color: var(--page-contact-glow);
}

/* Social Section */
.page-contact__social-section {
  padding: 80px 0;
  background-color: var(--page-contact-deep-green);
  text-align: center;
}

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

.page-contact__social-icon-link {
  display: block;
  transition: transform 0.3s ease;
}

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

.page-contact__social-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%; /* Make icons round */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: clamp(2em, 4vw, 3em);
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__info-grid {
    grid-template-columns: 1fr;
  }
}

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

  .page-contact__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__social-section {
    padding: 40px 0 !important;
  }

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

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

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

  .page-contact__hero-description,
  .page-contact__section-description,
  .page-contact__card-text,
  .page-contact__form-label,
  .page-contact__form-input,
  .page-contact__form-textarea,
  .page-contact__faq-answer {
    font-size: 0.95em;
  }

  .page-contact__cta-button,
  .page-contact__submit-button,
  .page-contact__card-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-contact__info-icon {
    width: 80px;
    height: 80px;
  }

  .page-contact__social-icon {
    width: 50px;
    height: 50px;
  }

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

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

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

  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-image-wrapper,
  .page-contact__info-card,
  .page-contact__working-hours,
  .page-contact__contact-form,
  .page-contact__faq-item,
  .page-contact__social-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }
  
  .page-contact__social-links {
    flex-wrap: wrap !important;
    gap: 15px;
  }

  .page-contact__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__faq-question {
    font-size: 1em;
  }
  .page-contact__info-icon {
    width: 70px;
    height: 70px;
  }
  .page-contact__social-icon {
    width: 45px;
    height: 45px;
  }
}