/* Centralized custom styles extracted from Blade templates. */

/* Footer logo color */
.footer .footer-about .logo span {
  color: #FF0000 !important;
}

/* Card media helpers */
#courses .card-img-top {
  object-fit: cover;
  height: 200px;
}

#instruments .card-img-top {
  object-fit: cover;
  height: 180px;
}

.instrument-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instrument-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}

/* Cookie notice */
.cookie-notice {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(35, 18, 41, 0.96);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  max-width: 980px;
  margin: 0 auto;
}

.cookie-notice.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-notice.is-hidden {
  transform: translateY(16px);
  opacity: 0;
}

.cookie-notice-text {
  font-size: 0.92rem;
  line-height: 1.4;
  color: #FFF0F1;
}

.cookie-notice-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* Header action button overrides */
.header .header-action-link.custom-btn {
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header .header-action-link.custom-btn-primary {
  border-color: #FF0000;
}

.header .header-action-link.custom-btn-primary:hover,
.header .header-action-link.custom-btn-primary:focus-visible {
  background-color: #ffffff;
  color: #FF0000;
  border-color: #FF0000;
}

/* Global red button hover behavior */
.custom-btn-primary,
.btn-primary,
.navmenu .nav-action-link.custom-btn-primary,
#courses.lessons-hero .lessons-btn-primary,
#pricing-experience .pricing-action,
#pricing-experience .program-tab-btn.active,
.nav-pills .nav-link.custom-btn.active,
.nav-pills .show > .nav-link.custom-btn {
  border: 1px solid #FF0000;
}

.custom-btn-primary:hover,
.custom-btn-primary:focus-visible,
.btn-primary:hover,
.btn-primary:focus-visible,
.navmenu .nav-action-link.custom-btn-primary:hover,
.navmenu .nav-action-link.custom-btn-primary:focus-visible,
#courses.lessons-hero .lessons-btn-primary:hover,
#courses.lessons-hero .lessons-btn-primary:focus-visible,
#pricing-experience .pricing-action:hover,
#pricing-experience .pricing-action:focus-visible,
#pricing-experience .program-tab-btn.active:hover,
#pricing-experience .program-tab-btn.active:focus-visible,
.nav-pills .nav-link.custom-btn.active:hover,
.nav-pills .nav-link.custom-btn.active:focus-visible,
.nav-pills .show > .nav-link.custom-btn:hover,
.nav-pills .show > .nav-link.custom-btn:focus-visible {
  background-color: #ffffff;
  color: #FF0000;
  border-color: #FF0000;
}

@media (max-width: 767.98px) {
  .cookie-notice {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }

  .cookie-notice-actions {
    width: 100%;
  }

  .cookie-notice-actions .btn {
    flex: 1;
  }
}

/* Mobile header/menu overrides */
@media (max-width: 1199px) {
  .header .header-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-right: 48px;
  }

  .header .navmenu > ul {
    display: none;
  }

  .header > .container.position-relative {
    border-top: 1px solid rgba(255, 0, 0, 0.28);
  }

  .header .header-top .logo {
    position: static;
    left: auto;
    transform: none;
    margin: 0;
    text-align: left;
  }

  .header .header-top .mobile-nav-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }

  .mobile-nav-active .navmenu {
    background: rgba(255, 255, 255, 0.98);
  }

  body.mobile-nav-active .header #navmenu > ul {
    position: fixed;
    inset: 0;
    margin: 0;
    padding: calc(env(safe-area-inset-top, 0px) + 72px) 24px 28px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    overflow-y: auto;
    text-align: center;
  }

  .mobile-nav-active .navmenu li {
    width: min(420px, 100%);
  }

  .mobile-nav-active .mobile-nav-toggle {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 16px);
    right: 16px;
    color: #FF0000;
    z-index: 10000;
  }

  .mobile-nav-active .navmenu a,
  .mobile-nav-active .navmenu a:focus {
    padding: 12px 6px;
    font-size: 1.12rem;
    justify-content: center;
    width: 100%;
  }

  .mobile-nav-active .navmenu a i,
  .mobile-nav-active .navmenu a:focus i {
    width: auto;
    height: auto;
    margin-left: 8px;
    background: transparent;
  }
}

/* Shared hero spacing (home + lessons) */
#welcome.hero {
  min-height: auto !important;
  padding-top: 24px !important;
  padding-bottom: 32px !important;
}

