/*
 * Yes 101 FM — UI Improvements
 * Brand red: #ce0300  |  Dark: #2c2d32  |  Font: Cabin (headings), Arimo (body)
 */

/* ─── CSS Custom Properties ─────────────────────────────────────────────── */
:root {
  --yes-red:        #ce0300;
  --yes-red-dark:   #a80200;
  --yes-dark:       #2c2d32;
  --yes-grey-bg:    #f5f5f5;
  --yes-ease:       0.25s ease;
  --yes-shadow:     0 4px 18px rgba(0,0,0,0.12);
  --yes-shadow-lg:  0 8px 32px rgba(0,0,0,0.18);
}

/* ─── LIVE Badge ─────────────────────────────────────────────────────────── */
.yes-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yes-red);
  color: #fff;
  font-size: 0.65em;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 8px 2px 6px;
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 6px;
  font-family: 'Cabin', sans-serif;
  text-transform: uppercase;
}
.yes-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: yes-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes yes-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ─── Now Playing display in navbar ────────────────────────────────────────*/
.jp-details .inside {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

/* ─── Slider: gradient overlay on every slide image ────────────────────── */
.slide .image-container {
  position: relative;
}
.slide .image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.60) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ─── Slider: pagination dots ───────────────────────────────────────────── */
.slideshow .pagination {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
  list-style: none;
  margin: 0;
  padding: 0;
}
.slideshow .pagination .item {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 2px solid rgba(255,255,255,0.8);
  cursor: pointer;
  transition: background var(--yes-ease), transform var(--yes-ease);
}
.slideshow .pagination .item:hover {
  background: rgba(255,255,255,0.75);
}
.slideshow .pagination .item.is-active {
  background: var(--yes-red);
  border-color: var(--yes-red);
  transform: scale(1.25);
}

/* ─── Slider: CTA button polish ─────────────────────────────────────────── */
.slideshow .btn {
  transition: background var(--yes-ease), transform var(--yes-ease),
              box-shadow var(--yes-ease);
}
.slideshow .btn:hover {
  background: var(--yes-red) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--yes-shadow);
}

/* ─── Section heading accent underline ──────────────────────────────────── */
.yes-section-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 18px;
}
.yes-section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--yes-red);
  border-radius: 2px;
}

/* ─── Quick-link cards: hover lift ──────────────────────────────────────── */
.bigicons-img {
  transition: transform var(--yes-ease), box-shadow var(--yes-ease),
              filter var(--yes-ease) !important;
  display: block;
  border-radius: 6px;
}
.bigicons-img:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: var(--yes-shadow-lg);
  filter: brightness(1.05);
}

/* ─── Quick-link section spacing ────────────────────────────────────────── */
.quick-links-section {
  padding: 18px 0 10px;
  background: #fff;
}

/* ─── Chart / Instagram section headings ────────────────────────────────── */
section.container.content-row h2 {
  padding-bottom: 10px;
  border-bottom: 3px solid var(--yes-red);
  margin-bottom: 18px;
}

/* ─── "See Full Chart" link ─────────────────────────────────────────────── */
.yes-chart-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.82em;
  color: var(--yes-red);
  font-family: 'Cabin', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--yes-ease);
}
.yes-chart-link:hover,
.yes-chart-link:focus {
  color: var(--yes-red-dark);
  text-decoration: underline;
}
.yes-chart-link i {
  font-size: 0.85em;
  margin-left: 3px;
}

/* ─── News section: date badge pill ─────────────────────────────────────── */
.blog-widget .post-date {
  display: inline-block;
  background: var(--yes-red);
  color: #fff !important;
  font-size: 0.75em;
  padding: 2px 10px;
  border-radius: 20px;
  margin-top: 6px;
  font-family: 'Cabin', sans-serif;
}
.blog-widget .post-date .icon {
  color: #fff !important;
  margin-right: 4px;
}

