@import url(global.css);

/* Header Section */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(0px);
    background-color: rgba(28, 28, 26, 0);
    transition: backdrop-filter 0.3s ease, background-color 0.3s ease;
}

header.scrolled {
    backdrop-filter: blur(10px);
    background-color: rgba(28, 28, 26, 0.8);
}

.navbar {
    width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    color: var(--primary-color);
}

.navbar h2 {
    font-size: 27px;
    font-weight: bold;
    letter-spacing: -3px;
}

.hamburguer-menu {
    display: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: bold;
}

.nav-menu a:hover {
    color: var(--secondary-color);
    transition: color 0.3s ease;
    text-decoration: 2px underline;
    text-underline-offset: 8px;
}

/* Mobile Drawer Menu */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  pointer-events: none;
}
.mobile-drawer .drawer-content {
  position: fixed;
  top: 0;
  right: -80vw;
  bottom: 0;
  width: 80vw;
  max-width: 320px;
  height: 100vh;
  background: rgba(33,33,33,0.98);
  box-shadow: -2px 0 16px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 16px 16px 16px;
  gap: 18px;
  transition: right 0.3s cubic-bezier(.4,0,.2,1);
  pointer-events: auto;
  overflow-y: auto;
  z-index: 2100;
}
.mobile-drawer.open .drawer-content {
  right: 0;
}
.mobile-drawer .drawer-logo {
  font-size: 27px;
  color: var(--primary-color);
  margin-bottom: 30px;
  letter-spacing: -3px;
  font-family: var(--font-family);
}

.mobile-drawer .title-mobile {
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--primary-color);
}

.mobile-drawer .drawer-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-drawer .drawer-menu a {
  color: var(--fourth-color);
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: color 0.2s;
}
.mobile-drawer .drawer-menu a:hover {
  color: var(--secondary-color);
}
.mobile-drawer .drawer-social {
  display: flex;
  gap: 18px;
}
.mobile-drawer .drawer-social a {
  color: var(--secondary-color);
  font-size: 30px;
  transition: color 0.2s;
}
.mobile-drawer .drawer-social a:hover {
  color: var(--primary-color);
}
.mobile-drawer .drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(.4,0,.2,1);
  z-index: 2000;
}
.mobile-drawer.open .drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer .drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 28px;
  cursor: pointer;
  z-index: 2100;
  padding: 4px;
  transition: color 0.2s;
}
.mobile-drawer .drawer-close:hover {
  color: var(--secondary-color);
}
.mobile-drawer .drawer-social a i {
  font-size: 30px !important;
}

/* Hero Section */
#hero {
    height: 885px;
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    background-image: url('/assets/hero_bg.png');
    background-color: var(--third-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-text {
  position: absolute;
  top: 70%;
}

.subtitle {
  color: var(--primary-color);
  font-size: 25px;
  font-weight: 400;
  margin-bottom: 12px;
}

.title {
  color: var(--secondary-color);
  font-family: var(--font-secondary);
  font-size: 105px;
  font-weight: 500;
}

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

#typewriter::after {
    color: var(--primary-color);
    content: '|';
    margin-left: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* About Section */
#about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 70px 0;
    gap: 50px;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 1200px;
}

.about-text {
    font-family: var(--font-family);
    font-size: 20px;
    color: var(--primary-color);
    line-height: 1.6;
    margin-top: 20px;
    text-align: center;
}
.about-content p {
    font-family: var(--font-family);
    font-size: 20px;
    color: var(--primary-color);
    line-height: 1.6;
    margin-top: 20px;
    text-align: justify;
}

.skills {
    width: 1200px;
}

.subtitle-skills {
    font-family: var(--font-secondary);
    font-size: 60px;
    font-weight: 400;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.icons-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.icons-skills img {
    border-radius: 15px;
    padding: 10px;
    width: 70px;
    height: 70px;
    margin: 10px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.icons-skills img:hover {
    transform: scale(1.1);
}

/* Curriculum Section */
#curriculum {
    padding: 70px 0;
}

.content-curriculum {
    display: flex;
    justify-content: space-between;
    width: 1200px;
    margin: 0 auto;
    margin-bottom: 30px;
    gap: 30px;
}

.content-curriculum h3 {
    font-family: var(--font-secondary);
    font-size: 40px;
    font-weight: 400;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.content-curriculum li {
    list-style: none;
    padding: 0;
}

.column-content {
    flex: 1;
    padding-right: 20px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--primary-color);
    border-radius: 15px;
    padding: 40px;
    background: rgba(33, 33, 33, 0.5); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 0 100px rgba(255, 255, 255, 0.03);
}

.experience {
    margin-bottom: 30px;
}

.experience p {
    margin: 10px 0;
    color: var(--fourth-color);
}

.education {
    margin-bottom: 30px;
}

.education p {
    margin: 10px 0;
    color: var(--fourth-color);
}

/* Projects Section */
#projects {
    padding: 70px 0;
}

.content-projects {
    width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 40px;
    text-decoration: none;
    border-radius: 15px;
    background: rgba(33, 33, 33, 0.5); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 0 100px rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: scale(1.02);
}

.project-card h3 {
    font-family: var(--font-family);
    font-size: 25px;
    text-decoration: none;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.project-card p {
    font-family: var(--font-family);
    font-size: 18px;
    color: var(--fourth-color);
    margin-bottom: 25px;
}

.icon-github {
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    gap: 10px;
    font-size: 20px;
}

.icon-github span {
    font-size: 16px;
}

/* Contact Section */
#contact {
    padding: 70px 0;
}

