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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top left, #141414, #0a0a0a); 
  color: #fff;
  overflow-x: hidden;
}

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

a:hover {
    color: #ffcb3c;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #ff7b5c, #ffcb3c);
  color: #000;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 20px;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 123, 92, 0.6);
}

.nav__contact-btn {
    background: linear-gradient(90deg, #ff7b5c, #ffcb3c);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.3s;
    justify-content: center;
    text-align: center;
    margin-top: 0; 
}

.nav__contact-btn:hover {
    transform: scale(1.05);
    opacity: 0.95;
    box-shadow: 0 0 15px #ff7b5c;
}


header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
}

.nav__container {
  width: calc(100% - 120px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 30px;
  background-color: rgba(20, 20, 20, 0.6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  transition: width 0.3s ease;
  backdrop-filter: blur(10px);
}

.logo a {
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(90deg, #ff7b5c, #ffcb3c);
  background-clip: text;
  color: transparent;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__list a {
  color: #e6e6e6;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.2s ease;
  display: flex; 
  align-items: center;
  height: 100%;
}

.nav__list a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #ff7b5c;
  transition: width 0.3s ease;
}

.nav__list a:hover::after {
  width: 100%;
}

.nav__list a:hover {
  color: #ffffff;
}

.nav__contact-btn::after {
    content: none !important;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 20;
}

.burger span {
  background-color: #fff;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  transition: all 0.3s ease;
}

section {
  min-height: 60vh;
  padding: 80px 10%; 
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#home {
    min-height: 100vh;
}

h2 {
  padding-top: 20px;
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  background: linear-gradient(90deg, #ff7b5c, #ffcb3c);
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(255, 123, 92, 0.3);
}

h3 {
  text-align: center;
  background: linear-gradient(90deg, #ff7b5c, #ffcb3c);
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(255, 123, 92, 0.3);
}

.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }


.home {
  text-align: center;
}

.home__content {
    max-width: 900px;
    margin: 0 auto;
}

.home__greeting {
  background-color: linear-gradient(90deg, #ff7b5c, #ffcb3c);
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(255, 92, 92, 0.6);
  cursor: pointer;
  display: inline-block;
  padding: 15px 35px;
  text-align: center;
  text-decoration: none;
  transition: all 250ms;
  border: 0;
  font-size: 20px;
  user-select: none;
  touch-action: manipulation;
  background-image: url('indisponible.png');
  background-repeat: no-repeat;
  background-size: 50px;
  background-position: 8px center;
  padding-left: 60px;
  margin-bottom: 15px;
}

.home__greeting:hover {
  box-shadow: 0 10px 30px rgba(255, 123, 92, 0.6);
  transform: scale(1.05) rotate(-1deg);
}

.home h1 {
  font-size: 4rem; 
  line-height: 1.2;
  margin-bottom: 25px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.05); 
}

.home__highlight {
    display: block;
    font-size: 3.5rem;
    background: linear-gradient(90deg, #ff7b5c, #ffcb3c);
    background-clip: text;
    color: transparent;
}

.home__tagline {
    font-size: 1.1rem;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 30px;
}


.about__block {
  display: flex;
  padding: 20px;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1500px;
  margin: 0 auto;
  background-color: #1a1a1a;
  border-radius: 15px;
  border-left: 5px solid #ffcb3c;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.about img {
  width: 250px;
  min-width: 250px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 4px solid #ff7b5c;
  object-fit: cover;
  filter: grayscale(80%);
  transition: all 0.5s ease;
}

.about img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
  border-color: #ffcb3c;
}

.about__text {
  max-width: 550px;
  color: #e6e6e6;
  line-height: 1.7;
  text-align: center; 
}

.about__text h3 {
    color: linear-gradient(90deg, #ff7b5c, #ffcb3c);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.about__text p {
    margin-bottom: 15px;
    color: #aaa;
    text-align: justify;
}

.about__text .btn {
    margin: 20px auto 0;
}


.work__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project__card {
  position: relative;
  background-color: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.4, 1), box-shadow 0.5s ease;
}

.project__card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 123, 92, 0.4);
}

.project__card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project__card:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.project__card .info {
    padding: 20px;
}

.project__link {
    display: inline-block;
    font-weight: 600;
    color: #ffcb3c;
    transition: color 0.3s;
    margin-top: 10px;
}

.project__link i {
    margin-left: 5px;
    transition: margin-left 0.3s;
}

.project__link:hover i {
    margin-left: 10px;
    color: #ff7b5c;
}


.skills__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.skill__card {
  position: relative;
  background-color: #111111;
  padding: 5px;
  border-radius: 15px;
  width: 220px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.skill__icon-block {
    background-color: #1a1a1a;
    padding: 25px 20px;
    border-radius: 12px;
    transition: background-color 0.3s;
}

.skill__card:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 0 8px #ff7b5c,
    0 0 18px #ffcb3c,
    0 0 30px rgba(255, 123, 92, 0.8),
    0 0 50px rgba(255, 203, 60, 0.6);
}

.skill__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    border: 3px solid transparent;
    transition: border-color 0.3s ease;
    z-index: 0;
}

.skill__card:hover::before {
    border-color: #ff7b5c;
}


.skill__card h3 {
    margin-top: 15px;
    color: #e6e6e6;
    transition: color 0.3s;
}

.skill__card:hover h3 {
    color: #ffcb3c;
    text-shadow: 0 0 5px #ff7b5c;
}

.skill__icon {
    font-size: 3.8rem;
    color: #ff7b5c;
    transition: color 0.3s, text-shadow 0.3s;
}

.skill__card:hover .skill__icon {
    color: #ffcb3c;
    text-shadow: 0 0 10px #ff7b5c;
}


.contact__section {
  text-align: left; 
  min-height: auto; 
}

.contact__container {
  display: flex;
  background-color: #1a1a1a;
  border-radius: 20px;
  padding: 50px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  gap: 50px; 
  flex-wrap: wrap; 
}

.contact__info-block {
  flex: 1;
  min-width: 300px;
  padding-right: 20px;
}

.contact__info-block h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
  text-align: left;
  background: none;
  color: #fff;
  line-height: 1.2;
}

