/* =========================== 
   GLOBAL BASE STYLES
   =========================== */

html,
body {
  max-width: 100%;
  overflow-x: hidden;           /* stop horizontal scroll on all pages */
}

body {
  background: #1e1e1e;          /* charcoal background */
  color: #f5e9d7;
  font-family: system-ui, sans-serif;
  margin: 0;
}

/* ===========================
   GLOBAL LINK COLORS (ADDED)
   =========================== */

a {
  color: #6fd3ff;          /* readable light blue */
  text-decoration: underline;
}

a:visited {
  color: #6fd3ff;          /* same blue even after visiting */
}

a:hover {
  color: #9ae6ff;          /* brighter on hover */
}

a:active {
  color: #6fd3ff;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */

.site-header {
  background: #252525;
  border-bottom: 1px solid #3a3a3a;
  padding: 1rem;
  text-align: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.tagline {
  margin-top: 0.3rem;
  font-size: 0.95rem;
  color: #d9c5b6;
}

.main-nav {
  margin-top: 0.7rem;
}

.main-nav a {
  display: inline-block;
  margin: 0 0.4rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.9rem;
  color: #ffd39a;
  text-decoration: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.15);
  font-weight: bold;
}

.main-nav a:hover {
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

/* ===========================
   BANNER (YOUTUBE-STYLE)
   =========================== */

.banner-wrapper {
  max-width: 1100px;
  margin: 0.75rem auto 0;
  padding: 0 1rem;
}

.site-banner {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ===========================
   SECTIONS / CARDS
   =========================== */

.section {
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  padding: 1.5rem;
  border-radius: 12px;
  margin: 1.5rem auto;
  max-width: 900px;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.contact-section a {
  color: #ffd39a;
  text-decoration: none;
}

.contact-section a:hover {
  text-decoration: underline;
}

/* ===========================
   VIDEO BLOCKS
   =========================== */

.video-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.video-block {
  flex: 1 1 320px;
  max-width: 600px;
  margin: 10px auto 1.5rem;
  overflow: hidden;
}

.video-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

video,
.video-small,
.lesson-video {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}

.video-small {
  max-height: 360px;
}

.lesson-video {
  max-height: 480px;
}

/* ===========================
   BOOKING BUTTON
   =========================== */

.booking-section {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.book-button {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  background: #8b5a2b;
  color: #f5e9d7;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
}

.book-button:hover {
  background: #a86830;
}

.lessons-link-section {
  border-top: 1px solid #5c4640;
  margin-top: 1rem;
  padding-top: 1.5rem;
}

/* ===========================
   CALENDAR
   =========================== */

.calendar-wrapper {
  width: 100%;
  overflow-x: auto;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
  min-width: 900px;
}

.calendar-table th,
.calendar-table td {
  border: 1px solid #7d6254;
  padding: 0.5rem;
  text-align: center;
}

.calendar-table th {
  background: #2e2323;
}

.calendar-table td.available {
  background-color: #2f7d32;
  color: #ffffff;
}

.calendar-table td.unavailable {
  background-color: #555555;
  color: #ffffff;
}

.calendar-table td.booked {
  background-color: #c75b2a;
  color: #ffffff;
}

.legend-box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: inline-block;
  margin-right: 0.3rem;
}

.legend-box.available {
  background-color: #2f7d32;
}

.legend-box.unavailable {
  background-color: #555555;
}

.legend-box.booked {
  background-color: #c75b2a;
}

.calendar-legend {
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.calendar-email a {
  color: #ffd39a;
  text-decoration: none;
}

.calendar-email a:hover {
  text-decoration: underline;
}

/* ===========================
   LESSON CARDS
   =========================== */

.lessons-section {
  max-width: 800px;
  margin: 0 auto;
}

.lesson-card {
  background: #4a3a3a;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  border: 1px solid #7d6254;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.lesson-button {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: #8b5a2b;
  color: #f5e9d7;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
}

.lesson-button:hover {
  background: #a86830;
}

.back-links {
  margin-top: 2rem;
  font-size: 0.9rem;
}

.back-links a {
  color: #ffd39a;
  text-decoration: none;
}

.back-links a:hover {
  text-decoration: underline;
}

.lesson-index-list {
  list-style: none;
  padding-left: 0;
}

.lesson-index-list li {
  margin: 6px 0;
}

.lesson-index-list a {
  text-decoration: none;
  color: #f4f4f4;
}

.lesson-index-list a:hover {
  text-decoration: underline;
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
  background: #2e2323;
  padding: 1.5rem 1rem;
  border-top: 1px solid #5c4640;
  text-align: center;
  margin-top: 2rem;
}

.footer-links {
  margin-bottom: 0.8rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffd39a;
  text-decoration: none;
  margin: 0 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.footer-icon {
  width: 18px;
  height: 18px;
  fill: #ffd39a;
}

.footer-copy {
  color: #d6c6b8;
  font-size: 0.8rem;
  margin-top: 0.8rem;
}

.bottom-nav {
  background: #2e2323;
  padding: 1rem;
  text-align: center;
  border-top: 1px solid #5c4640;
  margin-top: 2rem;
}

.bottom-nav a {
  color: #ffd39a;
  text-decoration: none;
  margin: 0 0.8rem;
  font-weight: 600;
}

.bottom-nav a:hover {
  text-decoration: underline;
}

/* ===========================
   BACK TO TOP BUTTON
   =========================== */

.back-to-top-floating {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  background: #8b5a2b;
  color: #f5e9d7;
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.back-to-top-floating:hover {
  background: #a86830;
}

/* ===========================
   NOTICE BANNER / PRICING BOX
   =========================== */

.notice-banner {
  background-color: #333333;
  color: #f5f5f5;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 15px 0;
  border-left: 4px solid #ffcc66;
  font-weight: 600;
  line-height: 1.4;
}

.price-box {
  background: #222222;
  border: 1px solid #444444;
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
}

.price-box h3 {
  margin-top: 0;
  color: #f0f0f0;
}

.price-box ul {
  list-style: none;
  padding-left: 0;
}

.price-box li {
  margin: 6px 0;
  color: #dddddd;
}

/* ===========================
   LESSON IMAGES + LIGHTBOX
   =========================== */

.lesson-image {
  display: block;
  max-width: 500px;
  width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 6px;
  cursor: zoom-in;
  transition: 0.2s;
}

.image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.image-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px #000;
  cursor: zoom-out;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===========================
   MOBILE
   =========================== */

@media (max-width: 600px) {
  .video-block,
  .lesson-video {
    padding: 0;
    margin: 10px auto;
  }
}

/* ===========================
   CHORD DIAGRAM ROW (OLD)
   =========================== */

.chord-diagrams {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 0;
  margin-bottom: 16px;
}

.lesson-section h3 {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.lesson-section h3 + .chord-diagrams {
  margin-top: -4px;
}

/* ===========================
   RESPONSIVE VIDEO WRAPPER
   =========================== */

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding-top: 56.25%; /* 16:9 */
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

/* ===========================
   BREADCRUMBS
   =========================== */

.breadcrumbs {
  font-size: 0.95rem;
  margin: 10px 0 16px;
  color: #cccccc;
}

.breadcrumbs a {
  color: #ffd39a;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.breadcrumbs .current {
  color: #ffffff;
  font-weight: bold;
}

/* ===========================
   FAST-WIN LINKS
   =========================== */

.fast-win a {
  color: #6fd3ff;
  font-weight: 800;
  text-decoration: underline;
}

.fast-win a:hover {
  color: #9ae6ff;
}
