/* Contact Page Styles */
.contact-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  background: url('../images/about.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 70px;
}

.contact-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.contact-hero .hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  color: var(--secondary);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.contact-hero .hero-content p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Contact Info */
.contact-info-section {
  padding: 3rem 0;
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-card p {
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-actions {
  margin-top: 1.5rem;
}

.btn-contact {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-contact.whatsapp {
  background: #25D366;
}

.btn-contact.whatsapp:hover {
  background: #128C7E;
  color: white;
}

/* Map Section */
.map-section {
  padding: 3rem 0;
  background: white;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-top: 2rem;
}

#map {
  height: 400px;
  width: 100%;
}

/* Contact Form */
.contact-form-section {
  padding: 3rem 0;
  background: var(--light);
}

.form-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.form-content {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-content h2 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-content > p {
  color: var(--text);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-label input {
  margin-right: 0.5rem;
}

.btn-submit {
  padding: 1rem 2rem;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn-submit:hover {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-2px);
}

/* Form Sidebar */
.form-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.sidebar-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.office-hours {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.hour-row:last-child {
  border-bottom: none;
}

.emergency-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e74c3c;
  text-decoration: none;
  font-weight: 600;
  margin-top: 0.5rem;
}

.emergency-link:hover {
  color: #c0392b;
}

.response-times {
  list-style: none;
  padding: 0;
  margin: 0;
}

.response-times li {
  padding: 0.3rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.response-times li:last-child {
  border-bottom: none;
}

/* FAQ Section */
.faq-section {
  padding: 3rem 0;
  background: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.faq-item {
  background: var(--light);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.faq-item p {
  color: var(--text);
  line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .form-container {
    grid-template-columns: 1fr;
  }
  
  .form-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    height: 40vh;
    min-height: 350px;
    margin-top: 60px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 576px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-hero {
    height: 35vh;
    min-height: 300px;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Leaflet Map Customization */
.leaflet-popup-content {
  font-family: inherit;
}

.leaflet-popup-content h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.leaflet-popup-content p {
  margin: 0.25rem 0;
}

.custom-marker {
  background: var(--secondary);
  border: 3px solid white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}