/* Variáveis de cores da MS Telecom - Versão Moderna */
:root {
  --ms-yellow: #D89B00;
  --ms-yellow-gradient: linear-gradient(135deg, #D89B00, #FFC107);
  --ms-green: #00A651;
  --ms-green-gradient: linear-gradient(135deg, #00A651, #4CAF50);
  --ms-red: #E31E24;
  --ms-red-gradient: linear-gradient(135deg, #E31E24, #F44336);
  --ms-black: #000000;
  --ms-white: #FFFFFF;
  
  /* Cores de fundo e texto */
  --background-primary: #FFFFFF;
  --background-secondary: #F8F9FA;
  --text-primary: #212529;
  --text-secondary: #6C757D;
  
  /* Cores para as fases */
  --phase-1-1: var(--ms-red);
  --phase-1-2: var(--ms-green);
  --phase-1-3: var(--ms-yellow);
  --phase-2: #007bff; /* Um tom de azul para a nova Fase 2 */
  
  /* Efeitos modernos */
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.05), 0 6px 6px rgba(0, 0, 0, 0.07);
  --hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.12);
  --button-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --glass-effect: rgba(255, 255, 255, 0.25);
  --glass-border: 1px solid rgba(255, 255, 255, 0.18);
  --glass-blur: blur(10px);
  --transition-normal: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset e estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Segoe UI', 'Arial', sans-serif;
  color: var(--text-primary);
  background-color: var(--background-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Carrossel de Cabeçalho */
.header-carousel {
  position: relative;
  height: 35vh; /* Ajustado para 1/2 do tamanho original */
  min-height: 150px; /* Ajustado para 1/2 do tamanho original */
  max-height: 250px; /* Ajustado para 1/2 do tamanho original */
  overflow: hidden;
  z-index: 1;
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: scale(1.05);
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 3;
}

.carousel-content {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: var(--ms-white);
  z-index: 4;
  max-width: 80%;
}

.carousel-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.5s;
}

.carousel-description {
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.8s;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-controls {
  position: absolute;
  bottom: 5%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.carousel-prev, .carousel-next {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: white;
  font-size: 1rem;
  margin: 0 10px;
  transition: var(--transition-normal);
  backdrop-filter: var(--glass-blur);
}

.carousel-prev:hover, .carousel-next:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.carousel-indicators {
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-normal);
}

.indicator.active {
  background: var(--ms-white);
  transform: scale(1.2);
}

.tech-particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

#techParticlesCanvas {
  width: 100%;
  height: 100%;
}

/* Cabeçalho Moderno - Sobreposto ao carrossel */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  transition: var(--transition-normal);
}

.header:hover {
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  margin-right: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: var(--transition-normal);
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ms-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: var(--transition-normal);
}

.title:hover {
  transform: translateY(-2px);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.language-button {
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ms-white);
  box-shadow: var(--button-shadow);
  transition: var(--transition-normal);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.language-button:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Conteúdo principal */
.main-content {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Painel lateral Moderno */
.sidebar {
  background: rgba(248, 249, 250, 0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 1.5rem;
  width: 100%;
  border-bottom: var(--glass-border);
  z-index: 10;
  transition: var(--transition-normal);
}

.phase-selector, .legend-panel, .station-info-panel, .stats-panel {
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 16px;
  padding: 1.5rem;
  border: var(--glass-border);
  box-shadow: var(--card-shadow);
  transition: var(--transition-normal);
}

.phase-selector:hover, .legend-panel:hover, .station-info-panel:hover, .stats-panel:hover {
  box-shadow: var(--hover-shadow);
  transform: translateY(-5px);
}

.phase-selector h2, .legend-panel h2, .station-info-panel h2, .stats-panel h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.phase-selector h2::after, .legend-panel h2::after, .station-info-panel h2::after, .stats-panel h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background: var(--ms-yellow-gradient);
  bottom: -5px;
  left: 0;
  border-radius: 10px;
  transition: var(--transition-normal);
}

.phase-selector:hover h2::after, .legend-panel:hover h2::after, .station-info-panel:hover h2::after, .stats-panel:hover h2::after {
  width: 100%;
}

/* Checkboxes de fase */
.phase-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.phase-checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: var(--transition-normal);
}

.phase-checkbox-container:hover {
  background: rgba(255, 255, 255, 0.5);
}

.phase-checkbox {
  display: none;
}

.phase-checkbox-custom {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  background-color: rgba(238, 238, 238, 0.7);
  color: var(--text-secondary);
  box-shadow: var(--button-shadow);
  transition: var(--transition-normal);
  width: 100%;
}

.phase-checkbox:checked + .phase-checkbox-custom {
  background: var(--ms-yellow-gradient);
  color: var(--ms-white);
  box-shadow: 0 6px 12px rgba(216, 155, 0, 0.3);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  background-color: rgba(238, 238, 238, 0.7);
  color: var(--text-secondary);
  box-shadow: var(--button-shadow);
  transition: var(--transition-normal);
  overflow: hidden;
  position: relative;
  margin-top: 1rem;
  width: 100%;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition-normal);
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: var(--ms-yellow-gradient);
  color: var(--ms-white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FFC107, #D89B00);
}

.btn.active {
  background: var(--ms-yellow-gradient);
  color: var(--ms-white);
  box-shadow: 0 6px 12px rgba(216, 155, 0, 0.3);
}

.phase-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.phase-indicator::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.1);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

.phase-1-1 {
  background: var(--ms-red-gradient);
}

.phase-1-1::after {
  border-color: var(--ms-red);
}

.phase-1-2 {
  background: var(--ms-green-gradient);
}

.phase-1-2::after {
  border-color: var(--ms-green);
}

.phase-1-3 {
  background: var(--ms-yellow-gradient);
}

.phase-1-3::after {
  border-color: var(--ms-yellow);
}

.phase-2 {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.phase-2::after {
  border-color: #007bff;
}

.legend-items {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.legend-item {
  display: flex;
  align-items: center;
  transition: var(--transition-normal);
  padding: 0.5rem;
  border-radius: 8px;
}

.legend-item:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(5px);
}

/* Estatísticas da rede */
.stats-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  transition: var(--transition-normal);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(5px);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ms-yellow-gradient);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 8px rgba(216, 155, 0, 0.3);
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Detalhes da estação */
.station-detail-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.station-icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.signal-strength {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.signal-bars {
  display: flex;
  gap: 3px;
}

.signal-bar {
  height: 15px;
  width: 5px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

.signal-bar.active {
  background: var(--ms-yellow-gradient);
  animation: signalPulse 1.5s infinite;
}

.signal-bar:nth-child(2).active {
  animation-delay: 0.2s;
}

.signal-bar:nth-child(3).active {
  animation-delay: 0.4s;
}

.signal-bar:nth-child(4).active {
  animation-delay: 0.6s;
}

.signal-bar:nth-child(5).active {
  animation-delay: 0.8s;
}

@keyframes signalPulse {
  0% {
    opacity: 0.7;
    transform: scaleY(0.9);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.1);
  }
  100% {
    opacity: 0.7;
    transform: scaleY(0.9);
  }
}

/* Mapa Moderno */
.map-container {
  flex-grow: 1;
  height: 65vh; /* Ajustado para compensar o novo tamanho do banner */
  position: relative;
  overflow: hidden;
  border-radius: 0;
  transition: var(--transition-normal);
}

#map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 70%, rgba(0, 0, 0, 0.05) 100%);
  z-index: 2;
}

.connection-lines-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

/* Ícone de torre personalizado */
.custom-tower-icon {
  background: transparent;
  border: none;
}

.tower-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
  transition: var(--transition-normal);
  animation: float 3s ease-in-out infinite;
  border-radius: 50%;
  background-color: white;
  font-size: 20px;
}

