* {
  margin: 0;
}

@font-face {
  font-family: StretchProBasic;
  src: url("assets/fonts/stretch-pro.basic.ttf") format("opentype");
}
@font-face {
  font-family: Yapari;
  src: url("assets/fonts/YapariTrial-Regular.ttf") format("opentype");
}

:root {
  overflow-x: hidden;
}

html {
  /* Set a solid fallback color for the 'bounce' area */
  background-color: rgba(117, 2, 15, 1);

  /* Apply your gradient here */
  background: linear-gradient(
    90deg,
    rgba(117, 2, 15, 1) 0%,
    rgb(219, 219, 219) 100%
  );

  /* This ensures the gradient doesn't stretch or repeat weirdly */
  background-attachment: fixed;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100vh;
  /* Make the body transparent so the html background shows through */
  background: transparent;
}

section {
  height: 100vh;
  width: 100%;
  background-color: rgb(5, 1, 1);
}

.phone-header {
  position: fixed;
  opacity: 0;
}
.collapsible {
  position: fixed;
  opacity: 0;
}

.phone-nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5vh;
}

header {
  font-family: StretchProBasic;
  position: fixed;
  left: 7.5vw;
  height: 15vh;
  margin-top: 3vh;
  width: clamp(10vw, 85vw, 85vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1vw;
  z-index: 99;
  opacity: 1;
}
a {
  text-decoration: none;
}
.link {
  color: white;
  font-size: 3vh;
  opacity: 0.5;
  transition: ease-in-out 0.3s;
  width: auto;
}
.link:hover {
  opacity: 1;
  transition: ease-in-out 0.3s;
  scale: 1.08;
}
.link2 {
  text-align: right;
}

@media (max-width: 768px) {
  .collapsible {
    position: fixed;
    z-index: 99999;
    height: 50px;
    width: 50px;
    top: 50px;
    left: 50px;
    background-color: transparent;
    cursor: pointer;
    border: transparent;
    font-family: StretchProBasic;
    color: white;
    font-size: 50px;
    opacity: 1;
  }
  .phone-header.opened {
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.5s ease;
  }
  .phone-header {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    font-family: StretchProBasic;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.8);
    transition: opacity 0.5s ease;
    font-size: clamp(2rem, 10vw, 5rem);
  }
  header {
    opacity: 0;
    pointer-events: none;
  }
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1vw;
  height: 100%;
}
.logo {
  width: 40%;
  width: auto;
  height: 5vh;
  object-fit: contain;
  opacity: 0.5;
  margin-top: 5%;
  flex-shrink: 0;
}

