/* Landing Page Styles */

/* Hero Section with Subtle Parallax */
.hero-section {
  position: relative;
  min-height: 40vh;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    min-height: 60vh;
  }
}
@media (min-width: 1024px) {
  .hero-section {
    min-height: 90vh;
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 125%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Subtle parallax effect */
  transform: translateY(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* .hero-content::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(64, 64, 64, 0.3) 0%,
    rgba(40, 40, 40, 0.2) 50%,
    rgba(28, 28, 28, 0.1) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
  animation: float 6s ease-in-out infinite;
} */

@keyframes float {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Parallax effect on scroll */
@media (prefers-reduced-motion: no-preference) {
  .hero-background {
    transform: translateY(var(--parallax-offset, 0));
  }
}

/* Fallback for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-background {
    transform: none;
  }
}

/* Overlay for better text readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Bottom fade effect for hero section */
/* .hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(28, 28, 28, 0.8) 50%,
    #1c1c1c 100%
  );
  z-index: 3;
  pointer-events: none;
} */

.post-card {
  background: rgba(28, 28, 28, 0.5);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}
