/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Orbitron", sans-serif;
  background-color: #000;
  color: #fff;
  overflow: hidden;
}

.hero {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/hero-background.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0.85; /* Increased opacity for better visibility */
}

.background-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.4),
    rgba(0, 36, 108, 0.6)
  );
  /* Reduced opacity in gradient for lighter effect while maintaining brand colors */
}

.content {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo Styles */
.logo {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 20;
}

/* Circular Nav Styles */
.circular-nav-container {
  position: relative;
  width: 90vmin;
  height: 90vmin;
  max-width: 100vw;
  max-height: 100vh;
  animation: zoomIn 1.5s ease-out;
}

.circular-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 56, 168, 0.7) 100%
  );
  box-shadow: 0 0 70px 20px rgba(255, 255, 255, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.nav-item {
  position: absolute;
  transform: translate(-60%, -50%);
  color: #106b8d;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  z-index: 10;
}

.nav-item:hover {
  color: #fff;
  transform: translate(-60%, -50%) scale(1.1);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-item i {
  margin-right: 0.5rem;
}

/* Center Logo Styles */
.circular-nav-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.center-logo {
  width: 50vmin;
  max-width: 400px;
  height: auto;
  animation: fadeInZoom 1.5s ease-in-out;
}

/* Tagline Styles */
.tagline {
  font-size: 3rem;
  margin-top: 1rem;
  color: black; /* Base text color is black */
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7),
    /* White backlit effect */ 0 0 20px rgba(255, 255, 255, 0.5),
    0 0 30px rgba(255, 255, 255, 0.3), 2px 2px 8px rgba(0, 120, 255, 0.5); /* Blue accent shadow */
  animation: taglinePulse 2s ease-in-out infinite;
}

/* CTA Button Styles */
.cta-button {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 20;
}

.cta-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.cta-button i {
  font-size: 1.5rem;
  color: #fff;
}

/* Credits Styles */
.credits {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 1rem;
  color: #00baff;
  z-index: 20;
}

.credits a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.credits a:hover {
  color: #fff;
}

/* Pulsating Rings */
@keyframes pulsate {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

.pulsating-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid;
  animation: pulsate 4s ease-out infinite;
  pointer-events: none;
}

/* Animations */
@keyframes fadeInZoom {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1);
  }
}

@keyframes taglinePulse {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7),
      0 0 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.3);
  }
  50% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8),
      0 0 25px rgba(255, 255, 255, 0.6), 0 0 35px rgba(255, 255, 255, 0.4);
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInBottom {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-in-left {
  animation: slideInLeft 1s ease-out;
}

.slide-in-right {
  animation: slideInRight 1s ease-out;
}

.slide-in-bottom {
  animation: slideInBottom 1s ease-out;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(
    135deg,
    rgba(0, 56, 168, 0.8) 0%,
    rgba(75, 0, 130, 0.8) 100%
  );
  margin: 10% auto;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 500px;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
  position: relative;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.modal p {
  margin-bottom: 1.5rem;
}

.modal form {
  display: flex;
  flex-direction: column;
}

.modal input,
.modal textarea {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.modal button[type="submit"] {
  background-color: #00baff;
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal button[type="submit"]:hover {
  background-color: #0094cc;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.social-icon {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .background-overlay {
    opacity: 0.75;
  }

  .background-overlay::after {
    background: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.35),
      rgba(0, 36, 108, 0.55)
    );
  }

  .content {
    padding: 1rem;
  }

  .logo {
    width: 120px;
    height: auto;
  }

  .nav-item {
    font-size: 1rem;
  }

  .center-logo {
    width: 40vmin;
  }

  .tagline {
    font-size: 2rem;
  }

  .cta-button {
    bottom: 1rem;
    right: 1rem;
  }

  .credits {
    bottom: 0.5rem;
    left: 0.5rem;
    font-size: 0.7rem;
  }

  .modal-content {
    margin: 20% auto;
    padding: 1.5rem;
  }

  .circular-nav-container {
    width: 95vmin;
    height: 95vmin;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .background-overlay {
    opacity: 0.8;
  }

  .background-overlay::after {
    background: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.35),
      rgba(0, 36, 108, 0.55)
    );
  }

  .content {
    padding: 1.5rem;
  }

  .logo {
    width: 130px;
  }

  .nav-item {
    font-size: 1.25rem;
  }

  .center-logo {
    width: 45vmin;
  }

  .tagline {
    font-size: 2.5rem;
  }

  .circular-nav-container {
    width: 92vmin;
    height: 92vmin;
  }

  .modal-content {
    margin: 15% auto;
    padding: 2rem;
    max-width: 90%;
  }

  .credits {
    bottom: 0.75rem;
    left: 0.75rem;
    font-size: 0.85rem;
  }
}

@media (min-width: 1025px) and (max-width: 1366px) {
  .background-overlay {
    opacity: 0.85;
  }

  .background-overlay::after {
    background: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.35),
      rgba(0, 36, 108, 0.55)
    );
  }

  .content {
    padding: 2rem;
  }

  .logo {
    width: 140px;
  }

  .nav-item {
    font-size: 1.4rem;
  }

  .center-logo {
    width: 48vmin;
  }

  .tagline {
    font-size: 3rem;
  }

  .circular-nav-container {
    width: 90vmin;
    height: 90vmin;
  }

  .modal-content {
    margin: 12% auto;
    max-width: 80%;
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  .circular-nav-container {
    width: 85vh;
    height: 85vh;
  }

  .center-logo {
    width: 35vh;
  }

  .tagline {
    font-size: 2rem;
    margin-top: 0.5rem;
  }

  .nav-item {
    font-size: 1rem;
  }

  .modal-content {
    margin: 5% auto;
    padding: 1.5rem;
  }
}

@media (max-width: 380px) {
  .logo {
    width: 100px;
  }

  .tagline {
    font-size: 1.75rem;
  }

  .nav-item {
    font-size: 0.9rem;
  }

  .center-logo {
    width: 38vmin;
  }

  .credits {
    font-size: 0.65rem;
  }

  .modal-content {
    margin: 25% auto;
    padding: 1.25rem;
  }
}
