/* style.css – your café styles */

:root {
  --color-primary:   #6F4E37;   /* coffee brown */
  --color-secondary: #D4A373;   /* warm beige */
  --color-light:     #F5F5F5;   /* background/off-white */
  --color-text:      #333333;
}

body {
  font-family: system-ui, sans-serif;
  background: var(--color-light);
  color: var(--color-text);
  padding-top: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  position: fixed;          /* or use sticky */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;           /* stay on top of other content */
  background: var(--color-primary);
  color: white;
  padding: 1rem 0;
  transition: all 0.3s;     /* optional smooth effect */
}

.logo {
  font-size: 2rem;
  font-weight: bold;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  color: white;
  font-weight: 500;
  padding: 0.5rem 1rem;
}

nav a:hover,
nav a:focus {
  background: var(--color-secondary);
  border-radius: 4px;
}

.hero {
  position: relative;
  background-image: url("https://michael-running-code.github.io/Project-Local-Business-Cafe/assets/images/hero-coffee.webp");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.title-wrapper {
  margin-bottom: 1rem;
}

.title-wrapper h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  margin: 0;
  line-height: 1.1;
}

.subtitle-wrapper p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.6rem;
  margin: 0;
  letter-spacing: 1px;
}

.select-coffee-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  gap: 60px;
}

.select-coffee {
  flex: 1;
  max-width: 50%;
}

.select-coffee img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.container {
  flex: 1;
  max-width: 50%;
}

.select-coffee-container.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .select-coffee-container {
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px;
  }
  .select-coffee,
  .container {
    max-width: 100%;
  }
}

.select-coffee-container
 {gap: 40px;
}

footer {
  background: var(--color-primary);
  color: white;
  padding: 1rem 0;
  text-align: center;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  margin: 0;
  font-size: 2rem;
  font-weight: bold;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2.5rem;
}

nav li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav li a:hover,
nav li a:focus {
  color: var(--color-secondary);
  color: #333;          /* dark text for contrast */
  border-radius: 4px;
}

.about {
  position: relative;
  background-image: url("https://michael-running-code.github.io/Project-Local-Business-Cafe/assets/images/About .webp");;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

.about-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.staff-carousel {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  overflow: hidden;
  padding: 0 80px;
}

.staff-container {
  display: none;
  align-items: center;
  gap: 3rem;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.staff-container.active {
  display: flex;
}

.staff-photo img {
  width: 320px;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.staff-info {
  flex: 1;
}

.staff-info h3 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.role {
  color: #6F4E37;
  font-weight: 600;
  margin: 0 0 1rem;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(111,78,55,0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
}

.left  { left: 0; }
.right { right: 0; }

.arrow:hover { background: #6F4E37; }


.menu {
  position: relative;
  background-image: url("https://michael-running-code.github.io/Project-Local-Business-Cafe/assets/images/menu.webp");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

.menu-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.menu-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.menu-row img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}
.menu-content {
  flex: 1;
}

.menu-section {
  padding: 100px 0 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.filters {
  text-align: center;
  margin-bottom: 40px;
}

.filters button {
  margin: 0 10px;
  padding: 10px 20px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.filters button:hover {
  background: var(--color-secondary);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.item {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 15px;
}

.item img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.item-content {
  flex: 1;
  padding-left: 20px;
}

.item h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.item p {
  margin: 0;
  color: #666;
}


.contact {
  position: relative;
  background-image: url("https://michael-running-code.github.io/Project-Local-Business-Cafe/assets/images/contact.webp");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

.contact-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.map-container {
  margin: 2rem auto;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-information{
  margin-top: 20px;
  text-align: center;
}

.hamburger, .close-menu {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .select-coffee-container {
    flex-direction: column !important;
    gap: 40px;
    padding: 40px 20px;
  }

  .select-coffee,
  .container {
    max-width: 100%;
  }
  .hamburger {
    display: block; /* Show on mobile */
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-primary);
    display: none; /* Hidden by default */
  }

  nav.open {
    display: block; /* Show when open */
  }

  nav ul {
    flex-direction: column; /* Vertical */
    gap: 1rem;
    padding: 1rem;
  }

  .close-menu {
    display: block; /* Show close on mobile */
    text-align: right;
    padding: 0.5rem 1rem;
  }
  .staff-container {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .staff-photo img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  .staff-info {
    width: 100%;
  }

  .arrow {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
}

.contact-form {
  max-width: 500px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  padding: 12px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
}

.contact-form button:hover {
  background: var(--color-secondary);
}

