/* Cor do fundo */
html,
body {
    background-color: rgb(230, 227, 227);
}

/* Header */
.custom-header {
    background-color: #023E7D;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Para adaptar o header ao tamanho do ecrã */
.header-telemovel {
    display: none;
}

.header-desktop {
    display: block;
}

@media (max-width: 768px) {
    .header-telemovel {
        display: block;
    }

    .header-desktop {
        display: none;
    }
}

/* Alterar a cor do contorno do "Hamburguer" */
.navbar-toggler {
    border: none !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

/* Bigger text for nav links */
/* Base nav link style */
.nav-link {
    font-size: 1.2rem;
    color: white !important;
    position: relative;
    /* Needed for underline animation */
    transition: color 0.3s ease;
    /* Smooth color change */
    display: inline-block;
}

/* Hover effect: change text color */
.nav-link:hover {
    color: #ffc107 !important;
}

/* Optional: animated underline on hover */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    /* distance from text */
    width: 0;
    height: 3px;
    background-color: #ffc107;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Active link stays highlighted */
.active-link {
    color: #ffc107 !important;
}

.active-link::after {
    width: 100%;
}


/* Search box styling */
.form-control {
    font-size: 1rem;
}

/* White line inside header */
.header-divider {
    height: 2px;
    background-color: white;
    margin-top: 10px;
    /* space above the line */
    margin-bottom: 0;
    /* no extra space below */
}

/* Divisor */
.divisao {
    height: 24px !important;
}

/* Fundo do texto do carrousel*/
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);

    border-radius: 10px;
    /* cantos arredondados */
    padding: 1rem;
    /* espaço interno */
    display: inline-block;
    /* ajusta ao tamanho do conteúdo */
}

.ofertas-bloco {
    border: 3px solid #023E7D;
    border-radius: 12px;
    /* cantos arredondados */
    padding: 1.5rem;
    /* respiro interno */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* sombra suave */
}

.oferta-titulo {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.2rem;
}

.oferta-desc {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Terceira parte da página inicial */
.icon-service {
    font-size: 2rem;
    padding: 2px;
    color: #023E7D;
    margin-right: 10px;
}

.text-primary {
    color: #023E7D !important;
}


/* Footer */
/* Footer background & text */
.footer-custom {
    background-color: #f8f9fa;
    color: #023E7D;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
}

/* Social icon styles */
.footer-icon {
    font-size: 1.4rem;
    color: #023E7D;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-icon:hover {
    color: #ffc107;
    transform: scale(1.2);
}

/* Formulário */
.card {
  border-radius: 0.75rem;
}

.card-header {
  font-weight: 600;
  font-size: 1.2rem;
}

.card-body {
    font-size: 1.10rem;
    font-family: 'Source Sans Pro', sans-serif;
}

.form-header {
  background-color: #023E7D;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.25rem;
  font-family: 'Source Sans Pro', sans-serif;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Para justificar o texto */
.justified-text {
    text-align: justify;
}

