/* Angela's Portfolio - Esraa's Color Scheme with Custom Layout */
html { scroll-behavior: smooth; }

.links a {
    color: #333;
    transition: ease-in-out 0.5s color;
}

.links a:hover {
    color: #ffffffff;
}

.social a {
    color: #B3B3B3;
    font-size: 20px;
    padding: 5px 12px;
    border: #333 solid 1px;
    border-radius: 100px;
    transition: ease-in-out 0.5s color;
}

.social a:hover {
    color: #ffffffff;
}

nav {
  width: 100%;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro {
  animation: fadeIn 1.1s ease-in-out forwards;
}

a {
  text-decoration: none;
}

.main__scroll-text {
  color: rgba(232,232,232,1);
}

.main__action:hover .main__scroll-box {
  animation: scroll-down 3s infinite;
}

@keyframes scroll-down {
  0%, 100% {
    transform: translateY(0rem);
    opacity: 1;
  }
  35% {
    transform: translateY(1rem);
    opacity: 0;
  }
  70% {
    transform: translateY(-1rem);
    opacity: 0;
  }
}

@keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}

@keyframes slideDownFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(50px);
  }
}

.scrolll {
  opacity: 0;
  transform: translateY(50px);
  transition: none;
}

.scrolll.show {
  animation-name: slideUp;
  animation-fill-mode: forwards;
  animation-duration: 0.8s;
}

.scrolll.hide {
  animation-name: slideDownFadeOut;
  animation-fill-mode: forwards;
  animation-duration: 0.8s;
}

.slider-container {
    width: 100%;
    height: 50px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.slider-wrapper {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    transition: transform 0.5s ease-in-out;
}

.aboutbutton a {
  font-size: 15px;
  color: #B3B3B3;
  padding: 7px 12px;
  border-radius: 50px;
  border-left: #333 1px solid;
  transition: ease-in-out color 0.5s;
}

.aboutbutton a:hover {
  color: #ffffffff;
}

footer {
  width: 100%;
  color: #B3B3B3;
  border-radius: 50px;
  border-top: #333 1px solid;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 20;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.5s ease;
  border-radius: 2px;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -7px);
}

/* Image gallery - clean version */
.tracker img {
  transition: transform 0.3s ease;
  margin-right: 1rem;
}

.tracker img:hover {
  transform: scale(1.05);
}

/* Scroll-responsive decorative lines */
.decorative-lines {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Interactive skill tags */
.skill-tag {
  background: rgba(170, 159, 139, 0.1);
  color: #AA9F8B;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  border: 1px solid rgba(170, 159, 139, 0.3);
  transition: all 0.3s ease;
  cursor: default;
  backdrop-filter: blur(5px);
}

.skill-tag:hover {
  background: rgba(170, 159, 139, 0.2);
  transform: translateY(-2px);
  border-color: #AA9F8B;
}

/* Typing effect for name */
@keyframes typing {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.typing-effect {
  animation: typing 1.5s ease-out 0.5s both;
}

/* Fade in up animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 1s ease-out 1s both;
}

/* Enhanced slider animation */
.slider-container {
    width: 100%;
    height: 50px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
}

.slider-wrapper {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-text {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 500;
}

/* Modern Contact Section */
.contact-card {
  background: rgba(51, 51, 51, 0.1);
  border: 1px solid rgba(170, 159, 139, 0.2);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.contact-card:hover {
  border-color: rgba(170, 159, 139, 0.4);
  transform: translateY(-2px);
  background: rgba(170, 159, 139, 0.05);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(170, 159, 139, 0.1);
  border: 2px solid rgba(170, 159, 139, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #AA9F8B;
  font-size: 18px;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  background: rgba(170, 159, 139, 0.2);
  border-color: #AA9F8B;
  transform: scale(1.05);
}

.social-modern {
  width: 44px;
  height: 44px;
  background: rgba(51, 51, 51, 0.3);
  border: 1px solid rgba(170, 159, 139, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B3B3B3;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-modern:hover {
  background: rgba(170, 159, 139, 0.2);
  border-color: #AA9F8B;
  color: #AA9F8B;
  transform: translateY(-2px);
}

/* Responsive: Mobile Only */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    position: absolute;
    top: 70px;
    right: 20px;
    width: fit-content;
    border-radius: 8px;
    z-index: 9999;
    background-color:rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: fadee 0.5s ease forwards;
  }

@keyframes fadee {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.links.fadeout {
  animation: fadeout 0.5s ease forwards;
}

@keyframes fadeout {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

  .links a {
    padding-left: 30px;
    padding-right: 30px;
    color: #333;
    transition: ease-in-out 0.3s color;
  }

  .links a:hover {
    color: #ffffffff;
  }

  .links.show {
    justify-content: center;
    align-items: center;
    display: flex;
  }

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px 20px 40px;
  }

  .aboutres {
    max-width: 300px;
  }

  .aboutres h2 {
    font-size: 18px;
  }

  .projectresponsive {
    max-width: 320px;
  }

  .projectt h3 {
    font-size: 18px;
  }

  .tracker {
    max-height: 200px;
  }

  .tracker img {
    max-width: 250px;
    height: 150px;
  }

  .reponfooter h1 {
    font-size: 28px;
  }

  .introres {
    padding-top: 10px;
  }
}
