/* BB MC Custom Styles - Design Moderne */

:root {
  --primary-color: #ff6b35;
  --secondary-color: #1a1a2e;
  --accent-color: #ffd700;
  --text-light: #f8f9fa;
  --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --dark-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
}

/* Global Improvements */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.1rem; }

/* Buttons Global */
.btn-modern {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-modern::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;
}

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

.btn-primary-modern {
  background: linear-gradient(45deg, var(--primary-color), #ff8a65);
  color: white;
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  color: white;
  text-decoration: none;
}

.btn-secondary-modern {
  background: linear-gradient(45deg, var(--secondary-color), #2c2c54);
  color: white;
}

.btn-outline-modern {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline-modern:hover {
  background: var(--primary-color);
  color: white;
  text-decoration: none;
}

/* Cards */
.card-modern {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
  overflow: hidden;
}

.card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-modern .card-header {
  background: var(--gradient-bg);
  color: white;
  border: none;
  padding: 20px 30px;
  font-weight: 600;
}

.card-modern .card-body {
  padding: 30px;
}

/* Sections */
.section-modern {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: var(--dark-gradient);
  color: white;
}

.section-light {
  background: #f8f9fa;
}

.section-gradient {
  background: var(--gradient-bg);
  color: white;
}

/* Navigation Improvements */
.navbar-modern {
  background: rgba(26, 26, 46, 0.95) !important;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar-modern.scrolled {
  background: rgba(26, 26, 46, 0.98) !important;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.navbar-modern .nav-link {
  color: white !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-modern .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-modern .nav-link:hover::after,
.navbar-modern .nav-link.active::after {
  width: 100%;
}

.navbar-modern .nav-link:hover {
  color: var(--accent-color) !important;
}

/* Forms */
.form-modern {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-control-modern {
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 15px 20px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-control-modern:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
  background: white;
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

.animate-fade-left {
  animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-right {
  animation: fadeInRight 0.8s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Loading Spinner */
.spinner-modern {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Social Media Icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 10px;
  font-size: 1.2rem;
}

.social-icon:hover {
  transform: translateY(-3px);
  text-decoration: none;
  color: white;
}

.social-icon.youtube {
  background: #ff0000;
}

.social-icon.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.facebook {
  background: #1877f2;
}

.social-icon.spotify {
  background: #1db954;
}

.social-icon.tiktok {
  background: #000;
}

.social-icon.twitter {
  background: #1da1f2;
}

/* Music Player Styles */
.music-player {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 30px;
}

.music-player h4 {
  color: white;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.music-player iframe {
  border-radius: 15px;
  width: 100%;
  min-height: 400px;
}

/* Video Cards */
.video-card-modern {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.video-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.video-card-modern .video-thumbnail {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.video-card-modern .video-thumbnail iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-modern .video-info {
  padding: 25px;
}

.video-card-modern .video-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.video-card-modern .video-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Statistics */
.stat-card {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-color);
  display: block;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

/* Timeline */
.timeline-modern {
  position: relative;
  padding: 40px 0;
}

.timeline-modern::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
  transform: translateX(-50%);
}

.timeline-item-modern {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  position: relative;
}

.timeline-item-modern:nth-child(odd) {
  flex-direction: row;
}

.timeline-item-modern:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year-modern {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  min-width: 120px;
  text-align: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.timeline-content-modern {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin: 0 40px;
  flex: 1;
  max-width: 450px;
  transition: all 0.3s ease;
}

.timeline-content-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.timeline-content-modern h5 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.7rem; }
  
  .section-modern {
    padding: 60px 0;
  }
  
  .timeline-modern::before {
    left: 30px;
  }
  
  .timeline-item-modern {
    flex-direction: row !important;
    padding-left: 70px;
  }
  
  .timeline-year-modern {
    position: absolute;
    left: 0;
    min-width: 100px;
    font-size: 0.9rem;
    padding: 10px 15px;
  }
  
  .timeline-content-modern {
    margin: 0;
    max-width: none;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .btn-modern {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .card-modern .card-body {
    padding: 20px;
  }
  
  .form-modern {
    padding: 25px;
  }
  
  .music-player {
    padding: 20px;
  }
  
  .video-card-modern .video-info {
    padding: 20px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .card-modern {
    background: #2c2c54;
    color: white;
  }
  
  .form-control-modern {
    background: #3c3c6e;
    border-color: #4c4c7e;
    color: white;
  }
  
  .timeline-content-modern {
    background: #2c2c54;
    color: white;
  }
  
  .stat-card {
    background: #2c2c54;
    color: white;
  }
}

/* Print Styles */
@media print {
  .navbar-modern,
  .social-icon,
  .btn-modern {
    display: none !important;
  }
  
  .section-modern {
    padding: 20px 0;
  }
  * {
    color: black !important;
    background: white !important;
  }
}

/* ==============================
   RD Navbar Normalization (global)
   Ensures identical sizing across pages
   ============================== */
.rd-navbar,
.rd-navbar-main-outer,
.rd-navbar-main,
.rd-navbar-panel {
  min-height: 64px;
}

.rd-navbar .rd-navbar-panel {
  padding-top: 10px;
  padding-bottom: 10px;
}

.rd-navbar .rd-navbar-brand .brand img,
.rd-navbar .rd-navbar-brand img.logo-improved {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  object-fit: cover;
}

.rd-navbar .rd-navbar-nav > li > a.rd-nav-link {
  padding: 16px 18px !important;
  font-weight: 500;
}

.rd-navbar .socialite-list .socialite {
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
}

/* Sticky state visual parity */
.rd-navbar--is-stuck {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ==============================
   About Gallery Split Layout
   Large image + 6 thumbnails + next button
   ============================== */
.gallery-split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.gallery-split .gallery-large {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  aspect-ratio: 16/10;
}

.gallery-split .gallery-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-split .thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 12px;
}

.gallery-split .thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.gallery-split .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery-split .thumb:hover img {
  transform: scale(1.06);
}

.gallery-next {
  margin-top: 16px;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(45deg, var(--primary-color), #ff8a65);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.gallery-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255,107,53,.35);
}

@media (max-width: 992px) {
  .gallery-split {
    grid-template-columns: 1fr;
  }
  .gallery-next {
    width: 100%;
    text-align: center;
  }
}
