/* إخفاء scrollbar */
::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #151923;
    color: white;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

header img {
    width: 200px;
    height: auto;
}

/*هنا اللوجو بتاع الناف بار*/
.logo {
    width: 50px;
    height: 50px;

}

.navbar ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease-out;
    display: inline-block;
}

.navbar a:hover {
    color: #89e3ff;
    transform: scale(1.1);
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    position: relative;
}

.arrow {
    position: absolute;
    right: 858px;
    top: 5.5rem;
    font-size: 2rem;
}

.welcom {
    text-align: center;
    margin: 2rem auto;
}

.name {
    font-size: 3rem;
    color: #89e3ff;
    margin-bottom: 1rem;
}

.hiii {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.k {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #89e3ff;
    color: #151923;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.k:hover {
    transform: scale(1.1);
}

.coffee {
    max-width: 400px;
    margin-top: 0.1rem;
    transition: transform 0.3s ease-out;
}

.coffee:hover {
    transform: scale(1.1);
}

/* Footer Styles */
.footer {
    background-color: #151923;
    padding: 2rem 0 1rem 0;
    margin-top: 4rem;
    position: relative;
    bottom: 0;
    width: 100%;
    height: auto;
    min-height: 200px;
    overflow: hidden;
}

.footer :hover {
    transform: scale(1.1);
    transition: all 0.3s ease-out;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.footer-section h3 {
    color: #89e3ff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section p, 
.footer-section a {
    color: #eee;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.social-heading {
    text-align: center;
}

.social-links img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(238, 238, 238, 0.1);
}

.footer-bottom p {
    color: #eee;
    font-size: 0.9rem;
}


@media (max-width: 1023px) {
  header {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .coffee {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .coffee img {
    width: 400px;
  }
  .name,
  .title {
    font-size: 2rem;
  }
  .arrow {
    display: none;
  }
  .aboutMe {
    flex-direction: column-reverse;
    align-items: center;
    gap: 2rem;
  }
  .textContainer {
    align-items: center;
    margin: 0rem 5rem;
    gap: 1rem;
  }
  .aboutName,
  .aboutTitle {
    font-size: 2rem;
  }
  .light {
    width: 60px;
  }
  .aboutMeImg {
    width: 400px;
  }
  .works {
    padding: 0;
  }
  .worksContainer {
    padding: 5rem 0rem;
    gap: 3rem;
  }
  .projectTitle {
    margin-left: 1rem;
  }
  .works ul {
    flex-direction: column;
    gap: 1rem;
  }
  .contactContainer {
    margin: 10rem 5rem;
    gap: 2rem;
  }
  .contact {
    flex-direction: column;
    gap: 1rem;
    margin-right: 0;
  }
}