#welcome.hero .row {
  height: auto;
}

.theme-eyebrow {
  color: var(--accent-color);
  font-weight: 700;
}

@media (max-width: 991.98px) {
  #welcome.hero {
    padding-top: 16px !important;
    padding-bottom: 24px !important;
  }
}

/* Shared modal polish */
.music-modal .modern-modal {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.music-modal .modal-header .modal-title {
  color: #FF0000;
}

.music-modal .modal-badge {
  background: #FFF0F1;
  color: #FF0000;
  font-weight: 600;
}

.music-modal .separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, #FF000022, transparent);
}

.music-modal .form-control,
.music-modal .form-select,
.music-modal textarea {
  border-radius: 12px;
}

.music-modal .form-control:focus,
.music-modal .form-select:focus,
.music-modal textarea:focus {
  border-color: #FF000033;
  box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0.15);
}

.music-modal .btn-primary {
  background-color: #FF0000;
  border-color: #FF0000;
}

.music-modal .btn-primary:hover,
.music-modal .btn-primary:focus {
  background-color: #ffffff;
  color: #FF0000;
  border-color: #FF0000;
}

/* Lessons hero */
#courses.lessons-hero {
  position: relative;
  overflow: hidden;
  color: #f8f8f8;
  background-color: #1A0000;
  background-image: var(--lessons-bg);
  background-size: cover;
  background-position: center;
}

#courses.lessons-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 0, 0, 0.45), transparent 55%),
    linear-gradient(90deg, rgba(8, 6, 8, 0.9) 0%, rgba(10, 8, 10, 0.6) 55%, rgba(8, 6, 8, 0.85) 100%);
}

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

#courses.lessons-hero .lessons-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

#courses.lessons-hero .lessons-title {
  font-size: clamp(2.6rem, 4.2vw + 1rem, 4.6rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #ffffff;
}

#courses.lessons-hero .lessons-title span {
  color: #FF0000;
  text-shadow: 0 0 18px rgba(255, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.2);
}

#courses.lessons-hero .lessons-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
}

#courses.lessons-hero .lessons-copy {
  color: rgba(255, 255, 255, 0.75);
  max-width: 34rem;
}

#courses.lessons-hero .lessons-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.5rem;
}

#courses.lessons-hero .lessons-item {
  background: transparent;
  border: 0;
  padding: 0.55rem 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, color 0.2s ease;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

#courses.lessons-hero .lessons-item:hover {
  color: #ffffff;
  transform: translateX(4px);
}

#courses.lessons-hero .lessons-item:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 4px;
}

#courses.lessons-hero .lessons-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #FF0000;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
  flex: 0 0 auto;
}

#courses.lessons-hero .lessons-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

#courses.lessons-hero .lessons-btn-primary {
  background-color: #FF0000;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  border: none;
}

#courses.lessons-hero .lessons-btn-primary:hover,
#courses.lessons-hero .lessons-btn-primary:focus {
  background-color: #ffffff;
  color: #FF0000;
  border-color: #FF0000;
}

#courses.lessons-hero .lessons-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  background: transparent;
}

#courses.lessons-hero .lessons-btn-ghost:hover,
#courses.lessons-hero .lessons-btn-ghost:focus {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

@media (max-width: 991.98px) {
  #courses.lessons-hero .lessons-list {
    grid-template-columns: 1fr;
  }

  #courses.lessons-hero .lessons-title {
    letter-spacing: 0.05em;
  }
}

/* Pricing page */
#pricing-experience .pricing-hero {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.30), rgba(255, 0, 0, 0.25)),
    url("../img/register-2.jpg") center center / cover no-repeat;
  min-height: 100%;
}

#pricing-experience .pricing-hero-mobile {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.82), rgba(255, 0, 0, 0.62)),
    url("../img/register-2.jpg") center center / cover no-repeat;
}

#pricing-experience .pricing-hero-copy {
  max-width: 540px;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

#pricing-experience .program-tab-card {
  border: 1px solid rgba(255, 0, 0, 0.12);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(20, 10, 30, 0.08);
}

#pricing-experience .program-tab-btn {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 0, 0, 0.16);
  border-radius: 12px;
  background: #fff;
  color: #FF0000;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.2s ease;
}

#pricing-experience .program-tab-btn:hover {
  border-color: rgba(255, 0, 0, 0.3);
  background: #FFF7F7;
}

