:root {
    --bg: #fff;
    --fg: #000;
    --grey: #e7e7e7;
    --accent: #888;
    --radius: 12px;
    --shadow: rgba(0, 0, 0, 0.1);
    --footer-height: 60px;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg);
    color: var(--fg);
    padding-bottom: var(--footer-height);
    padding-top: 90px
}

a {
    text-decoration: none;
    color: inherit;
}

/* NAVBAR */
nav ul {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    padding: 1rem 0;
}

nav a {
    font-weight: 600;
    position: relative;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--fg);
}

/* HOME */
#home {
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    gap: 2rem;
    align-items: center;
    padding: 2rem 1rem;
}

.profile img {
    width: 142px;
    height: 142px;
    object-fit: cover;
    border-radius: 50%;

    box-shadow: 0 4px 15px var(--shadow);
}

.profile h2 {
    margin-top: .8rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.profile span {
    color: var(--accent);
    font-size: .9rem;
}

.socials {
    display: flex;
    justify-content: center;
    gap: .8rem;
    margin-top: .6rem;
}

.socials img {
    width: 28px;
    height: 28px;

}

.main h1 {
    font-size: 1.8rem;
    font-weight: 900;
}

.main h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: .8rem 0;
}

.main p {
    color: var(--accent);
    font-size: .95rem;
}

.main button {
    margin-top: 1rem;
    padding: .6rem 1.2rem;
    background: var(--fg);
    color: var(--bg);
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 14px;
}

.btn-rounded {
    border-radius: 22px !important;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.skills img {
    width: 48px;
    height: 48px;
    padding: 6px;
    background: #f4f4f4;
    border-radius: var(--radius);
}

/* TABS */
.tabs-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 1rem;
}

.tabs-wrapper::before,
.tabs-wrapper::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--accent);
}

.tab {
    text-align: center;
    cursor: pointer;
}

.tab img {
    width: 36px;
}

.tab span {
    display: block;
    margin-top: .4rem;
    font-size: .85rem;
    color: var(--accent);
}

.tab.active span {
    color: var(--fg);
    font-weight: 700;
}

.tab.active img {
    transform: translateY(-4px);
    opacity: 1;
}

.tablink {
    opacity: 0.6;
}

.tablink:hover {
    opacity: 1;
}

/* PROJECTS */
.project img {
    width: 100%;
    border-radius: var(--radius);
}

/* PODCAST */
.podcast-box {
    border: 1px solid var(--grey);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.podcast-box h3 {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.podcast-box .episode {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 2%;
    border-bottom: 1px solid #e7e7e7;
}

.area-podcasts {
    overflow-y: auto;
    height: 345px;
}

.podcast-selected {
    background: #ededed;
    padding: 2%;
    border-radius: 7px;
}

.episode:hover {
    background: #ededed83;
    padding: 2%;
    border-radius: 7px;
    cursor: pointer;
}

/* FOOTER */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--footer-height);
    background: var(--fg);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}

/* RESPONSIVE */
@media (max-width:992px) {
    #home {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .main {
        text-align: center;
    }
}

.text-muted-2 {
    color: rgb(192, 192, 192);
    font-weight: 500;
}

.big {
    font-size: 50px !important;
}

.text-orange {
    color: #ff6c00;
}










/* 1) Underline animado no navbar */
nav a {
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--fg);
    transition: width .3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* 2) Labels das tabs ocultos por padrão */
.tabs-wrapper .tab span {
    opacity: 0;
    transition: opacity .3s ease;
}

.tabs-wrapper .tab:hover span,
.tabs-wrapper .tab.active span {
    opacity: 1;
}

/* torne o container relativo para posicionar as tab-contents */
#tab-contents {
    position: static;
    min-height: 200px;
    /* ou a altura mínima que caiba seu conteúdo */
}

/* cada seção de aba fica no fluxo normal do documento */
.tab-content{
  position: static;          /* << REMOVER absolute */
  width: 100%;
  opacity: 1;
  visibility: visible;
  transition: none;
  display: none;             /* esconde as inativas */
  margin-top: .25rem;        /* espaço opcional entre tabs e conteúdo */
}


/* apenas a aba ativa aparece */
.tab-content.active{
  display: block;
}

/* a seção ativa fica visível com fade-in */
.tab-content.active {
    opacity: 1;
    visibility: visible;
}




/*Typewriter*/
/* cursor piscando */
#typewriter {
    display: inline;
    vertical-align: baseline;
    border-right: 2px solid var(--grey);
    white-space: nowrap;
    overflow: hidden;
}

@keyframes blink-cursor {

    0%,
    100% {
        border-color: transparent;
    }

    50% {
        border-color: var(--fg);
    }
}

.no-underline::after {
    content: none !important;
}


#education h3 {
    font-weight: 700;
    font-size: 1.8rem;
}

#education .border {
    background-color: #fff;
    transition: transform 0.3s;
}

#education .border:hover {
    transform: translateY(-5px);
}


#mainNavbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1030;
}

.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}


.btn-link {
    text-decoration: none;
    background: black;
    padding: 11px 20px 11px 20px;
    font-size: 14px;
}

.btn-link:hover {
    background-color: #494949;
}

.text-light {
    color: white;
}
.in{
    background: #ffdcbd33!important;
}

.in:hover{
    background: #ffdcbd77!important;

}





/* Project cards: clickable, minimal hover, consistent with current style */
.project {
  cursor: pointer;
}

.project img {
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.project:hover img {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
  filter: saturate(1.03);
}

/* Modal cover consistency */
.project-modal-cover {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

/* List inside modal: clean, readable */
#projectModalMilestones {
  padding-left: 1.1rem;
}

#projectModalMilestones li {
  margin-bottom: .45rem;
}


.podcast-player-wrap {
  margin-bottom: 1rem;
}

.plyr {
  border-radius: 12px;
}


.now-playing {
  display: block;
  margin-top: .5rem;
  font-size: 0.85rem;
}

.area-podcasts .episode.is-playing {
  border-color: #ff7a00; /* combina com seu text-orange */
  background-color: rgba(255, 122, 0, 0.08);
}

.area-podcasts .episode.is-playing b {
  color: #ff7a00;
}
