/* ================== IMPORTS ================== */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Righteous&display=swap');

/* ================== GLOBAL ================== */
html {
  scroll-behavior: smooth;
}

* {
  font-family: "Josefin Sans", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background-color: #ffffff;
  color: white;
  background-size: cover;
  background-position: center;
}

/* ================== HEADER ================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.3rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px);
  z-index: -1;
}

.header::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(225, 225, 225, .15), transparent);
  transition: .5s;
}

.header:hover::after {
  left: 100%;
}

.biglogo {
  font-size: 2rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  transition: .2s;
}

.biglogo:hover {
  color: #dddddd
}

.navbar a {
  font-size: 1.15rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  margin-left: 2.5rem;
  transition: .2s;
}

.navbar a:hover {
  color: #dddddd
}

/* ================== NAVIGATION TOGGLE ================== */
#check {
  display: none;
}

.icons {
  right: 5%;
  position: absolute;
  font-size: 2.8rem;
  color: white;
  cursor: pointer;
  display: none;
}

/* ================== RESPONSIVE NAV ================== */
@media(max-width: 992px) {
  .header {
    padding: 1.3rem 5%;
  }
}

@media(max-width: 768px) {
  .icons {
    display: inline-flex;
  }

  #check:checked~.icons #menu-icon {
    display: none;
  }

  .icons #close-icon {
    display: none;
  }

  #check:checked~.icons #close-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    height: 0;
    width: 100%;
    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(7px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .25);
    overflow: hidden;
    transition: .3s ease;
  }

  .navbar a {
    display: block;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    text-align: center;
    opacity: 0;
    transition: .3s ease;
    transform: translateY(-50px);
  }

  #check:checked~.navbar {
    height: 17.7rem;
  }

  #check:checked~.navbar a {
    transform: translateY(0);
    transition-delay: calc(.15s * var(--i));
    opacity: 1;
  }
}

/* ================== TEXT UTILITIES ================== */
.center-container {
  width: 100%;
}

.center-text {
  padding: 10px;
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  z-index: 1;
  backdrop-filter: blur(4px);
}

.getnow {
  margin-top: 25px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: white;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;

}

.getnow:hover {
  background-color: #dddddd;
}

.center-subtext,
.center-midtext {
  justify-content: center;
  text-align: center;
  z-index: 1;
}

.center-subtext {
  padding: 19px;
  color: black;
  font-size: 1.1rem;
  font-weight: 600;
}

.center-midtext {
  padding: 10px;
  color: black;
  font-size: 2rem;
  font-weight: 600;
}

.black {
  color: black;
}

.white {
  color: white;
}

.price {
  font-size: .6rem;
  margin-top: 10px;
}

/* ================== HERO ================== */
.hero-section {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: url(bg.jpg) center/cover no-repeat;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ================== ABOUT ================== */
.about-section {
  display: flex;
  align-items: center;
  background: white;
  margin: 50px auto;
  padding: 20px;
  border-radius: 20px;
  max-width: 1000px;
}

.about-image {
  flex: none;
  width: 300px;
  margin-right: 30px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about-text h2 {
  font-size: 3rem;
  color: black;
}

.about-text p {
  font-size: 1rem;
  color: black;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    width: 60%;
    margin: 20px 0;
  }
}

/* ================== TEAM ================== */
.team-container {
  padding-top: 20px;
}

.team-ppl-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px;
}

.team-member {
  width: 200px;
  text-align: center;
}

.team-member img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #333;
}

.team-member h3 {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #333;
}

.team-member p {
  font-family: "Righteous", sans-serif;
  font-size: 0.9rem;
  color: #555;
}
@media (max-width: 768) {
  
}

/* ================== EXPERIENCE ================== */
.experience {
  margin-top: 15px;
  text-align: left;
}

.experience h3,
.experience h4 {
  color: #333;
}

.experience h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.experience h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.experience ul {
  list-style: none;
  padding-left: 0;
}

.experience li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #555;
}

.experience .txt li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #007bff;
}

.experience .img {
  display: inline-flex;
}

.experience li img {
  width: 40px;
  height: auto;
  border: none;
  border-radius: 0;
}

.icon-wrapper {
  position: relative;
  display: inline-block;
  text-align: center;
}

.icon-wrapper img {
  width: 40px;
  height: 40px;
  transition: transform 0.2s;
}

.icon-wrapper .icon-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.icon-wrapper:hover .icon-text {
  visibility: visible;
  opacity: 1;
}

@media(max-width: 768px) {
  .icon-wrapper:hover .icon-text {
    visibility: hidden;
    opacity: 0;
  }
}