.contact__title {
    color: #ffcb3c;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px; 
}

.detail__item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.detail__icon-style {
    background-color: #333;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff7b5c;
    font-size: 1.2rem;
    transition: transform 0.3s, background-color 0.3s;
}

.detail__item:hover .detail__icon-style {
    transform: rotate(10deg) scale(1.1); 
    background-color: #ff7b5c;
    color: #1a1a1a;
}

.detail__item a:hover {
    color: #ff7b5c;
}

.contact__form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 300px;
  padding-left: 20px;
}

.contact__form .form__intro {
    color: #e6e6e6;
    font-weight: 500;
    margin-bottom: 10px;
}

.input__group {
  position: relative;
}

.contact__form label {
  display: block;
  margin-bottom: 5px;
  color: #e6e6e6;
  font-weight: 600;
  font-size: 0.9rem;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  outline: none;
  background-color: #2a2a2a; 
  color: #fff;
  resize: vertical;
  font-size: 1rem;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.contact__form textarea {
  min-height: 120px;
}

.contact__form input:focus,
.contact__form textarea:focus {
  background-color: #333333;
  box-shadow: 0 0 0 2px #ffcb3c;
}

.form__submit-btn {
  background: linear-gradient(90deg, #ff7b5c, #ffcb3c);
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-weight: 700;
  cursor: pointer;
  color: #000;
  font-size: 1.1rem;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(255, 123, 92, 0.4);
  margin-top: 5px;
  width: 100%;
}

.form__submit-btn:hover {
  transform: scale(1.01);
  opacity: 0.95;
  box-shadow: 0 8px 20px rgba(255, 123, 92, 0.6);
}

#form-status {
    margin-top: 10px; 
    text-align: center; 
    font-weight: 600;
}


footer {
  text-align: center;
  padding: 30px 0;
  font-size: 0.8rem;
  color: #aaa;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
}

@media (max-width: 900px) {
  section {
      padding: 60px 5%; 
  }

  .home {
    padding-top: 100px;
    min-height: 80vh; 
  }
  
  .home h1 {
      font-size: 3rem;
  }
  
  .home__highlight {
      font-size: 2.5rem;
  }

  .about__block {
      flex-direction: column;
      text-align: center;
      padding: 20px;
  }
  
  .about__text {
      text-align: center;
  }
  
  .about__text p {
      text-align: center;
  }
  
  .skill__card {
      width: 45%;
  }

  .contact__container {
    flex-direction: column;
    padding: 30px;
  }
  
  .contact__info-block {
      padding-right: 0;
  }
  
  .contact__form {
      padding-left: 0;
  }

  .contact__info-block h2 {
    font-size: 2.2rem;
  }
  
  .nav__list {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 80px;
      right: 5%;
      background-color: rgba(30, 30, 30, 0.95);
      border: 1px solid #ff7b5c;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      min-width: 200px;
      z-index: 999;
      transform: scaleY(0);
      transform-origin: top;
      transition: transform 0.3s ease-in-out;
    }

    .nav__list.show {
        display: flex;
        transform: scaleY(1);
    }
    
    .nav__list a {
        padding: 10px 0;
    }

    .nav__contact-btn {
        margin-top: 10px;
    }

    .burger {
        display: flex;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

@media (max-width: 500px) {
    .skill__card {
        width: 100%; 
    }
    
    .home h1 {
        font-size: 2rem;
    }
    
    .home__highlight {
        font-size: 1.7rem;
    }
}