* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    transition: background-color 0.3s, color 0.3s;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    opacity: 0.1;
    z-index: -1;
    transition: opacity 0.3s;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 15px 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s, box-shadow 0.3s;
}

header .logo img {
    width: 130px;
    transition: transform 0.3s, filter 0.3s;
}
.search-bar {
    flex: 1;
    margin: 0 20px;
    position: relative;
}

.search-bar input {
    width: 80%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.search-bar input:focus {
    border-color: #ffa500;
    box-shadow: 0 0 6px rgba(255, 111, 97, 0.5);
}

.search-bar button {
    padding: 10px 20px;
    border: none;
    background-color: #ffA500;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    margin-left: 10px;
    transition: background-color 0.3s, transform 0.3s;
}

.search-bar button:hover {
    background-color: #FFA500;
    transform: scale(1.05);
}


.main-content {
    display: flex;
    padding: 20px;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Estilo das Abas de Navegação */
.tab-navigation {
    background-color: #FFA500; /* Cor de fundo das abas */
    padding: 10px 0; /* Espaçamento acima e abaixo das abas */
}

.tab-navigation ul {
    list-style: none; /* Remove marcadores das listas */
    display: flex; /* Exibe as abas em linha */
    justify-content: center; /* Centraliza as abas horizontalmente */
    gap: 30px; /* Espaçamento entre as abas */
}

.tab {
    cursor: pointer; /* O cursor se torna um ponteiro ao passar o mouse sobre a aba */
    padding: 10px 20px; /* Espaçamento interno das abas */
    color: white; /* Cor do texto das abas */
    font-weight: bold; /* Texto em negrito */
    transition: background-color 0.3s ease; /* Transição suave na mudança de cor */
}

.tab:hover,
.tab.active {
    background-color: #ff8c00; /* Cor de fundo ao passar o mouse ou quando a aba está ativa */
    border-radius: 5px; /* Bordas arredondadas */
}

.filters {
    width: 30%;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.filters:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.filters button {
    padding: 12px;
    background-color: #ffa500;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s, transform 0.3s;
}

.filters button:hover {
    background-color: #ffa500;
    transform: scale(1.05);
}

.filters #map {
    width: 100%;                /* Mantém o mapa responsivo */
    height: 600px;              /* Altura definida */
    margin-top: 20px;           /* Margem superior */
    border-radius: 10px;        /* Cantos arredondados */
    position: relative;         /* Necessário para ajustar elementos relativos */
    overflow: hidden;           /* Garante que o conteúdo não vaze */
    transition: background-color 0.3s; /* Pode ser usado para alterações dinâmicas */
}

.locations {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.location-card {
    width: 48%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.location-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.location-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: opacity 0.3s, transform 0.3s;
}

.location-card img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.location-card h2 {
    padding: 12px;
    background-color: #ffa500;
    color: #fff;
    font-size: 22px;
    text-align: center;
    transition: background-color 0.3s;
}

.location-card h2:hover {
    background-color: #ffa500;
}

.location-card p {
    padding: 12px;
    font-size: 16px;
    color: #666;
    text-align: center;
    transition: color 0.3s;
}

.location-card p:hover {
    color: #333;
}

.details-btn {
    display: block;
    text-align: center;
    padding: 12px 0;
    color: #666;
    text-decoration: none;
    border-top: 1px solid #ddd;
    transition: background-color 0.3s, color 0.3s;
}

.details-btn:hover {
    background-color: #666;
    color: #fff;
}

.register-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    background-color: #f5f5f5;
    background-image: linear-gradient(135deg, #f5f5f5 25%, transparent 25%), 
                      linear-gradient(225deg, #f5f5f5 25%, transparent 25%), 
                      linear-gradient(45deg, #f5f5f5 25%, transparent 25%), 
                      linear-gradient(315deg, #f5f5f5 25%, #f1f1f1 25%);
    background-position: 10px 10px, 10px 10px, 0px 0px, 0px 0px;
    background-size: 20px 20px;
    background-repeat: repeat;
}

.register-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.register-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.register-form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.register-form input:focus {
    border-color: #ffa500;
}

.register-form button {
    width: 100%;
    padding: 12px;
    background-color: #ffa500;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.register-form button:hover {
    background-color: #ff8c00;
    transform: scale(1.05);
}

/* Rodapé */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.footer p {
    margin: 5px 0; /* Margem entre os parágrafos */
    font-size: 14px;
}

.footer a {
    color: #FFA500; /* Cor dos links */
    text-decoration: none; /* Remove o sublinhado dos links */
    transition: color 0.3s; /* Transição suave na mudança de cor */
}

.footer a:hover {
    color: #fff; /* Cor dos links ao passar o mouse */
}
