/* ===== ESTILOS GLOBAIS ===== */
/* Importa os arquivos base primeiro */
@import './reset.css';
@import './variables.css';

/* ===== LAYOUT ===== */
@import '../layout/container.css';
@import '../layout/header.css';
@import '../layout/footer.css';

/* ===== COMPONENTS ===== */
@import '../components/buttons.css';
@import '../components/cards.css';
@import '../components/navbar.css';

/* ===== SECTIONS ===== */
@import '../sections/hero.css';
@import '../sections/about.css';
@import '../sections/journey.css';
@import '../sections/roadmap.css';
@import '../sections/skills.css';
@import '../sections/projects.css';
@import '../sections/experience.css';
@import '../sections/certificates.css';
@import '../sections/contact.css';

/* ===== RESPONSIVE ===== */
@import '../responsive/responsive.css';

/* ===== ESTILOS GERAIS ===== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.2s ease;
}

/* ===== SCROLLBAR PERSONALIZADA ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 10px;
    border: 2px solid var(--scrollbar-track);
}

::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

/* ===== SEÇÕES ===== */
.section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.section-title i {
    color: var(--accent);
    font-size: 1.8rem;
}

/* ===== ANIMAÇÕES ===== */
.animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #7c3aed;
    transform: translateY(-3px) scale(1.1);
}