/* override default margins */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: 'Cinzel', serif;
  background-color: #0b0b0b;
  color: #f0d67b;
}


/* BACKGROUND */
.background {
  background-image: url(images/background.jpg);
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}


/* ====== HEADER STYLING ====== */


/* NAVBAR */
.navbar {
  display: flex;
  flex-direction: column;
  background-color: #0b0b0b;
  position: sticky;
  top: 0;
  margin-inline: 5%;
}

.top-navbar {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  margin-bottom: 2rem;
  margin-top: 2rem;
}


/* LOGO */
.logo {
  background: linear-gradient(145deg, #153b2a 0%, #f0d67b 50%, #153b2a 100%);
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 0 12px #153b2a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 15vh;
  width: auto;
}


/* TOP NAVBAR LINKS */
.nav-links ul {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #f0d67b;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: #153b2a;
  color: #fff;
  border-radius: 6px;
}

/* BOTTOM NAVBAR */

.sub-navbar ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  border-top: 2px solid #f0d67b;
  border-bottom: 2px solid #f0d67b;
  overflow: hidden;

}

.sub-navbar li {
  flex: 1;
}

.sub-navbar a {
  display: block;
  text-align: center;
  padding: 0.5rem 0;
  background-color: #0b0b0b;
  color: #f0d67b;
  text-decoration: none;
  font-weight: 600;
  border-left: 2px solid #f0d67b;
  border-right: 2px solid #f0d67b;
  transition: all 0.3s ease;
}

.sub-navbar a:hover {
  background-color: #153b2a;
  color: #fff;
}


/* ====== MAIN BODY SECTION ====== */
.main-content {
  margin-inline: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(images/content-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* HERO */
.hero {
  color: #f0d67b;
  font-size: 3rem;
  text-align: center;
}


/* STOREFRONT/HOURS TABLE */
.storefront-hours {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 2rem;
  max-width: 90%;
  margin: 0 auto;
}

.storefront-hours img {
  flex: 1 1 45%;
  max-width: 45%;
  height: auto;
}

.store-hours {
  display: flex;
  flex: 1 1 30%;

  flex-direction: column;
  justify-content: space-between;

  text-align: center;
  padding: clamp(1rem, 2vw, 3rem);
  background: #111;
  color: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);

}

.store-hours h2 {
  color: #f0d67b;
  font-family: 'Cinzel', serif;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.hours-table th, 
.hours-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #333;
}

.hours-table th {
  color: #f0d67b;
  font-weight: bold;
  text-transform: uppercase;
  border-bottom: 2px solid #f0d67b;
}

.hours-table tr:hover td {
  background: rgba(212, 175, 55, 0.1);
}


/* small screen/mobile view */
@media (max-width: 800px) {

  .navbar {
    position: relative; /* unpin header in mobile view */
  }

  .top-navbar {
    flex-direction: column;
    align-items: center;
  }

  /* increase logo padding to avoid button overlap when vertical */
  .logo {
    margin-bottom: 2rem;
  }


  /* orient top navbar links vertically in mobile view */
  .nav-links ul {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }


  /* orient bottom navbar buttons vertically in mobile view */
  .sub-navbar ul {
    flex-direction: column;
    border-top: none;
    border-bottom: none;
  }

  /* set bottom navbar button borders when in vertical mode */
  .sub-navbar a {
    border-left: none;
    border-right: none;
    border-top: 1px solid #f0d67b;
  }

  /* storefront image & hours table scaling */
  .storefront-hours {
    flex-direction: column;
    gap: 2rem;
  }

  .storefront-hours img {
    width: 80%;
  }

  .store-hours {
    width: 90%;
  }
}
