/* --- Reset e Estilos Básicos --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Cabeçalho e Navegação --- */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    font-weight: 700;
    color: #333;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

header nav ul li a {
    color: #555;
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #000;
    border-bottom: 2px solid #000;
}

/* --- Seção de Apresentação (Hero Section) --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://via.placeholder.com/1920x1080/444444/FFFFFF?text=Seu+Fundo+Profissional') no-repeat center center/cover;
    color: #fff;
    position: relative;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-button {
    background: #ffffff;
    color: #333;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

/* --- Seções Padrão --- */
section {
    padding: 100px 0;
    text-align: center;
}

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #555;
    margin: 10px auto 0;
}

/* --- Seção Sobre Mim --- */
.skills-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.skill-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-10px);
}

.skill-item i {
    font-size: 3em;
    color: #333;
    margin-bottom: 15px;
}

/* --- Seção de Projetos --- */
.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.projeto-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: left;
}

.projeto-card:hover {
    transform: translateY(-5px);
}

.projeto-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.card-content a {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.card-content a:hover {
    background: #555;
}

/* --- Seção de Contato --- */
.social-links {
    margin-top: 30px;
}

.social-icon {
    font-size: 2em;
    color: #333;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: #555;
    transform: scale(1.1);
}

/* --- Animações --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.is-visible {
    transform: none;
}

.slide-up.is-visible {
    transform: translateY(0);
}

/* --- Rodapé --- */
footer {
    text-align: center;
    padding: 30px 0;
    background: #333;
    color: #fff;
}