/* Contact Page Styles */
.contact-page {
  padding: 60px 0;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--dark-bg);
  font-family: "Playfair Display", serif;
  position: relative;
}

.page-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* Contact Info Section */
.contact-card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-card h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--dark-bg);
  font-family: "Playfair Display", serif;
  position: relative;
  padding-bottom: 15px;
}

.contact-card h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.contact-details {
  margin-bottom: 30px;
}

.contact-details li {
  display: flex;
  margin-bottom: 25px;
}

.contact-details li:last-child {
  margin-bottom: 0;
}

.contact-details i {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark-bg);
}

.contact-details p {
  color: var(--light-text);
}

.social-links h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--dark-bg);
}

.social-icons {
  display: flex;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--light-bg);
  color: var(--primary-color);
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Contact Form Section */
.form-card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--dark-bg);
  font-family: "Playfair Display", serif;
}

.form-card p {
  margin-bottom: 30px;
  color: var(--light-text);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-bg);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(44, 110, 73, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

.checkbox-group a {
  color: var(--primary-color);
  text-decoration: underline;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  width: 100%;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
}

/* Map Section */
.map-section {
  margin-top: 60px;
}

.map-section h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--dark-bg);
  font-family: "Playfair Display", serif;
}

.map-container {
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-placeholder {
  height: 100%;
  background-color: var(--light-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
}

.map-placeholder i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Success Message */
.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  text-align: center;
  display: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info-section {
    order: 2;
  }

  .contact-form-section {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .contact-card h2,
  .form-card h2 {
    font-size: 1.5rem;
  }

  .map-container {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .contact-page {
    padding: 40px 0;
  }

  .contact-details li {
    flex-direction: column;
  }

  .contact-details i {
    margin-bottom: 10px;
  }
}
