html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "poppins";
}

body {
  background-color: #1f1f1f;
  color: white;
}

p {
  font-size: 1.6rem;
  font-weight: 300;
}

a {
  color: #db4454;
}

h3 {
  color: #db4454;
  font-size: 2.4rem;
  font-weight: 500;
}

.side-padding {
  padding-left: 5%;
  padding-right: 5%;
}

.center-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.btm-margin {
  margin-bottom: 6em;
}

.btm-margin-lg {
  margin-bottom: 10em;
}

/*Nav Bar*/
.scroll-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  line-height: 100%;
  max-width: 100%;
  background-color: #1f1f1f;
}

.glass {
  backdrop-filter: blur(5px);
  background-color: rgba(28, 28, 28, 0.7); /* Light translucent background */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav {
  margin: 3em; /*em units for scaling (4em = 40px)*/
}

nav ul {
  list-style-type: none;
  display: flex;
  gap: 5em; /*space between tabs*/
  line-height: 100%;
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-size: 1.6rem; /*rem units for fonts (1.6rem = 16px)*/
  font-weight: 200;
  position: relative;
  transition: 0.2s ease;
}

nav ul li a.active {
  color: #db4454;
  font-weight: 500;
}

nav a svg {
  fill: #909090;
}

.bars {
  width: 25px;
  height: 25px;
  fill: #ffffff;
  display: none;
}

.mobile-on {
  display: none;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
  padding: 0px;
}

.mobile-menu ul li {
  list-style: none;
}

.mobile-menu ul li a {
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
}

.close {
  cursor: pointer;
  fill: white;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  width: 100%;
  gap: 2em;
}

.home {
  position: relative;
  width: 100%;
}

.texture {
  position: absolute;
  top: 4em;
  width: 90%;
  height: auto;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.6;
  z-index: 1;
}

.home .texture img {
  position: absolute;
  left: 25%;
  width: 100%;
  max-width: 700px;
  height: auto;
  object-fit: cover;
}

.services .texture {
  position: absolute;
  top: 30em;
}

.hero-content {
  display: flex;
  flex-direction: column;
  z-index: 10;
}

h1 {
  position: relative;
  font-size: 6.4rem;
  margin-bottom: 10px;
  animation: slideIn 1.5s ease-in-out;
}

.hero-content p {
  position: relative;
  font-size: 1.6rem;
  margin-bottom: 20px;
  animation: slideIn 2s ease-in-out;
}

@keyframes slideIn {
  from {
    transform: translateX(-170%);
  }
  to {
    transform: translateX(0);
  }
}

/*button*/
.btn {
  position: relative;
  padding: 6px 8px;
  border: 2px solid #db4454;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background-color: transparent;
  text-align: center;
  font-size: 16px;
  transition: 0.3s;
  z-index: 1;
  font-family: inherit;
  text-decoration: none;
  color: #ffffff;
  animation: slideIn 2.5s ease-in-out;
  max-width: 180px;
}

.btn::before {
  content: "";
  width: 0;
  height: 400%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  background: #db4454;
  transition: 0.5s ease;
  display: block;
  z-index: -1;
}

.btn:hover::before {
  width: 110%;
}

.btn:hover {
  color: #111;
}

/* Carousel Container */
.carousel {
  display: flex;
  max-width: 600px;
  overflow: hidden;
  height: 100vh; /* Adjust height based on your layout */
  gap: 1em;
  z-index: 10;
}

/* Columns */
.hero-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

/* Wrapper (Holds Images and Creates Infinite Scroll) */
.wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: scrollUp 24s linear infinite;
}

/* Reverse Animation for Second Column */
.scroll-down .wrapper {
  animation: scrollDown 24s linear infinite;
}

/* Image Placeholder */
.image-placeholder {
  width: 100%;
  height: 400px;
  width: auto;
  background: linear-gradient(45deg, #5f5e5e, #2c2c2c);
  border-radius: 5px;
}

.scroll-down .image-placeholder {
  background: linear-gradient(45deg, #5f5e5e, #2c2c2c);
}

.hero-column img,
.photo img,
.services-content img,
.image-grid img {
  border-radius: 10px;
  filter: brightness(80%);
}

/* Carousel Animation */
@keyframes scrollUp {
  from {
    transform: translateY(0%);
  }
  to {
    transform: translateY(-100%);
  }
}

@keyframes scrollDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0%);
  }
}

/**********************
Services
*************************/

.services,
.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.services {
  overflow: hidden;
  position: relative;
}

.TCs {
  display: flex;
  flex-direction: row;
  margin-bottom: 7em;
  padding: 2em;
}

