/* Contact Page Styles */
.contact-page {
  min-height: 100vh;
}

.contact-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

@media (min-width: 640px) {
  .contact-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .contact-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Header Section */
.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-title {
  font-size: 2.25rem;
  font-weight: bold;
  color: var(--pet-brown);
  margin-bottom: 1rem;
}

.contact-description {
  font-size: 1.125rem;
  color: var(--pet-gray);
  max-width: 42rem;
  margin: 0 auto;
}

/* Main Grid */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Card Styles */
.contact-card,
.petshelter-card {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.contact-card-header,
.petshelter-card-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
}

.contact-card-title,
.petshelter-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pet-brown);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 !important;
}

.contact-card-content,
.petshelter-card-content {
  padding: 1.5rem;
  padding-top: 0;
}

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

.contact-form-label,
.petshelter-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.contact-form-input,
.contact-form-select,
.contact-form-textarea,
.petshelter-input,
.petshelter-select,
.petshelter-textarea {
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: white;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.contact-form-input:focus,
.contact-form-select:focus,
.contact-form-textarea:focus,
.petshelter-input:focus,
.petshelter-select:focus,
.petshelter-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--pet-orange);
  border-color: var(--pet-orange);
}

.contact-form-textarea,
.petshelter-textarea {
  min-height: 5rem;
  resize: vertical;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder,
.petshelter-input::placeholder,
.petshelter-textarea::placeholder {
  color: var(--pet-gray);
}

.contact-form-button,
.petshelter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: colors 0.2s;
  outline: none;
  border: none;
  cursor: pointer;
  height: 2.5rem;
  padding: 0.5rem 1rem;
  width: 100%;
  background: var(--pet-orange);
  color: white;
}

.contact-form-button:hover,
.petshelter-button:hover {
  background: color-mix(in srgb, var(--pet-orange) 90%, black);
}

.contact-form-button:focus,
.petshelter-button:focus {
  box-shadow: 0 0 0 2px var(--pet-orange);
}

/* Branch Information */
.branch-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.branch-location {
  border-left: 4px solid var(--pet-orange);
  padding-left: 1rem;
}

.branch-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--pet-brown);
  margin-bottom: 0.5rem;
}

.branch-address {
  color: var(--pet-gray);
  line-height: 1.5;
}

/* Contact Methods */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-method-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--pet-orange);
}

.contact-method-text {
  color: var(--pet-gray);
}

/* Business Hours Card */
.business-hours-card {
  background: var(--pet-cream);
}

.business-hours-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--pet-brown);
  margin-bottom: 0.75rem;
}

.business-hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.business-hours-item {
  display: flex;
  justify-content: space-between;
}

/* Thank You State */
.thank-you-container {
  text-align: center;
  padding: 4rem 0;
}

.thank-you-icon {
  width: 4rem;
  height: 4rem;
  color: #10b981;
  margin: 0 auto 1rem;
}

.thank-you-title {
  font-size: 1.875rem;
  font-weight: bold;
  color: var(--pet-brown);
  margin-bottom: 1rem;
}

.thank-you-message {
  font-size: 1.125rem;
  color: var(--pet-gray);
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    padding: 2rem 1rem;
  }

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

  .contact-grid {
    gap: 2rem;
  }
}

/* Plugin Integration */
.petshelter-contact-form-wrapper {
  width: 100%;
}

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

/* Icon sizing */
.contact-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-icon-small {
  width: 1rem;
  height: 1rem;
}
