/* Contact Page Styles */

/* Hero Section */
.hero-section {
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 80px 0 100px;
  text-align: center;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Section Titles */
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 32px;
}

/* Contact Methods Section */
.contact-methods-section {
  padding: 80px 0;
  background: #fefdfb;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid #e2e0dc;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.contact-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary-purple);
  margin-bottom: 24px;
}

.contact-details {
  margin-bottom: 16px;
}

.contact-item {
  margin-bottom: 16px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-label {
  display: block;
  font-size: 0.8125rem;
  color: #718096;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1.0625rem;
  font-weight: 500;
  color: #1a1a2e;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-value:hover {
  color: var(--color-primary-purple);
}

.contact-value.phone {
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-address {
  font-style: normal;
  font-size: 1rem;
  color: #1a1a2e;
  line-height: 1.6;
}

.contact-note {
  font-size: 0.875rem;
  color: #718096;
  margin: 0;
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  background: #f8f7f5;
}

.form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e0dc;
  border-radius: 16px;
  padding: 48px;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 1rem;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.form-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1a1a2e;
}

.form-label .required {
  color: var(--color-primary-pink);
}

.form-input,
.form-select,
.form-textarea {
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: #1a1a2e;
  background: #ffffff;
  border: 1px solid #e2e0dc;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary-purple);
  box-shadow: 0 0 0 3px rgba(123, 63, 157, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #a0aec0;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

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

.form-submit {
  align-self: flex-start;
  min-width: 180px;
}

.form-message {
  text-align: center;
  padding: 32px;
  border-radius: 12px;
  margin-top: 24px;
}

.form-message.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.form-message.success h3 {
  color: #059669;
  margin-bottom: 8px;
}

.form-message.success p {
  color: #047857;
  margin: 0;
}

.form-message.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.form-message.error h3 {
  color: #dc2626;
  margin-bottom: 8px;
}

.form-message.error p {
  color: #b91c1c;
  margin: 0;
}

/* Hours Section */
.hours-section {
  padding: 64px 0;
  background: #fefdfb;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 24px;
}

.hours-card {
  background: #ffffff;
  border: 1px solid #e2e0dc;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.hours-card.closed {
  background: #f8f7f5;
}

.hours-day {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.hours-time {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin: 0;
}

.hours-card.closed .hours-time {
  color: #718096;
}

.hours-note {
  text-align: center;
  font-size: 0.9375rem;
  color: #718096;
  max-width: 500px;
  margin: 0 auto;
}

/* FAQ Link Section */
.faq-link-section {
  padding: 64px 0;
  background: #f8f7f5;
}

.faq-link-card {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e0dc;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.faq-link-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.faq-link-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

/* Emergency Section */
.emergency-section {
  padding: 64px 0;
  background: #fefdfb;
}

.emergency-notice {
  max-width: 700px;
  margin: 0 auto;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 32px;
}

.emergency-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 16px;
  text-align: center;
}

.emergency-text {
  font-size: 0.9375rem;
  color: #7f1d1d;
  line-height: 1.6;
  margin-bottom: 12px;
  text-align: center;
}

.emergency-text:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid .contact-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0 80px;
  }
  
  .hero-title {
    font-size: 1.875rem;
  }
  
  .hero-subtitle {
    font-size: 1.0625rem;
  }
  
  .contact-methods-section {
    padding: 64px 0;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid .contact-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }
  
  .form-wrapper {
    padding: 32px 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hours-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .contact-card {
    padding: 24px;
  }
  
  .form-wrapper {
    padding: 24px 20px;
  }
  
  .form-title {
    font-size: 1.25rem;
  }
  
  .form-submit {
    width: 100%;
  }
  
  .faq-link-card {
    padding: 32px 24px;
  }
  
  .emergency-notice {
    padding: 24px;
  }
}
