/* style/contact.css */

:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg: #D32F2F;
  --section-bg: #B71C1C;
  --text-main: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;
}

.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f0f2f5; /* Inherited from shared.css body */
}

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

.page-contact__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main); /* For dark sections */
}

.page-contact__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-main); /* For dark sections */
}

/* 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 */
  background: var(--section-bg);
  color: var(--text-main);
}

.page-contact__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border-color);
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-contact__hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-contact__hero-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 30px;
  color: var(--text-main);
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-contact__cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Info Section */
.page-contact__info-section {
  padding: 80px 0;
  background-color: #f0f2f5; /* Light background for contrast */
  color: #333333;
}

.page-contact__info-section .page-contact__section-title,
.page-contact__info-section .page-contact__section-description {
  color: #333333;
}

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

.page-contact__info-card {
  background: var(--card-bg);
  color: var(--text-main);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-contact__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-contact__card-text {
  font-size: 16px;
  margin-bottom: 25px;
  color: var(--text-main);
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-contact__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background: var(--section-bg);
  color: var(--text-main);
}

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

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-main);
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  background-color: #3f0909; /* Darker input background */
  color: var(--text-main);
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-contact__btn-submit {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-contact__btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: #f0f2f5; /* Light background for contrast */
  color: #333333;
}

.page-contact__faq-section .page-contact__section-title,
.page-contact__faq-section .page-contact__section-description {
  color: #333333;
}

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

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
}

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: #f5f5f5;
}

.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 25px;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
  color: #555555;
  font-size: 16px;
}

details.page-contact__faq-item .page-contact__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Social Section */
.page-contact__social-section {
  padding: 80px 0;
  background: var(--section-bg);
  color: var(--text-main);
}

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

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

.page-contact__social-icon img {
  
  
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--border-color);
  object-fit: cover; /* Ensure images fill the circle */
}

.page-contact__social-icon:hover {
  transform: translateY(-8px) scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-content h1 {
    font-size: 40px;
  }
  .page-contact__section-title {
    font-size: 32px;
  }
  .page-contact__hero-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-contact__container {
    padding: 0 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-section {
    padding-top: 10px !important;
  }

  .page-contact__hero-image img,
  .page-contact__info-section img,
  .page-contact__form-section img,
  .page-contact__faq-section img,
  .page-contact__social-section img,
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-contact__hero-content h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }

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

  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-submit,
  .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;
  }

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

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

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

  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-contact__faq-qtext {
    font-size: 16px;
  }
  .page-contact__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }
  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  .page-contact__social-links {
    flex-wrap: wrap;
    gap: 20px;
  }

  .page-contact__social-icon img {
    
    
  }
}

@media (max-width: 480px) {
  .page-contact__hero-content h1 {
    font-size: 28px;
  }
  .page-contact__section-title {
    font-size: 26px;
  }
  .page-contact__cta-button {
    font-size: 18px;
    padding: 12px 30px;
  }
  .page-contact__btn-primary {
    font-size: 15px;
    padding: 10px 20px;
  }
  .page-contact__btn-submit {
    font-size: 16px;
    padding: 12px 20px;
  }
}