/* Custom CSS for BandEI Website */
/* Unified Color Scheme Variables */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #34495e;
  --accent-color: #3498db;
  --light-accent: #5dade2;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --border-color: #e9ecef;
  --shadow-light: rgba(44, 62, 80, 0.1);
  --shadow-medium: rgba(44, 62, 80, 0.15);
  --shadow-dark: rgba(44, 62, 80, 0.2);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Progress bar */
.progress-container {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 4px;
  background: transparent;
}

.progress-bar {
  height: 4px;
  background: var(--accent-color);
  width: 0%;
  transition: width 0.3s ease;
}

/* Hero section enhancements */
.hero {
  background: var(--background-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero img {
  border-radius: 15px;
  box-shadow: 0 20px 40px var(--shadow-light);
  transition: all 0.3s ease;
}

.hero img:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px var(--shadow-medium);
}

.publication-title {
  color: var(--primary-color);
  text-shadow: 0 2px 4px var(--shadow-light);
  animation: fadeInUp 1s ease;
}

/* Author and institution styling */
.publication-authors {
  animation: fadeInUp 1s ease 0.2s both;
}

.author-block a {
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.author-block a:hover {
  color: var(--accent-color);
  transform: translateY(-1px);
}

/* Button enhancements */
.publication-links .button {
  margin: 5px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-light);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.publication-links .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-medium);
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

/* Section styling */
.section {
  padding: 4rem 1.5rem;
}

.hero.is-small {
  padding: 3rem 0;
}

.hero.is-light {
  background: var(--background-light);
}

/* Video enhancements */
video {
  border-radius: 12px;
  box-shadow: 0 10px 30px var(--shadow-medium);
  transition: all 0.3s ease;
  width: 100%;
  height: auto;
}

video:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px var(--shadow-dark);
}

/* Arrow styling */
.fas.fa-arrow-right {
  animation: pulse 2s infinite;
  filter: drop-shadow(0 4px 8px var(--shadow-light));
  color: var(--text-light) !important;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Abstract section */
#abstract {
  background: var(--background-light);
  color: var(--text-dark);
  padding: 4rem 0;
}

#abstract .title {
  color: var(--text-dark) !important;
}

#abstract .content {
  background: var(--background-white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 30px var(--shadow-light);
  border: 1px solid var(--border-color);
}

/* Citation section */
#bibtex {
  background: var(--background-light);
  color: var(--text-dark);
  padding: 4rem 0;
}

#bibtex .title {
  color: var(--text-dark) !important;
}

#bibtex pre {
  background: var(--background-white) !important;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-light);
}

#bibtex code {
  color: var(--text-dark) !important;
}

#copy-bibtex-btn {
  background: var(--background-white) !important;
  color: var(--text-dark) !important;
  border: 1px solid var(--border-color) !important;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px var(--shadow-light);
}

#copy-bibtex-btn:hover {
  background: var(--accent-color) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--shadow-medium);
}

/* Subtitle enhancements */
.subtitle {
  font-weight: 600;
  color: var(--text-light);
  margin-top: 1rem;
}

/* Box shadows and cards */
.box {
  border-radius: 12px;
  box-shadow: 0 8px 30px var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  background: var(--background-white);
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-medium);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease;
}

/* Responsive design */
@media (max-width: 768px) {
  .publication-title {
    font-size: 2rem !important;
  }
  
  .columns.is-vcentered {
    align-items: stretch !important;
  }
  
  .fas.fa-arrow-right {
    font-size: 2rem !important;
    margin: 1rem 0;
  }
}

/* Footer styling */
.footer {
  background: var(--background-light);
  color: var(--text-dark);
}

.footer a {
  color: var(--accent-color);
}

.footer a:hover {
  color: var(--primary-color);
}

/* Loading animation for videos */
video {
  background: var(--background-light);
}

video[src] {
  background: none;
}

/* Improved typography */
body {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

.title {
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.subtitle {
  font-weight: 500;
  letter-spacing: -0.2px;
}
