/* Estilos Premium para Portfólio Back-end */

:root {
    --primary-color: #007bff; /* Azul vibrante */
    --secondary-color: #1a1a1a; /* Cinza muito escuro para seções */
    --dark-bg: #121212; /* Fundo principal escuro */
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
    --accent-color: #0056b3;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding-top: 76px; /* Altura da navbar */
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.display-3 {
    font-size: 3.5rem;
}

.display-5 {
    font-size: 2.5rem;
}

/* Navbar */
.navbar {
    background-color: rgba(18, 18, 18, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--text-light) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted) !important;
    transition: color 0.3s ease;
    margin-left: 1rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Seções */
.bg-primary {
    background: linear-gradient(135deg, #004085 0%, #007bff 100%) !important;
}

.bg-dark {
    background-color: var(--dark-bg) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.py-lg-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

/* Botões */
.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.btn-light {
    font-weight: 600;
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Habilidades */
.skill-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(0, 123, 255, 0.3);
}

/* Timeline (Experiência) */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
}

.timeline-icon {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 3rem;
    height: 3rem;
    background-color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-content {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Projetos */
.project-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(0, 123, 255, 0.3) !important;
}

.project-card .card-img-top {
    transition: transform 0.5s ease;
}

.project-card:hover .card-img-top {
    transform: scale(1.05);
}

.project-card .card-body {
    background-color: var(--secondary-color);
}

.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
}

/* Contato */
.social-btn {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-width: 2px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: var(--primary-color);
    color: white !important;
    transform: translateY(-3px);
}

.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Footer */
footer {
    background-color: var(--dark-bg) !important;
}

/* Responsividade */
@media (max-width: 991.98px) {
    .display-3 {
        font-size: 2.5rem;
    }
    .display-5 {
        font-size: 2rem;
    }
    .timeline {
        padding-left: 2rem;
    }
    .timeline::before {
        left: 1rem;
    }
    .timeline-icon {
        left: -2rem;
        width: 2rem;
        height: 2rem;
    }
    .timeline-icon i {
        font-size: 1rem;
    }
}

.profile-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.carousel-item img {
    height: 250px; /* Altura fixa para as imagens do carrossel */
    object-fit: cover; /* Garante que a imagem cubra a área sem distorcer */
}