/* =========================
   RESET
========================= */

/* color scheme */
:root{
  --turquoise: #4fdbe9;
  --brown: #643544;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body{
  font-family:"Comfortaa","Quicksand","Nunito",Arial,sans-serif;
  overflow-x:hidden;
  line-height:1.5;
}

/* smooth UI animations */

a,
button,
img{
  transition:transform .25s ease, opacity .25s ease, background .25s ease, color .25s ease;
}


/* =========================
    3 COLUMN PAGE LAYOUT
========================= */

.site{
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

.layout{
  display:flex;
  justify-content:center;
}

main{
  width:100%;
  max-width:1000px;
  background: var(--turquoise);
  border:20px solid var(--brown);
  padding:clamp(20px,3vw,40px);
}


/* =========================
   LOGO
========================= */

.logo{
  display:flex;
  justify-content:center;
  margin-bottom:clamp(20px,4vw,40px);
}

.logo img{
  width:min(400px,50%);
}


/* =========================
   GRID STRUCTURE
========================= */

.menu,
.content{
  display:grid;
  grid-template-columns:1.5fr 2fr;
  gap:clamp(10px,2vw,25px);
  align-items:start;
}


/* =========================
   TOP NAV
========================= */

.top-nav,
.pages-l-nav{
  display:flex;
  justify-content:center;
  gap:clamp(10px,2vw,25px);
  margin-bottom:clamp(20px,4vw,40px);
}

.top-nav a,
.pages-l-nav a{
  text-decoration:none;
  font-size:clamp(16px,2vw,20px);
  color:black;
  padding:8px 12px;
  border-radius:4px;
  transition:transform .25s ease, opacity .25s ease, background .25s ease, color .25s ease;
}

.top-nav a:hover,
.pages-l-nav a:hover{
  background:black;
  color: var(--turquoise);
}

.pages-l-nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:clamp(4px,1vw,12px);
  text-align:center;
}

.pages-l-nav a{
  padding:clamp(6px,1vw,10px);
  font-size:clamp(16px,2vw,18px);
}

/* =========================
   SUB NAV
========================= */

.sub-nav, 
.pages-r-nav{
  display:flex;
  justify-content:center;
  gap:clamp(8px,1.5vw,20px);
  margin-bottom:clamp(20px,4vw,40px);
}

.sub-nav a,
.pages-r-nav a{
  text-decoration:none;
  font-size:clamp(13px,1.5vw,14px);
  color:black;
  padding:8px 12px;
  border-top:2px solid black;
  border-bottom:2px solid black;
  transition:transform .25s ease, opacity .25s ease, background .25s ease, color .25s ease;
}

.sub-nav a:hover,
.pages-r-nav a:hover{
  background:black;
  color: var(--turquoise);
}

.pages-l-nav a.active,
.pages-r-nav a.active{
  background:black;
  color: var(--turquoise);
}

.pages-r-nav{
  display:flex;
  justify-content:flex-start;      /* left aligned on desktop */
  gap:clamp(6px,1.2vw,12px);
  margin:clamp(10px,1.5vw,15px) 0 clamp(30px,4vw,40px) 0;
}

.pages-r-nav a{
  font-size:clamp(13px,1.2vw,14px);
  padding:8px clamp(6px,1vw,10px);
}

/* =========================
   CONTENT
========================= */

.content-left,
.content-right{
  min-width:0;
}

