@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --nav-h: 72px;
}
html {
  box-sizing: border-box;
}

* {
  box-sizing: inherit;
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #111, #1a1a1a);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: #f26b50;
  filter: blur(150px);
  opacity: 0.2;
  z-index: 0;
}

/*Navigation*/
.navigation {
  height: var(--nav-h);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem 0 3rem;
}

.navigation-links {
  width: 100%;
  height: 10vh;
  position: relative;
  z-index: 10;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-end;
}

.navigation-links a {
  color: white;
  text-decoration: none;
  padding: 0rem 1.5rem 0rem 1rem;
  font-size: 1.2em;
}

.navigation-links a:hover {
  color: #f26b50;
}

.navigation-links a:active {
  color: #f26b50;
}

.navigation-links button {
  color: white;
  background-color: transparent;
  border: 2px solid #f26b50;
  padding: 0.6rem 1.8rem;
  margin-right: 2rem;
  border-radius: 10px;
  font-size: 1.2em;
}

.navigation-links button:hover {
  background-color: #f26b50;
}

/*HeroBanner*/
.hero {
  width: 100%;
  min-height: calc(100vh - var(--nav-h));
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  color: white;
}

.left {
  width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 4rem;
  padding-bottom: 4rem;
}

.left h1 {
  font-size: 3.2em;
  line-height: 3rem;
}

.left span {
  color: #f26b50;
}
.buttons-hero {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
}

.buttons-hero a {
  text-decoration: none;
  color: inherit;
}

.buttons-hero button:nth-child(1) {
  width: fit-content;
  padding: 0.5rem 2rem;
  background-color: #f26b50;
  color: white;
  border: 2px solid #f26b50;
  border-radius: 30px;
  font-size: 1.2em;
}
.buttons-hero button:nth-child(2) {
  width: fit-content;
  padding: 0.5rem 2rem;
  background-color: transparent;
  color: white;
  border: 2px solid #f26b50;
  border-radius: 30px;
  font-size: 1.2em;
}

.buttons-hero button:nth-child(1):hover {
  background-color: transparent;
  box-shadow: #f26b50 0px 0px 10px;
}