/* News "View All" button --------------------------------------------------- */
.yes-view-all {
  display: block;
  text-align: center;
  margin-top: 20px;
}
.yes-view-all a {
  display: inline-block;
  padding: 8px 28px;
  border: 2px solid var(--yes-red);
  color: var(--yes-red);
  font-family: 'Cabin', sans-serif;
  font-weight: 700;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  transition: background var(--yes-ease), color var(--yes-ease);
}
.yes-view-all a:hover {
  background: var(--yes-red);
  color: #fff;
  text-decoration: none;
}

/* ─── About/Info box: section heading ───────────────────────────────────── */
.info-box h3 {
  padding-bottom: 8px;
  border-bottom: 3px solid var(--yes-red);
  margin-bottom: 14px;
}

/* ─── WhatsApp CTA card ─────────────────────────────────────────────────── */
.yes-whatsapp-cta {
  background: linear-gradient(135deg, #25d366 0%, #128c4e 100%);
  border-radius: 10px;
  padding: 22px 20px;
  color: #fff;
  text-align: center;
  margin-top: 18px;
  box-shadow: var(--yes-shadow);
}
.yes-whatsapp-cta i {
  font-size: 2em;
  display: block;
  margin-bottom: 8px;
}
.yes-whatsapp-cta p {
  margin: 0 0 14px;
  font-size: 0.95em;
  line-height: 1.5;
  opacity: 0.95;
}
.yes-whatsapp-cta a {
  display: inline-block;
  background: #fff;
  color: #128c4e;
  font-weight: 700;
  font-family: 'Cabin', sans-serif;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 9px 22px;
  border-radius: 25px;
  transition: transform var(--yes-ease), box-shadow var(--yes-ease);
}
.yes-whatsapp-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-decoration: none;
  color: #128c4e;
}

