/* Contact page styles matching Next.js design */
.contact-container {
  background: white;
  padding: 40px 0 40px;
}

@media (min-width: 1024px) {
  .contact-container {
    padding: 80px 0;
  }
}

.contact-breadcrumb {
  background: #fafafa;
  padding: 12px 0;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-text {
  font-weight: 500;
  color: #404040;
  font-size: 14px;
  padding: 0 12px;
}

.contact-title {
  font-size: 32px;
  line-height: 44px;
  font-weight: bold;
  margin-bottom: 32px;
  color: #262626;
}

@media (min-width: 1024px) {
  .contact-title {
    font-size: 40px;
    line-height: 56px;
    margin-bottom: 40px;
    text-align: center;
  }
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

@media (min-width: 1024px) {
  .contact-content {
    flex-direction: row;
    gap: 40px;
  }
}

.contact-left,
.contact-right {
  flex: 1;
}

.contact-subtitle {
  font-size: 18px;
  line-height: 32px;
  color: #262626;
  margin-bottom: 16px;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .contact-subtitle {
    font-size: 24px;
    line-height: 36px;
  }
  .text-label {
    font-size: 14px;
    line-height: 24px;
    color: black;
    letter-spacing: 0.2px;
    font-weight: 500;
    margin-bottom: 0;
  }
  .text-label span {
    font-size: 14px;
    line-height: 24px;
    color: #a40000;
    letter-spacing: 0.2px;
  }
  .contact-form .form-group {
    margin-bottom: 0 !important;
  }
  .contact-form .form-group-sp {
    margin-bottom: 0;
    width: 50%;
  }
  .contact-form .form-row {
    gap: 24px;
  }
}

.contact-description {
  color: #262626;
  margin-bottom: 32px;
}

@media (min-width: 1024px) {
  .contact-description {
    margin-bottom: 32px;
  }
  .contact-form .form-group {
    margin-bottom: 0;
  }
}

/* Form styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1024px) {
  .contact-form {
    gap: 24px;
  }
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 4px;
}

@media (min-width: 768px) {
  .form-row {
    flex-direction: row;
    gap: 24px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}
.form-group-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group-sp {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

@media (min-width: 768px) {
  .form-group-sp {
    flex-direction: row;
    gap: 24px;
  }
}

.form-group-sp > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.text-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #262626;
  margin-bottom: 0;
}

.text-label span {
  color: #a40000;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  color: #111827;
  transition: all 0.2s;
  font-size: 14px;
  line-height: 1.5;
}

.form-control::placeholder {
  color: #9ca3af;
}

.form-control:hover {
  border-color: #9ca3af;
}

.form-control:focus {
  outline: none;
  border-color: #a40000;
  box-shadow: 0 0 0 3px rgba(164, 0, 0, 0.1);
}

.form-control.error {
  border-color: #fca5a5;
  background-color: #fef2f2;
}

.form-control[type="textarea"],
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.invalid-feedback {
  font-size: 12px;
  color: #dc2626;
  margin-top: 4px;
  display: none;
}

.form-control.error + .invalid-feedback {
  display: block;
}

.submit-btn {
  width: 100%;
  background-color: #b91c1c;
  color: white;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.submit-btn:hover:not(:disabled) {
  background-color: #991b1b;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-btn:focus {
  outline: none;
  ring: 2px;
  ring-color: #a40000;
  ring-offset: 2px;
}

/* Contact info styles */
.contact-info {
  margin-bottom: 32px;
}

@media (min-width: 1024px) {
  .contact-info {
    margin-bottom: 40px;
  }

  .contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .contact-info-item {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    align-items: center;
  }
}

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

.contact-info-item {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #262626;
}

.contact-info-content a {
  color: #262626;
  text-decoration: none;
}

.contact-info-content a:hover {
  text-decoration: underline;
}

/* Social media styles */
.social-section h3 {
  font-size: 18px;
  color: #262626;
  margin-bottom: 24px;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .social-section h3 {
    font-size: 24px;
  }
}

.social-links {
  display: flex;
  gap: 24px;
}

.social-link {
  transition: opacity 0.2s;
}

.social-link:hover {
  opacity: 0.8;
}

/* Map styles */
.map-section {
  padding-bottom: 40px;
  background: white;
}

@media (min-width: 1024px) {
  .map-section {
    padding-bottom: 80px;
  }
}

.map-container {
  overflow: hidden;
  border-radius: 16px;
}

.map-iframe {
  border: 0;
  width: 100%;
  height: 325px;
}

@media (min-width: 1024px) {
  .map-iframe {
    height: 600px;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Success/Error message styles */
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.alert-success {
  background-color: #d1fae5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.alert-danger {
  background-color: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
