@charset "utf-8";
/* CSS Document */

/* ------------------------------
   1. GLOBAL / TYPOGRAPHY / LAYOUT
--------------------------------*/
body {
    font-size: 16px;
    line-height: 1.65;
    color: #333;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

p {
    margin-bottom: 1.4em;
	font-size: 1rem;
}

h1 {
	font-size: 2.4rem; 
}

h2 {
	font-size: 2rem; 
}

h3 {
	font-size: 1.6rem; 
}

.contentArea {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}



/* ============================
   GLOBAL REUSABLE BOX COMPONENT
   ============================ */

.box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Optional hover effect (matches class-box + venue-box) */
.box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


/* ------------------------------
   2. Buttons
--------------------------------*/

/* Base button */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

/* Red button */
.btn--primary {
    background: #c62839;
    color: #fff;
}
.btn--primary:hover {
    background: #a71f2f;
}

/* Black button */
.btn--black {
    background: #000;
    color: #fff;
}
.btn--black:hover {
    background: #333;
}

/* White button */
.btn--white {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}
.btn--white:hover {
    background: #f2f2f2;
}


/* ------------------------------
   2. HEADER (Centered Logo + Menu)
--------------------------------*/
.site-header {
    width: 100%;
    padding: 20px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.header-logo img {
    max-height: 90px;
    width: auto;
}

/* NAVIGATION */
.header-nav ul {
    display: flex;
    gap: 30px;
    padding: 0;
    margin: 0;
	list-style: none;
}

.header-nav a {
    text-decoration: none;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    transition: color 0.25s ease;
}

.header-nav a:hover {
    color: #e63946;
}

/* MOBILE MENU BUTTON */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* MOBILE BEHAVIOUR */
@media (max-width: 800px) {

    .nav-toggle {
        display: flex;
    }

    .header-nav {
        width: 100%;
        display: none;
    }

    .header-nav.open {
        display: block;
    }

    .header-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 18px;
        padding: 20px 0;
    }

    .header-inner {
        position: relative;
    }

    .nav-toggle {
        position: absolute;
        top: 10px;
        right: 20px;
    }

    .header-logo {
        margin: 0 auto;
    }
}

/* Toggle animation */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}



/* --------------------------------------------------
   HERO ROTATOR (FINAL VERSION WITH PSEUDO-ELEMENT ZOOM)
-------------------------------------------------- */

.hero-rotator {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: #fff;
  overflow: hidden;
}

/* Background image layer (handles zoom + prevents grey bands) */
.hero-rotator::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 6s ease-in-out;
  z-index: 0;
}

/* Soft zoom-in animation */
.hero-rotator.zooming::before {
  transform: scale(1.08);
}

/* Dark overlay for readability */
.hero-rotator__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.55)
  );
  z-index: 1;
  pointer-events: none;
}

/* Content container */
.hero-rotator__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Rotating main title */
.hero-rotator__title {
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 700;
  margin: 0;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-rotator__title--active {
  opacity: 1;
  transform: translateX(0);
}

/* Static tagline BELOW the title */
.hero-rotator__tagline {
  font-size: 1.25rem;
  opacity: 0.9;
  margin: 0;
  letter-spacing: 0.3px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-rotator {
    min-height: 60vh;
  }

  .hero-rotator__title {
    font-size: 2.2rem;
  }

  .hero-rotator__tagline {
    font-size: 1rem;
  }
}


/* ------------------------------
   3. INTRO SECTION
--------------------------------*/
.intro-section {
    margin-top: 40px;
    margin-bottom: 60px;
	text-align: center;
}


/* ------------------------------
   CLASS BOXES
--------------------------------*/
.class-box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 40px;
}

.class-box {
    background: #ffffff;
    padding: 30px 20px;
    text-align: center;
}

/* Hover effect */
.class-box:hover {
	border: 2px solid #e63946;
}

.class-box img {
    width: 100px;       /* display size */
    height: auto;
    margin-bottom: 0px;
	image-rendering: auto;
    opacity: 0.60; /* greyed-out look */
}

/* Heading: allow 1–2 lines, align text to bottom */
.class-box h3 {
    display: flex;
    align-items: flex-end;
    justify-content: center;
	margin-top: 0;
    margin-bottom: 10px;
}

/* Paragraph: align across boxes */
.class-box p {
    min-height: 70px;
    margin-bottom: 20px;
}

/* Button aligned at bottom */
.class-box a {
    margin-top: auto;
}

/* ------------------------------
   5. ALL CLASSES BUTTON
--------------------------------*/
.all-classes-wrapper {
    text-align: center;
    margin: 40px 0;
}

/* ------------------------------
   WEEKLY SCHEDULE SECTION
--------------------------------*/
.schedule-section {
    display: flex;
    justify-content: space-between;
    align-items: center; /* vertical middle alignment */
    gap: 40px;
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Make left column a proper vertical stack and prevent shrinking */
.schedule-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0; /* <-- stops heading + button wrapping */
}

.schedule-left h3 {
	margin-top: 0;
}


/* Mobile stacking + centering */
@media (max-width: 768px) {
    .schedule-section {
        flex-direction: column;
        text-align: center;
    }

    .schedule-left,
    .schedule-right {
        text-align: center;
        align-items: center;
    }

    .schedule-left a {
        margin-left: auto;
        margin-right: auto;
    }
	
	.schedule-left h3 {
	margin-top: auto;
}


}

