:root {
  --primary-color: #faf5ea;
  --text-color: #333;
  --accent-color: #01ae04;
  --bg-light: #faf5ea;

  --border-radius: 1.3rem;

  --transition: all 0.3s ease-in-out;
  --section-spacing: 6rem;
  --site-width: 1224px;
  --title-spacing: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

button {
  background-color: transparent;
  cursor: pointer;
  border: none;
}

html {
  font-family: 'Urbanist', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  tab-size: 4;
  scroll-behavior: smooth;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

body {
  margin: 0;
}

/* #Hero */
.hero {
  background-color: #333;
  height: 100vh;
  width: 100%;
  /* background: url('https://images.pexels.com/photos/7864342/pexels-photo-7864342.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2')
    no-repeat center center/cover fixed; */
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;

  .hero-content {
    position: relative;
    padding: 0 2rem;
    text-align: center;
    max-width: 800px;

    @media screen and (max-width: 768px) {
      padding-top: 3rem;
    }
    .hero-title {
      font-size: 3rem;
      color: var(--primary-color);
      font-weight: 700;
      margin-bottom: 1rem;

      @media screen and (max-width: 768px) {
        font-size: 2rem;
      }
    }
    .hero-text {
      font-size: 1.5rem;
      color: var(--primary-color);
      font-weight: 200;
      margin-bottom: 2rem;
      @media screen and (max-width: 768px) {
        font-size: 1rem;
      }
    }
  }

  .gradient-mask {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.2)
    );
    /* background: #000; */
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: none;
  }

  .video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.5;
  }
}

.app-container,
.center-container {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;

  @media screen and (max-width: 1200px) {
    padding: 0 1rem;
  }
}

.full-width-container {
  width: 100%;
  padding: 0 2rem;
  @media screen and (max-width: 1200px) {
    padding: 0 1rem;
  }
}

/* #Header */
header {
  background: transparent;
  height: 84px;
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 10;

  /* mix-blend-mode: difference;
  color: var(--bg-light); */

  .logo {
    max-width: 120px;
    img {
      max-width: 100%;
      display: block;
    }
  }

  .menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--bg-light);

    @media screen and (max-width: 768px) {
      display: block;
    }
  }

  nav {
    ul {
      display: flex;
      gap: 2rem;
      li {
        a {
          font-size: 1rem;
          text-decoration: none;
          color: var(--primary-color);
          transition: var(--transition);

          &.featured {
            padding: 1rem 2rem;
            background-color: var(--accent-color);
            color: var(--primary-color);
            border-radius: 0;
            /* min-width: 140px; */
            font-weight: 600;

            &:hover {
              /* background-color: var(--secondary-color); */
              opacity: 0.85;
              color: var(--primary-color);
            }
          }

          &:hover {
            color: var(--accent-color);
          }
        }
      }
    }

    .close-menu {
      display: none;
      color: var(--text-color);
      font-size: 2rem;
      position: absolute;
      top: 0;
      right: 0;
      z-index: 5;
      @media screen and (max-width: 768px) {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        z-index: 6;
        color: var(--primary-color);
        font-size: 2rem;
      }
    }

    @media screen and (max-width: 768px) {
      display: none;

      &.show {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
        align-items: center;
        justify-content: center;
      }

      justify-content: space-between;

      ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        font-size: 1.5rem;
        font-weight: 600;
        gap: 2rem;
        li a {
          font-size: 1.5rem;
          color: var(--primary-color);
        }
      }
    }
  }
}

.hero-about {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* height: 200px; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--bg-light);
  font-size: 1rem;
  font-weight: 200;
  padding: 2rem;
}

/* #Services */
.services-section {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: var(--section-spacing);

  @media screen and (max-width: 768px) {
    margin-top: 2rem;
  }

  .title {
    text-align: center;
  }

  .text {
    padding-bottom: 3rem;
    text-align: center;
  }
}

.masonry-grid {
  column-count: 2;
  column-gap: 1rem;
}

@media (min-width: 768px) {
  .masonry-grid {
    column-count: 3;
  }
}

.service-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  .caption {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    /* background-color: #f5f5f5; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--bg-light);
    opacity: 0;
    transition: var(--transition);
    /* transform: translateY(100%); */
    display: none;
  }
  &:hover .caption {
    opacity: 1;
    /* transform: translateY(0); */
  }
  &:hover {
    transform: scale(1.02);
  }
  img {
    width: 100%;
    display: block;
    height: auto;
  }
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;

  .close-lightbox {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--bg-light);
    cursor: pointer;
    text-decoration: none;
  }
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* #About */
.about-section {
  width: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  margin-top: var(--section-spacing);
  /* justify-content: center; */
  gap: 2rem;
  @media screen and (max-width: 1200px) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    height: auto;
    margin-top: 2rem;
  }
  .about-double-image {
    height: 100%;
    position: relative;
    img {
      object-fit: cover;
      width: 100%;
      /* max-width: 100%; */
    }
    .big {
      max-width: 80%;
    }
    .small {
      max-width: 60%;
      position: absolute;
      bottom: 2rem;
      right: 2rem;
    }
  }

  .section-col:nth-child(2) {
    flex: 1.5;
  }
}

/* #BG */
.section-bg {
  min-height: 50vh;
  background: url('./imgs/04.jpg') no-repeat center center/cover fixed;
  width: 100%;
  margin-top: var(--section-spacing);
  position: relative;

  .gradient-mask {
    background: linear-gradient(
      to bottom,
      rgba(238, 98, 235, 0.2),
      rgba(0, 0, 0, 0.6)
    );
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
  }
}