.intro {
  background-color: black;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  position: fixed;
  z-index: 999;
  animation: intro 2s 1.3s forwards;
  pointer-events: none;
}
.projectDintro {
  grid-column: 1/6;
  grid-row: 2/4;
  opacity: 0;
  animation: introtxt 2s forwards;
}
@keyframes intro {
  from {
    opacity: 1; /* Use 1 instead of 100% for opacity */
  }
  to {
    opacity: 0;
  }
}
@keyframes introtxt {
  from {
    opacity: 0; /* Use 1 instead of 100% for opacity */
  }
  to {
    opacity: 1;
  }
}
section {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sec1 {
  margin-top: 0;
  padding-top: 1px;
  height: 100vh;
  width: 100%;
  background: #75020f;
  background: linear-gradient(
    0deg,
    rgba(117, 2, 15, 1) 0%,
    rgb(218, 0, 26) 50%
  );
}
.sec2 {
  background: #75020f;
  background: linear-gradient(180deg, rgba(117, 2, 15, 1) 0%, rgb(1, 1, 3) 70%);
}
.sec3 {
  min-height: 100vh;
  height: auto;
  background: linear-gradient(180deg, rgb(1, 1, 3) 50%, rgb(6, 0, 23) 100%);
  align-items: flex-start;
}
img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.grid {
  height: 100vh;
  width: 85%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 1vw;
  /* background-color: blue; */
}
.cardiv {
  grid-column: 1/6;
  grid-row: 2/6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 10vh;
}
.car-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.car {
  scale: 0.8;
  opacity: 0.9;
  width: auto;
  min-width: 80%;
  max-width: 1000px;
  mix-blend-mode: multiply;
  transform: translate3d(var(--car-x, 0px), 0, 0) scale(var(--car-scale, 1));
  will-change: transform;
  cursor: pointer;
  transition: transform 0.2s ease;
  transform-origin: center center;
}
.car-link:hover .car {
  --car-scale: 1.05;
}

.projectD-text {
  grid-column: 1/6;
  grid-row: 2/4;
}

.projectDlight {
  grid-column: 1/6;
  grid-row: 2/4;
  filter: blur(10px);
  opacity: 90%;
  animation: introtxt 2s forwards;
}

.title {
  grid-column: 1/6;
  grid-row: 1/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: StretchProBasic;
  text-align: center;
  color: white;

  font-size: clamp(1.8rem, 3vw, 3.9rem);

  /* font-size: clamp(1rem, 5vw, 5rem);

  font-family: StretchProBasic;
  color: white;
  font-size: 7vh;

  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center; */
}
.sec4 {
  background: rgb(6, 0, 23);
}
.about {
  font-size: clamp(2rem, 5vw, 5rem);

  font-family: StretchProBasic;
  color: white;
  font-size: 7vh;
  grid-column: 2/5;
  grid-row: 3/4;
  opacity: 0;
  transition: opacity 0.2s linear;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.roulette {
  grid-column: 1/6;
  grid-row: 3/6;
  /* background-color: brown; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2vw;
  margin-top: -5vh;
}
.images {
  display: flex;
  justify-content: space-around;
  width: 100%;
  gap: 7vw;
}

@media (max-width: 768px) {
  /* Hide the first and third image containers */
  .image-container:nth-child(1),
  .image-container:nth-child(3) {
    display: none;
  }

  /* Make the remaining image take up more space if needed */
  .image-container:nth-child(2) {
    width: 100%;
  }
  .header {
    opacity: 0;
    pointer-events: none;
  }
}

.image-container {
  width: 19vw;
  height: 50vh;
  border-radius: 20px;
  overflow: hidden;
}
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.blink {
  animation: blink 0.5s;
}
.arrow {
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: scale 0.3s;
}
.arrow:hover {
  scale: 1.2;
}
#left-arrow {
  rotate: calc(182deg);
}
.prices {
  width: 65vw;
  display: flex;
  flex-direction: column;
  gap: 1.2vh;
  font-family: StretchProBasic;
  color: white;
}
@media (max-width: 768px) {
  .prices {
    width: 90vw;
    display: flex;
    flex-direction: column;
    gap: 1.2vh;
    font-family: StretchProBasic;
    color: white;
  }
}
.grid3 {
  min-height: 100vh;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4vh;
  padding: 16vh 0 10vh;
}
.grid3 .title {
  position: static;
  width: 100%;
  text-align: center;
  margin-bottom: 5vh;
}
.price-category {
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  /* border-radius: 14px; */
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.price-category-toggle {
  width: 100%;
  border: none;
  color: white;
  background: transparent;
  padding: 3vh 1.6vw;
  font-size: 2.4vh;
  font-family: StretchProBasic;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;

  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.price-category-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
}
.price-category-text {
  font-size: 1.6vh;
  line-height: 1;
  /* letter-spacing: 0.06em; */
  opacity: 0.85;
  text-transform: uppercase;
}
.price-services {
  font-family: yapari;
  letter-spacing: 5px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
  /* background: rgba(255, 255, 255, 0.06); */
}
.price-service-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25vh 1.6vw;
  font-size: 1.7vh;
  /* border-top: 1px solid rgba(255, 255, 255, 0.14); */
}
.price-service-row span:last-child {
  opacity: 0.9;
}

.sec5 {
  height: 600vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  background: linear-gradient(0deg, rgb(1, 1, 3) 90%, rgb(6, 0, 23) 100%);
}
.leftimg {
  grid-column: 1/4;
  grid-row: 2/5;

  position: relative;
  overflow: hidden;
}
.lefttxt {
  grid-column: 1/3;
  grid-row: 2/5;

  height: 80%;
  margin-top: 8%;
}
.rightimg {
  grid-column: 3/6;
  grid-row: 2/5;

  height: 80%;
  margin-top: 5%;
}
.righttxt {
  grid-column: 4/6;
  grid-row: 2/5;

  text-align: end;
}
@media (max-width: 768px) {
  .leftimg {
    grid-column: 1/6;
    grid-row: 1/4;
    position: relative;
    overflow: hidden;
  }
  .lefttxt {
    grid-column: 1/6;
    grid-row: 4/6;

    height: 80%;
  }
  .rightimg {
    grid-column: 1/6;
    grid-row: 1/4;

    height: 100%;
    margin-top: 5%;
  }
  .righttxt {
    grid-column: 1/6;
    grid-row: 4/6;

    text-align: end;
  }
}

.sec5 .leftimg,
.sec5 .lefttxt,
.sec5 .rightimg,
.sec5 .righttxt {
  opacity: 0;
  position: relative;
  top: 10vh;
}
.overlap-card {
  position: absolute;
  width: 65%;
  height: 60%;
  /* background-color: aqua; */
}
.overlap-top-left {
  top: 0;
  left: 0;
}
.overlap-bottom-right {
  bottom: 0;
  right: 0;
}
.overlap-top-right {
  top: 0;
  right: 0;
}
.overlap-bottom-left {
  bottom: 0;
  left: 0;
}
.overlap-top-left,
.overlap-top-right {
  z-index: 2;
}

.overlap-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contact {
  height: 50vh;
  width: 100%;
  position: relative;
  background-color: rgb(219, 219, 219);
}

.abtimg {
  object-fit: cover;
}
.abttitle {
  font-family: stretchProBasic;
  color: white;
  font-size: 6vh;
  line-height: 6vh;
  position: relative;
  margin-bottom: 5vh;

  font-size: clamp(1rem, 8vw, 3.9rem);
}
p {
  font-family: yapari;
  color: white;
  font-size: 2.5vh;
  letter-spacing: 3px;
}

@media (max-width: 768px) {
  p {
    margin-top: 20px;
  }
}

.tt3 {
  margin-top: 8vh;
}

.contactgrid {
  height: 95%;
  width: 80%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);

  /* This is the magic line */
  container-type: inline-size;
}

