/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #002E3D 0%, #390510 50%, #252422 100%);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Padrão geométrico no background */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    padding: 2rem;
    overflow-x: hidden;
}

/* Estilos para o card fixo à esquerda */
.fixed-card {
    position: fixed;
    top: 2rem;
    left: 2rem;
    width: 28%;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.9) 0%, rgba(40, 40, 40, 0.9) 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
}

.profile-image {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #002E3D 0%, #390510 50%, #252422 100%);
    border-radius: 50%;
    z-index: -1;
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.profile-info h1 {
    text-align: center;
    margin-bottom: 0.3rem;
    font-size: 1.8rem;
    color: #D8D8F6;
    letter-spacing: 0.5px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-icons a {
    color: #f0f0f0;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.2s;
}

.social-icons a:hover {
    color: #D8D8F6;
    transform: translateY(-3px);
}

.bio-text {
    margin-bottom: 1.5rem;
    text-align: justify;
    font-size: 0.95rem;
    color: #f0f0f0;
    line-height: 1.7;
}

.career-info {
    margin-bottom: 2rem;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.2rem;
    border-radius: 8px;
}

.career-info h3 {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: #EE2F59;
    margin-bottom: 0.5rem;
}

.career-info p {
    margin-top: 0.3rem;
    font-size: 0.95rem;
    color: #f0f0f0;
    padding-left: 1rem;
    border-left: 2px solid #0066cc;
}

.cv-download {
    margin-top: auto;
    text-align: center;
    margin-bottom: 1.5rem;
}

.download-btn {
    display: inline-block;
    background-color: #EE2F59;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.download-btn:hover {
    background-color: #c91d3f;
    transform: translateY(-2px);
}

/* Estilos para a seção de contato */
.contact-info {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.9) 0%, rgba(60, 60, 60, 0.9) 100%);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 28%;
    position: fixed;
    left: 2rem;
    top: unset;
    bottom: 2rem;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.contact-info h3 {
    font-size: 1.1rem;
    color: #EE2F59;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.2rem;
    color: #EE2F59;
    margin-right: 0.8rem;
    width: 20px;
    text-align: center;
}

.contact-item span {
    color: #f0f0f0;
    word-break: break-word;
}

.contact-item a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #EE2F59;
    text-decoration: underline;
}

/* Estilos para o conteúdo rolável à direita */
.scrollable-content {
    margin-left: 32%;
    width: 68%;
    padding-right: 2rem;
    position: relative;
    z-index: 1;
}

.content-section {
    min-height: 100vh;
    padding: 3rem 2.5rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.9) 0%, rgba(40, 40, 40, 0.9) 100%);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.section-title {
    font-size: 2rem;
    color: #D8D8F6;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #EE2F59;
}

/* Estilos da seção de experiência */
.timeline {
    margin-bottom: 2.5rem;
}

