/* Main CSS file */
canvas#three-bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

body {
  background-color: #010a14;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

h1, h2, h3, h4, h5, h6 {
  color: #ede7d6;
}

p, a, span, input, textarea, button {
  color: #c39e5c;
}

a:hover {
  color: #ede7d6;
}

section {
  min-height: 100vh;
  padding-top: 120px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(1, 10, 20, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Anchor offset for navigation */
.anchor-offset {
  scroll-margin-top: 180px;
}

/* Image placeholder with shimmer effect */
.img-placeholder {
  background: linear-gradient(45deg, #1a237e, #3949ab);
  position: relative;
  overflow: hidden;
  border-radius: 0.375rem;
}

.img-placeholder::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

/* Fade-in animation */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}
