/* Contact Page Specific Styling */

#contact-header {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('asset/foto7.jpg');
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#contact-intro {
  padding: 80px 0 50px;
}

/* Contact Container */
.contact-container {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.contact-info, .contact-form {
  flex: 1;
}

/* Contact Info Styles */
.info-item {
  margin-bottom: 30px;
}

.info-item h4 {
  font-size: 20px;
  color: var(--wood-brown);
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f1f1;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: inline-block;
  padding: 10px 15px;
  background-color: var(--river-blue);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: var(--wood-brown);
}

/* Contact Form Styles */
.contact-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h4 {
  font-size: 24px;
  color: var(--wood-brown);
  margin: 0 0 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--river-blue);
}

.contact-form button {
    width: 100%;
    padding: 12px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: normal;
}

/* Map Section */
#map-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #666;
}

.map-placeholder p {
  margin: 5px 0;
}

/* FAQ Section */
#faq-section {
  padding: 60px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  background-color: white;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-question h4 {
  margin: 0;
  font-size: 18px;
  color: var(--wood-brown);
}

.toggle-icon {
  font-size: 24px;
  color: var(--river-blue);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

/* Responsive Adjustments */
@media screen and (max-width: 991.98px) {
  .contact-container {
    flex-direction: column;
  }
  
  .contact-form {
    margin-top: 40px;
  }
}

@media screen and (max-width: 768px) {
  #contact-header {
    height: 40vh;
  }
  
  .faq-question h4 {
    font-size: 16px;
  }
}