/* === MODERN CONTACT PAGE === */
.contact-body {
  background-color: var(--bg-color);
}

.contact-page {
  margin: auto;
  margin-top: var(--navbar-height);
  padding: 4rem;
  height: calc(100vh - var(--navbar-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1440px;
  align-items: center;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  width: 100%;
  background: var(--bg-color);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.12);
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h1 {
  font-size: 2.4rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  color: #111;
}

.contact-info p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.info-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  flex-direction: column;
}

.info-item .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 0.25rem;
}


.contact-form-wrapper {
  background: #fdfdfd;
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #555;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #333;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.info-item a {
  color: #8c6239;
  /* 優雅的暖褐色 */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.info-item a:hover {
  color: #b08257;
  /* 懸停時略微變亮，提升互動感 */
}

.submit-btn {
  padding: 1.2rem;
  background-color: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.2s;
  margin-top: 1rem;
}

.submit-btn:hover {
  background-color: #333;
  transform: translateY(-2px);
}



/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .contact-page {
    margin: var(--navbar-height) auto 0;
    display: block;
    min-height: auto;
    align-items: flex-start;
    height: fit-content;
    width: 100%;
    padding: 0;
  }


  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    border-radius: 0px;
  }
}