/* Reset Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General Styles */
body {
  font-family: Arial, sans-serif;
  color: #ffffff;
  line-height: 1.6;
}

/* Bubble Menu Styles */
.bubble-menu {
  position: fixed;
  top: 5vh;
  right: 1vw;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1.5vh;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Remove background color from .parallax */
.parallax {
  position: relative;
  background: none;
  z-index: 2;
}

.bubble-menu.visible {
  opacity: 1;
  transform: translateX(0);
}


#home {
  background-color: rgba(51, 51, 51, 0.9);
  margin-top: 10vh;
}

/* Home section styles */
#home .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

#home-logo img {
  max-width: 200px;
  margin-bottom: 20px; /* Space between logo and text */
}

/* Align text and image side by side */
#home-image img {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#contact {
  background-color: rgba(51, 51, 51, 0.9);
}

#about {
  background-color: rgba(51, 51, 51, 0.9);
}

#footer {
  height: 20vh;
  background-color: aqua;
  margin-bottom: 0;
}

/* Our Services Section */
#services .services-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%; /* Ensure the container takes up the full width of the viewport */
  max-width: 2500px;
  margin: 0 auto;
  border: 1px solid #fff;
  color: #fff;
  }

.service-block {
  background-color: #264242;
  opacity: 0.8;
  border-radius: 8px;
  padding: 20px;
  width: 22%;
  margin: 1%;
  text-align: center;
  color: #fff;
}

.service-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.service-block h3 {
  margin-top: 15px;
}

.service-block p {
  margin-top: 10px;
}


.bubble {
  width: 5vw;
  height: 5vw;
  background-color: rgba(51, 51, 51, 0.9);
  border-radius: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2vw;
  text-shadow: #fff;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Section Styles */
section {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80vw;
  padding: 80px 20px;
  position: relative;
  z-index: 1;
  background-color: transparent;
  margin: 0 auto;
  margin-bottom: 20vh;
  border-radius: 4vw;
}

section .content {
  max-width: 800px;
  text-align: center;
  opacity: 1;
  transform: translateY(100px);
  transition: all 0.7s ease-in-out;
}

section.active .content {
  opacity: 1;
  transform: translateY(0);
}

/* Canvas for Three.js */
canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  background-image: url('../images/background.jpg');
  width: 100%;
  height: 100%;
}

/* Responsive Styles */
@media (max-width: 767px) {
  .service-block {
    width: 100%;
    margin-bottom: 20px;
  }

    /* For smaller screens, stack the content */
    #home .content {
      flex-direction: column;
    }
  
    #home-image img {
      margin-top: 20px;
    }
  }


@media (min-width: 768px) {
  #home .content {
    flex-direction: row; /* Text and image side by side on larger screens */
    justify-content: space-around;
    align-items: center;
  }

  #home-logo {
    flex-basis: 100%;
  }

  #home-image {
    flex-basis: 50%;
    margin-left: 20px;
  }

  #home h1, #home p {
    flex-basis: 50%;
  }
}