/* Rolagem suave ao clicar nos links do menu */
html {
    scroll-behavior: smooth;
}

/* Ajustes gerais */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Efeito de hover nos cards de projetos */
.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Corrigir o padding do navbar para não cobrir o título da seção ao clicar */
section {
    scroll-margin-top: 70px;
}

/* --- ESTILIZAÇÃO DO HEADER --- */

/* Fundo do menu com efeito de vidro escuro */
.custom-navbar {
    background-color: rgba(15, 15, 15, 0.95); /* Quase preto, levemente transparente */
    backdrop-filter: blur(10px); /* Efeito de desfoque no fundo */
    padding: 15px 0;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Estilo do Nome (Logo) */
.navbar-brand {
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: 0.5px;
    color: #fff !important;
}

/* Símbolos < /> em vermelho */
.brand-symbol {
    color: #ff4d4d; /* Vermelho vibrante */
    font-weight: bold;
}

/* Links do Menu */
.custom-link {
    color: #e0e0e0 !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

/* Animação de sublinhado ao passar o mouse */
.custom-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff4d4d;
    transition: width 0.3s ease;
}

.custom-link:hover {
    color: #fff !important;
}

.custom-link:hover::after {
    width: 100%; /* A linha cresce ao passar o mouse */
}

/* Botão de Contato Personalizado */
.btn-custom-cta {
    background-color: transparent;
    border: 2px solid #ff4d4d;
    color: #ff4d4d;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-custom-cta:hover {
    background-color: #ff4d4d;
    color: #fff;
    transform: scale(1.05); /* Leve aumento de tamanho */
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.4); /* Brilho vermelho */
}

/* Ajuste para o botão hamburguer no mobile */
.navbar-toggler:focus {
    box-shadow: none;
}