/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600&display=swap");

/*=============== VARIABLES CSS ===============*/

:root {
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(38, 92%, 58%);
  --first-color-light: hsl(38, 100%, 78%);
  --first-color-alt: hsl(32, 75%, 50%);
  --second-color: #1c1c1c;
  --dark-color: hsl(212, 40%, 12%);
  --white-color: hsl(212, 4%, 95%);
  --body-color: #1c1c1c;
  --container-color: #d5d5d5;

  
  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Bai Jamjuree", sans-serif;
  --h2-font-size: 1.25rem;
  --normal-font-size: 1rem;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--white-color);
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}




/*=============== CARD ===============*/


.card__container {
    position: relative;
    height: 70vh;
}

.card__content {
  overflow: hidden;
  transform: scale(.9);
  position: relative;
  height: 100%;
  display: flex;
}
.swiper-wrapper {
    display: flex;
    justify-content: space-around;
}

.card__article {
  width: 400px; /* Remove after adding swiper js */
  height: 500px;
  border-radius: 0rem;
  overflow: hidden;
  transform: scale(.5);
  position: relative;
  top: 0;
}

.card__image {
  position: relative;
  background-color: #1c1c1c;
  border: #affc18 2px solid;
  border-radius: 1rem 1rem 0 0;
  border-bottom: none;
  padding: 1rem 0 2rem 0;
  margin-bottom: -.75rem;
  
}

.card__data {
  background: rgba(213, 213, 213, 0.3); /* cor #d5d5d5 com transparência */
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* compatibilidade com Safari */
  position: relative;
  z-index: 10;
  height: 62%;
  color: #1c1c1c;
  line-height: 2;
  border: #affc18 2px solid;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}



.card__img {
  width: 150px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}




.card__shadow {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  position: absolute;
  top: 3.75rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  filter: blur(80px);
   background-color: #1c1c1c;
  opacity: .5;
}



.card__name {
  font-size: var(--h2-font-size);
  color: #d5d5d5;
  text-align: center;
  font-size: 1.8rem;
  letter-spacing: .2rem;
  margin-top: 1rem;
}

.card__description {
  font-weight: 500;
  margin-bottom: 1.75rem;
}

ul.description{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
   margin-bottom: 1rem;
   line-height: 2.5em;
}


.btn{
    display: flex;
    justify-content: center; 
    align-items: center;
    text-align: center;
  }




.card__button {
  display: inline-block;
  background-color: #1c1c1c;
  border: 2px solid #affc18;
  border-radius: 10px;
  color: #affc18;
  font-weight: 800;
  font-size: 1.5em;
  letter-spacing: .2rem;
  text-transform: uppercase;
  transition: 1s;
  width: 300px;
  height: 60px;
  display: flex;
    justify-content: center; 
    align-items: center;
}

.card__button:hover{
    background-color: #affc18;
    color: #1c1c1c;
    border: #1c1c1c;
}

i{
  font-size: 1.5rem;
  margin-right: .7rem;
  color: #affc18;
}

strong{
  text-transform: uppercase;
  font-weight: 900;
  color: #affc18;
}

span{
  font-size: 1.2em;
  margin-left: .5rem;
  color: #d5d5d5;
}


/* Slide ativo (o do meio) */
.swiper-slide-active {
  transform: scale(1.5);
  opacity: 1;
  z-index: 2;
}

/* Slides vizinhos */
.swiper-slide-prev,
.swiper-slide-next {
  transform: scale(0.9);
  opacity: 0.6;
  z-index: 1;
}


.swiper-slide-active .card__data {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.swiper-slide-prev .experience-card,
.swiper-slide-next .experience-card {
  filter: grayscale(20%);
}


/* =============================
   CARD EXPERIÊNCIA
============================= */

.tittle-work{
    width: 400px;
    font-size: 1.5em;
    margin: auto;
}

.tittle-work > div{
        background-color: #affc18;
    width: 50px;
    height: 4px;
    margin: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.experience-card {
  width: 340px;
  height: 230px;
  border-radius: 20px;
  border: solid 2px #affc18;
  padding-top: 50px;
  margin-top: 4rem;
  background-color: rgba(255, 255, 255, .1);
  position: relative;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* IMAGEM CIRCULAR */
.experience-img {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border: solid 2px #affc18;
  border-radius: 50%;
  background-color: #1c1c1c;
  padding: 6px;
}

.experience-img img {
    width: 70%;
    border-radius: 0%;
    object-fit: cover;
}

/* TEXTO */
.card-title {
  color: #d5d5d5;
}

.card-text {
  font-size: 0.95rem;
  color: #d5d5d5;
  line-height: 1.8;
}


.card-text strong{
  letter-spacing: .1em;
}

.card-txt{
    padding-top: .2rem;
}

/* =============================
   SWIPER AJUSTES
============================= */

.experienceSwiper {
  padding: 10px 0;
  height: 68vh;
}

.swiper-slide {
  display: flex;
  height: 300px;
  justify-content: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* SLIDE CENTRAL */
.swiper-slide-active .experience-card {
  transform: scale(1.08);
  opacity: 1;
  z-index: 2;
}

/* SLIDES LATERAIS */
.swiper-slide-prev .experience-card,
.swiper-slide-next .experience-card {
  opacity: 0.6;
  transform: scale(0.95);
}

/* BULLETS */
.swiper-pagination-bullet {
  background: #affc18;
  opacity: 0.4;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}
