@import 'base.css';

/* Estilos específicos da página Sobre */
.sobre-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 40px;
    animation: fadeIn 1s ease-out;
}

.sobre-container h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 3em;
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out;
}

.sobre-container p {
    font-size: 1.15em;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.sobre-foto {
    text-align: center;
    margin: 30px 0;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.sobre-foto img {
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.sobre-foto img:hover {
    transform: scale(1.05);
}

/* Estilos do Carrossel de Hobbies */
.hobbies-section {
    margin-top: 50px;
    padding: 0 60px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hobbies-section h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.hobbies-carousel {
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.hobbies-carousel-inner {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hobbies-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.hobby-card {
    flex: 0 0 calc(33.333% - 14px); /* 3 cards por vez, considerando gap */
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

.hobby-image {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 10px;
}

.hobby-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.hobby-content h3 {
    font-family: 'Cousine', monospace;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.hobby-content p {
    font-size: 0.9em;
    line-height: 1.4;
    color: #666;
    text-align: center;
    margin: 0;
    flex-grow: 1;
}

/* Botões de navegação */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #cea8f0;
    color: #333;
    border: 3px solid #333;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #333;
    color: #cea8f0;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.prev-btn {
    left: -35px;
}

.next-btn {
    right: -35px;
}

/* Indicadores */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(206, 168, 240, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #cea8f0;
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(206, 168, 240, 0.8);
}

/* ===== ESTILOS DO CARROSSEL DE CERTIFICAÇÕES ===== */
.certificates-section {
    margin-top: 50px;
    padding: 0 60px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.certificates-section h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.certificates-carousel {
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.certificates-carousel-inner {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.certificates-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.certificate-card {
    flex: 0 0 calc(33.333% - 14px); /* 3 cards por vez, considerando gap */
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

.certificate-image {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 10px;
}

.certificate-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.certificate-content h3 {
    font-family: 'Cousine', monospace;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.certificate-content p {
    font-size: 0.9em;
    line-height: 1.4;
    color: #666;
    text-align: center;
    margin: 0 0 15px 0;
    flex-grow: 1;
}

.certificate-link {
    display: inline-block;
    padding: 8px 16px;
    background: #cea8f0;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8em;
    transition: all 0.3s ease;
    margin-top: auto;
    border: 2px solid #333;
}

.certificate-link:hover {
    background: #333;
    color: #cea8f0;
    transform: translateY(-2px);
}

/* Botões do carrossel de certificações - EXATAMENTE igual aos hobbies */
.cert-prev-btn, .cert-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #cea8f0;
    color: #333;
    border: 3px solid #333;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-prev-btn:hover, .cert-next-btn:hover {
    background: #333;
    color: #cea8f0;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.cert-prev-btn {
    left: -35px;
}

.cert-next-btn {
    right: -35px;
}

/* Responsividade para Sobre */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
        padding-bottom: 140px;
    }
    
    header {
        padding: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #cea8f0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        display: block !important;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0 20px;
    }
    
    nav li {
        width: 100%;
    }
    
    nav a {
        display: block;
        padding: 15px 20px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        margin-bottom: 5px;
    }
    
    nav a:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .sobre-container {
        padding: 20px;
        margin: 20px;
    }
    
    .sobre-container h1 {
        font-size: 2.5em;
    }
    
    .sobre-container p {
        text-align: left;
    }
    
    .sobre-foto img {
        max-width: 250px;
    }
    
    /* Responsividade do carrossel */
    .hobbies-section {
        padding: 0 50px;
    }
    
    .hobbies-section h2 {
        font-size: 2em;
    }
    
    .hobbies-carousel {
        max-width: 380px;
    }
    
    .hobby-card {
        flex: 0 0 100%; /* 1 card por vez no mobile */
        padding: 20px;
        min-height: 350px;
    }
    
    .hobbies-container {
        gap: 10px;
    }
    
    .hobby-image img {
        height: 120px;
    }
    
    .hobby-content h3 {
        font-size: 1.3em;
    }
    
    .hobby-content p {
        font-size: 0.9em;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .prev-btn {
        left: -30px;
    }
    
    .next-btn {
        right: -30px;
    }
    
    .contatos ul {
        gap: 20px;
        text-align: center;
    }
    
    /* Responsividade das certificações */
    .certificates-section {
        padding: 0 50px;
    }
    
    .certificates-section h2 {
        font-size: 2em;
    }
    
    .certificates-carousel {
        max-width: 380px;
    }
    
    .certificate-card {
        flex: 0 0 100%; /* 1 card por vez no mobile */
        padding: 20px;
        min-height: 400px;
    }
    
    .certificates-container {
        gap: 10px;
    }
    
    .certificate-image img {
        height: 120px;
    }
    
    .certificate-content h3 {
        font-size: 1.3em;
    }
    
    .certificate-content p {
        font-size: 0.9em;
    }
    
    .cert-prev-btn {
        left: -30px;
    }
    
    .cert-next-btn {
        right: -30px;
    }
}