* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  background-color: #080808;
}
@font-face {
  font-family: "PPMori";
  font-style: normal;
  font-weight: 800;
  src: url("/assets/fonts/PPMori/PPMori-Semibold.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  src: url("/assets/fonts/Roboto/roboto-v50-latin-regular.woff2")
    format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 200;
  src: url("/assets/fonts/Roboto/roboto-v50-latin-300.woff2") format("woff2");
  font-display: swap;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: auto;
}
.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.header-desktop {
  position: fixed;
  z-index: 1000;
  width: 100%;
  padding: 1.8rem 2.4rem;
  background: linear-gradient(
    0deg,
    rgba(29, 29, 29, 0) 0%,
    rgba(29, 29, 29, 0.8) 100%
  );
  transition: all 0.3s ease-in-out;
}

.header-desktop nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-desktop {
  width: 150px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  color: #efe9e3;
  text-decoration: none;
  font-weight: 200;
  font-size: 1.1rem;
}

.lang-link {
  display: flex;
  align-items: center;
  gap: 3px;
}

.vertical-line {
  width: 1px;
  background: #efe9e3;
  height: 24px;
}

.mobile-header {
  display: none;
  width: 100%;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  padding: 15px;
  background: linear-gradient(
    0deg,
    rgba(29, 29, 29, 0) 0%,
    rgba(29, 29, 29, 0.8) 100%
  );
}

.mobile-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-mobile {
  width: 120px;
}

.nav-menu {
  background: transparent;
  border: none;
}

.line-menu {
  background-color: #efe9e3;
  width: 25px;
  height: 1px;
  margin-bottom: 5px;
}

.line-small {
  background-color: #efe9e3;
  width: 20px;
  height: 1px;
  margin-bottom: 5px;
  float: right;
}

.menu-mobile {
  display: none;
  background-color: #080808;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  height: 100%;
  height: 100dvh;
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
}

.menu-mobile-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.menu-close {
  height: 20px;
  position: relative;
  width: 20px;
}

.menu-closing {
  position: absolute;
  right: 1.4rem;
  top: 1.8rem;
}

.menu-links {
  display: flex;
  flex-direction: column;
  top: 20%;
  left: 1rem;
  padding: 30% 1rem 2rem 1rem;
}

.menu-mobile-bottom {
  padding-bottom: 1rem;
}

.menu-links a {
  text-decoration: none;
  padding: 0.7rem 0;
  color: #efe9e3;
  font-weight: 200;
  font-size: 2rem;
  line-height: 2rem;
}

.menu-divider {
  display: block;
  margin: 1rem 1rem 0 auto;
  width: calc(100% - 2rem);
  height: 2px;
}

.menu-divider line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.language-switch {
  display: flex;
  color: #efe9e3;
  font-weight: 100;
  font-size: 1.5rem;
  line-height: 2rem;
  padding: 0.8rem 0 0 1rem;
}

.language-switch a {
  text-decoration: none;
  color: #efe9e3;
  margin: 0 0.5rem;
  font-weight: 200;
}

main {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-img {
  z-index: 1;
  width: 100%;
  height: 100vh;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.hero-title {
  z-index: 3;
  position: absolute;
  top: 12rem;
  left: 8rem;
}

.hero-gradient {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(190, 188, 188, 0.05) 49.94%,
    rgba(0, 0, 0, 0.5) 98.08%
  );
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

h1 {
  color: #efe9e3;
  font-family: "PPMori", sans-serif;
  font-size: 3.5rem;
  width: 70%;
  font-weight: 800;
}

.hero-intro {
  position: absolute;
  bottom: 8rem;
  left: 8rem;
  z-index: 3;
}

.hero-intro p {
  color: #efe9e3;
  font-weight: 200;
  width: 60%;
  font-size: 1.2rem;
}

.hero-intro a {
  color: #efe9e3;
  font-weight: 200;
  font-size: 1.2rem;
  display: flex;
  gap: 6px;
}

.intro-section {
  margin: 8rem;
}

.intro-section h2 {
  color: #efe9e3;
  font-family: "PPMori", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  width: 50%;
}

.intro-layout {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

.intro-layout div {
  width: 50%;
}

.intro-layout p {
  color: #efe9e3;
  font-weight: 200;
  font-size: 1.2rem;
}

.project-info {
  margin-top: 4rem;
}

.project-info h3 {
  color: #efe9e3;
  font-family: "PPMori", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 3rem 0;
}

.info-item div {
  width: 50%;
}

.info-item p {
  color: #efe9e3;
  font-weight: 200;
  font-size: 1.2rem;
  margin: 0;
}

.info-item ul {
  margin: 0;
  padding: 0;
}

.info-item ul li {
  color: #efe9e3;
  font-weight: 200;
  font-size: 1.2rem;
  line-height: 2rem;
  margin: 0;
}

.info-border {
  height: 1px;
  width: 100%;
  background-color: #1f1f1f;
}

.creek-harbour-img {
  width: 100%;
  height: 100vh;
}

.creek-harbour-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-section {
  margin: 8rem;
  position: relative;
}

.timeline-header {
  margin-bottom: 3.2rem;
}

.timeline-header h2 {
  color: #efe9e3;
  font-family: "PPMori", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  width: 40%;
}

.timeline-header p {
  color: #efe9e3;
  font-weight: 200;
  font-size: 1.2rem;
  width: 60%;
}

.timeline-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 3vw, 3.6rem);
  padding-right: clamp(1rem, 6vw, 4rem);
  --axis-width: 210px;
  --axis-x: calc(100% - (var(--axis-width) / 2));
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--axis-x);
  width: 1px;
  background: linear-gradient(180deg, #cde5a0 0%, #9eb365 100%);
  transform-origin: center top;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--axis-width);
  column-gap: clamp(2.5rem, 8vw, 6.5rem);
  align-items: flex-start;
  margin-top: 2rem;
}

.timeline-copy h3 {
  color: #efe9e3;
  font-family: "PPMori", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 0;
}

.timeline-copy p {
  color: #efe9e3;
  font-weight: 200;
  font-size: 1.2rem;
  margin: 0;
  width: 60%;
}

.rmv-d {
  display: none;
}

.timeline-marker {
  position: absolute;
  left: var(--axis-x);
  top: 0.35rem;
  translate: calc(-50% + 0.5px) 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  pointer-events: none;
}

.timeline-marker img {
  width: 18px;
  height: 18px;
  display: block;
}

.timeline-year {
  color: #efe9e3;
  font-weight: 200;
  font-size: 1.2rem;
  white-space: nowrap;
}

.lyvia-img {
  width: 100%;
  height: 100vh;
}

.lyvia-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lyvia-section {
  margin: 8rem;
}

.lyvia-intro h2 {
  color: #efe9e3;
  font-family: "PPMori", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  width: 50%;
}

.lyvia-intro p {
  color: #efe9e3;
  font-weight: 200;
  font-size: 1.2rem;
}

.cta-wrapper {
  margin-top: 4rem;
}

.cta-btn {
  background-color: #9eb365;
  padding: 0.8rem 1rem;
  color: #efe9e3;
  font-weight: 200;
  text-decoration: none;
}

.lyvia-info-layout {
  margin-top: 6rem;
  display: flex;
  justify-content: space-between;
}

.tower-img {
  width: 50%;
}

.tower-img img {
  width: 100%;
  object-fit: cover;
}

.lyvia-info-layout h3 {
  color: #efe9e3;
  font-family: "PPMori", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  width: 45%;
  margin-top: 0;
}

.icon-wrapper {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1.8rem 1.8rem;
  margin-top: 2rem;
  width: 70%;
}

.ausstattung-item {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: auto;
  white-space: nowrap;
}

.ausstattung-item img {
  display: block;
}

.ausstattung-item p {
  color: #efe9e3;
  font-weight: 200;
  font-size: 1.2rem;
  margin: 0;
}

footer {
  background-color: #0d0d0d;
  width: 100%;
  padding: 2rem 8rem 1rem 8rem;
}

.footer-logo-img {
  width: 130px;
  height: auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  color: #dbd5c9;
  align-items: flex-start;
}

.footer-logo p {
  font-size: 1.2rem;
  width: 80%;
}

.social-links-layout {
  display: flex;
  gap: -2px;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid #3c3d37;
  padding-top: 0.9rem;
  margin-top: 2rem;
}

.footer-layout div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-layout h3 {
  font-size: 1.4rem;
  font-weight: 200;
  color: #dbd5c9;
  margin-bottom: 14px;
}

.footer-layout a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 100;
  color: #dbd5c9;
}

