/* Estilos Gerais */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
    background: #f4f4f4;
    color: #0A1931; /* Azul escuro */
}

.container {
    width: 90%;
    max-width: 600px;
    margin: auto;
    padding: 20px 0;
}

/* Cabeçalho */
header {
    background: white; /* Fundo branco */
    color: black;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 100%;
    max-width: 360px; /* Mantém tamanho máximo ajustável */
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    transition: 0.3s;
    border-radius: 5px;
    border: 2px solid transparent;
}

nav ul li a:hover {
    background: #CC1729;  /* Cor RCG */
    color: white;
    border: 2px solid #CC1729;
}

/* Seção Hero */
.hero {
    background: url('hero.jpg') no-repeat center center/cover;
    color: #0A1931;
    text-align: center;
    padding: 100px 0;
}

.hero .btn {
    background: #CC1729;  /* Cor RCG */
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: 0.3s;
}

.hero .btn:hover {
    background: #9A1120; /* Tom mais escuro do RCG */
}

/* Seção específica do estacionamento */
.hero.estacionamento {
    background: url('parking.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 0;
}

/* Seção de Serviços */
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 50px 0;
    background: white;
}

/* Estilos para a lista de parques de estacionamento */
.info {
    background: #f8f8f8;
    padding: 40px 0;
    text-align: center;
}

.info .container {
    max-width: 900px;
    margin: auto;
}

h2 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #333;
}

.parking-list {
    list-style: none;
    padding: 0;
}

.parking-list li {
    background: white;
    margin: 10px 0;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    text-align: left;
}

.parking-list li:hover {
    transform: scale(1.02);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

.parking-list strong {
    font-size: 18px;
    color: #0A1931;
    display: block;
    margin-bottom: 5px;
}

.parking-list a {
    display: inline-block;
    margin-top: 5px;
    color: #CC1729; /* Cor RCG */
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.parking-list a:hover {
    color: #9A1120; /* Tom mais escuro do RCG */
    text-decoration: underline;
}

/* Ícone ao lado do nome da estação */
.parking-list .station-link {
    color: #0A1931;
    font-weight: bold;
    text-decoration: none;
    margin-left: 8px;
    font-size: 16px;
    transition: 0.3s;
}

.parking-list .station-link:hover {
    color: #CC1729; /* Cor RCG */
}

/* Cartões de Serviços */
.card {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    margin: 10px;
}

.card i {
    font-size: 40px;
    color: #CC1729; /* Cor RCG */
    margin-bottom: 10px;
}

/* Rodapé */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 10px;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        padding: 50px 0;
    }

    .services {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }
}
/* Página de Contactos */
.contact {
    background: #f8f8f8;
    padding: 50px 0;
    text-align: center;
}

.contact .container {
    max-width: 800px;
    margin: auto;
}

.contact-info {
    font-size: 18px;
    margin-bottom: 30px;
}

.contact-info p {
    margin: 10px 0;
}

