* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html,
body {
    width: 100vw;
    padding: 0;
    margin: 0;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    line-height:1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: justify;
    overflow-x: hidden;
    background: #111;
    color: white;

}


/* ------------------------------------------------------               NAV BAR ------------------*/


header{
    width: 100vw;
    border-bottom: 2px solid red;
    position: fixed;
    top: 0;
    z-index: 1000; /* Keeps it above other content */
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.navbar {
    display: flex;    
    justify-content: space-between;
    align-items: center;
    padding: 1.5px 2px;
    padding-right: 2.5%;
    padding-left: 2.5%;
    background-color: #1C1B1B;
    color: white;

}

.navbar a{
    color: white;
    font-size: 2em;

}

.navbar img{
    width: 1em;
}


.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1C1B1B;

}

#no-border{
    border-bottom: none; 
}

.nav-item {
    margin-left: 2em;    
}

/*----------------------------- menu links -----------------*/

.nav-item a{
    color: white;    
    font-weight: bold;
    text-decoration: none;
    font-size: .8em;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
}

.nav-item a:hover {
    color: red;
}


.nav-item img{
    display: block;
    margin: auto;
    width: 30%;
}

.nav-link{
    font-size: .8em;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    color: white;
}

.nav-link:hover{
    color: black;
}

.nav-logo {
    font-size: 2.1em;
    font-weight: 500;
    letter-spacing: 5px;
}

#red{
    color: red;
    font-size: .5em;
}

#red-heading{
    color: black;
    font-size: 1em;
}

#logo-text{
    font-size: .5em;
}

/* ------ G R I D  S E C T I O N S --------------------------------------------*/

.hero {
    min-height: 420px;
    background:
        linear-gradient(to right, rgba(0,0,0,0.65), rgba(0,0,0,0.2)),
        url("../images/misc/the-beat-single-reviews.jpg") center / cover no-repeat;
    display: grid;
    align-items: center;
}

.hero-content {
  max-width: 600px;
  padding: 40px;
  color: white;
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 12px;
}

.hero p {
    margin-bottom: 16px;
}

.button-style {
    background: #e02121;
    border: none;
    color: white;
    padding: 8px 18px;
    cursor: pointer;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: .75rem;
}

.button-style-2 {
    background: #e02121;
    border: none;
    color: white;
    padding: 8px 18px;
    cursor: pointer;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: .75rem;
    text-align: center;
}

.button-style a{
    background: #e02121;
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    margin-bottom: 10px;
    border-radius: 8px;
}

.hero a{
  color: white;
}

.button-style:hover{
    background: black;
}

.button-style-2:hover{
    background: black;
}

.hero-content a{
  color: white;
}

.hero .date {
    display: block;
    font-size: 0.75rem;
    opacity: 0.85;
}

.date {
    margin-top: 1rem;
}

/*--------------------------  CONTAINER  ------------------*/

.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.container h2 {
  margin-bottom: 20px;
}

/*----------------------------  GRID  -----------*/

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 5rem;
}

/*------------------------------- CARD -----------------------*/

.card{

background:#222;

border-radius:15px;

overflow:hidden;

transition:.3s;

box-shadow:0 10px 25px rgba(0,0,0,.25);

}

.card:hover{

transform:translateY(-8px);

box-shadow:0 20px 35px rgba(0,0,0,.4);

}

.content{

padding:20px;

}

.content h3{

margin-bottom:10px;

}

.artist{

color:#ff3d57;

margin-bottom:10px;

}

.date{

color:#bbb;

font-size:.9rem;

margin-bottom:15px;

}

.card-btn{

display:inline-block;

margin-top:15px;

background:#ff3d57;

padding:10px 20px;

border-radius:30px;

color:white;

transition:.3s;

}

.card-btn:hover{

background:white;

color:#111;

}

img{

width:100%;

display:block;

}



/*-----------------------------     footer -------------------------------*/

footer {
    display: flex;
    width: 100%;
    flex-direction: row;
    text-align: center;
    float: none;
    position:relative;
    top: auto;
    right:auto;
    padding: 2%;
    height: auto;
    line-height: auto;
    background: #1C1B1B;
    border-top: 5px solid red;
}

.footer-col{
    flex: 1;
    color: white;
}

.footer-col h2{
    font-size: 1em;
    justify-content: left;
    color: white;
}

.footer-col ul li{
    text-align: justify;
    color: white;
}

.footer-col a{
    color: white;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    float:none;
    padding: 2%;
}

footer h1{
    text-decoration: none;
    font-size: 2em;
    color: white;
}

#footer-text{
    font-size: .5em;
}

/* HERO */
.page-hero {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.page-hero p {
  color: #666;
  font-size: 1.1rem;
}

/* GRID */
.content-grid {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1rem 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* MAIN */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.playlist-card {
  background: #fff;
  padding: 2rem;
  border-left: 5px solid #e10600;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.playlist-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.playlist-card p {
  color: #555;
  margin-bottom: 1.2rem;
}

.yt-button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  background: #e10600;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

/* SIDEBAR */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-box {
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.sidebar-box h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.sidebar-box ul {
  list-style: none;
}

.sidebar-box li {
  margin-bottom: 0.8rem;
}

.sidebar-box a {
  text-decoration: none;
  color: #111;
  font-weight: 600;
}

.advert {
  text-align: center;
  border: 2px dashed #ccc;
  color: #999;
}


/*-----------------------------      mobile -------------------------------*/

@media only screen and (max-width: 480px) {

    html,
    body{
        height: 100%;
    }

    header{
        width: 100%;
    }

    #logoText{
        font-size: 1em;
    }

    #hidden{
        visibility: visible;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        width: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 1;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 2.5rem 0;
    }

    .navbar a{
        color: white;
        font-size: 1.5em;
    }

    .navbar img{
        width: 1.5em;
    }

    .navbar{
        font-size: .5em;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
        footer{
        flex-direction: column;
    }

    .grid{
        margin-bottom: 1rem;
    }

}

    /*-----------  hero section  ------*/

    @media (max-width: 900px) {

      .grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 600px) {
      .hero-content {
        padding: 24px;
      }

      .card {
        grid-template-rows: auto auto auto auto auto auto;
      }
    }

    @media (max-width: 420px) {
      .grid {
        grid-template-columns: 1fr;

}
      }

      .hero button,
      .card button,
      .load-more button {
        width: 100%;
      }


    }

    @media (max-width: 420px) {
  .card {
    padding: 12px;
  }

  .card p {
    font-size: 0.8rem;
  }

  .card h3 {
    font-size: 0.9rem;
  }

  .card h4 {
    font-size: 0.75rem;
  }
}

