/* RESET E CORES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212; /* Fundo escuro padrão */
    color: #fff;
    min-height: 100vh;
}

/* HEADER PADRÃO */
header {
    background-color: #0a0a0a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    height: 70px;
}

.logo img {
    height: 50px;
    object-fit: contain;
}

.back-btn {
    color: #e53935; /* Vermelho do seu tema */
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s;
}

.back-btn:hover {
    color: #ff6f60; /* Vermelho mais claro ao passar o mouse */
}

.header-spacer {
    width: 60px; /* Mantém o logo centralizado equilibrando o botão voltar */
}

/* CONTAINER PRINCIPAL */
.location-container {
    margin-top: 100px; /* Espaço para não sumir atrás do Header fixo */
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.location-title {
    font-size: 2rem;
    color: #e53935; /* Vermelho no título principal */
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* CARD DO MAPA */
.map-card {
    background-color: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid #2a2a2a;
}

/* Deixa o Iframe do Google Maps responsivo */
.map-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* TEXTOS E INFORMAÇÕES DO CARD */
.map-info {
    padding: 25px;
    text-align: center;
}

.map-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
}

.map-info p {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.5;
}

.map-info .schedule {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #888;
}

/* BOTÃO DE ROTAS EM VERMELHO */
.route-btn {
    display: inline-block;
    background-color: #e53935; /* Vermelho Premium */
    color: #fff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 20px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.route-btn:hover {
    background-color: #d32f2f; /* Vermelho um pouco mais escuro no hover */
    transform: translateY(-2px);
}

.route-btn:active {
    transform: translateY(0);
}

/* Ajustes para telas pequenas */
@media (max-width: 480px) {
    .location-title {
        font-size: 1.6rem;
    }
    .map-info h3 {
        font-size: 1.2rem;
    }
}