.contact-info i {
    color: #CC1729;
    margin-right: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.contact-form label {
    font-weight: bold;
    color: #0A1931;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form button {
    background: #CC1729;
    color: white;
    padding: 12px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
}

.contact-form button:hover {
    background: #9A1120;
}
.gray-text {
    color: gray;
    font-size: 0.9em;
}
.info-bubble {
    display: inline-block;
    background-color: #ffcc00; /* Cor amarela para destaque */
    color: #333;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 20px;
    position: relative;
    margin-left: 20px;
    animation: float 2s infinite alternate ease-in-out;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.info-bubble::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 20px;
    border-width: 10px;
    border-style: solid;
    border-color: #ffcc00 transparent transparent transparent;
}

@keyframes float {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}
.center-image {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
}


.center-image {
        display: block;
        margin: 20px auto;
        max-width: 100%;
        height: auto;
    }
    
    .promo-text {
        text-align: center;
        font-family: 'Poppins', sans-serif;
        max-width: 600px;
        margin: 0 auto;
        background: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    }

    .promo-text h2 {
        color: #CC1729;
    }

    .promo-text p {
        font-size: 14px;
        color: #444;
    }

    .promo-text a {
        display: inline-block;
        color: #CC1729;
        font-weight: bold;
        text-decoration: none;
        margin-top: 10px;
    }

    .promo-text a i {
        color: red;
        margin-right: 5px;
    }

    @media (max-width: 600px) {
    select, input {
        width: 80px; /* Reduz o tamanho dos select e input de hora */
        font-size: 12px;
        padding: 4px;
    }
    
    .data-hora {
        display: flex;
        justify-content: center;
        gap: 5px; /* Adiciona um pequeno espaço entre os elementos */
        flex-wrap: wrap; /* Permite quebra de linha se necessário */
    }

    label {
        display: block;
        margin-top: 10px;
        font-weight: bold;
    }
}

.menu-toggle {
    display: none;
}

/* Oculta o menu no mobile e mostra o botão do hambúrguer */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 32px;
        cursor: pointer;
        position: absolute;
        top: 15px;
        right: 20px;
    }

    nav ul {
        display: none; /* Esconde o menu */
        flex-direction: column;
        position: absolute;
        top: 50px;
        right: 0;
        background: white;
        width: 200px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        border-radius: 5px;
    }

    nav ul.show {
        display: flex; /* Mostra o menu quando o hambúrguer for clicado */
    }

    nav ul li {
        text-align: center;
        padding: 10px;
    }

    nav ul li a {
        display: block;
        padding: 10px;
    }
}

/* Estilização da seção de preços */
.precos {
    max-width: 800px;
    margin: 30px auto;
    text-align: center;
}

.precos h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

/* Estilização da tabela */
.precos table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Cabeçalho da tabela */
.precos th {
    background: #004080;
    color: #fff;
    padding: 12px;
    text-transform: uppercase;
}

/* Linhas da tabela */
.precos td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

/* Cor de fundo alternada para as linhas */
.precos tr:nth-child(even) {
    background: #f8f8f8;
}

/* Efeito hover */
.precos tr:hover {
    background: #d9e6f2;
    transition: 0.3s;
}

/* Responsividade */
@media (max-width: 600px) {
    .precos table {
        font-size: 14px;
    }

    .precos th, .precos td {
        padding: 10px;
    }
}
@media (max-width: 768px) { 
    .precos {
        padding: 10px;
    }

    .promo-text {
        font-size: 14px; /* Reduz o tamanho da fonte no mobile */
    }

    table {
        font-size: 12px; /* Ajusta o tamanho do texto da tabela */
    }

    th, td {
        padding: 5px; /* Reduz o padding na tabela */
    }

    /* Se os botões forem grandes demais, ajusta */
    .botao {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }
}
/* Ajuste da largura da primeira coluna */
.precos th:first-child,
.precos td:first-child {
    width: 5%; /* Ajusta conforme necessário */
    min-width: 150px; /* Define um tamanho mínimo */
}






.footer-links {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap; /* Permite que os botões quebrem para a linha de baixo */
}

.footer-links li {
    display: inline;
}

.footer-links a {
    display: inline-block;
    padding: 8px 12px;
    font-size: 14px; /* Reduzi um pouco para caber melhor */
    text-decoration: none;
    background-color: #333;
    color: white;
    border-radius: 5px;
    transition: 0.3s;
    text-align: center;
    min-width: 90px; /* Garante um tamanho mínimo para manter a forma */
}

.footer-links a:hover {
    background-color: #555;
}
footer a {
    color: #888;
    text-decoration: none;
}

.cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            text-align: center;
            padding: 10px;
            font-size: 12px;
        }
        .cookie-banner button  {
            background: #002244;
            color: white;
            border: none;
            padding: 5px 10px;
            margin-left: 10px;
            cursor: pointer;
            font-weight: bold;
        }

.footer-text {
    font-size: 12px; /* Ajusta conforme necessário */
    color: #ccc; /* Cor mais suave */
    text-align: center;
}