/* style/contact.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #DC143C;
  --dark-background: #1a1a1a;
  --light-text: #f0f0f0;
  --dark-text: #333333;
  --card-background: #2a2a2a;
  --form-background: #3a3a3a;
  --input-background: #4a4a4a;
  --border-color: #555555;
}

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

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

.page-contact h1,
.page-contact h2,
.page-contact h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-contact h1 {
  font-size: 2.8em;
  font-weight: bold;
}

.page-contact h2 {
  font-size: 2.2em;
  font-weight: bold;
  margin-top: 40px;
}

.page-contact h3 {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--light-text);
}

.page-contact p {
  margin-bottom: 15px;
  text-align: center;
}

.page-contact ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: center;
}

.page-contact ul li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-contact a {
  color: var(--primary-color);
  text-decoration: none;
}

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

/* Hero Section */
.page-contact .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--dark-background), #0a0a0a);
}

.page-contact .hero-container {
  position: relative;
  width: 100%;
  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.5);
}

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

.page-contact .hero-content h1 {
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-contact .hero-content p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.2em;
  color: var(--light-text);
}

.page-contact .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-contact .cta-button:hover {
  background: #ff3355;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Section Intro */
.page-contact .section-intro {
  padding: 60px 20px;
  background-color: #222222;
  text-align: center;
}

.page-contact .section-intro p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1em;
  color: var(--light-text);
}

/* Contact Methods */
.page-contact .section-contact-methods {
  padding: 60px 20px;
  background-color: var(--dark-background);
}

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

.page-contact .contact-card {
  background-color: var(--card-background);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-contact .contact-card:hover {
  transform: translateY(-5px);
  background-color: #3a3a3a;
}

.page-contact .contact-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-contact .contact-card h3 {
  margin-top: 0;
  color: var(--primary-color);
  font-size: 1.5em;
}

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

.page-contact .contact-card strong {
  color: var(--primary-color);
}

.page-contact .btn-contact-method {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--primary-color);
  color: var(--dark-text);
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact .btn-contact-method:hover {
  background-color: #ffeb3b;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Operating Hours */
.page-contact .section-hours {
  padding: 60px 20px;
  background-color: #222222;
  text-align: center;
}

.page-contact .section-hours ul {
  max-width: 600px;
  margin: 20px auto;
  text-align: left;
}

.page-contact .section-hours ul li {
  background-color: var(--card-background);
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-contact .section-hours ul li strong {
  color: var(--primary-color);
}

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

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

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

.page-contact .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--light-text);
}

.page-contact .form-group input,
.page-contact .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--input-background);
  color: var(--light-text);
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact .form-group input:focus,
.page-contact .form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.page-contact .btn-submit {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: var(--secondary-color);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-contact .btn-submit:hover {
  background-color: #ff3355;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-contact .section-faq {
  padding: 60px 20px;
  background-color: #222222;
}

.page-contact .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--card-background);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-contact .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #333333;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact .faq-question:hover {
  background: #444444;
}

.page-contact .faq-question h3 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.2em;
  text-align: left;
}

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

.page-contact .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  color: var(--light-text);
}

.page-contact .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 20px;
  background: var(--card-background);
}

.page-contact .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  content: '−'; /* Using JS to change text content */
}

.page-contact .faq-answer p {
  text-align: left;
  margin-bottom: 0;
}

/* Why Contact Us Section */
.page-contact .section-why-contact {
  padding: 60px 20px;
  background-color: var(--dark-background);
  text-align: center;
}

.page-contact .section-why-contact ul {
  max-width: 700px;
  margin: 20px auto;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.page-contact .section-why-contact ul li {
  background-color: var(--card-background);
  padding: 15px;
  border-radius: 8px;
  border-left: 5px solid var(--secondary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-contact .section-why-contact ul li strong {
  color: var(--secondary-color);
}

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

.page-contact .button-group .cta-button {
  margin-top: 0;
  flex-grow: 1;
  max-width: 300px;
}

.page-contact .button-group .secondary-cta {
  background-color: #555555;
}

.page-contact .button-group .secondary-cta:hover {
  background-color: #777777;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-contact h1 {
    font-size: 2em;
  }
  .page-contact h2 {
    font-size: 1.8em;
  }
  .page-contact h3 {
    font-size: 1.4em;
  }
  .page-contact p {
    font-size: 0.95em;
  }
  .page-contact .hero-section {
    padding: 40px 15px;
  }
  .page-contact .hero-image img {
    border-radius: 4px;
  }
  .page-contact .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-contact .contact-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .contact-card {
    padding: 20px;
  }
  .page-contact .section-hours ul,
  .page-contact .section-why-contact ul {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 0 10px;
  }
  .page-contact .section-hours ul li,
  .page-contact .section-why-contact ul li {
    padding: 12px;
  }
  .page-contact .contact-form {
    padding: 25px;
  }
  .page-contact .faq-question h3 {
    font-size: 1em;
  }
  .page-contact .button-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact .button-group .cta-button {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-contact h1 {
    font-size: 1.8em;
  }
  .page-contact h2 {
    font-size: 1.5em;
  }
  .page-contact .hero-content p {
    font-size: 1em;
  }
  .page-contact .contact-icon {
    width: 80px;
    height: 80px;
  }
}