
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
  --dark: #230811;
  --wine: #4B0F1E;
  --rose: #8E2B44;
  --pink: #E07A94;
  --pale: #F7D6DC;
  --white: #FFF2F4;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.project-header {
  position: relative;
  z-index: 5;
  max-width: 1320px;
  margin: 22px auto 0;
  padding: 19px 30px;
  width: 90%;
  border-radius: 25px;
  border: 1px solid #F7D6DC45;
  background: #6D1D3255;
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
}

.brand img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.back-link {
  border: 1px solid #F7D6DC65;
  border-radius: 30px;
  padding: 12px 20px;
  font-size: 12px;
  transition: .3s;
}

.back-link:hover,
.return-btn:hover {
  background: #CC567150;
  transform: translateY(-3px);
}

.intro {
  min-height: 80vh;
  padding: 120px 8% 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 45%, #8E2B4460, transparent 65%),
    linear-gradient(135deg, #230811, #4B0F1E, #230811);
}

.intro::before {
  content: "✧";
  position: absolute;
  top: 16%;
  right: 14%;
  color: #F7D6DC55;
  font-size: 65px;
  animation: sparkle 4s ease-in-out infinite;
}

.intro::after {
  content: "✦";
  position: absolute;
  bottom: 16%;
  left: 12%;
  color: #E07A9470;
  font-size: 35px;
  animation: sparkle 5s ease-in-out infinite reverse;
}

@keyframes sparkle {
  50% {
    opacity: .3;
    transform: translateY(-15px) rotate(25deg);
  }
}

.eyebrow,
.section-heading > span,
.about-project > span,
.end-section > span {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--pink);
}

.status {
  margin-top: 30px;
  padding: 10px 18px;
  border: 1px solid #E07A9470;
  border-radius: 30px;
  background: #E07A9415;
  font-size: 10px;
  letter-spacing: 2px;
}

.intro h1 {
  margin-top: 30px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(58px, 9vw, 130px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -2px;
}

.intro h1 em,
.section-heading em,
.about-project em,
.end-section em {
  color: var(--pink);
  font-weight: 400;
}

.intro-description {
  margin-top: 30px;
  max-width: 570px;
  color: #E9BCC7;
  font-size: 15px;
  line-height: 2;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.tags span {
  padding: 11px 17px;
  border: 1px solid #F7D6DC35;
  background: #FFFFFF09;
  border-radius: 30px;
  font-size: 11px;
}

.explore-link {
  margin-top: 55px;
  font-size: 12px;
  color: var(--pale);
  letter-spacing: 1px;
  transition: .3s;
}

.explore-link:hover {
  color: white;
  transform: translateY(5px);
}

.gallery {
  padding: 100px 8%;
  background: #310B19;
}

.section-heading {
  max-width: 1100px;
  margin: 0 auto 65px;
  text-align: center;
}

.section-heading h2,
.about-project h2,
.end-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 500;
  margin: 17px 0;
}

.section-heading p {
  color: #E9BCC7;
  font-size: 13px;
}

.showcase {
  max-width: 1150px;
  margin: 0 auto 90px;
}

.image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--wine);
  border: 1px solid #F7D6DC45;
  box-shadow: 0 30px 75px #13020870;
}

.gallery-image {
  width: 100%;
  height: auto;
  cursor: zoom-in;
  transition: transform .6s ease, filter .6s ease;
}

.image-wrap:hover .gallery-image {
  transform: scale(1.025);
  filter: brightness(.92);
}

.image-hint {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 12px 18px;
  border-radius: 25px;
  background: #230811C9;
  border: 1px solid #F7D6DC55;
  backdrop-filter: blur(15px);
  font-size: 11px;
  pointer-events: none;
}

.image-caption {
  padding: 25px 5px;
}

.image-caption > span {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--pink);
}

.image-caption h3 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 500;
  margin: 10px 0;
}

.image-caption p {
  max-width: 650px;
  font-size: 13px;
  line-height: 1.9;
  color: #E9BCC7;
}

.about-project {
  padding: 115px 8%;
  text-align: center;
  background: var(--wine);
}

.about-project > p {
  max-width: 680px;
  margin: 25px auto 0;
  color: #E9BCC7;
  line-height: 2;
  font-size: 15px;
}

.details {
  max-width: 850px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.details > div {
  padding: 28px 15px;
  border: 1px solid #F7D6DC30;
  border-radius: 20px;
  background: #FFFFFF08;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.details span {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--pink);
}

.details strong {
  font-size: 14px;
  font-weight: 500;
}

.end-section {
  padding: 110px 8%;
  text-align: center;
}

.return-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 28px;
  border: 1px solid #F7D6DC70;
  border-radius: 30px;
  transition: .3s;
  font-size: 13px;
}

footer {
  padding: 30px 8%;
  border-top: 1px solid #FFFFFF20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  color: #DDA9B9;
}

footer span:first-child {
  font-family: 'Playfair Display', serif;
  font-size: 23px;
  color: white;
}

/* IMAGE VIEWER */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #100307F5;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 65px 70px;
}

.lightbox.open {
  display: flex;
}

.lightbox > img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.close-btn,
.gallery-arrow {
  position: absolute;
  border: 1px solid #F7D6DC60;
  background: #6D1D3299;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.close-btn {
  top: 20px;
  right: 25px;
  width: 45px;
  height: 45px;
  font-size: 30px;
}

.gallery-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  font-size: 32px;
}

.previous {
  left: 15px;
}

.next {
  right: 15px;
}

.image-counter {
  position: absolute;
  bottom: 22px;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--pale);
}

@media (max-width: 760px) {
  .project-header {
    width: 94%;
    padding: 15px;
  }

  .brand {
    font-size: 21px;
  }

  .back-link {
    font-size: 10px;
    padding: 11px 13px;
  }

  .intro {
    min-height: 75vh;
    padding: 100px 7% 85px;
  }

  .intro h1 {
    font-size: clamp(48px, 12vw, 75px);
  }

  .gallery,
  .about-project,
  .end-section {
    padding: 75px 6%;
  }

  .showcase {
    margin-bottom: 55px;
  }

  .image-wrap {
    border-radius: 15px;
  }

  .image-hint {
    font-size: 9px;
    bottom: 10px;
    right: 10px;
    padding: 9px 12px;
  }

  .details {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 75px 12px;
  }

  .gallery-arrow {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  .image-counter {
    bottom: 35px;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}