.content-contact {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    padding: 60px;
    border-radius: 15px;
    background: rgba(33, 33, 33, 0.5); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 0 100px rgba(255, 255, 255, 0.03);
}

.social-links h3 {
    font-size: 25px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.social-links p {
    font-size: 18px;
    color: var(--fourth-color);
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 25px;
    border-radius: 50px;
    padding: 10px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.contact-form {
    width: 700px;
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    gap: 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-field {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-field:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 10px rgba(135, 206, 250, 0.5);
}

.form-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-field.textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #00a2ff75, #00A3FF);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.divider-line {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

/* Footer */
footer {
    color: var(--primary-color);
    text-align: center;
    padding-bottom: 30px;
    font-size: 16px;
}

/* Media Queries */
@media (min-width: 769px) and (max-width: 1024px) {

  html {
    scroll-padding-top: 65px; 
  }

  #about,
  #curriculum,
  #projects,
  #contact {
    padding: 50px 0;
  }

  .navbar {
    width: 100%;
    max-width: 100%;
    padding: 18px 40px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 64px;
  }
  .navbar h2 {
    font-size: 32px;
    margin: 0;
    padding: 0;
    left: 0;
    top: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    height: 64px;
    line-height: 1;
  }
  .nav-menu {
    display: flex !important;
    gap: 24px;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
  }
  .nav-menu a {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-menu a:hover {
    color: var(--secondary-color);
  }
  .hamburguer-menu,
  .mobile-drawer {
    display: none !important;
  }
  #hero {
    height: 100vh;
  }
  .title {
    font-size: clamp(38px, 7vw, 80px);
  }
  .section-subtitles {
    font-size: clamp(32px, 7vw, 60px);
  }
  .about-content,
  .skills,
  .content-curriculum,
  .content-projects,
  .content-contact {
    width: 95%;
    max-width: 900px;
    margin: 0 auto;
  }
  .content-projects {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .contact-form {
    width: 100%;
  }

  .column-content {
    margin-bottom: 20px;
  }
}
@media (max-width: 768px) {

  html {
    scroll-padding-top: 70px; 
  }

  .navbar {
    width: 100%;
    max-width: 100%;
    padding: 16px 30px;
    min-height: 64px;
  }

  .contact-form,
  .content-curriculum,
  .content-projects,
  .content-contact,
  .skills,
  .about-content {
    max-width: 100%;
  }

  .about-content, 
  .skills, 
  .content-curriculum, 
  .content-projects, 
  .content-contact {
    width: 90%;
  }

  #hero {
    height: 100vh;
  }

  .hero-text {
    top: 75%;
  }

  #about,
  #curriculum,
  #projects,
  #contact {
    padding: 35px 0;
  }

  .content-curriculum {
    flex-direction: column;
  }
    
  .content-projects {
    grid-template-columns: repeat(2, 1fr);
  }
    
  .contact-form {
    width: 100%;
  }

  .content-contact{
    padding: 40px;
    flex-direction: column;
  }
    
  .title {
    font-size: clamp(45px, 8.5vw, 105px);
  }
    
  .subtitle {
    font-size: clamp(18px, 4vw, 25px);
  }
    
  .section-subtitles {
    font-size: clamp(35px, 8vw, 75px);
  }

  .subtitle-skills {
    font-size: clamp(30px, 6vw, 65px);
  }

  .hamburguer-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    z-index: 1000;
  }
  .hamburguer-menu i {
    font-size: 32px;
  }
  .nav-menu {
    display: none;
  }
  .mobile-drawer {
    display: block;
  }
}
@media (min-width: 769px) {
  .mobile-drawer {
    display: none !important;
  }
}

@media (max-width: 480px) {

  html {
    scroll-padding-top: 75px; 
  }
  .navbar {
    min-height: 56px;
    padding: 12px 16px;
  }
  .navbar h2 {
    font-size: 24px;
    height: 56px;
    display: flex;
    align-items: center;
  }
  .hamburguer-menu {
    right: 16px;
    width: 36px;
    height: 36px;
  }
  .hamburguer-menu i {
    font-size: 26px;
  }
  .nav-menu {
    display: none;
  }

  #hero {
    height: 100vh; 
  }

  .hero-text {
    top: 75%;
  }

  .content-projects {
    grid-template-columns: 1fr; 
    gap: 20px;
  }

  .contact-form,
  .content-contact {
    padding: 0 20px 20px 20px;
    width: 100%;
  }

  .social-links{
    padding: 20px 20px 0;
  }

  .about-content,
  .skills,
  .content-curriculum,
  .content-projects,
  .content-contact {
    width: 90%;
  }

  .column-content h3 {
    font-size: 35px;
  }

  .title {
    font-size: clamp(32px, 8.5vw, 60px);
  }

  .subtitle {
    font-size: clamp(16px, 4vw, 22px);
  }

  .section-subtitles {
    font-size: clamp(24px, 10vw, 50px);
  }

  .subtitle-skills {
    font-size: clamp(22px, 8vw, 40px);
    padding-bottom: 0;
  }

  footer {
    width: 90%;
    margin: 0 auto;
  }

  .mobile-drawer {
    display: block;
  }

  p,
  .about-text,
  .about-content p,
  .column-content,
  .project-card p,
  .drawer-menu a,
  .drawer-social a,
  .contact-form,
  .form-field,
  .social-links p,
  .content-curriculum,
  .content-contact,
  .skills,
  .icons-skills,
  .education,
  .experience {
    font-size: 16px !important;
  }
}

