/*----------------------------------
  1) Global Reset & Body Styles
-----------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Use a single body definition to avoid conflicts */
body {
  font-family: Arial, sans-serif;
  background-color: #000000;         /* or #f5f5f5, depending on your design */
  color: #f1f1f1;                    /* or #333 for lighter text on light bg */
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  background-image: url('../assets/hero_headset01.jpg');
  background-repeat: no-repeat;
  background-size: auto;
  background-position-x: center;
  background-position-y: 200px;
}

/*----------------------------------
  2) Container & Hero Sections
-----------------------------------*/
.container {
  max-width: 1200px;
  margin: 0 auto;            /* Center container horizontally */
  padding: 20px;
}

.hero {
  position: relative;
  text-align: center;
  padding: 60px 20px 890px;  /* Adjust bottom padding as needed */
  color: #f1f1f1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  z-index: 1; /* ensure text appears above overlay */
}

.intro {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1; /* ensure text appears above overlay */
}

/*----------------------------------
  3) Services Section
-----------------------------------*/
.services {
  margin: 40px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.service-card {
  background-color: #2a2a2a;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: 8px;
  padding: 20px;
  width: 48%;
  margin: 10px 0;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.icon {
  height: 50px;
  margin-bottom: 15px;
}

h2 {
  width: 100%; /* allows for full-width heading in flex container */
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

p {
  font-size: 1rem;
  color: #cccccc;
}

/*----------------------------------
  4) CTA Section
-----------------------------------*/
.cta {
  text-align: center;
  padding: 20px 0;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: 8px;
  margin: 20px 0;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background: #c540c6;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
  margin: 40px;
}

.cta-button:hover {
  background: #ad47ad;
}

/*----------------------------------
  5) Footer
-----------------------------------*/
.footer {
  text-align: center;
  padding: 20px 0;
  color: #cccccc;
}

.footer p {
  font-size: 10px;
  color: #6e6e6e;
}

#contact-btn {
  padding: 10px 20px;
  background: #007BFF;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none; /* toggled dynamically */
  z-index: 10;
}

#contact-btn.show {
  display: block;
}

/*----------------------------------
  6) Carousel Section
-----------------------------------*/
.carousel-section {
  margin: 2rem auto;
  width: 100%;
  text-align: center;
}

.carousel {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
}

.carousel-image {
  cursor: pointer;
  width: 250px;
  height: 150px;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
}

.carousel-image:hover {
  transform: scale(1.02);
}

/*----------------------------------
  7) Modal Overlay Styles
-----------------------------------*/
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 30px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.modal-content {
  display: block;
  max-width: 90%;
  max-height: 80%;
  margin: auto;
  margin-top: 5rem;
  border: 4px solid #fff;
  box-shadow: 0 0 10px #333;
}

/*----------------------------------
  8) Modal Navigation Arrows
-----------------------------------*/
.arrow {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: #fff;
  user-select: none;
  padding: 0.5rem;
  cursor: pointer;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
}

.left {
  left: 20px;
}

.right {
  right: 20px;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

/*----------------------------------
  9) Responsive Design
-----------------------------------*/
@media (max-width: 600px) {

  body{
    background-size: 100vw;
    background-position-y: 450px;
  }

  .hero {
    padding-bottom: 390px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .carousel-image {
    width: 100%;
    height: auto;
  }

  .modal-content {
    max-width: 95%;
    margin-top: 2rem;
  }

  .service-card {
    width: 100%;
  }
}

/*----------------------------------
  10) Fonts
-----------------------------------*/

.syncopate-regular {
  font-family: "Syncopate", serif;
  font-weight: 400;
  font-style: normal;
}

.syncopate-bold {
  font-family: "Syncopate", serif;
  font-weight: 700;
  font-style: normal;
}


