/* ===== RESET E CONFIGURAÇÕES GERAIS ===== */
:root {
    --rich-black: #0d1b2aff;
    --oxford-blue: #1b263bff;
    --yinmn-blue: #415a77ff;
    --silver-lake-blue: #778da9ff;
    --platinum: #e0e1ddff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--oxford-blue);
    overflow-x: hidden;
    background-color: var(--platinum);
}

/* ===== NAVEGAÇÃO ===== */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: var(--rich-black) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--silver-lake-blue) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--silver-lake-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--rich-black) 0%, var(--oxford-blue) 50%, var(--yinmn-blue) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-buttons .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===== PROFILE PHOTO ===== */
.profile-photo-container {
    position: relative;
    z-index: 2;
}

.profile-photo-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.profile-photo-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.profile-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* ===== SEÇÕES GERAIS ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rich-black);
    position: relative;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--yinmn-blue), var(--silver-lake-blue));
    border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about-card {
    text-align: center;
    padding: 2rem;
    background: var(--platinum);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(13, 27, 59, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--silver-lake-blue);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.about-card h5 {
    font-weight: 600;
    color: var(--rich-black);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--oxford-blue);
}

/* ===== TIMELINE (EXPERIÊNCIA) ===== */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--yinmn-blue), var(--silver-lake-blue));
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 15px;
    height: 15px;
    background: var(--yinmn-blue);
    border-radius: 50%;
    border: 4px solid var(--platinum);
    box-shadow: 0 0 0 4px var(--yinmn-blue);
}

.timeline-content {
    background: var(--platinum);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(13, 27, 59, 0.2);
    transition: all 0.3s ease;
    border: 1px solid var(--silver-lake-blue);
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--rich-black);
    margin-bottom: 0.5rem;
}

.timeline-company {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--yinmn-blue);
}

.timeline-date {
    color: var(--silver-lake-blue);
    font-size: 0.9rem;
    font-weight: 500;
}

.timeline-description {
    margin: 1rem 0;
    color: var(--oxford-blue);
    line-height: 1.6;
}

.timeline-tech .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: var(--yinmn-blue) !important;
    color: var(--platinum);
}

/* ===== SKILLS SECTION ===== */
.skills-card {
    background: var(--platinum);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(13, 27, 59, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--silver-lake-blue);
    min-height: 400px;
}

.skills-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.skills-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.skills-title {
    text-align: center;
    font-weight: 600;
    color: var(--rich-black);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-name {
    display: block;
    font-weight: 500;
    color: var(--rich-black);
    margin-bottom: 0.5rem;
}

.skill-bar {
    background: var(--silver-lake-blue);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    background: linear-gradient(90deg, var(--yinmn-blue), var(--oxford-blue));
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-in-out;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-card {
    background: var(--platinum);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(13, 27, 59, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--silver-lake-blue);
    overflow: hidden;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(13, 27, 59, 0.3);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--rich-black);
    margin-bottom: 1rem;
}

.portfolio-description {
    color: var(--oxford-blue);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--yinmn-blue);
    color: var(--platinum);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background: var(--oxford-blue);
    color: var(--platinum);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 27, 59, 0.3);
}

.portfolio-link i {
    font-size: 1.1rem;
}

/* ===== EDUCATION SECTION ===== */
.education-card {
    background: var(--platinum);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(13, 27, 59, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    border: 1px solid var(--silver-lake-blue);
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.education-icon {
    flex-shrink: 0;
}

.education-content {
    flex: 1;
}

.education-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--rich-black);
    margin-bottom: 0.5rem;
}

.education-institution {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--yinmn-blue);
}

.education-date {
    color: var(--silver-lake-blue);
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.education-description {
    color: var(--oxford-blue);
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact-info {
    padding: 2rem;
    background: var(--platinum);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(13, 27, 59, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--silver-lake-blue);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info p {
    margin-bottom: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-info a {
    display: inline-block;
    max-width: 100%;
    word-break: break-all;
    line-height: 1.4;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-icon {
    transition: all 0.3s ease;
}

.contact-info:hover .contact-icon {
    transform: scale(1.1);
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contact-form .btn {
    border-radius: 50px;
    padding: 12px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    color: var(--silver-lake-blue) !important;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-content h1 {
    font-size: 2.5rem;
    color: var(--platinum);
}

.hero-content h2 {
    color: var(--silver-lake-blue);
}

.hero-content p {
    color: var(--platinum);
}
    
    .profile-photo-placeholder,
    .profile-photo {
        width: 250px;
        height: 250px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    .timeline-marker {
        left: -1.5rem;
    }
    
    .education-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-info {
        padding: 1.5rem;
        min-height: 180px;
    }
    
    .contact-info a {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    
    /* Ajustes específicos para mobile no hero */
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
        line-height: 1.3;
        text-align: center;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.4;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 240px;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    .profile-photo-container {
        margin-bottom: 0.5rem;
    }
    
    .hero-section {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-section .row {
        min-height: auto;
    }
    
    .profile-photo-placeholder,
    .profile-photo {
        width: 200px;
        height: 200px;
    }
    
    .skills-card,
    .about-card,
    .contact-info {
        padding: 1.5rem;
    }
    
    .skills-card {
        min-height: 300px;
        padding: 1.2rem;
    }
    
    .skills-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .skill-item {
        margin-bottom: 1rem;
    }
    
    .skill-name {
        font-size: 0.9rem;
    }
    
    .portfolio-image {
        height: 160px;
    }
    
    .portfolio-content {
        padding: 1rem;
    }
    
    .portfolio-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .portfolio-description {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .portfolio-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1rem;
        min-height: 160px;
    }
    
    .contact-info a {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .contact-info h6 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .skills-card {
        padding: 1.5rem;
        min-height: 350px;
    }
    
    .skills-title {
        font-size: 1.3rem;
    }
    
    .portfolio-card {
        margin-bottom: 2rem;
    }
    
    /* Ajustes para tablet no hero */
    .hero-content h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .hero-content p {
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        display: flex;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .hero-buttons .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .profile-photo-container {
        margin-bottom: 1rem;
    }
    
    .portfolio-image {
        height: 180px;
    }
    
    .portfolio-content {
        padding: 1.2rem;
    }
    
    .portfolio-title {
        font-size: 1.1rem;
    }
}

/* ===== SCROLL SUAVE ===== */
html {
    scroll-behavior: smooth;
}

/* ===== UTILITÁRIOS ===== */
.text-gradient {
    background: linear-gradient(90deg, #007bff, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.shadow-custom {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.border-radius-custom {
    border-radius: 20px;
}