/* ------------------------------
   6. NEXT SOCIAL SECTION
--------------------------------*/
.next-social-full {
    position: relative;
    width: 100%;
    min-height: 380px;
    background: url('/images/band/Band-on-stage1-1200.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 120%;
}

.next-social-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.35));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.next-social-content {
    text-align: center;
    color: #fff;
    max-width: 600px;
}

.next-social-content h2 {
    font-size: 2.4rem;
}

.next-social-content p {
    font-size: 1.2rem;
}

/* Fade-in animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease, transform 2s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile fix for grey bars */
@media (max-width: 600px) {
    .next-social-full {
        min-height: 450px;
        background-size: cover;
        background-position: center;
    }
}

/* ------------------------------
   7. EMAIL SIGNUP (BODY)
--------------------------------*/
.email-signup {
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.email-signup h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.email-signup p {
    margin-bottom: 25px;
    color: #555;
}

.email-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.subscribe-btn {
    padding: 10px 12px;
    border-radius: 6px;
    background: #000;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease;
}

.subscribe-btn:hover {
    background: #333;
}

/* Stack only when absolutely necessary */
@media (max-width: 420px) {
    .email-row {
        flex-direction: column;
        gap: 12px;
    }

    .email-input,
    .subscribe-btn {
        width: 100%;
    }
}

.bot-field {
    position: absolute;
    left: -5000px;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

/* ------------------------------
   Email Modal background
--------------------------------*/

.subscribe-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 9999;
}

.subscribe-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* Modal box */
.subscribe-modal-content {
  background: #fff;
  padding: 35px 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 360px;
  width: 90%;
  animation: popIn 0.35s ease;
}

@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* Success tick animation */
.success-tick {
  width: 80px;
  margin: 0 auto 15px auto;
}

.success-tick svg {
  width: 100%;
  height: 100%;
  stroke: #2ecc71;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tick-circle {
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  animation: drawCircle 0.6s ease forwards;
}

.tick-check {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: drawCheck 0.4s ease 0.6s forwards;
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

/* Close button */
.modal-close {
  margin-top: 18px;
  padding: 10px 22px;
  background: #d62828;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}



/* ------------------------------
   8. VENUE CARDS
--------------------------------*/
.venue-container {
    display: grid;
    gap: 30px;
    margin: 60px auto;
    max-width: 1100px;
    padding: 0 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.venue-box {
    padding: 20px;
    text-align: center;
}


.venue-photo,
.venue-map {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.venue-map {
    height: 200px;
    border: 0;
}

.venue-box h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.venue-box p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

/* ------------------------------
   9. BAND GALLERY
--------------------------------*/
.band-gallery {
    display: grid;
    gap: 15px;
    margin: 30px 0;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.band-gallery a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.band-gallery img {
    border-radius: 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.band-gallery img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}


/* ------------------------------
   10. MEET THE MUSOS
--------------------------------*/
#meet-the-musos .muso {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    margin-bottom: 2rem;
}

.muso__photo img {
    width: 100%;
    border-radius: 50%;
}

@media (max-width: 600px) {
    #meet-the-musos .muso {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .muso__photo {
        margin: 0 auto 1rem;
        max-width: 150px;
    }
}

/* ------------------------------
   11. TIMETABLE
--------------------------------*/
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 20px auto;
}

#Timetable {
    width: 100%;
    min-width: 650px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 8px;
    font-size: 16px;
}

#Timetable th {
    background: #e63946;
    color: #fff;
    font-weight: 600;
}

#Timetable th,
#Timetable td {
    padding: 14px 16px;
    white-space: nowrap;
    border-bottom: 1px solid #eee;
}

#Timetable tr:nth-child(even) {
    background: #fafafa;
}

#Timetable tr:hover {
    background: #f1f1f1;
}

#Timetable caption h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

/* ------------------------------
   12. FOOTER
--------------------------------*/
.site-footer {
    background: #111;
    color: #eee;
    padding: 60px 20px 30px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-col,
.footer-col-signup,
.footer-col-links,
.footer-col-logo {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.footer-social {
    display: inline-flex; /* prevents stretching */
    justify-content: flex-start;
    gap: 12px;
    width: auto;
    margin: 12px auto 0;
}

.footer-social img {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}

/* Signup column slightly wider */
.footer-col-signup {
    flex: 1.3 1 0;
}

/* Link list reset */
.footer-col-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col-links li {
    margin-bottom: 8px;
}

.footer-col-links a {
    color: #ccc;
    text-decoration: none;
}

.footer-col-links a:hover {
    color: #fff;
}

.footer-col-logo img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* FIX: Copyright alignment */
.footer-bottom {
    width: 100%;
    text-align: center !important;
    margin-top: 40px;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666; /* softer than body text */
    margin-top: 8px;
    max-width: 260px; /* keeps it tidy under the logo */
    text-align: center;
}

/* Responsive footer */
@media (max-width: 1100px) {
    .footer-col-logo img {
        max-width: 180px;
    }
}


@media (max-width: 900px) {
    .footer-inner {
        flex-wrap: wrap;
    }

    .footer-col,
    .footer-col-signup,
    .footer-col-links,
    .footer-col-logo {
        flex: 1 1 100%;
        text-align: center;
    }
	
	.footer-tagline {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 800px) {
    .footer-col-logo img {
        max-width: 150px;
    }
}
