@import url("./common.css");

.parallax {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-content {
  display: flex;
  justify-content: center;
  width: 82%;
  margin: 0 auto;
}

.hero-content .hero-img {
  width: 16rem;
  height: auto;
}

.landing-heading {
  font-family: "Bodoni Moda", serif;
  font-style: italic;
}

.hero-text-con {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 2rem;
}

.hero-text-con p {
  font-family: var(--font_5);
}

.h1-con {
  display: flex;
  width: 100%;
  justify-content: center;
}

h1 {
  position: relative;
  padding: calc(7.5rem + 10vh) 4rem 0;
  z-index: 2;
  font-size: 5rem;
  font-weight: 400;
  margin: 0;
}

.work-in {
  padding: 0 7.5%;
  margin-bottom: 5rem;
}

.work-in .gallery-heading {
  font-family: var(--font_1);
  font-style: italic;
}

.work-in h3 {
  text-align: center;
  margin-top: 5rem;
  font-size: 2.75rem;
}

.artist-identity {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  font-weight: bold;
}

.works-image-con {
  position: relative;
  margin-bottom: 1rem;
}

.works-image-con a {
  color: #121212;
}

.works-image-con h3 {
  margin-top: 1rem;
  font-weight: 700;
}

.works-image-con img {
  width: 100%;
  height: auto;
}

.creative-services {
  text-transform: uppercase;
  padding: 4rem 0;
  background-color: rgb(179, 179, 179);
}

.creative-services-heading {
  font-size: 4rem;
  line-height: 1;
}

.creative-heading {
  font-weight: bold;
}

.services-heading {
  font-family: var(--font_1);
  font-style: italic;
  line-height: 1.5;
  padding-left: 1rem;
}

.animation-block {
  text-align: right;
  overflow: hidden;
  padding-right: 5rem;
  font-size: 2.5rem;
}

/* Initial hidden state */
.text {
  opacity: 0;
  transition: all 1s ease;
}

/* Starting positions */
.photography-text {
  transform: translateX(-200px);
}

.video-production-text {
  transform: translateX(200px);
}

.art-direction-text {
  transform: translateY(50px);
}

/* When visible */
.show-animation .text {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.projects-services {
  background-color: #f2eded5c;
}

.link-content-con {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.link-content-con:after {
  content: "See all projects";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  transition: all 0.5s ease;
  color: #ffffff;
  z-index: 2;
}

.see-all-projects {
  position: relative;
  top: 0;
  transition: all 0.5s ease;
  overflow: hidden;
}

.arrows-con {
  position: relative;
  right: 0;
  transition: all 0.5s ease;
  display: flex;
}

.default-arrow,
.hover-arrow {
  width: 1.5rem;
  height: 1.5rem;
  transition: all 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hover-arrow {
  opacity: 0;
}

.default-arrow {
  opacity: 1;
  background-color: #101010;
}

.default-arrow i {
  color: #ffffff;
}

.hover-arrow i {
  color: #000000;
}

.projects,
.services {
  padding: 6.25rem 2rem;
}

h2 {
  color: rgb(59, 44, 42);
  font-weight: bold;
  font-size: 4rem;
}

.projects-list img {
  width: 100%;
}

.service-item {
  color: rgb(59, 44, 42);
  border-top: 1px solid rgba(122, 122, 122, .34);
}

.service-item-count {
  font-style: italic;
}

.service-item-title {
  font-size: 1.75rem;
}

.service-text {
  font-size: 1.25rem;
  line-height: 1.5;
  letter-spacing: 1px;
  max-width: 70%;
}

.work-in-title {
  font-size: 2.75rem;
  text-align: center;
  margin: 5rem 0;
}

/* GALLERY SECTION */
.works-section {
  padding: 10rem 5rem 8rem;
  background-color: rgba(0, 0, 0, 0.02);
}

.works-heading {
  font-size: 2.75rem;
}

.view-summary {
  text-align: center;
}

.view-summary span {
  text-decoration: underline;
  text-transform: uppercase;
}

/* SERVICES PAGE */
.services-section {
  min-height: 100vh;
  padding: 8rem 0;
}

.service-icon {
  font-size: 3rem;
  color: #ff5e5e;
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* PROJECTS PAGE */
.projects-section {
  min-height: 100vh;
  padding: 5rem 0 8rem;
}

.projects-filter {
  display: flex;
  /* justify-content: center; */
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  background-color: transparent;
  border: 1px solid #ff5e5e;
  color: #ff5e5e;
  border-radius: 3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #ff5e5e;
  color: #fff;
}

.view-all {
  text-align: center;
  margin: 2rem 0 4rem;
}

.view-all a {
  padding: 0.75rem 1rem;
  color: #121212;
  border: 1px solid #121212;
  border-radius: 0.5rem;
}

.view-all a:hover {
  color: #ffffff;
  background: #121212;
}

.projects-grid {
  display: grid;
  gap: 1rem;
  row-gap: 5rem;
  width: 100%;
  /* Initial grid settings - will be updated by script */
  grid-template-columns: repeat(24, minmax(25px, 1fr));
  place-items: center;
}

.project-card {
  position: relative;
  /* border-radius: 0.25rem; */
  /* overflow: hidden; */
}

.project-img {
  width: 100%;
  transition: all ease 0.5s;
  /* height: 100%;
  object-fit: cover; */
}

.project-img:hover {
  transform: scale(1.5);
}

.project-overlay {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: calc(100% - 4rem);
  height: calc(100% - 4rem);
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-year {
  color: #999;
  text-align: center;
  padding: 1rem;
}

@media only screen and (min-width:992px) and (max-width: 1199px) {
  h1 {
    font-size: 4rem;
  }
}

@media (max-width: 991px) {
  .h1-con {
    margin-top: 10rem;
    z-index: 2;
  }

  h1 {
    padding-top: 0;
    padding-right: 4rem;
    align-items: center;
    width: 100%;
    font-size: 4rem;
    font-weight: 100;
  }

  .project-img:hover {
    transform: scale(1);
  }

  .hero-content {
    flex-direction: column;
    align-items: center;
  }

  .projects-grid {
    display: block;
  }

  .hero-content .hero-img {
    width: 85%;
    height: auto;
  }

  .hero-content .hero-text-con {
    display: none;
  }

  .artist-identity {
    width: 85%;
    margin: 3rem auto 2rem;
  }

  .parallax-blur-con {
    position: relative;
  }

  .view-summary {
    position: absolute;
    right: calc(9% - 4px);
    bottom: 5rem;
  }

  .works-section {
    padding: 7.5rem 1rem 6rem;
  }

  .creative-heading,
  .services-heading {
    text-align: center;
  }

  .animation-block {
    padding-right: 0;
    text-align: center;
    margin-top: 2rem;
  }

  .project-card {
    width: 100%;
  }
}
