/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'pp-fragment';
  src: url('../font/PPFragment-SerifLight.eot') format('eot'),
    url('../font/PPFragment-SerifLight.otf') format('otf'),
    url('../font/PPFragment-SerifLight.ttf') format('ttf'),
    url('../font/PPFragment-SerifLight.woff') format('woff'),
    url('../font/PPFragment-SerifLight.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

::-webkit-scrollbar {
  display: none;
}


/* ================= PORTFOLIO ================= */

.portfolio {
  background:#FAEDD4;
  padding: 120px 0;
  width: 100%;
  float: left;
  padding-top: 12%;
}

.portfolio::before {
  content: "";
  position: absolute;
  top: 27%;
  left: 78%;
  /* right: 117%; */
  width: 30%;
  height: 100%;
  background: url(../images/watermark-img.png) no-repeat center center;
  background-size: contain;
  opacity: 1;
}

.portfolio-container {
  width: 80%;
  margin: auto;
}

/* TOP SECTION */
.portfolio-top {
  margin-bottom: 80px;
}

/* HEADER */
.portfolio-header {
  margin-bottom: 100px;
}

.portfolio-header h1 {
  font-family: 'pp-fragment';
  font-size: 63px;
  color: #AC0755;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 300;
}

.portfolio-header p {
  font-family: "Manrope";
  font-size: 16px;
  color: #AC0755;
  width: 40%;
  line-height: 19px;
  letter-spacing: 2px;
  font-weight: 400;
}

/* TABS */
.portfolio-tabs {
  margin: 40px 0 30px;
  display: flex;
  gap: 40px;
}

.portfolio-tabs .tab {
  font-family: "Manrope";
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  color: #9B7E7E;
  text-transform: uppercase;
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}

.portfolio-tabs .tab:hover {
  color: #AC0755;
}

.portfolio-tabs .tab.active {
  color: #AC0755;
}

.portfolio-tabs .tab.active::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #AC0755;
}

/* DIVIDER LINE */
.portfolio-line {
  width: 100%;
  height: 1px;
  background: #A89A8E;
  margin-bottom: 60px;
}

/* GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 50px;
  row-gap: 60px;
}

/* CARD */
.project-card {
  overflow: hidden;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition: all 0.6s ease;
}

.project-card.hidden {
  display: none;
  opacity: 0;
  visibility: hidden;
}

.project-card img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

/* TEXT */
.project-card .tag {
  font-family: "Manrope";
  font-size: 14px;
  letter-spacing: 2px;
  color: #1c1b1b;
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 19px;
}

.project-card h3 {
  font-family: 'pp-fragment';
  font-size: 28px;
  color: #AC0755;
  font-weight: 300;
  letter-spacing: 0px;
  line-height: 30px;
  text-transform: uppercase;
}

/* ================= CITY FRONTIERS SECTION ================= */

/* ============================================
   CITY FRONTIERS
============================================ */

.city-frontiers {
  width: 100%;
  float: left;
  background: #FAEDD4;
  padding: 88px 0;
  position: relative;
}

.city-frontiers-container {
  width: 80%;
  margin: auto;
}

/* BOTH IMAGES */
.city-frontiers-image {
  width: 100%;
}

.city-frontiers-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* DESKTOP IMAGE */
.desktop-map {
  display: block;
}

/* MOBILE IMAGE HIDDEN BY DEFAULT */
.mobile-map {
  display: none;
}


/* ============================================
   MOBILE VIEW
============================================ */

@media only screen and (max-width: 768px) {

  .city-frontiers {
    padding: 50px 0;
  }

  .city-frontiers-container {
    width: 100%;
  }

  /* HIDE DESKTOP MAP */
  .desktop-map {
    display: none;
  }

  /* SHOW MOBILE MAP */
  .mobile-map {
    display: block;
    width: 100%;
  }

  .mobile-map img {
    width: 100%;
    height: auto;
    display: block;
  }
}
/* ================= PROJECT CARD ================= */

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* ================= IMAGE ================= */

