/* Importando as fontes do Google (Playfair para elegância, Poppins para modernidade) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;1,600&family=Poppins:wght@300;400;500;600&display=swap');

/* --- VARIÁVEIS DE COR (A Paleta da Confeitaria) --- */
:root {
    /* Paleta Pink Sophisticated & Minimalist */
    --chocolate-dark: #4A3A3A;      /* Um marrom-acizentado (Taupe) para texto e peso */
    --caramel: #D18995;           /* Dusty Rose: um rosa elegante e menos saturado */
    --dough-cream: #FDF9F9;       /* Off-white quase rosa, muito suave */
    --flour-white: #FFFFFF;       /* Branco absoluto para contrastes limpos */
    --text-dark: #3D3535;         /* Quase preto, mas com subtons quentes */
    --text-light: #8C7878;        /* Cinza-rosado para legendas (fácil de ler) */
    
    /* Extra: cor para estados de hover */
    --accent-hover: #B87581;      /* Um tom mais escuro do nosso rosa principal */
}

/* --- RESET BÁSICO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dough-cream);
    color: var(--text-dark);
    line-height: 1.6;
}

/* --- NAVEGAÇÃO --- */
header {
    background-color: var(--flour-white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1200px;
    margin: auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--chocolate-dark);
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--caramel);
}

/* --- SEÇÕES GERAIS --- */
section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: auto;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--chocolate-dark);
    margin-bottom: 3rem;
    text-align: center;
}

/* --- HERO SECTION (A Primeira Impressão) --- */
#hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85vh;
    gap: 3rem;
    padding-top: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    color: var(--chocolate-dark);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-content h2 {
    font-size: 1.5rem;
    color: var(--caramel);
    text-align: left;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    color: var(--text-light);
}

.cta-button {
    display: inline-block;
    background-color: var(--chocolate-dark);
    color: var(--flour-white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(74, 48, 34, 0.2);
}

.cta-button:hover {
    background-color: var(--caramel);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(212, 163, 115, 0.3);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Adicionando um fundo decorativo atrás da foto */
.hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--caramel);
    border-radius: 50% 30% 60% 40% / 40% 50% 60% 50%;
    z-index: -1;
    transform: scale(1.05) translate(-10px, 10px);
    opacity: 0.3;
}

.hero-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* --- ABOUT ME --- */
#about {
    text-align: center;
    background-color: var(--flour-white);
    border-radius: 30px;
    padding: 5rem 4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    margin-top: -4rem; 
    position: relative;
    z-index: 10;
}

#about p {
    max-width: 800px;
    margin: auto;
    font-size: 1.15rem;
    color: var(--text-light);
}

/* --- PORTFOLIO (As Obras de Arte) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.bake-card {
    background: var(--flour-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bake-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.bake-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-bottom: 4px solid var(--caramel);
    transition: transform 0.5s ease;
}

.bake-card:hover img {
    transform: scale(1.05); /* Leve zoom na imagem ao passar o mouse */
}

.bake-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--chocolate-dark);
    margin: 1.5rem 1.5rem 0.5rem;
    font-size: 1.6rem;
}

.bake-card p {
    margin: 0 1.5rem 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- SKILLS --- */
#skills {
    background-color: var(--chocolate-dark);
    color: var(--flour-white);
    border-radius: 30px;
    padding: 6rem 3rem;
}

#skills h2 {
    color: var(--dough-cream);
}

.skills-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: auto;
}

.skills-list li {
    background: rgba(255, 255, 255, 0.08);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.3s;
}

.skills-list li:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* --- CONTACT FORM --- */
.contact-form {
    max-width: 650px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background-color: var(--flour-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #EEEEEE;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background-color: #FAFAFA;
    transition: all 0.3s ease;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--caramel);
    background-color: var(--flour-white);
    box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.2);
}

.contact-form button {
    background-color: var(--caramel);
    color: var(--flour-white);
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.contact-form button:hover {
    background-color: var(--chocolate-dark);
    transform: translateY(-2px);
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 2.5rem;
    background-color: var(--flour-white);
    color: var(--text-light);
    font-size: 0.95rem;
    border-top: 1px solid #EEEEEE;
}

/* --- RESPONSIVIDADE (Mobile) --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Em um site completo, isso seria um botão de menu (hamburger) */
    }
    
    #hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .hero-content h2 {
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 2rem;
    }
    
    .hero-image::before {
        display: none;
    }
    
    #about {
        padding: 3rem 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}
