/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  text-decoration: none;
}

/* Header (new navbar with hamburger) */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #6f4e37;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.logo-img {
  width: 50px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}

/* Mobile view fixes */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #6f4e37;
    position: absolute;
    top: 60px;
    right: 15px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(-20px);
    opacity: 0;
  }

  .nav-links a {
    color:white;
    padding: 10px;
    text-align: right;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }
  

  .hamburger {
    display: block;
  }
}
.nav-links a {
  color: black;          /* default text color for all screen sizes */
  font-size: 18px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #d9a066;        /* hover color (coffee accent) */
}



.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.logo-img {
  width: 50px;
  height: auto;
}



/* Hero */
.hero {
  background: #d9a066;
  color: white;
  text-align: center;
  padding: 200px 100px;
}
.hero h2 {
  font-size: 30px;
  margin-bottom: 15px;
  color: #ffffff; /* force heading to be white */
}

.hero p {
  margin-bottom: 20px;
  color: #ffffff; /* force heading to be white */
}
.hero {
  background: url('coffeebg.jpg') center/cover no-repeat;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 290px 20px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4); /* overlay */
  pointer-events: none;        /* allow clicks to pass through */
}

.hero h2,
.hero p,
.hero a {
  position: relative;
  z-index: 1; /* keeps text and button above the overlay */
}



/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 25px;
  background: #6f4e37;
  color: white;
  border-radius: 5px;
}
.btn:hover {
  background: #4b2e20;
}

/* Sections */
.section {
  padding: 60px 40px;   /* smaller top/bottom spacing */
}

/* About Us heading */
/* About Us heading */
#about h2 {
  padding: 60px;
  margin-bottom: 20px;   /* smaller gap below heading */
  text-align:center;    /* keeps it centered */
  color: white;           /* makes it stand out on background */
}

/* Mission statement */
.mission {
  font-style: italic;
  font-size: 30px;
  color: white;
  margin-bottom: 10px;  /* small gap before description */
}

/* About Us paragraph */
#about p {
  color: white;
  line-height: 1.6;
  max-width: 1000px;
  margin: 0 auto 15px;  /* centers text and keeps spacing tight */
}
.about-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
  color:black;
  text-align: left;
}

.about-image img {
  width: 600%;
  max-width: 400px;
  border-radius: 10px;
}


#about { position: relative; background: url('aboutbg.jpg') center/cover no-repeat; /* replace with your image */ color: white; }



#about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}


#about h2,
#about p,
#about .about-flex {
  position: relative;
  z-index: 1;
}
.about-box {
  background: rgba(0, 0, 0, 0.6);  /* dark transparent box */
  padding: 30px;
  border-radius: 15px;
  color: white;
  max-width: 500px;
}

.about-box p {
  margin-bottom: 15px;
  line-height: 1.6;
}
.about-box {
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 15px;
  color: white;
  max-width: 500px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  transition: transform 0.4s ease, filter 0.4s ease;
}


.about-image img:hover {
  transform: scale(1.05);       /* zooms slightly */
  filter: brightness(1.1);      /* makes it pop */
}


.about-box:hover {
  transform: translateY(-8px); /* lifts the box */
  box-shadow: 0 8px 20px rgba(0,0,0,0.4); /* stronger shadow */
}


#menu { background: #866b49; }
#location { background: #664f35; }
#contact { background: #bbb4a8; }


/* Menu heading */
#menu h2{
  padding: 60px;
  margin-bottom: 20px;   /* smaller gap below heading */
  text-align:center;    /* keeps it centered */
  color: white;           /* makes it stand out on background */
}


/* Menu container */
#menu .menu-container {
  display: flex;
  flex-wrap: wrap;        /* allows wrapping to next line */
  justify-content: center;/* centers the row */
  gap: 50px;              /* space between cards */
  max-width: 1200px;      /* keeps row from stretching too wide */
  margin: 0 auto;         /* centers container */
  padding: 20px;
}

/* Cards */
.card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  flex: 1 1 250px;        /* flexible width, minimum 250px */
  max-width: 250px;       /* keeps cards uniform */
  text-align: center;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
/* Card hover effect */
.card:hover {
  transform: translateY(-5px);       /* lifts the card slightly */
  box-shadow: 0 6px 12px rgba(0,0,0,0.2); /* stronger shadow */
  transition: all 0.3s ease;         /* smooth animation */
}

.card img:hover {
  transform: scale(1.05);            /* zooms the image slightly */
  transition: transform 0.3s ease;
}


/* Location Section */

h2{
  padding: 60px;
  margin-bottom: 20px;   /* smaller gap below heading */
  text-align:center;    /* keeps it centered */
  color: white;           /* makes it stand out on background */
}
.location {
  background: #6b4414;   /* warm coffee brown */
  text-align: center;
  padding: 60px 40px;
  color: white;
}

.location h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #fff;
}

.location-info {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-align: left;
}

.location-info p {
  margin-bottom: 10px;
  color: #3c2c18;
  font-size: 18px;
}

.map-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


h2{
  padding: 5px;
  margin-bottom: 10px;   /* smaller gap below heading */
  text-align:center;    /* keeps it centered */
  color:black;           /* makes it stand out on background */
}

.contact-info {
  display: flex;
  justify-content: center; /* centers items horizontally */
  gap: 40px;               /* space between items */
  flex-wrap: wrap;         /* allows wrapping on smaller screens */
  margin-top: 20px;
}

.contact-info div {
  font-size: 10px;
  color: #6f4e37;
}
.contact-info img {
  width: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Footer */
footer {  
 background: #6f4e37;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 600px) {
  li {
    display: block;
    margin: 8px 0;
  }
}
