
:root {
    /* Colors */
    --color-primary: #E3646E;
    --color-secondary: #C0C4CE;
    --color-subtitle: #E2E4E9;
    --color-accent: #878EA1;
    --color-bg-chip: #292C34;
    --color-bg-chip-hover: rgba(41,44,52,0.5);
    --color-bg: #16181D;
    --color-bg-dark: #0D0E11;
    --color-white: #ffffff;
    --color-purple: #BB72E9;

    /* Font families */
    --font-main: 'Maven Pro', sans-serif;
    --font-mono: 'Inconsolata', monospace;
    --font-stack: 'Asap', sans-serif;
}

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-secondary);
    line-height: 1.6;
    background-color: var(--color-bg);
}

header {
    background-image: url('../assets/background_intro.png');
    background-size: cover;
    background-repeat: no-repeat;
}

footer {
    background-image: url('../assets/background_contacts.png');
    background-size: cover;
    background-repeat: no-repeat;
}

#header-container {
    text-align: center;
    margin: 0 auto 57px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    max-width: 680px;
}

.accent {
    color: var(--color-primary);
}

.accent-purple {
    color: var(--color-purple);
}

.subtitle {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
}

#profile {
    position: relative;
    width: 112px;
    height: 112px;
    margin-top: 120px;
    margin-bottom: 56px;
}

#profile-picture {
    position: relative;

    width: 112px;
    height: 112px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 20px;
    padding: 4px;

    border: 3px solid var(--color-primary);
}

#tag-profile {
    position: absolute;
    bottom: 0;
    right: 0;
}

#stack {
    font-family: var(--font-stack);
    font-size: 56px;
    font-weight: 700;
    line-height: 120%;
    color: var(--color-white);
    margin-bottom: 20px;
}

.small-title {
    font-family: var(--font-stack);
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
}

.small-description {
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 140%;
    color: var(--color-accent);    
}

.services-item_description {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#intro-description {
    margin-bottom: 80px;
}

#tech-stack {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;

    margin-bottom: 94px;
}

#tech-stack > li {
    user-select: none;
}

#tech-stack li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--color-secondary);
    line-height: 140%;

    padding: 8px 16px;
    background-color: var(--color-bg-chip);
    border-radius: 999px;
}

#tech-stack img {
    width: 24px;
    height: 24px;
}

.section-container {
    text-align: center;

    padding: 72px 0 144px;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 8px;

    margin-bottom: 48px;
}

.section-description {
   font-family: var(--font-stack);
   font-weight: 700; 
   font-size: 24px;
   line-height: 120%;
   color: var(--color-subtitle);
}

#meus-servicos {
    background-color: var(--color-bg-dark);
}

.services {
    display: flex;
    flex-wrap: wrap;

    justify-content: center;
    gap: 24px;
}

.services-item {
    padding: 20px;
    max-width: 280px;
    min-width: 200px;
    flex: 1;
    text-align: left;
    border: 2px solid var(--color-bg);
    border-radius: 12px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 0 auto;
    max-width: 400px;
}

.contact-info {
    flex: 1;
    width: 100%;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-secondary);
    background-color: var(--color-bg-chip);
    padding: 20px;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 8px;
}

.contact-info a:hover {
    background-color: var(--color-bg-chip-hover);
    color: var(--color-white);
}

.card-under-construction {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-chip);
    border-radius: 16px;
    padding: 40px 24px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.04);
    color: var(--color-secondary);
    font-family: var(--font-main);
    font-size: 1.1rem;
    gap: 16px;
    min-width: 260px;
    min-height: 120px;
    margin: 0 auto;
    border: 2px solid var(--color-primary);
}

.card-under-construction-desc {
    color: var(--color-accent);
    font-size: 0.95rem;
    margin-top: 4px;
    text-align: center;
    display: block;
}

.projects {
    max-width: 680px;
    margin: 0 auto;
}