#pricing-experience .program-tab-btn.active {
  background: #FF0000;
  border-color: #FF0000;
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 0, 0, 0.25);
}

#pricing-experience .program-tab-title {
  font-weight: 700;
  line-height: 1.2;
}

#pricing-experience .program-tab-subtitle {
  font-size: 0.82rem;
  color: #8A8A8A;
  line-height: 1.3;
}

#pricing-experience .program-tab-btn.active .program-tab-subtitle {
  color: #FFD9DA;
}

#pricing-experience .program-tab-btn.active:hover .program-tab-subtitle,
#pricing-experience .program-tab-btn.active:focus-visible .program-tab-subtitle {
  color: #FF585D;
}

#pricing-experience .program-detail-card {
  border: 1px solid rgba(255, 0, 0, 0.12);
  border-radius: 18px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 14px 30px rgba(20, 10, 30, 0.08);
}

#pricing-experience .pricing-badge {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 9px;
  border-radius: 999px;
  background: #FFE5E6;
  color: #FF585D;
  margin-bottom: 8px;
}

#pricing-experience .program-price-table thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7A7A7A;
  border-bottom-width: 1px;
  white-space: nowrap;
}

#pricing-experience .program-price-table tbody td {
  font-size: 0.92rem;
  vertical-align: top;
  min-width: 130px;
}

#pricing-experience .program-price-table tbody td:first-child {
  min-width: 170px;
}

#pricing-experience .pricing-action {
  border-radius: 12px;
  padding: 11px 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #FF0000;
  color: #fff;
  border: 1px solid #FF0000;
}

#pricing-experience .pricing-action:hover {
  background: #ffffff;
  color: #FF0000;
  border-color: #FF0000;
}

@media (max-width: 1199.98px) {
  #pricing-experience .program-price-table tbody td:first-child {
    min-width: 140px;
  }
}

@media (max-width: 991.98px) {
  #pricing-experience .row.min-vh-100 {
    min-height: auto !important;
  }
}

/* Policies page */
#policies .policy-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 700;
  flex-shrink: 0;
}

#policies .policy-block + .policy-block {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

/* Lesson request page */
.lesson-hero {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.30), rgba(255, 0, 0, 0.25)),
    url("../img/register-2.jpg") center center / cover no-repeat;
  min-height: 100%;
  position: relative;
}

.lesson-hero-copy {
  max-width: 520px;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.wizard-progress .progress {
  background: #FFE8E9;
}

.wizard-progress .progress-bar {
  background-color: #FF0000;
  transition: width 0.35s ease;
}

.wizard-dots button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 0;
  background: #FF0000;
  opacity: 0.4;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wizard-dots button.active,
.wizard-dots button:hover,
.wizard-dots button:focus-visible {
  opacity: 1;
  transform: scale(1.05);
}

/* Shared week selector */
.week-day-btn {
  border: 1px solid #FFD1D3;
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.35rem 0.5rem;
  text-align: left;
  width: 100%;
  min-height: 60px;
}

.week-day-btn.active {
  border-color: #FF0000;
  background: #FFF0F1;
}

.week-day-btn small {
  color: #6c757d;
}

.week-time-btn {
  border: 1px solid #FFD1D3;
  background: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.85rem;
  line-height: 1.2;
}

.week-time-btn.active {
  border-color: #FF0000;
  background: #FFF0F1;
  color: #FF0000;
  font-weight: 600;
}

/* Login page */
.login-hero {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.35), rgba(255, 0, 0, 0.25)),
    url("../img/login.jpg") center center / cover no-repeat;

  min-height: 100%;
  position: relative;
}

.login-hero-copy {
  max-width: 520px;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.login-hero-copy h2,
.login-hero-copy p {
  color: #fff;
}

/* 404 page */
.error-blob {
  width: min(360px, 80vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2) 45%, rgba(255, 0, 0, 0.08) 70%),
    linear-gradient(135deg, rgba(255, 0, 0, 0.15), rgba(255, 0, 0, 0.02));
  border: 1px solid rgba(255, 0, 0, 0.08);
  box-shadow: 0 24px 50px rgba(30, 12, 48, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.error-code {
  font-size: clamp(3.5rem, 6vw + 1rem, 6rem);
  font-weight: 800;
  color: #FF0000;
  line-height: 1;
  letter-spacing: 0.08em;
}

.error-subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(255, 0, 0, 0.6);
  font-weight: 600;
  margin-left: 0.35em;
}
