/* ===========================
   Contact Section
   =========================== */
.contactSection {
  padding: 60px 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contactContainer {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--clr-primary-200);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ===========================
   Contact Image
   =========================== */
.contactImage {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.contactImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ===========================
   Contact Form
   =========================== */
.contactForm {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.contactTitle {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  text-align: center;
}

.contactSubtitle {
  font-size: 15px;
  color: #666;
  margin-bottom: 35px;
  text-align: center;
  line-height: 1.6;
}

/* ===========================
   Form Elements
   =========================== */
#contactFormElement {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.formGroup {
  display: flex;
  flex-direction: column;
}

.formGroup input,
.formGroup textarea {
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  color: #1a1a1a;
  transition: all 0.3s ease, height 0s ease;
  font-family: inherit;
  background: #fafafa;
}

.formGroup input:focus,
.formGroup textarea:focus {
  outline: none;
  border-color: #d97757;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(217, 119, 87, 0.1);
}

.formGroup input::placeholder,
.formGroup textarea::placeholder {
  color: #999;
}

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

/* ===========================
   Submit Button
   =========================== */
.submitBtn {
  padding: 14px 40px;
  background: transparent;
  color: #666;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
  min-width: 160px;
  margin-top: 10px;
}

.submitBtn:hover {
  background: #d97757;
  border-color: #d97757;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 87, 0.3);
}

.submitBtn:active {
  transform: translateY(0);
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablet */
@media (max-width: 992px) {
  .contactContainer {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .contactImage {
    min-height: 300px;
    max-height: 300px;
  }

  .contactForm {
    padding: 40px 30px;
  }

  .contactTitle {
    font-size: 28px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .contactSection {
    padding: 40px 0;
  }

  .contactContainer {
    border-radius: 15px;
    border-width: 2px;
  }

  .contactImage {
    min-height: 250px;
    max-height: 250px;
  }

  .contactForm {
    padding: 35px 25px;
  }

  .contactTitle {
    font-size: 26px;
  }

  .contactSubtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .formGroup input,
  .formGroup textarea {
    padding: 12px 16px;
    font-size: 14px;
  }

  .submitBtn {
    width: 100%;
    padding: 13px 30px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .contactSection {
    padding: 30px 0;
  }

  .contactContainer {
    border-radius: 12px;
  }

  .contactImage {
    min-height: 200px;
    max-height: 200px;
  }

  .contactForm {
    padding: 30px 20px;
  }

  .contactTitle {
    font-size: 24px;
  }

  #contactFormElement {
    gap: 16px;
  }
}