.buttons-hero button:nth-child(2):hover {
  background-color: #f26b50;
  box-shadow: #f26b50 0px 0px 10px;
}
.right {
  width: 60%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text h4 {
  font-size: 1em;
}

/*Scrolling text*/
.scrolling-text {
  width: 100%;
  height: 10vh;
  font-size: 1.5em;
  padding-block: 8px;
  overflow: hidden;
  user-select: none;
  display: flex;
  background-color: rgb(23, 23, 23);
  column-gap: 0;
}

.scrolling-text ul {
  list-style: none;
  flex-shrink: 0;
  min-width: 40%;
  margin-right: 1rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: #f26b50;
  animation: scroll 15s linear infinite;
  gap: 2rem;
}

@keyframes scroll {
  to {
    transform: translateX(-100%);
  }
}

.scrolling-text .qa,
.scrolling-text .ux,
.scrolling-text .front-end {
  font-weight: bold;
}

/* About Section */
.about-me-section {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem;
  background: linear-gradient(to bottom, #171717, #2b2b2b);
  color: white;
}

.about-me-section h1 {
  width: 100%;
  text-align: start;
  font-size: 2rem;
  color: #f26b50;
  margin-bottom: 2rem;
}

.text-aboutme {
  flex: 1 1 500px;
  font-size: 1.3rem;
  line-height: 1.7;
}

.text-aboutme p {
  margin-bottom: 1.2rem;
}

.text-aboutme p:nth-child(1) {
  margin-top: 0rem;
}

.image-aboutme {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-aboutme img {
  width: 70%;
  height: auto;
  border-radius: 1rem;
  /*box-shadow: 0 0 20px rgba(196, 75, 14, 0.4);*/
}

@media (max-width: 768px) {
  .main-aboutme {
    flex-direction: column-reverse;
    text-align: center;
  }

  .text-aboutme {
    font-size: 1rem;
  }

  .text-aboutme p {
    margin-bottom: 1rem;
  }

  .social-icons-aboutme {
    justify-content: center;
  }
}

/* Education Section */

.education-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: white;
  padding: 0 4rem;
  z-index: 1;
  overflow: hidden;
  background: none;
}

.education-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/img/education-section.png") no-repeat right center;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  z-index: -1;
}

.heading-education h1 {
  font-size: 2.2em;
  color: #f26b50;
}

.education-main {
  width: 52%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.education-main p {
  font-size: 1.1em;
  margin: 0.5rem 0.25rem;
  line-height: 1.2em;
}
.education-main span {
  color: #f26b50;
  font-weight: bold;
}

.first,
.second,
.third {
  width: 80%;
  background-color: #6949433d;
  padding: 0.5rem;
  border: 2px solid #f26b50;
  border-radius: 10px;
}

.first:hover,
.second:hover,
.third:hover {
  background-color: #3a231f;
  box-shadow: #f26b50 0px 0px 10px;
}

/*My skills*/
.skills {
  padding: 2rem 1rem;
  background: linear-gradient(to bottom, #171717, #2b2b2b);
  padding: 5rem 1rem;
  min-height: 80vh;
  text-align: center;
}

.skills__grid {
  display: grid;
  grid-template-columns: repeat(6, 188px);
  justify-content: center;
  gap: 2rem;
  margin: 0 auto;
}

.skill-card {
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px var(--glow);
}

.skill-card img {
  width: 90px;
  height: 90px;
  margin-bottom: 0.6rem;
}

.skill-card span {
  font-size: 1.1rem;
  color: #fff;
}

.skill--html {
  --glow: #ff3e00;
}
.skill--css {
  --glow: #31a8ff;
}
.skill--js {
  --glow: #f7df1e;
}
.skill--bt {
  --glow: #a259ff;
}
.skill--react {
  --glow: #61dafb;
}
.skill--wordpress {
  --glow: #336791;
}

.skill--selenium {
  --glow: #61dafb;
}
.skill--playwright {
  --glow: #ff3e00;
}
.skill--ts {
  --glow: #4a73a8;
}
.skill--py {
  --glow: #fffc59;
}
.skill--java {
  --glow: #424bc9;
}
.skill--cypress {
  --glow: #4b95d1;
}

.skill--photoshop {
  --glow: #5aa1c2;
}
.skill--illustrator {
  --glow: #f7991e;
}
.skill--figma {
  --glow: #764abc;
}
.skill--postman {
  --glow: #a44c11;
}
.skill--mysql {
  --glow: #00add8;
}
.skill--jmeter {
  --glow: #a24d47;
}

.skills-section {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(to bottom, #2b2b2b, #171717);
  color: white;
  padding: 4rem 2rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  box-sizing: border-box;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #444;
  padding-bottom: 1rem;
  flex-wrap: wrap;
}

.tab-link {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  font-weight: 500;
  cursor: pointer;
  padding-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.tab-link.active {
  color: #f26b50;
  border-bottom: 3px solid #f26b50;
}

.tab-link:hover {
  color: #f26b50;
}

.tab-content {
  display: none;
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 2;
  padding: 2rem 1rem;
  text-align: justify;
}

.tab-content.active {
  display: block;
}

/* Projects Section */
.projects-section {
  width: 100%;
  padding: 5rem 4rem;
  background: linear-gradient(to right, #0d0d0d, #632d00);
  color: white;
}

.projects-heading {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.projects-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 3rem;
  color: #f26b50;
}

.all-projects {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  background: #bb5a4731;
  border-radius: 1.5rem;
  padding: 2rem;
}

.project-image img {
  max-width: 100%;
  width: 650px;
  border-radius: 1rem;
}

.project-info {
  flex: 1;
  min-width: 280px;
}

.project-tags span {
  display: inline-block;
  background: transparent;
  border: 1px solid #aaa;
  border-radius: 20px;
  padding: 0.3rem 1rem;
  font-size: 0.9rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.project-tags span:hover {
  background: #f26b50;
  border-color: #f26b50;
  color: white;
}

.project-info h3 {
  font-size: 2rem;
  margin: 1rem 0 0.5rem;
  color: white;
}

.project-date {
  color: #bbb;
  font-style: italic;
  margin-bottom: 1rem;
}

.project-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.project-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-weight: bold;
  border-radius: 30px;
  background: #f26b50;
  color: white;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.project-btn:hover {
  transform: scale(1.05);
}

/*Contact form*/
.contact-me-section {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  padding: 4rem 2rem;
  background-color: #171717;
  color: white;
}

.contact-container {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-image {
  flex: 1 1 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-image img {
  max-width: 100%;
  height: auto;
  /* border-radius: 10px; */
}

.contact-form {
  flex: 1 1 50%;
}

.contact-form h2 {
  color: #f26b50;
  margin-bottom: 1.5rem;
  font-size: 1.8em;
}

.form-group {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-btn {
  background-color: #f26b50;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
}

.contact-btn:hover {
  background-color: #d4553f;
}

/*Footer*/
.custom-footer {
  background: linear-gradient(90deg, #0f0f0f, #1a1a1a);
  color: white;
  padding: 2rem 3rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #444;
  padding-bottom: 1.5rem;
}

.footer-name img {
  width: 60px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-nav a {
  text-decoration: none;
  color: #ccc;
  font-weight: 300;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #f26b50;
}

.cv-button {
  width: fit-content;
  padding: 0.5rem 2rem;
  background-color: #f26b50;
  color: white;
  border: 2px solid #f26b50;
  border-radius: 30px;
  font-size: 1.2em;
  text-decoration: none;
}

.cv-button:hover {
  background-color: transparent;
  box-shadow: #f26b50 0px 0px 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-bottom a {
  color: #aaa;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #f26b50;
}

.hamburger {
  display: none;
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.navigation {
  position: relative;
  z-index: 999;
}

@media (max-width: 768px) {
  .navigation {
    height: var(--nav-h);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.25rem;
  }

  .navigation-logo {
    display: flex;
    align-items: center;
  }

  .hamburger {
    display: block;
    color: white;
  }

  .hero-text h1 {
    font-size: 2em;
  }

  .navigation-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    background: #1a1a1a;
    height: auto;
    max-height: calc(100vh - var(--nav-h));
    overflow: auto;
    flex-direction: column;
    gap: 0;
    text-align: center;
    padding: 0.5rem 0;
    z-index: 1000;
  }

  .navigation-links a {
    display: block;
    padding: 0.75rem 1rem;
  }

  .navigation-links.active {
    display: flex;
  }

  .buttons-hero a {
    font-size: 16px;
  }

  .image-aboutme img {
    width: 40%;
  }

  .education-main {
    width: 100%;
  }

  .skills__grid {
    display: grid;
    grid-template-columns: repeat(3, 160px);
    justify-content: center;
    gap: 2rem;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .navigation {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
  }

  .navigation-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 2rem 1rem;
  }

  .hero {
    justify-content: flex-start;
    min-height: auto;
    padding: 1rem 1rem 2rem;
  }

  .left,
  .right {
    width: 100%;
    padding: 0;
  }

  .right img {
    width: 80%;
    height: auto;
  }

  .buttons-hero {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }

  .scrolling-text {
    font-size: 1rem;
  }

  .about-me-section {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .text-aboutme,
  .image-aboutme {
    width: 100%;
  }

  .image-aboutme img {
    width: 80%;
  }

  .text-aboutme {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 2;
    padding: 2rem 1rem;
    text-align: justify;
  }

  .education-main {
    width: 100%;
  }

  .education-section {
    padding: 1rem 1.5rem;
  }

  .skills__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .tabs {
    flex-direction: column;
    gap: 1rem;
  }

  .projects-heading {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .project-description {
    padding: 0.25rem 0.75rem;
  }

  .all-projects .project-card {
    flex-direction: column;
    text-align: center;
  }

  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-image img {
    width: 80%;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 15px;
  }
  .navigation {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  }

  .hamburger {
    display: block;
    font-size: 2rem;
    cursor: pointer;
  }

  .left {
    width: 100%;
    text-align: center;
  }

  .hero-text {
    font-size: 0.8rem;
  }

  .buttons-hero {
    flex-direction: row;
  }

  .about-me-section h1 {
    text-align: center;
  }

  .education-main .first,
  .education-main .second,
  .education-main .third {
    width: 100%;
    text-align: center;
  }

  .heading-education h1 {
    text-align: center;
  }

  .projects-heading a {
    margin-bottom: 1rem;
  }

  .projects-section {
    padding: 2rem;
  }

  .all-projects,
  .project-card {
    width: 100%;
    padding: 0.75rem 0.25rem;
  }

  .project-image img {
    width: 90%;
    height: auto;
  }

  .footer-bottom {
    flex-direction: row;
  }
}

@media (max-width: 320px) {
  .projects-section {
    padding: 1rem;
  }
}