.TCs > div {
  flex: 1; /* allows them to take equal width (optional) */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

.TCs svg {
  width: 50px;
  height: 50px;
  fill: #ffffff;
  margin-bottom: 20px;
}

.services .texture img {
  position: absolute;
  top: 10em;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

h2 {
  font-size: 12.5rem;
  font-weight: 100;
  color: #383838;
}

.services-content,
.gallery-content {
  display: flex;
  justify-content: space-around;
  width: 100%;
  z-index: 10;
}

.services-content {
  gap: 2em;
}

.slide {
  align-items: center;
}
.service-tab {
  display: flex;
  flex-direction: column;
  max-width: 300px;
  text-align: center;
  gap: 2em;
}

.service-tab img {
  max-width: 300px;
  text-align: center;
}

.service-tab img:hover {
  border: 1px solid #db4454;
  cursor: pointer;
  filter: brightness(70%);
}

.active {
  text-align: center;
}

.active img {
  position: relative;
  width: 600px;
  height: auto;
}

.column2 {
  display: flex;
  align-items: center;
  gap: 8em;
}

.column2 h2 {
  font-size: 3.8rem;
  color: white;
}

/*********************
Gallery
**********************/

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  margin-bottom: 8em;
}

.tab {
  flex: 1 1 22%;
  padding: 25px 10px;
  background-size: cover;
  background-position: center;
  color: white;
  font-size: 2.8rem;
  text-shadow: 1px 1px 2px #111;
  text-align: center;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 4px solid #db4454;
}

.tab:hover {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.tabs-mobile {
  display: none;
  max-width: 100%;
  margin-bottom: 2em;
}

.tabs-mobile .tab {
  font-size: 1.6rem;
  padding: 10px;
  border: none;
}

.tabs-mobile .tab.active {
  border-bottom: 1px solid #db4454;
  color: #db4454;
}

.tab.active {
  filter: grayscale(0%);
  transform: scale(1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  height: 0;
  overflow: hidden;
}

.image-grid.show {
  opacity: 1;
  transform: translateY(0);
  height: auto;
}

.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.image-grid > div {
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
}

.image-grid img:hover {
  transform: scale(1.1);
}

/**************
FAQ
***************/
.faq {
  display: flex;
  justify-content: space-between;
  background-color: #292828;
  padding-top: 5em;
  padding-bottom: 5em;
}

.questions {
  display: flex;
  flex-direction: column;
  gap: 2em;
  max-width: 600px;
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: 1em;
  font-size: 1.4rem;
}

.faq-question {
  background-color: #5f5e5e;
  padding: 20px;
  cursor: pointer;
  position: relative;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 10px;
}

.faq-item.open .faq-answer {
  max-height: 300px; /* adjust based on content */
}

.faq-question.active-question {
  background-color: #db4454;
  color: white;
}

/* Mobile styles */
@media (max-width: 768px) {
  .tabs {
    flex-direction: column;
  }

  .tab {
    flex: 1 1 100%;
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*Scroll Bar*/
body {
  --sb-track-color: #373737;
  --sb-thumb-color: #db4454;
  --sb-size: 9px;
}

body::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 9px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 9px;
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}

/* ..............................
Testimonial
.............................. */
.testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 5em;
}

.subheading {
  margin-bottom: 30px;
}
.description {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-content {
  width: 100%;
  display: flex;
  justify-content: space-around;
  gap: 3em;
}

.testimonial-card {
  margin-top: 30px;
  width: 300px;
  height: 250px;
  display: flex;
  flex-direction: column;
  text-align: center;
  background-color: #292828;
  align-items: center;
  justify-content: space-around;
  border-radius: 12px;
  border: solid 1px #db4454;
}

.social-icon {
  position: relative;
  top: -30px;
  width: 40px;
  height: 40px;
  fill: #ffffff;
}

.testimonial-card p {
  font-size: 16px;
  padding: 10px;
  color: #ffffff;
}

.testimonial-card h5 {
  font-size: 1.6rem;
  font-weight: 100;
  color: #ffffff;
}

.rating-container {
  height: 20px;
  width: 100px;
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
}

.rating-container svg {
  fill: #ffffff;
}

.visit-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-top: 3em;
  padding-bottom: 3em;
  text-align: center;
}

.map-container {
  border: #db4454 solid 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: slideIn 2s ease-in-out;
  position: relative;
}

.map-container h4 {
  position: absolute;
  color: #db4454;
  z-index: 1;
  font-size: 58px;
  font-weight: 300;
  line-height: 70px;
  top: -40px;
}

.map {
  width: 600px;
  height: 400px;
}

.map-overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  max-height: 600px;
  background: rgba(10, 10, 20, 0.3);
  pointer-events: none;
}

.visit-description {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.visit-description h4 {
  font-size: 58px;
  font-weight: 600;
  line-height: 70px;
  color: #db4454;
  margin: 20px;
}

.visit-container a {
  text-decoration: none;
  color: #db4454;
  font-size: 20px;
  font-weight: 400;
  margin-top: 20px;
}

.visit-container a:hover {
  text-decoration: underline;
}

.section-border {
  width: 100%;
  height: 100%;
  max-height: 50px;
  display: flex;
  flex-direction: row;
}

.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
  padding-top: 5em;
  padding-bottom: 5em;
  background-color: #131313;
}

.footer a {
  font-size: 20px;
  color: #5f5e5e;
  font-weight: 600;
  text-decoration: none;
}

.scroll-button p {
  color: #5f5e5e;
}

.arrow {
  display: flex;
  gap: 1em;
}

.social-container {
  display: flex;
  gap: 2em;
}

.social-container svg {
  width: 25px;
  height: 25px;
  fill: #5f5e5e;
  transition: 0.3s ease-in;
}

.social-container svg:hover {
  transform: scale(1.2) translateY(-5px);
}

.facebook:hover {
  fill: #3b5998;
}

.instagram:hover {
  fill: #c13584;
}

.whatsapp:hover {
  fill: green;
}

.tik-tok:hover {
  fill: white;
}

.column-1,
.column-2,
.column-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  gap: 1em;
}

.hours {
  margin-bottom: 2em;
}

.footer h3 {
  font-size: 2.4rem;
  color: #909090;
  font-weight: 300;
}

.column-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
}

