/* --- Variables --- */
:root {
    --bg-color: #0B032D; /* Deep slate blue/black */
    --text-main: #e2e8f0; /* Light slate for headings */
    --text-muted: #94a3b8; /* Muted slate for paragraphs */
    --accent-color: #3b82f6; /* Industrial Steel Blue */
    --card-hover: rgba(30, 41, 59, 0.5); /* Subtle highlight on hover */
}

/* --- Base Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Note: For the CSS transition on variables to look ultra-smooth in modern browsers, 
  we explicitly register them at the top of your CSS file:
*/
@property --bg-color-1 {
  syntax: '<color>';
  inherits: false;
  initial-value: #0f172a;
}

@property --bg-color-2 {
  syntax: '<color>';
  inherits: false;
  initial-value: #1e1b4b;
}

body {
    font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
    /* Define initial background colors (Top of the page) */
    --bg-color-1: #0f172a; /* Your current deep dark slate background */
    --bg-color-2: #1e1b4b; /* A subtle deep indigo/navy tint */

    /* Apply the gradient using the variables */
    background: linear-gradient(135deg, var(--bg-color-1), var(--bg-color-2));
    background-attachment: fixed; /* Keeps the gradient pinned while content scrolls */

    /* Smooth transition effect for when the JavaScript updates the variables */
    /* transition: --bg-color-1 0.5s ease, --bg-color-2 0.5s ease; */

    /* Ensure text remains readable */
    color: #f8fafc; 
    margin: 0;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}




h1, h2, h3 {
    color: var(--text-main);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

/* --- Layout Wrapper (Mobile First) --- */
.layout-wrapper {
    max-width: 1200px;
    width: 85%;
    margin: 0 auto;
    padding: 1rem 0 0 0;
    position: relative;
    z-index: 40;
}

/* --- Sidebar / Intro --- */
.sidebar {
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 0rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-main);
}

p{
    text-align: justify;
}

.bio {
    max-width: 400px;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    line-height: 1.8rem;
}
.bio-pages {
    max-width: 400px;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    line-height: 1.8rem;
}

/* Page Navigation (Hidden on mobile, mimics her lines) */
.page-nav {
    display: none; 
    margin-top: 2rem;
}

.page-nav ul {
    list-style: none;
}

