/* Contacts Page Styles */

.contacts-page {
  background: var(--bg);
  min-height: 100vh;
  padding: 0;
}

.contacts-container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 24px;
}

/* Breadcrumbs */
.contacts-page .breadcrumbs {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

.contacts-page .breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
}

.contacts-page .breadcrumbs a:hover {
  text-decoration: underline;
}

/* Header */
.contacts-header {
  text-align: center;
  margin-bottom: 48px;
}

.contacts-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 16px;
}

.contacts-header p {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Main contacts section */
.contacts-main {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contacts-main h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: center;
  margin: 0 0 32px;
}

/* Grid layout */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Contact info section */
.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Contact cards */
.contact-card {
  background: #f8fcfd;
  border: 1px solid #e0f2f4;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.contact-icon.phone {
  background: var(--accent);
}

.contact-icon.telegram {
  background: #0088cc;
}

.contact-icon.schedule {
  background: var(--primary-dark);
}

.contact-details h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0 0 8px;
}

.contact-details p {
  font-size: 16px;
  color: #333;
  margin: 0;
  line-height: 1.5;
}

.phone-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  display: block;
  margin: 8px 0;
}

.phone-number:hover {
  opacity: 0.8;
}

.telegram-link {
  font-size: 20px;
  font-weight: 600;
  color: #0088cc;
  text-decoration: none;
  display: block;
  margin: 8px 0;
}

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

.contact-note {
  font-size: 14px;
  color: #666;
  margin: 4px 0 0;
}

/* Working hours */
.working-hours {
  margin-top: 12px;
}

.working-day {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e0f2f4;
}

.working-day:last-child {
  border-bottom: none;
}

.working-day .day {
  font-weight: 500;
  color: #333;
}

.working-day .hours {
  font-weight: 600;
  color: var(--primary-dark);
  background: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Action buttons */
.contact-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 16px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-call {
  background: var(--accent);
  color: white;
}

.btn-call:hover {
  background: #d81159;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(236, 21, 97, 0.3);
}

.btn-map {
  background: var(--primary);
  color: white;
}

.btn-map:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 172, 193, 0.3);
}

.btn-telegram {
  background: #0088cc;
  color: white;
}

.btn-telegram:hover {
  background: #006699;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

/* Map section */
.contacts-map {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

#map {
  width: 100%;
  height: 400px;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #f5f5f5, #e5e5e5);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.map-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 16px;
}

.map-placeholder p {
  color: #666;
  font-weight: 500;
  margin: 0;
}

/* Additional info section */
.contacts-additional {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contacts-additional h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: center;
  margin: 0 0 32px;
}

.transport-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.transport-card {
  background: #f8fcfd;
  border: 1px solid #e0f2f4;
  border-radius: 12px;
  padding: 24px;
}

.transport-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.transport-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.transport-icon.car {
  background: var(--accent);
}

.transport-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0;
}

.transport-card p {
  color: #333;
  line-height: 1.6;
  margin: 0 0 16px;
}

.transport-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.transport-card li {
  color: #333;
  margin: 8px 0;
  display: flex;
  align-items: center;
}

/* Error state */
.contacts-error {
  background: #fff;
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.error-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 24px;
}

.contacts-error h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0 0 16px;
}

.contacts-error p {
  color: #666;
  font-size: 16px;
  margin: 8px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .contacts-container {
    padding: 16px;
  }
  
  .contacts-header h1 {
    font-size: 28px;
  }
  
  .contacts-header p {
    font-size: 16px;
  }
  
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .transport-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-actions {
    flex-direction: column;
  }
  
  .contacts-main,
  .contacts-additional {
    padding: 24px;
  }
  
  .contact-card {
    padding: 20px;
  }
  
  .phone-number {
    font-size: 24px;
  }
}
