* {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

body {
  background: #f8f8f8;
  color: #161616;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1440px;
  padding: 20px 5%;
  margin: 0 auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  width: 70px;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

nav ul li {
  margin: 10px 15px;
}

nav ul li a {
  color: #161616;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  transition: color 0.3s ease;
}

nav ul li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: #161616;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}

nav ul li a:hover::after {
  width: 100%;
}

.playboi-carti {
  margin-top: 6.5%;
}

.playboi-carti h1 {
  font-size: clamp(1.2rem, 5vw, 4rem);
  margin-bottom: 20px;
}

.playboi-carti h2 {
  font-size: clamp(2rem, 10.5vw, 1.5rem);
  margin-bottom: 20px;
}

.title {
  margin-top: 80px;
  margin-bottom: 30px;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.Paragraph,
.Paragraph-one {
  margin-bottom: 30px;
  font-size: clamp(1.5rem, 3vw, 1.2rem);
}

.WLRheader {
  text-align: center;
  margin-top: 100px;
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.WLRheader img {
  width: 100%;
  max-width: 1440px;
  height: auto;
}

.WLRheaderas,
.WLRheaderyu {
  text-align: center;
  margin-top: 20px;
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.WLRheaderas img,
.WLRheaderyu img {
  width: 100%;
  max-width: 1440px;
  height: auto;
}

.WLRheader-three,
.WLRheader-three-10,
.WLRheader-four {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  width: 100%;
  max-width: 1440px;
  padding: 0;
}

.WLRheader-three img,
.WLRheader-three-10 img,
.WLRheader-four img {
  width: calc(50% - 10px);
  max-width: 720px;
  height: auto;
  object-fit: cover;
  margin: 0;
}

.WLRheader-three-type {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin: 20px auto 0;
  width: 100%;
  max-width: 1440px;
  padding: 0;
}

.WLRheader-three-type img {
  width: calc(50% - 10px);
  max-width: 720px;
  height: auto;
  object-fit: cover;
  margin: 0;
}

.WLRwapperz {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 100px auto 150px;
  width: 100%;
  max-width: 1440px;
  padding: 0;
}

.WLRwapperz img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.copyright {
  text-align: center;
  padding: 25px 0;
  background: #ece9e9;
  font-weight: 300;
  margin-top: 100px;
}

.highlight-red {
  color: red;
  text-decoration: none;
  transition: color 0.3s ease;
}

.highlight-red:hover {
  color: darkred;
}

/* Call to Action */
.call-to-action {
  margin-top: 6.5%;
  font-size: clamp(1.5rem, 4vw, 3rem);
  text-align: left;
  line-height: 1.4;
}

.call-to-action h2 {
  font-size: clamp(2rem, 10.5vw, 5rem);
}

/* Portfolio Styles */
#Portfolio {
  padding: 20px 0;
}

#Portfolio .worklist {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, 1fr);
  max-width: 2000px;
  margin: 0 auto;
}

.img-container {
  width: 100%;
  height: auto;
  aspect-ratio: 744 / 582;
  overflow: hidden;
  margin-bottom: 15px;
}

#Portfolio .work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.work img:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.work h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.work p {
  font-size: 1rem;
  margin-top: -10px;
}

.work {
  margin-bottom: 20px;
}

.more-projects {
  font-size: clamp(2rem, 10.5vw, 1.5rem);
  margin-bottom: 5px;
  margin-top: 100px;
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 20px;
  z-index: 1000;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Media Queries */
@media screen and (max-width: 768px) {
  #Portfolio .worklist {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .WLRheader-three,
  .WLRheader-three-10,
  .WLRheader-four,
  .WLRheader-three-type {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }

  .WLRheader-three img,
  .WLRheader-three-10 img,
  .WLRheader-four img,
  .WLRheader-three-type img {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .WLRwapperz {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 10px 3%;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 10px 0;
  }

  .playboi-carti h1,
  .playboi-carti h2 {
    font-size: 2rem;
    text-align: left;
  }

  .title {
    font-size: 1.5rem;
    text-align: left;
  }

  .Paragraph,
  .Paragraph-one {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: left;
  }
}

@media screen and (min-width: 3072px) {
  .container {
    max-width: 2800px;
    padding: 40px 10%;
  }

  .WLRheader-three img,
  .WLRheader-three-10 img,
  .WLRheader-four img,
  .WLRheader-three-type img {
    max-width: 900px;
  }

  .playboi-carti h1,
  .playboi-carti h2 {
    font-size: 6rem;
  }

  .Paragraph,
  .Paragraph-one {
    font-size: 2rem;
  }

  .WLRwapperz {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 2800px;
  }
}