/* ================== SERVICES ================== */
.services-section {
  padding: 5% 10%;
  background-color: #ffffff;
  color: #000;
}

.services-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 50px;
  gap: 40px;
  flex-wrap: wrap;
}

.service-box {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  text-align: center;
}

.service-box img {
  width: 58%;
  height: auto;
  border-radius: 20px;
  margin-bottom: 20px;
}

.service-box h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.pill-button {
  background-color: #000;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.pill-button:hover {
  background-color: #333;
}

.vertical-line {
  width: 4px;
  background-color: black;
  height: 95vh;
  align-self: center;
  border-radius: 5px;
}
@media (max-width: 992px) {
  .vertical-line {
    display: none;
  }
}
@media (max-width: 768px) {
  .services-container {
    flex-direction: column;
    align-items: center;
  }

  .vertical-line {
    display: none;
  }
}

/* ================== GALLERY ================== */
.gallery-masonry {
  margin: 0 auto;
  /* Center the container horizontally */
  column-count: 4;
  column-gap: 20px;
  max-width: 1200px;
  padding: 0 2.5%;
  /* Add padding for smaller screens */
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  cursor: pointer;
}

@media (max-width: 1024px) {
  .gallery-masonry {
    column-count: 3;
    max-width: 900px;
    /* Adjust max-width for tablet */
  }
}

@media (max-width: 768px) {
  .gallery-masonry {
    column-count: 2;
    max-width: 600px;
    /* Adjust max-width for mobile */
  }
}

@media (max-width: 480px) {
  .gallery-masonry {
    column-count: 2;
    max-width: 400px;
    /* Adjust max-width for small mobile */
    padding: 0 5%;
    /* Increase padding on very small screens */
  }
}

/* ================== SOCIALS ================== */
.socials-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 30px auto;
  padding-bottom: 40px;
}

.social-icon {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

/* ================== LIGHTBOX ================== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 40px;
  font-weight: 200;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
}

/* ================== ANIMATIONS ================== */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: white;
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 2;
}
@media (max-width: 768px) {
  .scroll-down{
    bottom: 120px;
  }
}
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.hidden {
  opacity: 0;
  filter: blur(5px);
  transition: all 1s;
}

.show {
  opacity: 1;
  filter: blur(0px);
  transform: translateX(0);
}

/* ================== LOGO BOUNCE ================== */
.logos {
  display: flex;
  font-size: 2rem;
  font-weight: 900;
}

.logo:nth-child(2) {
  transition-delay: 200ms;
}

.logo:nth-child(3) {
  transition-delay: 400ms;
}

.logo:nth-child(4) {
  transition-delay: 600ms;
}

/* ================== FOOTER ================== */
.footer {
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 40px 10%;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 300;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

/* Desktop single marquee */
.testers {
  position: absolute;
  top: 70%;
  left: 0;
  font-weight: bolder;
  font-size: 10rem;
  color: #dedede;
  z-index: -1;
  padding: 0;
  margin: 0;
  white-space: nowrap;
  pointer-events: none;
  animation: marquee 100s linear infinite;
}

/* Marquee animation keyframes */
@keyframes marquee {
  0% {
    transform: translateX(100vw) translateY(-50%);
  }
  100% {
    transform: translateX(-100%) translateY(-50%);
  }
}

@keyframes marquee-reverse {
  0% {
    transform: translateX(-100%) translateY(-50%);
  }
  100% {
    transform: translateX(100vw) translateY(-50%);
  }
}

/* Mobile dual marquee */
@media (max-width: 768px) {
  .footer-content {
    font-size: 0.9rem;
  }
  
  .footer-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Hide original marquee on mobile */
  .testers {
    display: none;
  }

  /* Create dual marquee effect */
  .footer::before,
  .footer::after {
    content: 'CAPTUR. [O\'] CAPTUR. [O\'] CAPTUR. [O\'] CAPTUR. [O\'] CAPTUR. [O\'] CAPTUR. [O\'] CAPTUR. [O\'] CAPTUR. [O\'] CAPTUR. [O\'] CAPTUR. [O\'] CAPTUR. [O\'] CAPTUR. [O\'] CAPTUR. [O\'] CAPTUR. [O\'] ';
    position: absolute;
    left: 0;
    font-weight: bolder;
    font-size: 7rem;
    color: #dedede;
    z-index: -1;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    pointer-events: none;
  }

  .footer::before {
    top: 30%;
    animation: marquee 100s linear infinite;
  }

  .footer::after {
    top: 80%;
    animation: marquee-reverse 100s linear infinite;
  }
}