/* style/contact.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Grey */
  --text-light: #FFFFFF;
  --text-dark: #1A1A1A;
  --background-dark: #1A1A1A;
  --background-light: #F8F8F8;
  --border-color: #333333;
  --button-hover-dark: #B8860B; /* Darker gold for hover */
  --button-hover-light: #2C2C2C; /* Lighter dark grey for hover */
}

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

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

.page-contact-section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  font-weight: bold;
}

.page-contact-section-description {
  font-size: 1.1em;
  color: #CCCCCC;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-contact-hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  overflow: hidden;
}

.page-contact-hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact-hero-image {
  width: 100%;
  height: 500px; /* Fixed height for hero image */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  margin-top: -100px; /* Overlap image slightly */
  background: rgba(26, 26, 26, 0.85); /* Dark overlay for text readability */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-contact-hero-title {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.page-contact-hero-description {
  font-size: 1.2em;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact-hero-cta {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact-hero-cta:hover {
  background: var(--button-hover-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Intro Section */
.page-contact-intro {
  padding: 60px 0;
  background-color: var(--background-dark);
}

/* Contact Methods */
.page-contact-methods {
  padding: 60px 0;
  background-color: #0F0F0F;
}

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

.page-contact-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 350px;
}

.page-contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-contact-card-icon {
  width: 120px; /* Increased size for visual impact */
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--primary-color)); /* Subtle glow for icons */
}

.page-contact-card-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact-card-description {
  font-size: 1em;
  color: #BBBBBB;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact-card-info {
  font-size: 1.1em;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 15px;
}

.page-contact-card-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

.page-contact-card-button:hover {
  background: var(--button-hover-dark);
  transform: translateY(-2px);
}

/* Contact Form Section */
.page-contact-form-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--secondary-color);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-contact-form-label {
  display: block;
  font-size: 1.1em;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: bold;
}

.page-contact-form-input,
.page-contact-form-textarea {
  width: calc(100% - 20px);
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: #2A2A2A;
  color: var(--text-light);
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.page-contact-form-input::placeholder,
.page-contact-form-textarea::placeholder {
  color: #888888;
}

.page-contact-form-input:focus,
.page-contact-form-textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.page-contact-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact-form-submit-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--primary-color);
  color: var(--text-dark);
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact-form-submit-btn:hover {
  background: var(--button-hover-dark);
  transform: translateY(-2px);
}

/* FAQ Section */
.page-contact-faq {
  padding: 60px 0;
  background-color: #0F0F0F;
}

.page-contact-faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #2C2C2C;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
  font-weight: bold;
  flex-grow: 1;
  text-align: left;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

/* FAQ default state - answer hidden */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #2A2A2A;
  color: #DDDDDD;
  font-size: 1em;
  text-align: left;
}

/* FAQ expanded state */
.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px;
  border-radius: 0 0 8px 8px;
  border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-question {
  border-radius: 8px 8px 0 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* CTA Section */
.page-contact-cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--background-dark);
}

.page-contact-cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-contact-cta-btn {
  display: inline-block;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact-cta-btn-primary {
  background: var(--primary-color);
  color: var(--text-dark);
}

.page-contact-cta-btn-primary:hover {
  background: var(--button-hover-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-contact-cta-btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-contact-cta-btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact-hero-title {
    font-size: 3em;
  }
  .page-contact-hero-image {
    height: 400px;
  }
  .page-contact-hero-content {
    margin-top: -80px;
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-contact-hero-title {
    font-size: 2.5em;
  }
  .page-contact-hero-description {
    font-size: 1em;
  }
  .page-contact-hero-cta {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-contact-hero-image {
    height: 300px;
  }
  .page-contact-hero-content {
    margin-top: -60px;
    padding: 20px;
  }
  .page-contact-section-title {
    font-size: 2em;
  }
  .page-contact-section-description {
    font-size: 0.95em;
  }
  .page-contact-grid {
    grid-template-columns: 1fr;
  }
  .page-contact-card {
    min-height: auto;
  }
  .page-contact-card-icon {
    width: 100px;
    height: 100px;
  }
  .page-contact-form {
    padding: 25px;
  }
  .page-contact-form-input,
  .page-contact-form-textarea {
    width: calc(100% - 24px); /* Adjust for padding + border */
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 10px 20px;
  }
  .page-contact-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact-cta-btn {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-contact-hero-title {
    font-size: 2em;
  }
  .page-contact-hero-image {
    height: 250px;
  }
  .page-contact-hero-content {
    margin-top: -40px;
    padding: 15px;
  }
  .page-contact-section-title {
    font-size: 1.8em;
  }
  .page-contact-card-title {
    font-size: 1.5em;
  }
  .page-contact-form-label {
    font-size: 1em;
  }
  .page-contact-form-input,
  .page-contact-form-textarea {
    padding: 10px;
  }
  .page-contact-form-submit-btn {
    font-size: 1.1em;
    padding: 12px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
}