.project-card .project-image {
  overflow: hidden;
  position: relative;
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;

  transform: scale(1);
  transition:
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s ease;

  animation: imageReveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* IMAGE HOVER ONLY */

.project-card:hover img {
  transform: scale(1.08);
  filter:
    brightness(1.05)
    contrast(1.05)
    saturate(1.08);
}

/* ================= TEXT WRAPPER ================= */

.project-card .project-content {
  padding-top: 22px;
}

/* TAG */

.project-card .tag {
  font-family: "Manrope";
  font-size: 14px;
  letter-spacing: 2px;
  color: #1c1b1b;
  text-transform: capitalize;
  line-height: 19px;
  margin-bottom: 10px;

  opacity: 0;
  animation: textReveal 0.9s ease forwards;
  animation-delay: 0.5s;

  transition:
    color 0.4s ease,
    transform 0.4s ease;
}

/* TITLE */

.project-card h3 {
  font-family: "Manrope";
  font-size: 28px;
  color: #AC0755;
  font-weight: 300;
  line-height: 30px;
  text-transform: capitalize;
  opacity: 0;
  animation: textReveal 1s ease forwards;
  animation-delay: 0.7s;
  transition:
    color 0.4s ease,
    transform 0.4s ease;
}

/* TEXT HOVER */

.project-card:hover .tag {
  color: #AC0755;
  transform: translateY(-2px);
}

.project-card:hover h3 {
  transform: translateY(-4px);
}

/* ================= LIGHT SWEEP ================= */

.project-card .project-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;

  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(255,255,255,0.22),
      transparent
    );

  transform: skewX(-20deg);
  transition: 1s ease;
}

.project-card:hover .project-image::after {
  left: 140%;
}

/* ================= KEYFRAMES ================= */

@keyframes imageReveal {

  0% {
    opacity: 0;
    transform: scale(1.12) translateY(80px);
    clip-path: inset(100% 0 0 0);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    clip-path: inset(0 0 0 0);
    filter: blur(0);
  }
}

