/* Contact Page Specific Styles */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #8fbc8f, #7aa67a);
  padding: 0px 0 30px;
  text-align: center;
  margin-top: 70px;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Contact Info Section */
.contact-info-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.contact-card h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-card p {
  color: #666;
  line-height: 1.6;
}

.contact-card a {
  color: #8fbc8f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: #7aa67a;
  text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  background: white;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 3rem;
}

.form-header h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.form-header p {
  color: #666;
  font-size: 1.1rem;
}

.contact-form {
  background: #f8f8f8;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: white;
  color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8fbc8f;
  box-shadow: 0 0 0 3px rgba(143, 188, 143, 0.1);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: normal;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  position: relative;
  top: 2px;
}

.checkbox-label a {
  color: #8fbc8f;
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: #7aa67a;
}

/* Map Section */
.map-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.map-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.map-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: white;
}

.map-info {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f8f8, #ffffff);
}

.map-content {
  text-align: center;
  max-width: 400px;
}

.map-content h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.map-content p {
  color: #666;
  margin-bottom: 1rem;
}

.map-content ul {
  text-align: left;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.map-content li {
  color: #666;
  margin-bottom: 0.5rem;
}

.map-embed {
  position: relative;
  height: 400px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
}

/* Responsive Design for Map */
@media (max-width: 768px) {
  .map-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .map-info {
    order: 2;
    padding: 1.5rem;
  }

  .map-embed {
    order: 1;
    height: 300px;
  }
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: white;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: #f8f8f8;
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid #8fbc8f;
}

.faq-item h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.faq-item p {
  color: #666;
  line-height: 1.6;
}

/* Form Validation Styles */
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
  border-color: #8fbc8f;
  box-shadow: 0 0 0 3px rgba(143, 188, 143, 0.1);
}

.error-message {
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: block;
}

/* Active Navigation Link */
.nav-menu a.active {
  color: #8fbc8f;
  font-weight: bold;
}

/* Logo Link */
.logo-section a {
  text-decoration: none;
  color: inherit;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header {
    padding: 100px 0 40px;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 2rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .map-content {
    padding: 1.5rem;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .form-header h2,
  .map-section h2,
  .faq-section h2 {
    font-size: 2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .checkbox-label {
    font-size: 0.9rem;
  }
}

/* Loading States */
.btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.btn-primary.loading {
  position: relative;
  color: transparent;
}

.btn-primary.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success Message */
.success-message {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  border: 1px solid #c3e6cb;
  display: none;
}

.success-message.show {
  display: block;
}
