/* ========== Base Styles ========== */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

/* ====== Color Palette ============== */
:root {
  /* Brand Colors */
  --color-primary: #0A1A2F;
  --color-secondary: #2D8CA3;
  --color-accent: #E0A526;

  /* Neutrals */
  --color-neutral-light: #F3F4F6;
  --color-neutral-dark: #1E1E1E;

  /* Status Colors (optional) */
  --color-success: #2E9E56;
  --color-danger: #C7323B;

  /* Typography */
  --text-color: var(--color-neutral-dark);
  --heading-color: var(--color-primary);
}

body {
  font-family: 'Georgia', serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  padding-top: 100px;
  background: var(--color-neutral-light);
}



/* ========== Header Styles ========== */
.site-header {
  position: relative;
  background-color: #000;
}

.fixed-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.banner {
  position: relative;
  width: 100%;
  height: 100px;
  background-color: #000;
  display: flex;
  justify-content: center;
}

.emphasis {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-accent);
  text-align: center;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 1.5rem 0 1rem;
  color: var(--heading-color);
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p {
  margin: 1rem 0;
  font-size: 1.05rem;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.callout-soft {
  background: rgba(53, 28, 117, 0.06);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid #351c75;
  border-radius: 8px;
  margin: 2rem 0;
}

.callout-strong {
  background: #351c75;
  color: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  margin: 2rem 0;
  text-align: center;
  font-weight: 600;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #351c75;
}

/* ======== Image Styles ==============*/
.banner img {
  width: 100%;
  object-fit: cover;
}

.float-left {
  float: left;
  margin: 0 15px 10px 0; /* right & bottom spacing */
  width: 200px; /* optional */
  border-radius: 8px; /* optional */
}

.float-right {
  float: right;
  margin: 0 0 10px 15px;
  width: 200px;
  border-radius: 8px;
}

.circle-image {
    float:right; 
    margin:0 0 1rem 1rem; 
    width:200px; 
    height:auto; 
    border-radius:50%;
}

.image-text {
/*  display: flex; */
  align-items: flex-start;
  gap: 15px;
}

.image-text img {
  width: 200px;
  border-radius: 8px;
}

/* ========== Navbar ========== */
.navbar.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
}

.nav-links {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0.9rem 0 0;
  background: #000;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
}

.nav-links a:hover {
  color: #beebff;
}

/* ========== Mobile Menu ========== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
  }

  .nav-links.show {
    display: flex;
  }
}

/* Image and text layout */
.media-text {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap; /* allows stacking on small screens */
  margin: 2rem 0;
}

.media-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.media-image {
  flex: 0 0 330px; /* image stays around its original size */
}

.media-content {
  flex: 1;
  min-width: 280px; /* ensures text doesn’t get too cramped */
}

/* Responsive tweak — stack on narrow screens */
@media (max-width: 768px) {
  .media-text {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .media-image {
    flex: none;
    margin-bottom: 1.5rem;
  }

  .media-content {
    text-align: left;
  }
}

/* Flip image/text layout */
    .media-text.reverse {
      flex-direction: row-reverse;
    }

/* Lists */
ul {
  list-style-type: none; /* Removes bullets */
  padding-left: 0; /* Removes default indentation */
  text-align: center; /* Centers the list items within the ul */
}

li {
  margin: 0 10px; /* Adds space between items */
}

/* About Instructor */
.abinstruc {
    text-align: center;
}

.gallery {
  max-width: 1200px;
  margin: 4rem auto;
  text-align: center;
}

.gallery h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary); /* system color */
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.gallery-card {
  background: #fff;
  padding: 1rem;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.gallery-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.gallery-card h3 {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 600;
}

.gallery-card a {
  text-decoration: none;
  color: inherit; /* keeps your existing h3 color */
}

.gallery-card a:hover {
  text-decoration: none;     /* still no underline on hover */
  color: var(--color-primary-dark, #3a1a7f); /* optional subtle hover effect */
}

/* ================================
   Featured Book - Card Style
   ================================ */
.featured-book-card {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 1rem;
}

.featured-book-card-inner {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  border-left: 6px solid var(--accent);
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.featured-book-card-inner img {
  width: auto;           /* keeps natural width */
    max-width: 200px;      /* adjust as needed */
    height: auto;          /* keeps aspect ratio */
    max-height: 300px;     /* adjust as needed */
    object-fit: contain;   /* ensures the whole image fits inside the box */
    display: block;
    margin: 0 auto; 
  border-radius: 10px;
}

.featured-book-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-book-info h2 {
  color: var(--accent);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-book-info p {
  margin: 1rem 0 1.5rem;
  line-height: 1.6;
}

@media (max-width: 850px) {
  .featured-book-card-inner {
    flex-direction: column;
    text-align: center;
  }

  .featured-book-card-inner img {
    margin: 0 auto;
    max-width: 240px;
  }
}

/* ===== Music Page Styles ===== */

/* Featured Track */
.featured-track {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 2rem;
    background: rgba(255,255,255,0.85);
    border-radius: 1rem;
    text-align: center;
}

.featured-track img {
    width: 200px;
    max-width: 80%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.featured-track h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #4e1f9f;
}

.featured-track p {
    font-size: 1rem;
}

/* Album Grid */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.album {
    background: #fff;
    padding: 0.5rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.album:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.album img {
    width: 100%;
    max-width: 160px;
    height: auto;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.album h3 {
    font-size: 1rem;
    margin: 0.25rem 0;
    color: #222;
}

.album p {
    font-size: 0.85rem;
    color: #555;
}

/* Mobile tweaks */
@media(max-width:768px) {
    .album-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

/* Button section */
.button {
  display: inline-block;
  background: var(--color-accent);
  color: #000;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  letter-spacing: 0.5px;
}

.button-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  background: var(--color-secondary);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.button-light {
  background: linear-gradient(135deg, #ffffff, #e9e4ff);
  color: #4e1f9f;
  box-shadow: 0 4px 10px rgba(78,31,159,0.25);
}

.button-light:hover {
  background: linear-gradient(135deg, #f8f6ff, #d9ccff);
  transform: translateY(-3px);
}

.button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.button {
  position: relative;
  overflow: hidden;
}

.button:hover::after {
  left: 125%;
}


/* =========================================
   Flexible-Column Section
   ========================================= */
.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.column {
  text-align: center;
  border-radius: 10px;
  padding: 1rem;
  font-size: 20px;
  background: #fff; /* optional: helps cards stand out */
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect */
.column:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Image styling */
.column img {
  width: 60%;              /* Increased from 15% so they scale nicely */
  max-width: 220px;        /* Prevent oversized images */
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.column img.book-cover-img {
    width: 100%;
    max-width: 440px;
    height: auto;
}

.column img.playlist {
    width:200px; 
    height:auto; 
    border-radius:50%;
}

/* Title styles */
.column h2 {
  color: #4e1f9f;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

/* Subtitle or description */
.column h3 {
  color: #222;
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

/* Unordered Lists */
.column ul {
  list-style-type: disc; /* Removes bullets */
  padding-left: 0; /* Removes default indentation */
  text-align: left; /* Centers the list items within the ul */
}

.column li {
  margin: 0 10px; /* Adds space between items */
}

@media (max-width: 768px) {
  .columns {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ========== Footer ========== */
footer {
  text-align: center;
  padding: 0.1rem;
  background: #000000;
  color: white;
}

.footer img {
  width: 60%;
  object-fit: scale-down;
}

.footer-social {
    width: 70px;
}
