.contact-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/fmD1z0oiTnOO3CvAbDQ85A.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.contact-section {
  padding: 80px 10px;
  padding-top: 30px;
  background-color: var(--color-secondary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.map-container {
  position: relative;
  height: 600px;
  background-color: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-canvas {
  width: 100%;
  height: 100%;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 10px;
}

.contact-list::-webkit-scrollbar {
  width: 6px;
}

.contact-list::-webkit-scrollbar-track {
  background: var(--color-secondary);
  border-radius: 3px;
}

.contact-list::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 3px;
}

.contact-card {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  border-left: 4px solid transparent;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-left-color: var(--color-accent);
}

.contact-card.active {
  border-left-color: var(--color-accent);
  background-color: var(--color-white);
  box-shadow: 0 8px 20px rgba(197, 164, 126, 0.2);
}

.card-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-secondary);
}

.card-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.coordinates {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.coordinates span {
  font-family: 'Courier New', monospace;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.info-label {
  font-weight: 600;
  color: var(--color-primary);
  min-width: 60px;
  flex-shrink: 0;
}

.info-value {
  color: var(--color-text);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .map-container {
    height: 400px;
  }

  .contact-list {
    max-height: none;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .map-container {
    height: 350px;
  }

  .contact-card {
    padding: 20px;
  }

  .card-header h3 {
    font-size: 1.1rem;
  }

  .coordinates {
    flex-direction: column;
    gap: 5px;
  }

  .info-item {
    flex-direction: column;
    gap: 5px;
  }

  .info-label {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    min-height: 300px;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-subtitle {
    font-size: 0.9rem;
    letter-spacing: 4px;
  }

  .contact-section {
    padding: 40px 0;
  }

  .map-container {
    height: 300px;
  }

  .contact-card {
    padding: 15px;
  }

  .card-header h3 {
    font-size: 1rem;
  }

  .coordinates {
    font-size: 0.75rem;
  }

  .info-label {
    font-size: 0.9rem;
  }

  .info-value {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .contact-card {
    padding: 12px;
  }

  .card-header h3 {
    font-size: 0.95rem;
  }

  .coordinates {
    font-size: 0.7rem;
  }
}
