/* Cores personalizadas */
:root {
    --primary-color: #0097b2;     /* Azul */
    --accent-color: #ffde59;      /* Amarelo */
    --dark-color: #000000;        /* Preto */
    --light-gray: #f8f9fa;
    --text-dark: #333333;
}

/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Garet', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Classes utilitárias */
.text-accent {
    color: var(--accent-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Navbar customizada */
.custom-navbar {
    background: var(--dark-color) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.8rem !important;
}

.navbar-logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(255, 222, 89, 0.3));
}

.brand-text {
    color: white;
}

.brand-accent {
    color: var(--accent-color);
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
    background: var(--dark-color);
    color: white;
    padding-top: 100px; /* Espaço para navbar fixa */
    min-height: 100vh;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.accent-text {
    color: var(--accent-color);
}

/* Animação de digitação */
#typewriter-text::after {
    content: '|';
    color: var(--accent-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 300;
}

/* Profile image */
.profile-img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(255, 222, 89, 0.3);
    transition: all 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 222, 89, 0.5);
}

/* Botões customizados */
.btn-custom-primary {
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-custom-primary:hover {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-custom-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-custom-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Seções */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-title.text-light {
    color: white !important;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* About Section */
.brand-identity {
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.brand-identity:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.about-item {
    padding: 2rem 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Skills Section */
#skills {
    background: #1f1e1e !important;
    color: white !important;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-badge {
    background: var(--accent-color) !important;
    color: var(--dark-color) !important;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.skill-badge i {
    font-size: 1.2rem;
}

.skill-badge:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: scale(1.05);
}

/* Project Cards */
.project-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.project-tech .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

/* Contact Section */
.contact-item {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
    color: white !important;
}

footer * {
    color: white !important;
}

/* Ícones sociais no footer */
.social-link {
    color: var(--accent-color) !important;
    font-size: 2.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 0.5rem;
}

.social-link:hover {
    color: var(--primary-color) !important;
    transform: scale(1.2);
}

/* Botões do hero */
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px; /* Mais espaço no mobile */
        padding-bottom: 2rem; /* Espaço extra no final */
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .profile-img {
        width: 280px;
        height: 280px;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-custom-primary,
    .btn-custom-outline {
        width: 250px;
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    /* Ajustar skills no mobile */
    .skill-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .skill-badge i {
        font-size: 1rem;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .hero-section {
        padding-top: 100px;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .profile-img {
        width: 220px;
        height: 220px;
    }
    
    .btn-custom-primary,
    .btn-custom-outline {
        width: 220px;
        padding: 12px 15px;
    }
    
    .navbar-brand {
        font-size: 1.4rem !important;
    }
    
    .navbar-logo {
        height: 30px;
    }
    
    /* Footer responsivo */
    footer .d-flex {
        flex-direction: column !important;
        gap: 1rem;
    }
    
    .social-link {
        font-size: 2rem !important;
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}