@keyframes textReveal {

  0% {
    opacity: 0;
    transform: translateY(20px);
    letter-spacing: 4px;
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 2px;
    filter: blur(0);
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .portfolio-container {
    width: 90%;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    row-gap: 50px;
  }

  .portfolio-header h1 {
    font-size: 48px;
  }

  .project-card img {
    height: auto;
  }
}

@media (max-width: 768px) {
  .navbar {
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
  }

  .nav-container {
    width: 100%;
    padding: 15px 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    gap: 20px;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: #AC0755;
  }

  .hamburger {
    display: flex;
  }

  .portfolio {
    padding: 100px 0;
  }

  .portfolio-container {
    width: 95%;
  }

  .portfolio-header h1 {
    font-size: 40px;
  }

  .portfolio-header p {
    font-size: 13px;
    max-width: 100%;
  }

  .portfolio-tabs {
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0 25px;
  }

  .portfolio-tabs span {
    font-size: 11px;
    padding: 8px 12px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 25px;
    row-gap: 40px;
  }

  .project-card img {
    height: auto;
  }

  .project-card h3 {
    font-size: 16px;
  }

  .footer-container {
    width: 90%;
    flex-direction: column;
    gap: 40px;
  }

  .footer-left {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .portfolio-header h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .portfolio-header p {
    font-size: 12px;
    line-height: 20px;
  }

  .portfolio-tabs {
    gap: 10px;
    margin: 25px 0 20px;
  }

  .portfolio-tabs span {
    font-size: 10px;
    padding: 6px 10px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 35px;
  }

  .project-card img {
    height: auto;
  }

  .project-card .tag {
    font-size: 8px;
  }

  .project-card h3 {
    font-size: 15px;
  }

  .portfolio-line {
    margin-bottom: 40px;
  }

  .footer {
    padding: 60px 5% 30px;
  }

  .footer-col h4 {
    font-size: 12px;
  }

  .footer-col a,
  .footer-col p {
    font-size: 11px;
  }

  .footer-left p {
    font-size: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom p {
    font-size: 10px;
  }
}


@media only screen and (min-width: 0px) and (max-width:1000px) {
  .portfolio {
    padding: 170px 0;
  }

  .portfolio-header p {
    width: 100%;
  }


  .portfolio-container {
    width: 80%;
  }

  .portfolio::before {
    content: "";
    position: absolute;
    top: -5%;
    left: 45%;
    /* right: 117%; */
    width: 54%;
    height: 100%;
    background: url(../images/watermark-img.png) no-repeat center center;
    background-size: contain;
    opacity: 1;
  }

  .portfolio-tabs {
    margin: 40px 0 30px;
    display: flex;
    gap: 25px;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .portfolio-header {
    margin-bottom: 50px;
  }



}

@media only screen and (min-width: 1001px) and (max-width:1100px) {
  .portfolio {
    background: #FAEDD4;
    padding: 120px 0;
    width: 100%;
    float: left;
    padding-top: 20%;
  }

  .portfolio-header h1 {
    font-size: 38px;
  }

  .portfolio-header p {
    font-family: "Manrope";
    font-size: 14px;
    color: #AC0755;
    width: 50%;
    line-height: 19px;
    letter-spacing: 2px;
    font-weight: 400;
  }

  .portfolio-container {
    width: 80%;
  }

  .project-card h3 {
    font-size: 20px;
  }

  .portfolio::before {
    top: 0%;
    left: 78%;
}


.portfolio::before {
    content: "";
    position: absolute;
    top: 0%;
    left: 67%;
    /* right: 117%; */
    width: 30%;
    height: 100%;
    background: url(../images/watermark-img.png) no-repeat center center;
    background-size: contain;
    opacity: 1;
}

}

@media only screen and (min-width: 1101px) and (max-width: 1200px) {
  .portfolio {
    background: #FAEDD4;
    padding: 120px 0;
    width: 100%;
    float: left;
    padding-top: 15%;
}

.portfolio-header h1 {
    font-size: 48px;
}

.portfolio-header p {
    font-family: "Manrope";
    font-size: 14px;
    color: #AC0755;
    width: 50%;
    line-height: 19px;
    letter-spacing: 2px;
    font-weight: 400;
}

.project-card h3 {
    font-size: 20px;
}

.portfolio::before {
    content: "";
    position: absolute;
    top: 0%;
    left: 67%;
    /* right: 117%; */
    width: 30%;
    height: 100%;
    background: url(../images/watermark-img.png) no-repeat center center;
    background-size: contain;
    opacity: 1;
}


}


@media only screen and (min-width: 1201px) and (max-width: 1300px) {
  .portfolio {
    background: #FAEDD4;
    padding: 120px 0;
    width: 100%;
    float: left;
    padding-top: 15%;
}

.portfolio-header h1 {
    font-size: 48px;
}

.portfolio-header p {
    font-family: "Manrope";
    font-size: 14px;
    color: #AC0755;
    width: 50%;
    line-height: 19px;
    letter-spacing: 2px;
    font-weight: 400;
}

.project-card h3 {
    font-size: 20px;
}

.portfolio::before {
    content: "";
    position: absolute;
    top: 0%;
    left: 67%;
    /* right: 117%; */
    width: 30%;
    height: 100%;
    background: url(../images/watermark-img.png) no-repeat center center;
    background-size: contain;
    opacity: 1;
}

}

@media only screen and (min-width: 1301px) and (max-width: 1400px) {
  .portfolio {
    background: #FAEDD4;
    padding: 120px 0;
    width: 100%;
    float: left;
    padding-top: 15%;
}

.portfolio-header h1 {
    font-size: 48px;
}

.portfolio-header p {
    font-family: "Manrope";
    font-size: 14px;
    color: #AC0755;
    width: 50%;
    line-height: 19px;
    letter-spacing: 2px;
    font-weight: 400;
}

.project-card h3 {
    font-size: 20px;
}


.portfolio::before {
    content: "";
    position: absolute;
    top: 0%;
    left: 67%;
    /* right: 117%; */
    width: 30%;
    height: 100%;
    background: url(../images/watermark-img.png) no-repeat center center;
    background-size: contain;
    opacity: 1;
}



}


@media only screen and (min-width: 1401px) and (max-width: 1500px) {
.portfolio::before {
    content: "";
    position: absolute;
    top: 0%;
    left: 67%;
    /* right: 117%; */
    width: 30%;
    height: 100%;
    background: url(../images/watermark-img.png) no-repeat center center;
    background-size: contain;
    opacity: 1;
}
}

@media only screen and (min-width: 1501px) and (max-width: 1600px) {
.portfolio::before {
    content: "";
    position: absolute;
    top: 0%;
    left: 67%;
    /* right: 117%; */
    width: 30%;
    height: 100%;
    background: url(../images/watermark-img.png) no-repeat center center;
    background-size: contain;
    opacity: 1;
}
}

@media only screen and (min-width: 1601px) and (max-width: 1700px) {
.portfolio::before {
    content: "";
    position: absolute;
    top: 0%;
    left: 60%;
    /* right: 117%; */
    width: 30%;
    height: 100%;
    background: url(../images/watermark-img.png) no-repeat center center;
    background-size: contain;
    opacity: 1;
}
}

@media only screen and (min-width: 1701px) and (max-width: 1800px) {
.portfolio::before {
    content: "";
    position: absolute;
    top: 0%;
    left: 60%;
    /* right: 117%; */
    width: 30%;
    height: 100%;
    background: url(../images/watermark-img.png) no-repeat center center;
    background-size: contain;
    opacity: 1;
}
}

@media only screen and (min-width: 1801px) and (max-width: 1900px) {
.portfolio::before {
    content: "";
    position: absolute;
    top: 0%;
    left: 60%;
    /* right: 117%; */
    width: 30%;
    height: 100%;
    background: url(../images/watermark-img.png) no-repeat center center;
    background-size: contain;
    opacity: 1;
}
}