/* Font definitions moved to theme-styles.css */

body {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  width: 100%;
}

#container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.title {
      position: absolute;
      opacity: 70%;
      top: 20%;
      left: 5%;
      transform: translateY(-50%);
      cursor: pointer;
      font-size: 550%;
      color: black;
      z-index: 2;
      font-family: "Apple Gothic", sans-serif;
      text-decoration: none;
    }
.title:hover {
      opacity: 1;
    }


.menu {
  position: absolute;
  top: calc(30% + 20px);
  left: 5%;
  z-index: 1;
}

.menu a {
  display: block;
  margin-bottom: 10px;
  font-size: 300%;
  font-family: "Apple Gothic", sans-serif;
  color: black;
  text-decoration: none;
  padding: 5px 10px;
  transition: color 0.7s, background-color 0.3s;
}

.menu a:hover {
  color: white;
  background-color: black;
}

/* Win95 theme menu hover styling is handled in theme-styles.css */

.button-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.button {
  margin-right: 10px;
  padding: 10px 20px;
  font-size: 250%;
  font-family: "Apple Gothic", sans-serif;
  background-color: #000000;
  color: #fff;
  text-decoration: none;
}

body.dark-mode {
  background-color: #000;
}

.title.dark-mode {
  color: white;
}

.menu a.dark-mode {
  color: white;
}

.menu a.dark-mode:hover {
  color: black;
  background-color: white;
}

.button.dark-mode {
  background-color: #fff;
  color: #000;
}

.contact-section {
  position: absolute;
  top: 29%;
  right: 30%;
  width: 30%;
  z-index: 1;
}

.contact-section h2 {
  font-size: 250%;
  font-family: "Apple Gothic", sans-serif;
  color: black;
  margin-bottom: 20px;
  font-weight: normal;
}

.contact-section form {
  display: flex;
  flex-direction: column;
}

.contact-section label {
  font-size: 150%;
  font-family: "Apple Gothic", sans-serif;
  color: black;
  margin-bottom: 5px;
}

.contact-section input,
.contact-section textarea {
  padding: 10px;
  font-size: 150%;
  font-family: "Apple Gothic", sans-serif;
  margin-bottom: 15px;
}

.contact-section button {
  padding: 10px 20px;
  font-size: 150%;
  font-family: "Apple Gothic", sans-serif;
  background-color: #000000;
  color: #fff;
  border: none;
  cursor: pointer;
}

.contact-section h2.dark-mode {
  color: white;
  font-weight: normal;
}
.contact-section label.dark-mode {
  color: white;
}


.contact-section button.dark-mode {
  background-color: #fff;
  color: #000;
}

.contact-section input.dark-mode,
.contact-section textarea.dark-mode {
  background-color: #333;
  color: #fff;
}

body {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  width: 100%;
}

#container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.title {
  position: absolute;
  opacity: 70%;
  top: 20%;
  left: 5%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 550%;
  color: black;
  z-index: 1;
  font-family: "Apple Gothic", sans-serif;
}

.menu {
  position: absolute;
  top: calc(30% + 20px);
  left: 5%;
  z-index: 1;
}

.menu a {
  display: block;
  margin-bottom: 10px;
  font-size: 300%;
  font-family: "Apple Gothic", sans-serif;
  color: black;
  text-decoration: none;
  padding: 5px 10px;
  transition: color 0.7s, background-color 0.3s;
}

.menu a:hover {
  color: white;
  background-color: black;
}

/* Win95 theme menu hover styling is handled in theme-styles.css */

.button-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.button {
  margin-right: 10px;
  padding: 10px 20px;
  font-size: 250%;
  font-family: "Apple Gothic", sans-serif;
  background-color: #000000;
  color: #fff;
  text-decoration: none;
}

body.dark-mode {
  background-color: #000;
}

.title.dark-mode {
  color: white;
}

.menu a.dark-mode {
  color: white;
}

.menu a.dark-mode:hover {
  color: black;
  background-color: white;
}

.button.dark-mode {
  background-color: #fff;
  color: #000;
}

.qa-section {
  position: absolute;
  top: 30%;
  right: 40%;
  width: 30%;
  z-index: 1;
}


.dropdown {
  position: relative;
  margin-bottom: 10px;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.7s;
}

.dropdown-title {
  font-size: 200%;
  font-family: "Apple Gothic", sans-serif;
  color: black;
  transition: color 0.7s;
  cursor: pointer;
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  font-size: 150%;
  font-family: "Apple Gothic", sans-serif;
  color: black;
  transition: max-height 0.3s ease, color 0.7s;
}

.dropdown.active .dropdown-content {
  max-height: 1000px;
}

.dropdown-title.dark-mode {
  color: white;
}

.dropdown-content.dark-mode {
  color: white;
}

/* Mobile Menu Styles */
@media (max-width: 767px) {
  /* Hide desktop navigation elements */
  .menu,
  .button-container,
  #darkModeToggle {
    display: none !important;
  }
  .burger-menu-button {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .burger-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000;
    margin: 8px 0;
    transition: 0.4s;
  }

  body.dark-mode .burger-menu-button span {
    background-color: #fff;
  }

  .burger-menu-button.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-9px, 6px);
  }

  .burger-menu-button.active span:nth-child(2) {
    opacity: 0;
  }

  .burger-menu-button.active span:nth-child(3) {
    transform: rotate(45deg) translate(-8px, -8px);
  }

  .burger-menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  body.dark-mode .burger-menu-container {
    background-color: #000;
  }

  .burger-menu-container.active {
    transform: translateX(0);
  }

  .burger-menu-nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }

  .burger-menu-nav a {
    font-family: "Apple Gothic", sans-serif;
    font-size: 200%;
    color: #000;
    text-decoration: none;
    padding: 10px 20px;
    transition: all 0.3s;
  }

  body.dark-mode .burger-menu-nav a {
    color: #fff;
  }

  .burger-menu-nav a:hover {
    background-color: #000;
    color: #fff;
  }

  body.dark-mode .burger-menu-nav a:hover {
    background-color: #fff;
    color: #000;
  }

  body.menu-open {
    overflow: hidden;
  }
}
/* Add these styles to handle sphere containers */
#desktop-sphere-container,
#mobile-sphere-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Mobile styles */
@media (max-width: 767px) {
  /* Hide desktop navigation elements */
  .menu,
  .button-container,
  #darkModeToggle {
    display: none !important;
  }

  #desktop-sphere-container {
    display: none !important;
  }

  #mobile-sphere-container {
    display: block !important;
  }

  .title {
    font-size: 300%;
    top: 15%;
    left: 50%;
    transform: translateX(-85%) translateY(-50%);
    opacity: 70%;
    cursor: pointer;
    color: black;
    z-index: 2;
    font-family: "Apple Gothic", sans-serif;
  }
  }

/* Desktop styles */
@media (min-width: 768px) {
  #mobile-sphere-container {
    display: none !important;
  }
  
  .burger-menu-button,
  .burger-menu-container {
    display: none !important;
  }
}