/* Regras de reset mais agressivas no início do arquivo */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    color: #e0e0e0 !important;
    min-height: 100vh !important;
    width: 100% !important;
}

/* Remover qualquer background branco que possa estar vindo de outro lugar */
section, div, main {
    background: transparent;
}

/* Atualizar as seções específicas */
.hero-section {
    text-align: center;
    padding: 0;
    min-height: 100vh;
    background: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(10px);
}

.card, .hobby-card {
    background: rgba(15, 23, 42, 0.5) !important;
    padding: 30px;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    text-align: center;
}

.card:hover, .hobby-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.9) !important;
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

a.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.card-link:hover h2,
a.card-link:hover p {
    color: inherit !important;
}

.company-page {
    text-align: center;
}

.company-back {
    margin-bottom: 1.5rem;
}

.company-back a {
    color: #93c5fd !important;
    text-decoration: none;
}

.company-back a:hover {
    text-decoration: underline;
}

.company-name {
    font-size: 2.2em !important;
    margin-bottom: 0.5rem !important;
}

.company-tagline {
    font-size: 1.25em !important;
    color: #93c5fd !important;
    margin-bottom: 1.5rem !important;
}

.company-intro,
.company-since {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.company-highlights {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    max-width: 560px;
    text-align: left;
}

.company-highlights li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: #d0d0d0 !important;
}

.company-highlights li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #3b82f6;
}

.company-grid {
    margin-top: 1rem;
}

.company-actions {
    margin-top: 2.5rem;
}

.topic-figure {
    margin: 1.5rem auto 2rem;
    max-width: 720px;
}

.topic-figure img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    opacity: 0.9;
}

.topic-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem auto 0;
    max-width: 560px;
}

.skill-item {
    margin: 0.35rem 0;
}

.skill-item a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #d0d0d0 !important;
    padding: 4px 0;
    transition: color 0.2s;
}

.skill-item a:hover {
    color: #93c5fd !important;
}

.skill-thumb {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.skill-label {
    font-size: 0.95em;
    text-align: left;
}

a.hobby-card.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.hobby-card.card-link:hover h3,
a.hobby-card.card-link:hover p {
    color: inherit !important;
}


.download-container {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    min-width: 200px;
    text-align: center;
    padding: 15px 30px;
    background: rgba(59, 130, 246, 0.8);
    color: white !important;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    border: none;
    margin: 0;
}

.download-btn:hover {
    background: rgba(59, 130, 246, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Garantir que todos os textos sejam legíveis */
h1, h2, h3 {
    color: #ffffff !important;
}

p {
    color: #d0d0d0 !important;
}

.subtitle {
    color: #b0b0b0 !important;
}

/* Atualizar o seletor de idioma */
.language-selector {
    background: rgba(30, 41, 59, 0.9) !important;
}

.lang-dropdown {
    background: rgba(30, 41, 59, 0.9) !important;
}

/* Atualizar o efeito de fundo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(125deg, 
            rgba(15, 23, 42, 0.75) 0%,
            rgba(23, 49, 83, 0.75) 50%,
            rgba(30, 41, 59, 0.75) 100%),
        url('../uploads/photo-1537884944318-390069bb8665.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

/* Remover completamente o padrão de grade */
body::after {
    display: none; /* Isso remove completamente o efeito de grade */
}

/* OU, se preferir manter o código para uso futuro, apenas comente: */
/* body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        radial-gradient(circle, rgba(59, 130, 246, 0.05) 1px, transparent 2px);
    background-size: 50px 50px, 50px 50px, 50px 50px;
    z-index: -1;
    opacity: 0.3;
    animation: circuitAnimation 20s linear infinite;
} */

/* Também podemos remover a animação já que não será mais usada */
/* @keyframes circuitAnimation {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 50px 50px, 50px 50px, 50px 50px;
    }
} */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Adicione isso ao seu arquivo CSS existente */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    width: 160px;
}

.selected-lang {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    gap: 8px;
}

.lang-text {
    flex-grow: 1;
    font-weight: 500;
}

.arrow {
    font-size: 12px;
    transition: transform 0.3s;
}

.language-selector.active .arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.language-selector.active .lang-dropdown {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #e0e0e0;
    gap: 8px;
    transition: background 0.3s;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-option.active {
    background: rgba(255, 255, 255, 0.15);
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

/* Uniformizar todos os títulos */
.card h2, .hobby-card h3 {
    font-size: 1.5em !important;
    font-weight: 500 !important;
    margin-bottom: 15px !important;
    color: #ffffff !important;
}

/* Uniformizar todos os parágrafos */
.card p, .hobby-card p {
    font-size: 1em !important;
    line-height: 1.6 !important;
    color: #d0d0d0 !important;
}

/* Ajustar o título da seção de hobbies */
.hobbies-section h2 {
    text-align: center;
    font-size: 2em !important;
    margin-bottom: 40px !important;
    color: #ffffff !important;
}

/* Adicionar esta nova classe */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../uploads/photo-1537884944318-390069bb8665.avif');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -2;
}

/* Adicionar estas novas regras */
html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.section-full {
    position: relative;
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Atualizar o estilo das setas */
.scroll-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: float 3s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.8);
    font-size: 3em;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-left: 0;
    border-top: 0;
}

.scroll-down::before {
    transform: rotate(45deg);
}

.scroll-up::before {
    transform: rotate(225deg);
}

.scroll-down {
    bottom: 30px;
}

.scroll-up {
    top: 30px;
}

.scroll-arrow:hover {
    transform: translateX(-50%) scale(1.1);
    color: rgba(255, 255, 255, 1);
}

.scroll-arrow:hover::before {
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes float {
    0% {
        transform: translateX(-50%) translateY(0px);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
    100% {
        transform: translateX(-50%) translateY(0px);
    }
}