/* Additional styles for snake animations and new navigation */
.snake-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Navigation circle styles */
.nav-circle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-circle:hover {
  transform: scale(1.1);
}

.nav-circle.active {
  transform: scale(1.1) rotate(45deg);
}

.nav-circle .nav-icon {
  width: 24px;
  height: 24px;
  position: relative;
}

.nav-circle .nav-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: var(--royal-blue);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav-circle .nav-icon span:nth-child(1) {
  top: 6px;
}

.nav-circle .nav-icon span:nth-child(2) {
  top: 16px;
}

.nav-menu {
  position: fixed;
  bottom: 100px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-circle.active + .nav-menu {
  opacity: 1;
  visibility: visible;
}

.nav-item {
  margin-bottom: 15px;
  background-color: var(--white);
  color: var(--royal-blue);
  padding: 10px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  transform: translateX(50px);
  opacity: 0;
}

.nav-circle.active + .nav-menu .nav-item {
  transform: translateX(0);
  opacity: 1;
}

.nav-circle.active + .nav-menu .nav-item:nth-child(1) {
  transition-delay: 0.1s;
}

.nav-circle.active + .nav-menu .nav-item:nth-child(2) {
  transition-delay: 0.2s;
}

.nav-circle.active + .nav-menu .nav-item:nth-child(3) {
  transition-delay: 0.3s;
}

.nav-circle.active + .nav-menu .nav-item:nth-child(4) {
  transition-delay: 0.4s;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateX(-5px) scale(1.05);
}

/* Logo styles */
.logo {
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 100;
}

.logo h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--white);
}

.logo span {
  font-weight: 300;
}

/* Adjust header for new navigation */
header {
  padding: 2rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: flex-start;
}

header.scrolled {
  background-color: rgba(12, 15, 60, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hide original navigation */
nav {
  display: none;
}

/* Adjust main content for new header */
main {
  padding-top: 80px;
}

/* Enhanced section transitions */
.section-visible {
  animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Enhanced card transitions */
.card {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              background-color 0.4s ease,
              box-shadow 0.4s ease;
  background-color: rgba(255, 255, 255, 0.03);
}

.card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-15px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Enhance hero section */
.hero h2 {
  animation: slideDown 1.2s ease-out;
}

.hero p {
  animation: slideDown 1.2s ease-out 0.4s both;
}

.hero .cta-button {
  animation: fadeIn 1.2s ease-out 0.8s both;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
