/* Basic Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
img,
video {
  max-width: 100%;
  height: auto;
}
.blog {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Space between blog posts */
  justify-content: center; /* Center the blog posts */
  padding: 20px;  
}
@media (min-width: 768px) {
  .blog {
    flex-direction: row; /* Align to the left on larger screens */
  }
}
.article-card-img-wrapper{
  display: block;
  width: 300px;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.article-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the box without distortion */
  display: block;
}
.article-page {
  display: flex;
  flex-direction: column; 
  max-width: 800px;
  margin: auto;
}
.article-meta {
  margin-top: 10px;
  margin-left: 20px;
  font-size: 14px;
  color: #777;
}
.article-content {
  padding: 1.5rem;
  line-height: 1.5;
  margin-top: 20px; 
  font-size: 18px;
  text-align: justify;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  color: #333;
  
}
.article-content p {
  margin-bottom: 1rem; /* Space between paragraphs */
}
.article-btn {
  display: inline-block;
  margin-top: 20px;
  margin-left: 20px;
  margin-bottom: 30px;
  padding: 10px 20px;
  background-color: var(--brand-brown);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1.5;
}
:root {
  --brand-brown: hsl(19, 14%, 31%);
  --brand-tan: hsl(36, 25%, 69%);
  --brand-orange: hsl(30, 33%, 53%);
  --background-off-white: hsl(36, 100%, 98%);
}
body {
  background-color: var(--background-off-white);
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.center {
  margin: auto;
  text-align: center;
}
/* __________ Navbar Styles for Coffee Home Page and Coffee Serving Page __________ */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--background-off-white);
  padding: 10px 20px;
  color: var(--brand-brown);
  position: relative;
}
.nav-item.dropdown {
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 70px;
  margin-right: 10px;
}

.company-name {
  font-size: 1.2rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: #333;
  text-decoration: none;
  padding: 8px;
}



.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--brand-brown);
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  min-width: 160px;
  z-index: 1000;
  padding: 0.5rem 0;
  border-radius: 4px;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: flex;
  flex-direction: column;

}


/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    display: none;
    z-index: 1000;
    padding-top: 20px;
      background: var(--background-off-white);
  }

  .nav-links li {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
  }
  .nav-links li a {
    display: block;
    width: 100%;
    margin-left: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

.full-line {
  border: none;
  height: 2px;
  background-color: var(--brand-brown);
  width: 100%; /* full viewport width */
  margin: 0;
}
/* __________ End of Navbar Styles for Coffee Home Page and Coffee Serving Page __________ */
/* __________ Landing Page with Hero Image __________ */
/* On mobile no full screen image */
.hero-image {
  display: flex;
  height: 50vh;
  position: relative;
  color: white;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/latte_1920_1280.jpg);
}
.hero-text {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 20px;
  text-align: center;
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 2px 2px #0d0c0c;
}

@media screen and (min-width: 715px) {
  .hero-image {
    height: 100vh;
    background-blend-mode: multiply;
    background-attachment: fixed;
  }
  /* Place text in the middle of the image */
  .hero-text {
    font-size: 30px;
    text-align: center;
    position: absolute;
    top: 40%;
    left: 25%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 2px 2px #0d0c0c;
  }
}

/* ---------- Home Page Hero image --------- - end */
.about {
  padding: 20px;
  margin: auto;
  max-width: 800px;
}
.about h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}
.about p {
  line-height: 1.6;
  color: #555;
  font-size: 1rem;
  text-align: justify;
}
/* --------------------- footer styling start ------------------------ */

.negMargin {
  margin-bottom: -25px;
}
.footer {
  margin: auto;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.footer a {
  color: var(--brand-brown);
  text-shadow: var(--brand-brown) 1px 1px 2px;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

.hours ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.social-icons {
  display: flex;
  gap: 20px; /* spacing between icons */
  list-style: none;
  padding: 0;
  margin: 0;
}
.social-icons li a {
  display: inline-block;
  text-decoration: none;
}
.social-icon.facebook {
  background-size: contain;
  margin-top: -5px;
  width: 45px;
  height: 45px;
}
.social-icon.instagram {
  width: 35px;
  height: 35px;
}
@media screen and (min-width: 650px) {
  .footer {
    margin-top: 1rem;
    max-width: 800px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }
  .hours {
    margin-left: 30px;
  }
}

/* ----------------------------Coffee Menu page styles --------------------- */
.specials-menu h2,
.standard-coffee-menu h2,
.standard-coffee-menu h3,
.standard-coffee-menu h4,
.standard-coffee-menu h5,
.standard-coffee-menu h6 {
  font-size: 20px;
  margin: 1rem 0;
  font-weight: bold;
}

.specials-menu {
  display: flex;
  flex-direction: column;
  padding: 20px;
  margin: auto;
  max-width: 800px;
}
.specials-menu ul li,
.standard-coffee-menu ul li {
  list-style: square;
  margin: 2px 0;
  padding: 3px;
  border-radius: 5px;
  font-size: 16px;
}
.standard-coffee-menu {
  display: flex;
  flex-direction: column;
  padding: 20px;
  margin: auto;
}

@media screen and (min-width: 715px) {
  .standard-coffee-menu {
    padding: 40px;
    max-width: 1000px;
  }
  .specials-menu {
    max-width: 600px;
    text-align: center;
  }
  .specials-menu ul li {
    list-style: none;
  }
  .specials-menu h2,
  .standard-coffee-menu h2,
  .standard-coffee-menu h3,
  .standard-coffee-menu h4,
  .standard-coffee-menu h5,
  .standard-coffee-menu h6 {
    font-size: 24px;
  }
  .specials-menu ul li,
  .standard-coffee-menu ul li {
    font-size: 18px;
  }
  .standard-coffee-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

.breadcrumb-nav {
  width: 100%; /* full container width */
  margin-left: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: flex-start; /* or center, depending on layout */
}

.breadcrumbs {
  max-width: 70%;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}
@media screen and (min-width: 715px) {
  .breadcrumbs {
    max-width: 50%;
  }
}
/* customer pages  */

.customer-layout {
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.layout {
  flex: 1;
  display: flex;
  min-height: 0; /* Prevent overflow issues */
}
aside.sideNav {
  width: 100px;
  margin-left: 0.4rem;
  overflow-y: auto;
}
.sideNav ul {
  list-style: none;
}

.sideNav ul li {
  margin: 1rem 0;
  padding: 1rem;
}
.sideNav ul li a {
  text-decoration: none;
}
.dashboard {
  display: flex;
  flex-direction: column;
  width: 600px;
  margin: auto;
}
@media screen and (min-width: 715px) {
  .dashboard {
    width: 800px;
  }
}
.invoice-container {
  display: flex;
  flex-direction: column;
  margin: auto;
}
.invoice-middle {
  padding-top: 2rem;
  border-top: solid 1px grey;
  padding-bottom: 2rem;
  border-bottom: grey solid 1px;
}
.invoice-logo img {
  width: 50px;
}
.order-table {
  width: 100%;
  border-collapse: collapse;
}
.order-table th,
.order-table td {
  padding: 0.5rem;
  text-align: center;
}
.invoice-item {
  padding-top: 2rem;
  border-top: solid 1px grey;
  padding-bottom: 2rem;
  /* border-bottom:grey solid 1px; */
}

.article-title a{
  font-size: 1.2rem;
  margin: 10px 0;   
  color: var(--brand-brown);
  text-decoration: none;
}