.contacttitle {
  grid-row: 1/3;
  grid-column: 1/6;
  font-family: stretchProBasic;

  /* Adjusted so longer translations fit nicely */
  font-size: clamp(2rem, 10cqi, 4.5rem);

  letter-spacing: 6px;
  text-align: center;

  white-space: normal;
  word-wrap: break-word; /* Prevents overflow for long words */
  width: 100%;
  /* Counters the extra space added to the right by letter-spacing */
  padding-left: 6px;
}

.contactleft {
  grid-row: 3/6;
  grid-column: 1/2;
  /* background-color: darkblue; */
  display: flex;
  flex-direction: column;
  align-items: start;
  padding-top: 2vh;
}
.contactright {
  grid-row: 3/6;
  grid-column: 4/6;
  color: #000000;
  display: flex;
  flex-direction: column;
  align-items: end;
  font-family: yapari;
  padding-top: 2vh;
}

.email {
  margin-bottom: 5vh;
  font-size: clamp(1rem, 2vw, 2rem);
  text-align: right;
}
.address {
  font-style: normal;
  text-decoration: none;
  text-align: right;
}
.social {
  font-family: yapari;
  font-weight: 500;
  color: #000000;
  font-size: 3vh;
  transition: 0.2s ease-in-out;
}
.social:hover {
  font-size: 3vh;
  transition: 0.2s ease-in-out;
  background-color: #000000;
  color: white;
}
.socials {
  height: 3vh;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: end;
  margin-bottom: 2vh;
}

.linkarrow {
  object-fit: contain;
  scale: 0.7;
  width: auto;
}

.footer-spacer {
  background-color: rgb(5, 1, 1);
  display: block;
  width: 100%;
  height: auto;
  max-height: 20vh;
  min-width: 150px;
}

footer {
  display: flex;
  justify-content: center;
}

.lang-btn {
  background: transparent;
  color: white;
  border: 2px solid transparent;
  padding: 0.5vh 1vw;
  font-family: StretchProBasic;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.5s ease;
}
.lang-btn:hover {
  opacity: 1;
  transition: all 0.5s ease;
}
.lang-btn.active {
  color: white;
  border: 2px solid white;
}
.lang-switcher {
  position: fixed;
  top: 20px;
  right: 6vw;
  display: flex;
  gap: 10px;
  z-index: 1000;
}

@media (max-width: 768px) {
  .contact {
    height: 50vh;
    padding: 10vh 0;
  }
  .contacttitle {
    grid-row: 1/3;
    grid-column: 1/6;
    font-family: stretchProBasic;

    font-size: clamp(1.5rem, 8vw, 2.5rem);

    letter-spacing: 4px;
    text-align: center;

    white-space: normal;
    word-wrap: break-word;
    /* Counters the extra space added to the right by letter-spacing */
    padding-left: 4px;
  }
  .contactleft {
    grid-row: 2/4;
    grid-column: 1/6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .contactright {
    grid-row: 4/6;
    grid-column: 1/6;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .social {
    font-size: clamp(1.2rem, 4vw, 2rem);
    line-height: clamp(1.2, 2vw, 1.5);
  }
  .email {
    text-align: center;
  }
  .social:hover {
    font-size: 5vw;
  }
  .lang-switcher {
    position: relative;
    top: 0;
    right: 0;
    display: flex;
    gap: 10px;
    z-index: 1000;
  }
}