.page-nav a {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.page-nav .line {
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: var(--text-muted);
    margin-right: 15px;
    transition: all 0.3s ease;
}

.page-nav a.active, .page-nav a:hover {
    color: var(--text-main);
}

.page-nav a.active .line, .page-nav a:hover .line {
    width: 60px;
    background-color: var(--text-main);
}

/* Language Selector */
.lang-selector {
    margin-top: 0rem;
    display: flex;
    gap: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0rem;
}

.lang-selector a:hover, .lang-selector a.active {
    color: var(--accent-color);
}

/* --- Content / Timeline --- */
.section-block {
    margin-bottom: 4rem;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.card-link::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10; 
}

.experience-card {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 0.5rem;
    padding: 1.5rem;
    border-radius: px;
    transition: background-color 0.3s ease;
    margin-bottom: 1rem;
    /* Pulling it slightly left so the text aligns visually */
    margin-left: -1.5rem; 
    margin-right: -1.5rem;
    position: relative;
}

/* Hover effect mimicking her site */
.experience-card:hover {
    background-color: var(--card-hover);
}

.experience-card:hover h3 {
    color: var(--accent-color);
}

.exp-date {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-top: 0.25rem;
    text-align: center;
}

.exp-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.company {
    color: var(--text-main);
}

/* --- Efeito de Brilho do Mouse (Mobile: Oculto) --- */
.mouse-glow {
    display: none; 
}

/* --- Títulos das seções para Mobile --- */
.mobile-section-title {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    position: sticky;
    top: 0;
    background-color: transparent; /* rgba(15, 23, 42, 0.1); */ /* Mesma cor do fundo, mas translúcido */
    backdrop-filter: blur(8px);
    padding: 1rem 100;
    z-index: 50;
}

/* Create the lines */
.mobile-section-title::before,
.mobile-section-title::after {
    content: "";
    flex: 1; 
    height: 2px; /* Thickness of your middle line */
    background-color: #ccc; /* Color of the line */  
}

/* Add some spacing around the text */
.mobile-section-title::before {
  margin-right: 15px; /* Space between left line and text */
}

.mobile-section-title::after {
  margin-left: 15px; /* Space between right line and text */
}/* --- Títulos das seções para Mobile --- */
.mobile-section-title {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    position: sticky;
    top: 0;
    background-color: transparent; /* rgba(15, 23, 42, 0.1); */ /* Mesma cor do fundo, mas translúcido */
    backdrop-filter: blur(8px);
    padding: 1rem 100;
    z-index: 50;
}

/* Create the lines */
.mobile-section-title::before,
.mobile-section-title::after {
    content: "";
    flex: 1; 
    height: 2px; /* Thickness of your middle line */
    background-color: #ccc; /* Color of the line */  
}

/* Add some spacing around the text */
.mobile-section-title::before {
  margin-right: 15px; /* Space between left line and text */
}

.mobile-section-title::after {
  margin-left: 15px; /* Space between right line and text */
}

/* --- Desktop Layout (The Magic Split Screen) --- */
@media (min-width: 1024px) {
    .layout-wrapper {
        display: flex;
        justify-content: space-between;
        gap: 2rem;
        padding: 0rem 2rem 0rem;
    }

    /* Make the sidebar sticky */
    .sidebar {
        position: sticky;
        top: 0;
        max-height: 100vh; 
        width: 45%;
        padding-top: 4rem;
        padding-bottom: 2rem;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow: hidden;
    }

    .sidebar_pages {
        position: sticky;
        top: 0;
        max-height: 100vh; 
        width: 35%;
        padding-top: 4rem;
        padding-bottom: 2rem;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow: hidden;
    }

    .content {  
        width: 50%;
        padding-top: 3rem;
        padding-bottom: 4rem;
    }

    .content_pages {  
        width: 60%;
        padding-top: 3rem;
        padding-bottom: 4rem;
    }

    .pages_image {
        width: 100%;
        padding: 2%;
        max-width: 2000px;
        height: auto;
        border-radius: 4px;
        border: 0px solid rgba(255, 255, 255, 0.1);
        transition: border-color 0.3s ease;
    }

    .page-nav {
        display: block;
    }

    .experience-card {
        grid-template-columns: 1fr 4fr;
        gap: 1rem;
    }

    
    .mobile-section-title {
        display: none;
    }


    /* --- Efeito de Brilho do Mouse (Desktop: Ativo) --- */
    .mouse-glow {
        display: block; /* Turns the element back on for desktop */
        pointer-events: none; 
        position: fixed;
        inset: 0;
        z-index: 30; 
        background: radial-gradient(
            600px circle at var(--x, 50%) var(--y, 50%), 
            rgba(59, 130, 246, 0.08), 
            transparent 40%
        );
    }
}


/* --- Ajustes da Seção Sobre --- */
.about-text {
    margin-bottom: 1.5rem;
}
.about-text-pages {
    font-size: larger;
    text-align: justify;
    margin-bottom: 0.5rem;
}

/* --- Ajustes do Card de Projeto (Imagem à esquerda) --- */
.project-image-container {
    padding-top: 0.25rem;
    text-align: center;
}

.project-thumb {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    border: 0px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
}

.experience-card:hover .project-thumb {
    border-color: rgba(255, 255, 255, 0.3);
}


/*
.atkinson-hyperlegible-regular {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.atkinson-hyperlegible-bold {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.atkinson-hyperlegible-regular-italic {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.atkinson-hyperlegible-bold-italic {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 700;
  font-style: italic;
}
*/