/* Global */
body {
  font-family: 'Poppins', sans-serif;
  margin:0;
  padding:0;
  color:#949494;
  background: url('https://images.unsplash.com/photo-1446776811953-b23d57bd21aa?auto=format&fit=crop&w=1350&q=80') no-repeat center center fixed;
  background-size: cover;
  transition: all 0.3s ease;
}

/* Glassmorphic sections */
.glass {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.glass:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

/* Skills badges */
.skills .badge {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  margin: 0.25rem;
  transition: transform 0.3s;
}
.skills .badge:hover { transform: scale(1.1); }

/* Contact Form */
.contact-form input, .contact-form textarea, .contact-form button {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border:1px solid rgba(255,255,255,0.2);
  color:#a99191;
}
.contact-form button:hover { background: rgba(255,255,255,0.2); }

/* Footer */
.footer-custom { background: rgba(0,0,0,0.7); color:#b3b1b1; }

/* Carousel captions */
.carousel-caption { background: rgba(0,0,0,0.35); border-radius: 15px; padding:1.5rem; }

/* Dark Mode */
body.dark {
  color: #aeadad;
  background: url('https://images.unsplash.com/photo-1446776811953-b23d57bd21aa?auto=format&fit=crop&w=1350&q=80') no-repeat center center fixed;
  background-size: cover;
}

/* Navbar + Footer in Dark Mode */
body.dark .navbar, body.dark footer { background: rgba(0,0,0,0.7) !important; }
body.dark .btn-primary { background-color: #ff6fff; border:none; }
body.dark .btn-outline-light { color:#c7c6c6; border-color:#fff; }

/* Floating Stars */
#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.star {
  position: absolute;
  border-radius: 50%;
  width: 2px;
  height: 2px;
  opacity: 0.8;
  animation: floatStars linear infinite;
}

body:not(.dark) .star {
  background-color: #024cac; /* Yellow stars in light mode */
}

body.dark .star {
  background-color: #0895b5; /* Pinkish stars in dark mode */
}

/* Floating animation */
@keyframes floatStars {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px) translateX(100px);
    opacity: 0;
  }
}
