/* OOAK LIFE Contact Page Styles */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #f5f3f0; /* Light background for the page */
}

.contact-page {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Contact Container */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
  background-color: #f5f3f0;
}

/* Contact Header */
.contact-header-section {
  text-align: center;
  margin-bottom: 80px;
}

.contact-main-title {
  font-size: 72px;
  font-weight: 400;
  color: #7a9b8e; /* Greenish tone matching OOAK brand */
  margin: 0 0 20px 0;
  letter-spacing: 12px;
  text-transform: uppercase;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.1;
}

.contact-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #666666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Contact Content Section */
.contact-content-section {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
}

/* Contact Form */
.contact-form-wrapper {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form {
  width: 100%;
}

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

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  margin-bottom: 8px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  font-size: 15px;
  color: #333333;
  background-color: #f9f9f9;
  font-family: "Helvetica Neue", Arial, sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #7a9b8e;
  box-shadow: 0 0 0 2px rgba(122, 155, 142, 0.2);
}

.form-group.error input,
.form-group.error textarea {
  border-color: #e74c3c;
}

.error-message {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
}

.form-submit {
  margin-top: 30px;
}

.submit-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #7a9b8e;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Helvetica Neue", Arial, sans-serif;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: #658a7d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.submit-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Contact Info */
.contact-info-wrapper {
  padding: 20px 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-title {
  font-size: 28px;
  font-weight: 600;
  color: #333333;
  margin: 0 0 20px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.contact-detail {
  margin-bottom: 25px;
}

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

.contact-detail-title {
  font-size: 18px;
  font-weight: 600;
  color: #7a9b8e;
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.contact-detail-text {
  font-size: 16px;
  font-weight: 400;
  color: #666666;
  margin: 0;
  line-height: 1.6;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* Responsive Design for Contact Page */
@media (max-width: 1200px) {
  .contact-container {
    padding: 80px 30px;
  }

  .contact-header-section {
    margin-bottom: 60px;
  }

  .contact-main-title {
    font-size: 64px;
    letter-spacing: 10px;
  }

  .contact-subtitle {
    font-size: 17px;
  }

  .contact-content {
    gap: 50px;
  }

  .contact-form-wrapper {
    padding: 35px;
  }

  .contact-info-title {
    font-size: 26px;
  }

  .contact-detail-title {
    font-size: 17px;
  }

  .contact-detail-text {
    font-size: 15px;
  }
}

@media (max-width: 992px) {
  .contact-container {
    padding: 60px 25px;
  }

  .contact-header-section {
    margin-bottom: 50px;
  }

  .contact-main-title {
    font-size: 56px;
    letter-spacing: 8px;
    margin-bottom: 15px;
  }

  .contact-subtitle {
    font-size: 16px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-wrapper {
    padding: 30px;
  }

  .form-row {
    gap: 15px;
  }

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

  .submit-button {
    padding: 14px 35px;
    font-size: 13px;
  }

  .contact-info-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .contact-detail {
    margin-bottom: 20px;
  }

  .contact-detail-title {
    font-size: 16px;
  }

  .contact-detail-text {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .contact-container {
    padding: 50px 20px;
  }

  .contact-header-section {
    margin-bottom: 40px;
  }

  .contact-main-title {
    font-size: 48px;
    letter-spacing: 6px;
  }

  .contact-subtitle {
    font-size: 15px;
  }

  .contact-content {
    gap: 30px;
  }

  .contact-form-wrapper {
    padding: 25px;
  }

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

  .form-group label {
    font-size: 13px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 14px;
  }

  .submit-button {
    padding: 12px 30px;
    font-size: 12px;
    width: 100%;
  }

  .contact-info-title {
    font-size: 22px;
    text-align: center;
  }

  .contact-detail-title {
    font-size: 15px;
    text-align: center;
  }

  .contact-detail-text {
    font-size: 13px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .contact-container {
    padding: 40px 15px;
  }

  .contact-header-section {
    margin-bottom: 30px;
  }

  .contact-main-title {
    font-size: 36px;
    letter-spacing: 4px;
  }

  .contact-subtitle {
    font-size: 14px;
  }

  .contact-form-wrapper {
    padding: 20px;
  }

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

  .form-group label {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group textarea {
    padding: 8px 10px;
    font-size: 13px;
  }

  .form-submit {
    margin-top: 20px;
  }

  .submit-button {
    padding: 10px 25px;
    font-size: 11px;
  }

  .contact-info-title {
    font-size: 20px;
  }

  .contact-detail {
    margin-bottom: 15px;
  }

  .contact-detail-title {
    font-size: 14px;
  }

  .contact-detail-text {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .contact-main-title {
    font-size: 32px;
    letter-spacing: 3px;
  }

  .contact-subtitle {
    font-size: 13px;
  }

  .contact-info-title {
    font-size: 18px;
  }

  .contact-detail-title {
    font-size: 13px;
  }

  .contact-detail-text {
    font-size: 11px;
  }
}

/* Loading State */
.contact-page.loading {
  opacity: 0.6;
}

/* Print Styles */
@media print {
  .contact-page {
    background-color: white;
  }

  .contact-container {
    padding: 20px;
    max-width: none;
  }

  .contact-main-title {
    color: #000000;
    font-size: 36px;
  }

  .contact-subtitle {
    color: #000000;
    font-size: 14px;
  }

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

  .contact-form-wrapper {
    box-shadow: none;
    border: 1px solid #cccccc;
  }

  .submit-button {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #000000;
  }
}