.tower-icon-container i {
  color: #333;
}

.tower-image {
  width: 100%;
  height: 100%;
}

/* Aplicar cores às torres com base na fase */
.tower-icon-container.phase-1-1 {
  background-color: var(--ms-red);
  border: 2px solid white;
}

.tower-icon-container.phase-1-2 {
  background-color: var(--ms-green);
  border: 2px solid white;
}

.tower-icon-container.phase-1-3 {
  background-color: var(--ms-yellow);
  border: 2px solid white;
}

.tower-icon-container.phase-2 {
  background-color: var(--phase-2);
  border: 2px solid white;
}

.tower-icon-container.phase-1-1 i,
.tower-icon-container.phase-1-2 i,
.tower-icon-container.phase-1-3 i,
.tower-icon-container.phase-2 i {
  color: white;
}

.station-icon.phase-1-1 img {
  filter: drop-shadow(0 0 3px var(--ms-red));
}

.station-icon.phase-1-2 img {
  filter: drop-shadow(0 0 3px var(--ms-green));
}

.station-icon.phase-1-3 img {
  filter: drop-shadow(0 0 3px var(--ms-yellow));
}

.station-icon.phase-2 img {
  filter: drop-shadow(0 0 3px var(--phase-2));
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Popup da estação */
.station-popup {
  padding: 0.5rem;
}

.station-popup .station-name {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.station-popup .station-icon {
  width: 24px;
  height: 24px;
}

/* Rodapé Moderno */
.footer {
  background: linear-gradient(135deg, #212529, #343A40);
  color: var(--ms-white);
  padding: 1.2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  line-height: 0;
}

.small-text {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  opacity: 0.8;
  transition: var(--transition-normal);
}

.footer:hover .small-text {
  opacity: 1;
}

/* Popup do Leaflet personalizado */
.leaflet-popup-content-wrapper {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--card-shadow);
  border: var(--glass-border);
  overflow: hidden;
  transition: var(--transition-normal);
}

.leaflet-popup-content {
  margin: 16px 20px;
  font-family: 'Poppins', 'Segoe UI', 'Arial', sans-serif;
}

.leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

/* Controles do Leaflet modernizados */
.leaflet-control-zoom {
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: var(--card-shadow) !important;
}

.leaflet-control-zoom a {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: var(--transition-normal) !important;
}

.leaflet-control-zoom a:hover {
  background: rgba(255, 255, 255, 1) !important;
  color: var(--ms-yellow) !important;
}

/* Efeito de destaque */
.highlight {
  animation: highlight 1s;
}

@keyframes highlight {
  0% {
    box-shadow: 0 0 0 rgba(216, 155, 0, 0);
  }
  50% {
    box-shadow: 0 0 20px rgba(216, 155, 0, 0.5);
  }
  100% {
    box-shadow: 0 0 0 rgba(216, 155, 0, 0);
  }
}

/* Loading overlay */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.2s ease;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(216, 155, 0, 0.1);
  border-radius: 50%;
  border-top-color: var(--ms-yellow);
  animation: spin 1s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(216, 155, 0, 0.3);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsividade */
@media (min-width: 768px) {
  .main-content {
    flex-direction: row;
  }
  
  .sidebar {
    width: 320px;
    border-right: var(--glass-border);
    border-bottom: none;
    height: 100%;
    overflow-y: auto;
  }
  
  .map-container {
    height: auto;
    border-radius: 0 0 0 20px;
  }
  
  .title {
    display: block;
  }
  
  .map-container:hover {
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.1);
  }
  
  .carousel-title {
    font-size: 3rem;
  }
  
  .carousel-description {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .header {
    padding: 0.8rem 1rem;
  }
  
  .logo {
    height: 32px;
  }
  
  .language-button {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .phase-selector h2, .legend-panel h2, .station-info-panel h2, .stats-panel h2 {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .footer {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .carousel-title {
    font-size: 1.8rem;
  }
  
  .carousel-description {
    font-size: 1rem;
  }
  
  .header-carousel {
    height: 40vh;
  }
}

/* Animações e transições */
.btn, .language-button {
  transition: var(--transition-normal);
}

.btn:active, .language-button:active {
  transform: scale(0.95);
}

/* Acessibilidade */
.btn:focus, .language-button:focus {
  outline: 2px solid rgba(216, 155, 0, 0.5);
  outline-offset: 2px;
}

/* Efeitos de hover para elementos interativos */
.interactive-element {
  transition: var(--transition-normal);
}

.interactive-element:hover {
  transform: translateX(5px);
  color: var(--text-primary);
}

/* Efeito de scroll suave */
html {
  scroll-behavior: smooth;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(248, 249, 250, 0.8);
}

::-webkit-scrollbar-thumb {
  background: rgba(216, 155, 0, 0.5);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(216, 155, 0, 0.8);
}

/* Estilos adicionais para os ícones de localização */
.custom-leaflet-icon-no-bg {
  background: none !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Remover qualquer estilo padrão do Leaflet que possa adicionar fundo aos marcadores */
.leaflet-marker-icon {
  background: none !important;
  border: none !important;
}

/* Estilo para o ícone SVG de localização */
.station-icon-container {
  width: 45px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-icon {
  fill: currentColor;
  stroke: white;
  stroke-width: 20; /* Ajuste a largura da borda conforme necessário */
}

.location-icon.phase-1 {
  fill: var(--ms-red);
}

.location-icon.phase-2 {
  fill: var(--ms-green);
}

.location-icon.phase-3 {
  fill: var(--ms-yellow);
}

/* Remover efeitos visuais de linhas no mapa */
.connection-lines-container {
  display: none !important;
}

/* Remover efeito de loading */
.loading-overlay {
  display: none !important;
}

/* Estilos para o efeito parallax 3D no carrossel */
.carousel-container {
  perspective: 1000px;
  perspective-origin: center center;
  overflow: hidden;
}

.carousel-slide {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 0.5s ease-out, opacity 1s ease-in-out !important;
}

.carousel-content {
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000), 
              opacity 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) !important;
}

.carousel-title, .carousel-description {
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(20px) translateZ(-30px);
}

.carousel-slide.active .carousel-title {
  animation: float-in 1s forwards 0.3s;
}

.carousel-slide.active .carousel-description {
  animation: float-in 1s forwards 0.6s;
}

@keyframes float-in {
  0% {
    opacity: 0;
    transform: translateY(30px) translateZ(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

/* Estilo para o botão "Mostrar Todas" quando ativo */
.btn.active {
  background: var(--ms-yellow-gradient) !important;
  color: var(--ms-black) !important;
  box-shadow: var(--hover-shadow) !important;
}



/* Cores dos ícones de localização */
.station-icon-container .location-icon.phase-1-1 {
  fill: var(--ms-red);
}

.station-icon-container .location-icon.phase-1-2 {
  fill: var(--ms-green);
}

.station-icon-container .location-icon.phase-1-3 {
  fill: var(--ms-yellow);
}

.station-icon-container .location-icon.phase-2 {
  fill: var(--phase-2);
}



.location-icon.phase-1-1 {
  fill: var(--ms-red);
}

.location-icon.phase-1-2 {
  fill: var(--ms-green);
}

.location-icon.phase-1-3 {
  fill: var(--ms-yellow);
}

.location-icon.phase-2 {
  fill: var(--phase-2);
}







@media (max-width: 768px) {
  .map-container {
    height: 50vh; /* Ajuste a altura do mapa para telas menores */
  }
}

@media (max-width: 480px) {
  .map-container {
    height: 40vh; /* Ajuste ainda mais para dispositivos móveis */
  }
}

