/* ===== HOME PAGE 2025 ENHANCEMENTS ===== */
/* Visible, attractive improvements that work */

/* Subtle background to create depth */
body {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1510 100%);
}

/* Better spacing and visual hierarchy */
#projects,
#news_section,
#latest_videos,
#bandcamp_section,
#upcoming_concerts,
#contact_home {
  margin-bottom: 8rem;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(212,175,55,0.03) 100%);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Much more prominent section titles with underline */
.section-title {
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 3.5rem;
  color: #f4eed4;
  text-align: center;
  position: relative;
  padding-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  border-radius: 2px;
}

/* Cards with better depth and hover */
.project_box,
.news-grid article,
.video-item,
.concert-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project_box:hover,
.news-grid article:hover,
.video-item:hover,
.concert-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2),
              0 0 0 1px rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.4);
}

/* Much more visible CTAs */
.section-cta {
  text-align: center;
  margin-top: 4rem;
}

.btn-link {
  padding: 1.2rem 3rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(212,175,55,0.2));
  border: 2px solid var(--accent-color);
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-link:hover::before {
  left: 100%;
}

.btn-link:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.3));
  border-color: #f4eed4;
}

/* ===== EMPTY STATES - MORE ELEGANT ===== */
.empty-state {
  padding: 4rem 2rem;
  text-align: center;
  color: rgba(244, 238, 212, 0.5);
  font-size: 1.05rem;
  font-style: italic;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== SUBTLE PARALLAX DEPTH ===== */
/* Different sections move at slightly different speeds on scroll */
@media (prefers-reduced-motion: no-preference) {
  #projects {
    transform: translateZ(0);
    will-change: transform;
  }

  #news_section {
    transform: translateZ(0);
    will-change: transform;
  }
}

/* ===== MICRO-INTERACTIONS ===== */
/* Enhanced hover states for all interactive elements */
a, button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Removed overly dramatic separators */

/* ===== GRID IMPROVEMENTS ===== */
/* Better spacing and alignment for all grids */
.projects_grid,
.news-grid,
.video-grid,
.concerts-list {
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* ===== LOADING STATES ===== */
/* Skeleton screens for better perceived performance */
@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.4;
  }
}

/* ===== SCROLLBAR STYLING (subtle, premium) ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(212, 175, 55, 0.6) 0%,
    rgba(212, 175, 55, 0.3) 100%
  );
  border-radius: 5px;
  border: 2px solid rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(212, 175, 55, 0.8) 0%,
    rgba(212, 175, 55, 0.5) 100%
  );
}

/* ===== ENHANCED TYPOGRAPHY ===== */
/* Better readability and visual hierarchy */
p {
  line-height: 1.7;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ===== ACCESSIBILITY ===== */
/* Respect user preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  main section {
    animation: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .section-title::after {
    height: 4px;
  }

  a:focus-visible,
  button:focus-visible {
    outline-width: 3px;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* GPU acceleration for smooth animations */
main section,
.btn-link,
.project_box,
.news-grid article,
.video-item {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Cleanup will-change after animation */
@media (hover: hover) {
  .btn-link:not(:hover),
  .project_box:not(:hover),
  .news-grid article:not(:hover),
  .video-item:not(:hover) {
    will-change: auto;
  }
}