.footer-layout p {
  font-size: 1rem;
  font-weight: 100;
  color: #dbd5c9;
  margin: 0;
}

.footer-partners h3 {
  font-size: 1.4rem;
  font-weight: 200;
  color: #dbd5c9;
  margin-bottom: 14px;
}

.partners-layout {
  display: flex;
  gap: 1.4rem;
}

.borsalino-logo {
  width: 100px;
  height: auto;
  cursor: pointer;
}

.hotel-logo {
  width: 70px;
  height: auto;
  cursor: pointer;
}

.milla-logo {
  width: 60px;
  height: auto;
  cursor: pointer;
}

.apartments-logo {
  width: 90px;
  height: auto;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid #3c3d37;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1rem;
}

.footer-bottom p {
  color: #dbd5c9;
  font-weight: 100;
  font-size: 0.8rem;
  margin: 0;
}

.footer-bottom a {
  color: #dbd5c9;
  font-weight: 100;
  font-size: 0.8rem;
  text-decoration: none;
  margin: 0;
}

@media (max-width: 768px) {
  .header-desktop {
    display: none;
  }
  .mobile-header {
    display: flex;
  }

  .hero-title {
    left: 1rem;
    right: 1rem;
  }
  h1 {
    font-size: 2.2rem;
    width: 100%;
  }
  .hero-intro {
    left: 1rem;
    right: 1rem;
  }
  .hero-intro p {
    width: 100%;
  }
  .intro-section {
    margin: 8rem 1rem 6rem 1rem;
  }
  .intro-section h2 {
    font-size: 2rem;
    width: 100%;
  }
  .intro-layout {
    flex-direction: column;
    gap: 1rem;
  }
  .intro-layout div {
    width: 100%;
  }
  .rmv-mobile {
    display: none;
  }
  .info-item {
    flex-direction: column;
    padding: 2rem 0;
  }
  .info-item p {
    margin-bottom: 1rem;
  }
  .info-item div {
    width: 100%;
  }
  .info-item ul {
    padding: 0 1.5rem;
  }
  .creek-harbour-img {
    height: 500px;
  }
  .creek-harbour-img img {
    object-position: 90% 50%;
  }
  .timeline-section {
    margin: 6rem 1rem;
  }
  .timeline-header h2 {
    width: 100%;
    font-size: 2rem;
  }
  .timeline-header p {
    width: 100%;
  }
  .timeline-line {
    display: none;
  }

  .timeline-marker {
    display: none;
  }
  .timeline-grid {
    padding: 0;
  }
  .timeline-item {
    display: flex;
  }
  .timeline-copy p {
    width: 100%;
  }
  .rmv-d {
    display: block;
  }
  .lyvia-section {
    margin: 8rem 1rem;
  }
  .lyvia-intro h2 {
    width: 100%;
    font-size: 2rem;
  }
  .lyvia-info-layout {
    flex-direction: column-reverse;
    gap: 4rem;
  }
  .lyvia-info-layout h3 {
    width: 100%;
  }
  .tower-img {
    width: 100%;
  }

  footer {
    padding: 2rem 1rem 1rem 1rem;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-layout {
    flex-direction: column;
  }
  .partners-layout {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .hotel-logo {
    width: 60px;
  }
  .milla-logo {
    width: 50px;
  }
  .apartments-logo {
    width: 75px;
  }
  .borsalino-logo {
    width: 90px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .header-desktop {
    display: none;
  }
  .mobile-header {
    display: flex;
  }

  .hero-title {
    left: 3rem;
    right: 3rem;
  }
  h1 {
    font-size: 3.2rem;
    width: 100%;
  }
  .hero-intro {
    left: 3rem;
    right: 3rem;
  }
  .hero-intro p {
    width: 100%;
  }
  .intro-section {
    margin: 8rem 3rem 6rem 3rem;
  }
  .intro-section h2 {
    font-size: 2rem;
    width: 100%;
  }
  .intro-layout {
    flex-direction: column;
    gap: 1rem;
  }
  .intro-layout div {
    width: 100%;
  }
  .info-item {
    flex-direction: column;
    padding: 2rem 0;
  }
  .info-item p {
    margin-bottom: 1rem;
  }
  .info-item div {
    width: 100%;
  }
  .info-item ul {
    padding: 0 1.5rem;
  }
  .creek-harbour-img {
    height: 500px;
  }
  .creek-harbour-img img {
    object-position: 90% 50%;
  }
  .timeline-section {
    margin: 6rem 3rem;
  }
  .timeline-header h2 {
    width: 100%;
    font-size: 2rem;
  }
  .timeline-header p {
    width: 100%;
  }
  .timeline-line {
    display: none;
  }

  .timeline-marker {
    display: none;
  }
  .timeline-grid {
    padding: 0;
  }
  .timeline-item {
    display: flex;
  }
  .timeline-copy p {
    width: 100%;
  }
  .rmv-d {
    display: block;
  }
  .lyvia-section {
    margin: 8rem 3rem;
  }
  .lyvia-intro h2 {
    width: 100%;
    font-size: 2rem;
  }
  .lyvia-info-layout {
    flex-direction: column-reverse;
    gap: 4rem;
  }
  .tower-img {
    width: 100%;
  }
  .lyvia-info-layout h3 {
    width: 100%;
  }
  footer {
    padding: 2rem 3rem 1rem 3rem;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-layout {
    flex-direction: column;
  }
  .partners-layout {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .hotel-logo {
    width: 60px;
  }
  .milla-logo {
    width: 50px;
  }
  .apartments-logo {
    width: 75px;
  }
  .borsalino-logo {
    width: 90px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1200px) and (orientation: landscape) {
  .hero-intro {
    display: none;
  }
}

@media only screen and (min-width: 1224px) and (max-width: 1520px) {
  .hero-title {
    left: 5rem;
    right: 5rem;
  }
  .hero-intro {
    left: 5rem;
    right: 5rem;
  }
  .intro-section {
    margin: 8rem 5rem 6rem 5rem;
  }
  .timeline-section {
    margin: 6rem 5rem;
  }
  .lyvia-section {
    margin: 8rem 5rem;
  }

  footer {
    padding: 2rem 5rem 1rem 5rem;
  }
}