/* ─── Find Us social bar: platform hover colours ────────────────────────── */
.find-us li a {
  transition: color var(--yes-ease), transform var(--yes-ease);
  display: inline-block;
}
.find-us li a:hover {
  transform: scale(1.2);
}
.find-us li:nth-child(1) a:hover .icon { color: #1877f2 !important; } /* Facebook  */
.find-us li:nth-child(2) a:hover .icon { color: #1da1f2 !important; } /* Twitter   */
.find-us li:nth-child(3) a:hover img   { filter: hue-rotate(270deg) saturate(2); }
.find-us li:nth-child(4) a:hover .icon { color: #ff0000 !important; } /* YouTube   */
.find-us li:nth-child(5) a:hover img   { filter: hue-rotate(200deg) saturate(1.8); } /* SoundCloud */
.find-us li:nth-child(6) a:hover img   { filter: hue-rotate(120deg) saturate(2); }  /* Play Store */
.find-us li:nth-child(7) a:hover img   { filter: grayscale(0) brightness(1.1); }    /* Apple      */

/* ─── Active nav link ───────────────────────────────────────────────────── */
.navbar-main-menu .item .btn-main.yes-active,
.navbar-main-menu .sf-menu > li > a.yes-active {
  color: var(--yes-red) !important;
}
.navbar-main-menu .item .btn-main.yes-active::before {
  width: 100% !important;
  background: var(--yes-red) !important;
}

/* ─── Section spacing: more breathing room between major blocks ─────────── */
.blog-widget.parallax {
  padding-top: 45px;
  padding-bottom: 45px;
}
section.container.content-row {
  padding-top: 10px;
  padding-bottom: 30px;
}
section.content .info-box .inside {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  height: 100%;
}

/* ─── Mixcloud iframe responsive wrapper ────────────────────────────────── */
.yes-mixcloud-wrap iframe {
  border-radius: 6px;
}

/* ─── Footer logo / footer link polish ──────────────────────────────────── */
footer .img-responsive {
  transition: opacity var(--yes-ease);
}
footer .img-responsive:hover {
  opacity: 0.8;
}
footer h4 {
  border-bottom: 2px solid rgba(255,255,255,0.08);
  padding-bottom: 8px;
}

/* ─── Back-to-top button polish ─────────────────────────────────────────── */
.back-to-top {
  transition: opacity var(--yes-ease), transform var(--yes-ease);
}
.back-to-top:hover {
  transform: translateY(-4px);
  opacity: 0.85;
}

/* ─── Responsive: mobile section spacing ────────────────────────────────── */
@media (max-width: 767px) {
  .quick-links-section .col-sm-12 {
    padding-left: 4px;
    padding-right: 4px;
  }
  section.container.content-row .row > div + div {
    margin-top: 28px;
  }
  .blog-widget.parallax {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  section.content .info-box .inside {
    margin-bottom: 18px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Gallery Page
   ═══════════════════════════════════════════════════════════════════════════ */

/* Page heading */
section.content > .container > h1 {
  font-family: 'Cabin', sans-serif;
  font-size: 2em;
  color: var(--yes-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--yes-red);
  display: inline-block;
  margin-bottom: 20px;
}

/* ── Filter bar: pill tabs, horizontal scroll on mobile ── */
.filters-by-category {
  padding-bottom: 8px;
  margin-bottom: 28px;
}
.filters-by-category ul {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 2px 0 !important;
  list-style: none;
  margin: 0 !important;
}
.filters-by-category li {
  display: flex !important;
  margin: 0 !important;
}
.filters-by-category li a {
  padding: 10px 20px !important;
  font-size: 0.82em !important;
  line-height: 1.3 !important;
  border-radius: 25px !important;
  white-space: nowrap;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}
.filters-by-category li a:hover {
  background: #e0e0e0 !important;
  color: var(--yes-dark) !important;
}
.filters-by-category li a.selected {
  background: var(--yes-red) !important;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(206,3,0,0.35) !important;
}
.filters-by-category li a.selected:before {
  display: none !important;
}

/* ── Gallery grid items ── */
.gallery .item {
  overflow: hidden;
  border-radius: 5px !important;
  border: 5px solid #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.09) !important;
  transition: box-shadow 0.25s ease;
}
.gallery .item:hover {
  box-shadow: 0 8px 26px rgba(0,0,0,0.2) !important;
}

/* Consistent 3:2 aspect ratio – inner link is the sizing wrapper */
.gallery .item > a.img-popup {
  display: block;
  position: relative;
  padding-top: 66.67%;
  overflow: hidden;
  background: #e8e8e8;
}
.gallery .item > a.img-popup > img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  float: none !important;
  transition: transform 0.4s ease;
}

/* Image zoom on hover (safe: applied to img, not the isotope-positioned item) */
.gallery .item:hover > a.img-popup > img {
  transform: scale(1.08);
}

/* Semi-transparent red overlay with expand symbol */
.gallery .item > a.img-popup::after {
  content: '\002B';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(206,3,0,0.55);
  color: #fff;
  font-size: 2.8em;
  font-weight: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
  pointer-events: none;
  line-height: 1;
  font-family: sans-serif;
}
.gallery .item:hover > a.img-popup::after {
  opacity: 1;
}

/* ── Responsive: gallery ── */
@media (max-width: 767px) {
  section.content > .container > h1 {
    font-size: 1.5em;
  }

  /* Horizontally-scrollable pill filter on small screens */
  .filters-by-category {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 10px;
  }
  .filters-by-category::-webkit-scrollbar { display: none; }
  .filters-by-category ul {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
  }
  .filters-by-category li a {
    padding: 9px 14px !important;
    font-size: 0.78em !important;
  }

  .gallery .item {
    border: 3px solid #fff !important;
  }
}

@media (max-width: 479px) {
  .filters-by-category li a {
    padding: 8px 12px !important;
    font-size: 0.75em !important;
  }
}

/* ── Tablet (768–991px): 4-column grid instead of 5 ── */
@media (min-width: 768px) and (max-width: 991px) {
  .gallery .item {
    width: 23% !important;
  }
}

/* ── Large desktop: slightly bigger gutters via padding ── */
@media (min-width: 1200px) {
  .gallery .item {
    border: 6px solid #fff !important;
  }
}
