/* ==========================================================
   VDIPL India — Music/Media Studio Theme
   Colors, fonts & sizes pull from CSS variables set in header.php,
   which are themselves driven by the admin Settings panel.
========================================================== */

body {
  font-family: var(--body-font);
  font-size: var(--para-size);
  color: var(--para-color);
  background: var(--theme-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .heading-font {
  font-family: var(--heading-font);
  color: var(--heading-color);
  font-weight: 700;
}

h2.section-title { font-size: calc(var(--heading-size) * 0.85); }

a { text-decoration: none; color: inherit; transition: .25s; }
a:hover { color: var(--theme-color); }

::selection { background: var(--theme-color); color: #0b0b0f; }

/* ---------- Top bar ---------- */
.topbar { background: #000; color: #aaa; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar a { color: #aaa; margin-right: 4px; }
.topbar a:hover { color: var(--theme-color); }
.social-top a { font-size: 15px; }

/* ---------- Navbar ---------- */
.main-nav {
  background: rgba(10,10,14,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 10px 0;
  transition: .3s;
}
.brand-text { font-family: var(--heading-font); font-weight: 800; font-size: 26px; color: #fff; letter-spacing: 1px; }
.logo-mobile { display: none; }
@media (max-width: 991px) {
  .logo-desktop { display: none; }
  .logo-mobile { display: inline-block; }
}
.main-nav .nav-link { color: #e7e7ea; font-weight: 500; padding: 8px 14px !important; position: relative; }
.main-nav .nav-link:hover, .main-nav .nav-link:focus { color: var(--theme-color); }
.main-nav .dropdown-menu { background: #121216; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; overflow: hidden; }
.main-nav .dropdown-item { color: #e7e7ea; padding: 10px 18px; }
.main-nav .dropdown-item:hover { background: var(--theme-color); color: #0b0b0f; }
.btn-theme { background: var(--theme-color); color: #0b0b0f !important; font-weight: 600; border: none; }
.btn-theme:hover { filter: brightness(1.1); color: #0b0b0f !important; }
.btn-outline-theme { border: 1px solid var(--theme-color); color: var(--theme-color); }
.btn-outline-theme:hover { background: var(--theme-color); color: #0b0b0f; }

/* ---------- Hero / Slider ---------- */
.hero-slide {
  height: 88vh;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-slide::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,15,.55) 0%, rgba(11,11,15,.85) 90%);
}
.hero-slide .container { position: relative; z-index: 2; }
.hero-slide h1 { font-size: var(--heading-size); text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.hero-slide p.lead { color: #d8d8de; max-width: 600px; }

/* animated equalizer bars decoration */
.equalizer { display: flex; align-items: flex-end; gap: 4px; height: 40px; margin-bottom: 18px; }
.equalizer span { display:block; width: 5px; background: var(--theme-color); border-radius: 3px; animation: eq 1.2s ease-in-out infinite; }
.equalizer span:nth-child(1){height: 10px; animation-delay: 0s;}
.equalizer span:nth-child(2){height: 26px; animation-delay: .15s;}
.equalizer span:nth-child(3){height: 38px; animation-delay: .3s;}
.equalizer span:nth-child(4){height: 20px; animation-delay: .45s;}
.equalizer span:nth-child(5){height: 32px; animation-delay: .6s;}
@keyframes eq { 0%,100% { transform: scaleY(.4);} 50% { transform: scaleY(1);} }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: #101014; }
.tag-pill {
  display:inline-block; padding: 6px 16px; border-radius: 30px;
  background: rgba(201,162,75,.12); color: var(--theme-color);
  font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 14px;
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: all .8s cubic-bezier(.2,.8,.2,1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ---------- Cards ---------- */
.service-card, .value-card {
  background: #16161c;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 32px 26px;
  height: 100%;
  transition: .35s;
  position: relative;
  overflow: hidden;
}
.service-card:hover, .value-card:hover {
  transform: translateY(-8px);
  border-color: var(--theme-color);
  box-shadow: 0 20px 40px rgba(201,162,75,.12);
}
.service-card .icon-wrap {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg, var(--theme-color), #7a5c1e);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #0b0b0f; margin-bottom: 18px;
}
.service-card img.svc-img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; margin-bottom: 16px; }

/* ---------- Stats ---------- */
.stat-box h3 { font-size: 46px; color: var(--theme-color); font-weight: 800; }
.stat-box p { color: #b7b7bd; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #16161c; border-radius: 16px; padding: 30px; border: 1px solid rgba(255,255,255,.06);
}
.testimonial-card .bi-star-fill, .testimonial-card .bi-star { color: var(--theme-color); }
.testimonial-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--theme-color); }

/* ---------- Clients ---------- */
.client-logo { filter: grayscale(1) brightness(1.6); opacity: .6; transition: .3s; max-height: 60px; object-fit: contain; }
.client-logo:hover { filter: none; opacity: 1; }

/* ---------- FAQ ---------- */
.accordion-item { background: #16161c; border: 1px solid rgba(255,255,255,.08); margin-bottom: 12px; border-radius: 12px !important; overflow: hidden; }
.accordion-button { background: #16161c; color: #fff; font-weight: 600; }
.accordion-button:not(.collapsed) { background: var(--theme-color); color: #0b0b0f; }
.accordion-button::after { filter: invert(1); }
.accordion-button:not(.collapsed)::after { filter: none; }

/* ---------- Gallery ---------- */
.gallery-item { border-radius: 14px; overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: .5s; }
.gallery-item:hover img { transform: scale(1.1); }
.video-thumb { position: relative; border-radius: 14px; overflow: hidden; cursor: pointer; }
.video-thumb .play-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 46px; color: #fff; background: rgba(0,0,0,.35);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); border-top: 1px solid rgba(255,255,255,.06); position: relative; }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: var(--theme-color); }
.footer-heading { color: #fff; font-weight: 700; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-divider { border-color: rgba(255,255,255,.08); }
.footer-wave { text-align: center; color: var(--theme-color); font-size: 22px; padding-top: 18px; opacity: .5; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: inline-flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--theme-color); border-color: var(--theme-color); color: #0b0b0f; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--theme-color); color: #0b0b0f; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: .3s; z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }

/* ---------- Page banner ---------- */
.page-banner {
  background: linear-gradient(180deg, rgba(11,11,15,.7), rgba(11,11,15,.95)), center/cover no-repeat;
  padding: 120px 0 60px; text-align: center;
}
.page-banner h1 { font-size: calc(var(--heading-size) * .8); }
.breadcrumb-custom a { color: var(--theme-color); }

/* ---------- Content editor output ---------- */
.wysiwyg-content img { max-width: 100%; height: auto; border-radius: 10px; }
.wysiwyg-content { line-height: 1.8; }

/* ---------- CTA ---------- */
.cta-block {
  background: linear-gradient(120deg, #16161c, #0b0b0f);
  border: 1px solid rgba(201,162,75,.25);
  border-radius: 24px; padding: 60px; position: relative; overflow: hidden;
}
.cta-block::after {
  content: "\f4a8"; font-family: "bootstrap-icons"; position: absolute; right: -20px; bottom: -30px;
  font-size: 180px; color: rgba(201,162,75,.06);
}
