/* ========== Base Styles ========== */
body {
  font-family: 'Georgia', serif;
  margin: 0;
  padding-top: 100px;
  background: #f2e6fb;
  background-image: url('/assets/images/websitebg.png');
  background-attachment: fixed;   /* makes it stay put */
  background-size: cover;         /* fills the viewport */
  background-position: center;
  background-repeat: no-repeat;
}
main {
  position: relative;
  z-index: 1;        /* ensures it sits above the background */
/*  background: rgba(255,255,255,0.85); /* optional translucent overlay */
/*  backdrop-filter: blur(4px);    /* subtle glass effect */
}

/* ========== 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: 75px;
  background-color: #000;
  display: flex;
  justify-content: center;
}

/* ======== Image Styles ==============*/
.banner img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.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;
}

.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.5rem 0;

}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
}

.nav-links a:hover {
  color: #b388ff;
}

/* ========== 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 */
}

/*     Floating Data Sections */
section {
  max-width: 1000px;
  margin: 4rem auto;         /* space between sections */
  padding: 2rem;
  background: rgba(255, 255, 255);
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
/*  backdrop-filter: blur(4px); /* subtle frosted effect */
}

/* Tight layout for stacked or connected sections */
section.tight {
  margin-bottom: 0;          /* removes bottom gap */
  border-radius: 0rem;
  box-shadow: unset;
}

#about {
    background: rgba(255,255,255,0.85);
    text-align: center;
}

/* Optional: tighten the next section if stacked */
section.tight + section {
  margin-top: -40px;             /* removes top gap between two tight sections */
  background: unset;
}

/* Optional: if footer comes right after */
section.tight + footer {
  margin-top: 0;
}

/* ==================================
    Wave Banner Section
    ================================= */
.wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.wave-content {
  position: relative;
  width: 100%;
  overflow: hidden; /* Prevent weird overflow on mobile */
}

/* Top wave flipped vertically */
.wave-top {
  top: 0;
}

/* Bottom wave sits below content */
.wave-bottom {
  bottom: 0;
}

.wave-box {
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.wave-box img {
  width: 60%;
  max-width: 150px; /* prevents giant images on large screens */
}

.wave-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 1rem 0;
}

.wave-column {
  text-align: center;
  border-radius: 10px;
  padding: 1rem;
  font-size: 20px;
  background: unset; /* 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;
}

/* 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;
}

/* Button section */
.button {
  display: inline-block;
  background: linear-gradient(135deg, #6c2dc7, #4e1f9f);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  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: linear-gradient(135deg, #7f40d4, #5c26b0);
}

.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;
}

@media (max-width: 768px) {
  .columns {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ========== Footer ========== */
.footer {
  text-align: center;
  padding: 0rem 2rem;
  background: #ffffff;
  color: black;
  margin: 0rem auto;
}

.footer img {
  width: 60%;
  object-fit: scale-down;
}
.footer-social {
    width: 70px;
}