.column-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.scroll-button {
  transition: all 0.3s ease-in-out;
}

.scroll-button:hover {
  transform: scale(1.2);
}

.contact-details {
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.address-line {
  display: flex;
  gap: 1em;
  justify-content: space-between;
}

.address-line h6 {
  font-size: 1.6rem;
  font-weight: 300;
  color: #5f5e5e;
}

/****************************************************
Animation
***********************************************************/

.animate-right {
  opacity: 0;
  transform: translateX(-80%);
}

.animate-right.slide-in {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition: all 2s ease-in;
}

.delay-2 {
  transition: all 1.5s ease-in;
}

/* Keyframes for the downward animation */
@keyframes animateDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply the animation to each photo */
.photo-gallery .photo {
  opacity: 0; /* Start hidden */
  animation: animateDown 2s ease-in-out forwards;
}

/* Stagger the animation for each photo */
.photo-gallery .photo:nth-child(1) {
  animation-delay: 0.2s;
}
.photo-gallery .photo:nth-child(2) {
  animation-delay: 1s;
}
.photo-gallery .photo:nth-child(3) {
  animation-delay: 1.5s;
}
.photo-gallery .photo:nth-child(4) {
  animation-delay: 2s;
}
.photo-gallery .photo:nth-child(5) {
  animation-delay: 2.5s;
}
.photo-gallery .photo:nth-child(6) {
  animation-delay: 1.4s;
}
.photo-gallery .photo:nth-child(7) {
  animation-delay: 1.6s;
}
.photo-gallery .photo:nth-child(8) {
  animation-delay: 1.8s;
}
.photo-gallery .photo:nth-child(9) {
  animation-delay: 1.8s;
}

/*************************************
Mobile
******************************************/
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 8.2rem;
  }

  .hero-content p {
    font-size: 1.4rem;
  }

  .btn {
    font-size: 1.4rem;
    padding: 10px 20px;
  }

  .scroll-header {
    margin-top: 2em;
    margin-left: 5%;
    margin-right: 5%;
    border-radius: 50px;
  }

  .mobile-off2 {
    display: none;
  }

  .hero img {
    height: 300px;
    width: 200px;
  }

  .mobile-on {
    display: block;
  }

  .mobile-off {
    display: none;
  }

  .mobile-col2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  p {
    font-size: 1.4rem;
  }

  .service-content {
    flex-direction: column;
  }

  .testimonial {
    margin-bottom: 0;
  }

  .tab {
    max-width: 100%;
  }

  .tabs-mobile {
    display: flex;
  }

  .faq {
    flex-direction: column;
    align-items: center;
    gap: 3em;
  }

  .map {
    width: 300px;
    height: 300px;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    gap: 3em;
  }

  .text-center {
    text-align: center;
  }
}

@media (max-width: 1160px) {
  .carousel .mobile-off {
    display: none;
  }
}

@media (max-width: 1060px) {
  .mobile-col {
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15em;
  }
}
