/* Tokens */

:root {
  --bg-color: #1b1b1b;
  --highlight-color: #FF7A33;
  --card-color: #0e0e0e;

  --text-color-primary: #F7F6EB;
  --text-color-primary-hover: #FF7A33;

  --font-primary: work-sans, sans-serif;
  --font-secondary: retros, sans-serif;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.9rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-huge: 3rem;
  --font-size-super-huge: 3.5rem;

  --border-radius-xs: 8px;
  --border-radius-sm: 12px;
  --border-radius-md: 16px;
  --border-radius-lg: 20px;
  --border-radius-xl: 24px;
  --border-radius-pill: 99999px;

  --border-color-primary: #303030;

}

/* Estruturas */

html {
  scroll-behavior: smooth;
}

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

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--font-primary);
  background-color: var(--bg-color);
  color: var(--text-color-primary);
}


header{
    position: sticky;
    top: 40px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-color);
    width: 100%;
    height: 64px;
    padding: 8px;
    border: 1px solid var(--border-color-primary);
    border-radius: var(--border-radius-xl);
    background-color: rgba(27, 27, 27, 0.8);
    backdrop-filter: blur(8px);
  }

  h1 {
    color: var(--text-color-primary);
    font-size: var(--font-size-huge);
    font-family: var(--font-secondary);
  }

  p {
    color: var(--text-color-primary);
    font-size: var(--font-size-md);
  }
  
  nav{
    padding-right: 16px;
  }
  
  nav a {
    color: var(--text-color-primary);
    text-decoration: none;
    margin-left: 24px;
    font-weight: 600;
    transition: tranform 0.5s ease,
  }
  
  nav a:hover {
    color: var(--text-color-primary-hover);
    font-weight: 700;
  }
  
  main {
     display: flex;
    flex-direction: column;
    gap: 4rem;
  }
  
  
  section{
    min-height: 80vh;
    gap: 0.5rem;
    width: 100%;
    max-width: 1280px;
    padding: 40px 0 40px 0;
  }

  footer{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--card-color);
    width: 100%;
    padding: 40px;
}

article{
   display: flex;
  flex-direction: column;
  gap: 0.5em;
}

/* Componentes */


.header-logo-wrapper{
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 3rem;
  width: auto;
  border-radius: var(--border-radius-md);
}

.logo-font{
  font-size: 1.5em;
  font-weight: 500;
}

.wrapper {
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 40px;
  gap: 40px;
}

.content-wrapper{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero{
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.hero-bg{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(4);
  z-index: -10;
  opacity: 0.3;
}

.hero-paragraph-wrapper{
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  gap: 2rem;
}

.p_hero{
  font-size: var(--font-size-lg);
}

.cards-wrapper{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  grid-auto-flow: dense;
  gap: 2rem;
}

.work-card{
  background-color: var(--card-color);
  width: 100%;
  max-width: 100%;
  height: 600px;
  border: 1px solid var(--border-color-primary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.2s ease;
}

.work-card:hover{
  transform: scale(1.005);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.card-picture{
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.work-card-text-container{
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-title{
  font-size: var(--font-size-lg);
}

.about-wrapper{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about-text-block{
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
}

.about-picture-container{
  width: 100%;
  max-height: 640px;
  overflow: hidden;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color-primary);
}

.about-img{
  width: 100%;
  object-fit: cover;
  object-position: 50%;
}

.about-paragraph{
  font-size: var(--font-size-lg);
}

.text-highlight{
  color: var(--highlight-color);
}

.text-center{
  text-align: center;
}

.rounded{
  border-radius: var(--border-radius-md);
}

.footer-wrapper{
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
}