.content-left{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.content-right{
  text-align:left;
}

.content-right h1{
  font-size:clamp(28px,4vw,40px);
  margin: 0 0 20px 0;
}

.content-right h2{
  font-size:clamp(18px,2vw,20px);
  margin:20px 0;
}

.content-right p{
  font-size:clamp(14px,1.5vw,16px);
  margin-bottom:10px;
}

.content-right a{
  color: var(--brown);
  text-decoration:none;
}

.content-right a:hover{
  text-decoration:underline;
}

/* =========================
   IMAGE
========================= */

.hero{
  display:flex;
  justify-content:center;
}

.hero img{
  width:100%;
  max-width:600px;
  border-radius:20px;
}


/* =========================
   SONG TABLE
========================= */

.songs-table{
  width:100%;
  border-collapse:collapse;
  margin-bottom:20px;
}

.songs-table td,
.songs-table th{
  padding:6px 10px;
  border-bottom:1px solid black;
}

.songs-table th{
  font-weight:normal;
}

.songs-table td:first-child,
.songs-table th:first-child{
  text-align:right;
}

.songs-table td:last-child,
.songs-table th:last-child{
  text-align:left;
}

.concert-list {
  margin: 0px 0px 20px 0px;
  list-style: none;
  padding: 0;
}


/* =========================
   MEDIA
========================= */

video,
audio,
img{
  max-width:100%;
}

video{
  width:100%;
  max-width:100%;
  height:auto;
  display:block;
}

.music-player{
  width:100%;
  max-width:500px;
  border:2px solid black;
  border-radius:10px;
  padding:15px;
  background:#ffffff30;
}

/* player title */
.music-player::before{
  content:"Audio Player";
  display:block;
  font-size:14px;
  font-weight:bold;
  margin-bottom:10px;
}

.playlist{
  list-style:none;
  padding:0;
  margin-bottom:15px;
}

.playlist li{
  padding:8px 10px;
  border-bottom:1px solid black;
  cursor:pointer;
}

.playlist li:hover{
  background:black;
  color:#4fdbe9;
}

.playlist li.active{
  background:black;
  color:#4fdbe9;
  font-weight:bold;
}

#main-player{
  width:100%;
}

/* =========================
   GALLERY
========================= */

.gallery-main img{
  width:100%;
  max-width:100%;
  height:auto;
  border-radius:10px;
  display:block;
  transition: opacity 0.35s ease;
  margin-bottom:clamp(10px,2vw,20px);
}

/* fade animation */

.gallery-main img.fade{
  opacity:0;
}

.gallery-thumbs-wrapper{
  display:flex;
  align-items:center;
  gap:10px;
}

.thumb-arrow{
  background: var(--turquoise);
  color: var(--brown);
  border:none;
  width:clamp(28px,3vw,34px);
  height:70px;
  font-size:18px;
  cursor:pointer;
}

.thumb-arrow:hover{
  background: var(--brown);
  color: var(--turquoise);
}

/* thumbnail strip */

.gallery-thumbs{
  display:flex;
  gap:10px;
  overflow:hidden;
  width:100%;
  max-width:440px;
}

/* thumbnails */

.gallery-thumbs img{
  width:100px;
  height:70px;
  object-fit:cover;
  border-radius:6px;
  cursor:pointer;
  opacity:.6;
}

.gallery-thumbs img:hover{
  transform:scale(1.08);
  opacity:1;
}

.gallery-thumbs img.active{
  opacity:1;
  outline:3px solid black;
}


/* =========================
   FOOTER
========================= */

footer{
  text-align:center;
  padding:20px;
}


/* =========================
   BURGER MENU
========================= */

.menu-toggle{
  display:none;
  font-size:28px;
  cursor:pointer;
  padding:10px;
  text-align:center;
}

.menu-toggle:hover{
  transform:scale(1.1);
}

/* =========================
   MOBILE
========================= */

@media(max-width:900px){

  main{
    border-width:15px;
  }

  .menu,
  .content{
    grid-template-columns:1fr;
  }

  .top-nav{
    flex-wrap:wrap;
  }

  .menu-toggle{
    display:block;
  }

  .pages-l-nav{
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
  }

  .sub-nav, 
  .pages-r-nav{
    display:none;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    max-width:300px;
    margin:auto auto 10px auto;
  }
	
  .pages-r-nav a,
  .sub-nav a{
    width:100%;
    text-align:center;
  }
	
  .sub-nav.open, 
  .pages-r-nav.open{
    display:flex;
  }
	
  .content-right h1{
    margin: 20px 0;
  }

  .gallery-thumbs{
    width:100%;
  }

}


/* =========================
   ACCESSIBILITY
========================= */

@media (prefers-reduced-motion: reduce){

  *{
    transition:none !important;
  }

}