/* ===== Contact Page Styles ===== */

.contact-page {
  min-height: 60vh;
  padding: 2rem 1rem 4rem;
  background: var(--bg-cream);
}

.contact-container {
  max-width: 640px;
  margin: 0 auto;
}

/* Breadcrumb */
.contact-breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.contact-breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-breadcrumb a:hover {
  color: var(--lavender);
}

.contact-breadcrumb span {
  margin: 0 0.4rem;
}

/* Card */
.contact-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 8px 32px var(--shadow);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--rose) 100%);
}

/* Title */
.contact-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0.75rem;
}

.contact-desc {
  color: var(--text-medium);
  font-size: 0.875rem;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Success message */
.contact-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  background: #f0faf0;
  border: 1px solid #c3e6c3;
  border-radius: 12px;
  color: #2d7a2d;
  font-size: 0.875rem;
  line-height: 1.6;
}

.contact-success-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: #2d7a2d;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Form */
.contact-form-group {
  margin-bottom: 1.5rem;
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.contact-required {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--white);
  background: var(--rose-deep);
  padding: 0.125rem 0.5rem;
  border-radius: 10px;
  line-height: 1.4;
}

.contact-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: 'Zen Maru Gothic', sans-serif;
  color: var(--text-dark);
  background: var(--bg-cream);
  border: 2px solid var(--bg-greige);
  border-radius: 12px;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-input:focus {
  outline: none;
  border-color: var(--lavender);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--lavender-pale);
}

.contact-input::placeholder {
  color: var(--text-light);
}

.contact-input-error {
  border-color: var(--rose-deep);
}

.contact-input-error:focus {
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 4px var(--rose-pale);
}

/* Select */
.contact-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B5D52' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Textarea */
.contact-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

/* Error */
.contact-error {
  color: var(--rose-deep);
  font-size: 0.8125rem;
  margin-top: 0.5rem;
}

/* Submit button */
.contact-btn-submit {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 2rem auto 0;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Zen Maru Gothic', sans-serif;
  color: var(--white);
  background: linear-gradient(135deg, var(--lavender) 0%, var(--rose) 100%);
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(155, 139, 196, 0.3);
}

.contact-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(155, 139, 196, 0.4);
}

.contact-btn-submit:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 480px) {
  .contact-card {
    padding: 1.5rem;
  }

  .contact-title {
    font-size: 1.25rem;
  }

  .contact-btn-submit {
    max-width: 100%;
  }
}
