@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Modern Color Palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-bg: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    --card-bg: rgba(255, 255, 255, 0.02);
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.4);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        url("/assets/FundoPortifolio.png"),
        var(--dark-bg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

header {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    margin: 1rem;
}

.header-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right-icons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.left-icons a,
.right-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--card-bg);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin: 0 0.5rem;
}

.left-icons a::before,
.right-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: var(--transition);
    z-index: -1;
}

.left-icons a:hover::before,
.right-icons a:hover::before {
    left: 0;
}

.header-icons img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
    z-index: 1;
}

.left-icons a:hover,
.right-icons a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.left-icons a:hover img,
.right-icons a:hover img {
    transform: scale(1.1);
}


.content {
    padding: 2rem;
    max-width: 1400px;
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    min-height: calc(100vh - 120px);
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}


.imagemesquerda {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    object-fit: contain;
    padding: 0;
    margin: 0;
}

.imagemesquerda:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px) saturate(180%);
    padding: 2.5rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0;
    height: 100%;
    transition: var(--transition);

}

.texto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.texto:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}


footer {
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0;
    margin-top: 2rem;
    position: relative;
}

.img-footer {
    width: 80px;
    height: auto;
    opacity: 0.7;
    transition: var(--transition);
    filter: brightness(1.2);
}

.img-footer:hover {
    opacity: 1;
    transform: scale(1.05);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 1.5rem 0 0;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}




@media screen and (max-width: 768px) {
    /* Estilos para telas menores que 768px */
    .background {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .imagemesquerda {
        margin: 20px;
        width: 80%; /* Ajuste a largura conforme necessário */
    }

    .texto, .botoes {
        position: static;
        width: auto;
        transform: none;
        margin: 20px;
        padding: 15px;
        font-size: 18px;
    }

    .botoes {
        flex-direction: column; /* Alinha os botões verticalmente */
        align-items: center; /* Centraliza os botões horizontalmente */
        padding-bottom: 0; /* Remove o espaçamento inferior */
    }

    .botao {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .img-footer {
        opacity: 0.5;
        width: 90px;
    }
}