.timeline-item {
    padding: 1.2rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.timeline-item h3 {
    color: #EE2F59;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

/* Style for links within timeline items */
.timeline-item a {
    color: #f0f0f0; /* Changed to white following site's color scheme */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s;
}

.timeline-item a:hover {
    color: #D8D8F6; /* Hover effect with lighter white tone */
}

.timeline-item p {
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.timeline-item p::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0088ff;
}

.divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 2.5rem 0;
}

/* Estilos da seção de formação */
.education-list {
    margin-bottom: 2rem;
}

.education-item {
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.education-item:last-child {
    border-bottom: none;
}

.education-item h3 {
    color: #EE2F59;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.institution {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #f0f0f0;
}

.period {
    font-style: italic;
    color: #aaa;
    font-size: 0.9rem;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

/* New class for h4 in experience section */
.experience-h4 {
    margin-bottom: 10px;
}

/* Estilos da tabela de habilidades */
.skills-table-container {
    width: 100%;
    margin: 2rem 0;
}

.skills-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-bottom: 1rem;
}

.skills-table tr {
    transition: transform 0.2s, box-shadow 0.2s;
}

.skills-table tr:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
    position: relative;
}

.row-light {
    background-color: rgba(60, 60, 60, 0.7);
}

.row-dark {
    background-color: rgba(50, 50, 50, 0.7);
}

.skill-name {
    padding: 1.2rem 1.5rem;
    font-weight: bold;
    color: #EE2F59;
    width: 30%;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
    border-radius: 8px 0 0 8px;
}

.skill-description {
    padding: 1.2rem 1.5rem;
    color: #f0f0f0;
    vertical-align: middle;
    line-height: 1.4;
    border-radius: 0 8px 8px 0;
}

.skill-note {
    font-style: italic;
    color: #aaa;
    margin-top: 1rem;
    text-align: left;
    padding-left: 0.5rem;
    font-size: 0.95rem;
    border-left: 2px solid #EE2F59;
}

/* Estilos da seção de portfólio */
.portfolio-carousel {
    width: 100%;
    margin: 2rem auto;
    position: relative;
    max-width: 900px;
}

.carousel-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.carousel-container {
    overflow: hidden;
    width: 80%;
    position: relative;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.carousel-item {
    min-width: 100%;
    padding: 0;
    text-align: center;
    transition: transform 0.3s;
}

.project-content {
    background: linear-gradient(135deg, rgba(50, 50, 50, 0.9) 0%, rgba(70, 70, 70, 0.9) 100%);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-content:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(77, 171, 255, 0.3);
}

.project-image {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.project-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #D8D8F6;
    letter-spacing: 0.5px;
}

.project-description {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #f0f0f0;
    line-height: 1.6;
    flex-grow: 1;
}

.saiba-mais-btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: #EE2F59;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: background-color 0.3s, transform 0.2s;
    align-self: center;
    margin-top: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.saiba-mais-btn:hover {
    background-color: #c91d3f;
    transform: translateY(-2px);
}

.carousel-arrow {
    background: rgba(20, 20, 20, 0.7);
    border: none;
    font-size: 2.5rem;
    color: #EE2F59;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s, background 0.3s, color 0.3s;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    opacity: 1;
    position: relative;
}

.carousel-arrow:hover {
    background: rgba(238, 47, 89, 0.15);
    color: #fff;
    transform: scale(1.15);
    opacity: 1;
}

.carousel-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(60,60,60,0.3);
    color: #888;
}

.carousel-arrow.prev {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-arrow.next {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

/* Estilo para os indicadores de página do carrossel */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(204, 204, 204, 0.3);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dot:hover {
    background-color: rgba(238, 47, 89, 0.5);
}

.dot.active {
    background-color: #EE2F59;
    box-shadow: 0 0 8px rgba(238, 47, 89, 0.5);
}

/* Estilos da seção sobre mim */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text {
    line-height: 1.8;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    color: #f0f0f0;
}

.about-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.video-container h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    color: #D8D8F6;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

/* Efeito de rolagem suave */
html {
    scroll-behavior: smooth;
}

/* Media queries para responsividade */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .fixed-card {
        position: relative;
        width: 100%;
        height: auto;
        min-height: auto;
        max-height: none;
        padding: 1.5rem;
        top: 0;
        left: 0;
        margin-bottom: 1.5rem;
    }
    
    .contact-info {
        position: relative;
        width: 100%;
        left: auto;
        top: auto;
        bottom: auto;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .scrollable-content {
        margin-left: 0;
        width: 100%;
        padding: 0;
    }
    
    .content-section {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .slider-navigation, .carousel-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .skills-container, .carousel-container {
        width: 100%;
    }
    
    .skill-item {
        min-width: 100%;
        margin: 0;
    }

    .skills-table tr:hover {
        transform: none;
    }
    
    /* Ocultar as setas do carrossel no mobile */
    .carousel-arrow {
        display: none;
    }
    
    /* Ajustar espaçamento da seção de contato no mobile */
    .contact-info {
        margin-top: 2rem !important;
        margin-bottom: 2rem;
    }
    
    /* Ajustar a imagem da seção sobre mim no mobile */
    .about-image {
        max-width: 100%;
    }
    
    .about-image img {
        height: 250px;
    }
}

/* Media query adicional para dispositivos móveis muito pequenos */
@media (max-width: 480px) {
    .carousel-arrow,
    .carousel-arrow.prev,
    .carousel-arrow.next {
        display: none !important;
        visibility: hidden;
    }
    
    .contact-info {
        margin-top: 2.5rem !important;
        margin-bottom: 6.5rem !important;
        padding: 1rem;
    }
    
    .container {
        padding: 0.5rem;
    }
}

.skill-item {
    min-width: 220px;
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(50, 50, 50, 0.9) 0%, rgba(70, 70, 70, 0.9) 100%);
    border-radius: 8px;
    margin: 0;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-icon {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #f0f0f0;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    display: inline-block;
    min-width: 80%;
}

/* Ajustar contraste do texto para melhor legibilidade */
.project-title, .section-title, h1, h2, h3 {
    color: #D8D8F6;
}

.project-description, .bio-text, p {
    color: #f0f0f0;
}

/* Melhorar contraste dos botões */
.download-btn, .saiba-mais-btn {
    background-color: #EE2F59;
    color: white;
}

.download-btn:hover, .saiba-mais-btn:hover {
    background-color: #c91d3f;
}

/* Ajustar cor dos ícones para combinar com o tema */
.social-icons a, .contact-item i, .carousel-arrow {
    color: #EE2F59;
}

.social-icons a:hover, .contact-item a:hover {
    color: #EE2F59;
}

@media (min-width: 993px) {
  .contact-info {
    top: calc(2rem + 100% + 50px); /* Garante pelo menos 50px de espaçamento abaixo do .fixed-card */
    bottom: unset;
  }
}

/* Correção para a imagem de fundo das habilidades */
.skills-bg-image {
    width: 100% !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
} 