/* Reset & Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
header { background: #222; color: #fff; padding: 1em 2em; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: bold; }
nav ul { display: flex; gap: 1em; list-style: none; }
nav a { color: #fff; padding: 0.5em; transition: background 0.3s; }
nav a:hover { background: rgba(255,255,255,0.1);}
.menu-toggle { display: none; cursor: pointer; }

header {
  position: relative;  /* establish a stacking context */
  z-index: 1000;       /* put it above the slider */
}

nav ul {
  z-index: 1001;       /* ensure the dropdown flies above the header too */
}

/* Hero Section */
.hero { background: url('images/store_front.png') center/cover no-repeat; height: 60vh; display: flex; align-items: center; justify-content: center; color: #fff; text-shadow: 2px 2px 4px rgba(0,0,0,0.7); }
.hero h1 { font-size: 3rem; }

/* Menu Section */
.menu { padding: 2em; }
.menu h2 { text-align: center; margin-bottom: 1em; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5em; }
.menu-item { border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: transform 0.3s; }
.menu-item:hover { transform: translateY(-5px); }
.menu-item img { height: 300px; object-fit: cover; }
.item-info { padding: 1em; }
.item-info h3 { margin-bottom: 0.5em; font-size: 1.2rem; }
.item-info p { font-size: 0.9rem; margin-bottom: 0.5em; }
.price { font-weight: bold; }

/* About & Contact */
.about, .contact { padding: 2em; max-width: 800px; margin: auto; }
.about h2, .contact h2 { text-align: center; margin-bottom: 1em; }
.contact form { display: grid; gap: 1em; }
.contact input, .contact textarea, .contact button { width: 100%; padding: 0.75em; border: 1px solid #ccc; border-radius: 4px; }
.contact button { background: #222; color: #fff; border: none; cursor: pointer; transition: background 0.3s; }
.contact button:hover { background: #444; }

/* Footer */
footer { background: #f4f4f4; text-align: center; padding: 1em; margin-top: 2em; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 768px) {
  nav ul { display: none; flex-direction: column; background: #222; position: absolute; top: 60px; right: 0; width: 200px; }
  nav ul.show { display: flex; }
  .menu-toggle { display: block; }
}

/* 1. Apply the Google Font */
body {
  font-family: 'Poppins', sans-serif;
}

/* 2. Sticky header */
header.sticky {
  position: sticky;
  top: 0;
  background: rgba(34,34,34,0.9);
  z-index: 1000;
}

/* 3. Hero slider */
.hero-slider1 {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

/* 3. Hero slider */
.hero-slider2 {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero-slider1 .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slider1 .slide.active {
  opacity: 1;
}

.hero-slider2 .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slider2 .slide.active {
  opacity: 1;
}
.slider-arrows {
  position: absolute;
  width: 100%;
  top: 50%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}
.slider-arrows button {
  background: rgba(255,255,255,0.6);
  border: none;
  font-size: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
}

/* 4. Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.branches ul {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

.branches li {
  margin-bottom: 0.75em;
}

.branches li a {
  display: inline-block;            /* lets background + padding show */
  background: rgba(255,255,255,0.1);
  padding: 0.5em 0.8em;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.branches li a:hover {
  background: rgba(255,255,255,0.2);
  color: rgba(124, 117, 117, 0.6);}