/* #testimonials */
.testimonials-container {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  display: flex;
  gap: var(--section-spacing);
  position: relative;
  align-items: center;
  justify-content: center;
  height: 100%;

  @media screen and (max-width: 1200px) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    height: auto;
    padding: 2rem;
  }
}

.testimonial-card {
  color: var(--bg-light);
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 50vh;

  .testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    img {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      overflow: hidden;
      height: 50px;
      width: 50px;
      object-fit: cover;
    }
  }
}

/* #Contact */
.contact-container {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  display: flex;
  gap: var(--section-spacing);
  position: relative;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin-top: var(--section-spacing);

  @media screen and (max-width: 1200px) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    height: auto;
    padding: 2rem;
    margin-top: 2rem;
  }

  div:nth-child(1) {
    flex: 1.5;
  }

  .contact-thumb {
    flex: 1;
    @media screen and (max-width: 1200px) {
      /* height: 300px; */
      width: 100%;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      aspect-ratio: 1/1.5;
      max-height: 600px;
    }

    .video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      aspect-ratio: 1/1.5;
      /* max-height: 600px; */
    }
  }

  div {
    flex: 1;
  }

  .text {
    flex-direction: column;
    gap: 0.5rem;
    display: flex;
    /* background-color: ; */

    a {
      color: var(--text-color);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 1.2rem;
      font-weight: 500;
      transition: var(--transition);
      display: block;
      /* border: solid 1px red; */
      &:hover {
        /* color: var(--accent-color); */
        opacity: 0.85;
      }
      .icon {
        font-size: 1.5rem;
      }
    }
  }

  span {
    display: block;
  }
}

.social-media {
  color: var(--text-color);
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.5rem;

    transition: var(--transition);
    &:hover {
      transform: translateY(-0.25rem);
    }
  }
}

.section-header {
  margin-bottom: var(--title-spacing);
}

.section-col {
  flex: 1;
}

/* #CTA */
.cta-container {
  display: grid;
  justify-content: center;
  align-items: center;

  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 50vh;
  margin-top: var(--section-spacing);
  text-align: center;

  background-color: var(--accent-color);
  color: var(--bg-light);

  @media screen and (max-width: 1200px) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    height: auto;
    padding: 2rem;
    margin-top: 2rem;
  }

  .title,
  .text {
    color: var(--bg-light);
  }
}

.site-footer {
  background: #111;
  color: #eee;
  padding: 3rem 1rem 1rem;
  font-size: 0.95rem;
  margin-top: var(--section-spacing);

  @media screen and (max-width: 1200px) {
    margin-top: 2rem;
  }
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;

  .footer-logo {
    max-width: 100px;
    /* padding: 0.5rem;
    border: solid 1px var(--bg-light);
    border-radius: 8px; */
  }
}

.footer-container h2,
.footer-container h4 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-container ul {
  list-style: none;
  padding: 0;
}

.footer-container a {
  color: #ccc;
  text-decoration: none;
}

.footer-container a:hover {
  color: #fff;
}

.footer-brand,
.footer-links,
.footer-contact {
  flex: 1 1 250px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #888;
  a {
    color: #888;
  }
}

/* #Accordion */
.accordion {
  margin-bottom: 3rem;
}

.accordion-item {
  overflow: hidden;
  color: var(--primary-color);
  border-top: solid 1px var(--primary-color);
  border-bottom: solid 1px var(--primary-color);
  padding: 1rem 0;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

.accordion-header:hover {
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.open {
  padding: 15px;
}

.accordion-item.open .accordion-content {
  max-height: 200px;
}

.accordion-item.open .fa-plus {
  display: none;
  color: var(--primary-color);
}

.accordion-item:not(.open) .fa-minus {
  display: none;
  color: var(--primary-color);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  animation: pulse 2s infinite;
  text-decoration: none;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
.btn {
  min-width: 320px;
  padding: 1.5rem 2rem;
  display: flex;
  text-align: center;
  align-items: center;
  font-family: 'Urbanist', sans-serif;
  text-decoration: none;
  font-size: 1.5rem;
  display: inline-block;
  transition: var(--transition);
  font-weight: 900;
  text-transform: uppercase;

  @media screen and (max-width: 1200px) {
    min-width: 250px;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
  }

  &.light {
    background-color: var(--primary-color);
    color: var(--accent-color);

    &:hover {
      opacity: 0.8;
    }
  }
  &.dark {
    background-color: #000;
    color: var(--primary-color);
    &:hover {
      opacity: 0.9;
    }
  }
  &.accent {
    background-color: var(--accent-color);
    color: var(--primary-color);
    &:hover {
      opacity: 0.9;
    }
  }
}

.title {
  font-family: 'Poppins', sans-serif;
  display: block;

  font-size: 3rem;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.3;
}

.text {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.5;
  /* margin-bottom: 1rem; */
  color: var(--text-color);
}

.text-primary {
  color: var(--primary-color);
}

section,
.animated-box {
  transition: all 0.6s ease;
  opacity: 0;
}
.fade-up {
  transform: translateY(40px);
}

.fade-left {
  transform: translateX(-40px);
}

.fade-scale {
  transform: scale(0.9);
}

.animate {
  opacity: 1;
  transform: none;
}
