/* GENERAL DEFAULTS */
* {
  box-sizing: border-box;
  max-width: 100%;
}

@font-face {
  font-family: storiesFont;
  src: url(font/DINCONDENSED-BOLD.TTF);
}

* {
  font-family: storiesFont;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
}

section {
  scroll-margin-top: 100px;
  margin-top: 50px;
  margin-bottom: 50px;
}

/* NAVBAR */
.main-menu .navbar-nav {
  column-gap: 20px;
}
.main-menu .navbar-nav li {
  font-weight: bold;
}

/* HERO SECTION */
.main-header {
  font-size: 100px;
  font-weight: 500;
  text-align: center;
  margin-top: 50px;
  line-height: 1;
  margin-bottom: 45px;
}

.main-image-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.main-image {
  border-radius: 16px;
  width: 950px;
  max-width: 100%;
  height: 500px;
  object-fit: cover;
  z-index: 10;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 720px) {
  .main-image-container::after {
    display: none;
  }
}

.main-image-container::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  height: 60%;
  background: #006c4f;
  z-index: -1;
  border-radius: 26px;
}

@media (max-width: 992px) {
  .main-image {
    height: auto;
  }
}

@media (max-width: 768px) {
  .main-header {
    font-size: 48px;
    margin-top: 20px;
  }
  .main-image {
    height: 300px;
  }
}

/* TITLES */
.section-title {
  color: #00704a;
  margin-bottom: 40px;
  font-weight: bold;
}

/* CARDS */
.card {
  border: none !important;
  height: 100%;
}
.icon {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}
.rating-icon {
  width: 42px;
  height: 30px;
  margin-bottom: 15px;
}
.card-title {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}
.card-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

/* SECONDARY HERO */
.hero-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 35px;
}
@media (max-width: 768px) {
  .hero-img {
    height: 300px;
    border-radius: 20px;
  }
}

/* TIMELINE SECTION (FULL WIDTH) */
#timeline {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

/* Background image attached to the main section */
#timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 50%;
  background-image: url("images/logo\ icon\ stories\ .png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
}

.timeline-container-div {
  position: relative;
  z-index: 2;
}

.timeline-header {
  text-align: center;
  margin-bottom: 30px;
}

/* GROWTH STATS */
.growth-stats {
  display: flex;
  justify-content: center;
  column-gap: 100px; /* Large gap for desktop */
  margin-bottom: 60px;
  margin-top: 40px;
}

.growth-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.growth-item h1 {
  font-size: 70px;
  margin: 0;
  line-height: 1;
  color: #000;
}

.growth-item p {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
  .growth-stats {
    /* flex-direction: column;  <-- REMOVED THIS LINE */
    flex-direction: row; /* Added explicit row (optional, as it's default) */

    /* Reduced gap so they fit on a small screen without stacking */
    column-gap: 20px;
    row-gap: 0;

    /* Ensure they stay centered */
    justify-content: space-around;
    align-items: flex-start;
  }

  /* Make the numbers slightly smaller on mobile so they fit side-by-side */
  .growth-item h1 {
    font-size: 40px;
  }

  .growth-item p {
    font-size: 12px;
    text-align: center;
  }
}
.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
}
.year-col {
  width: 150px;
  min-width: 150px;
  border-left: 3px solid #666;
  padding-left: 15px;
}
.year {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1;
  margin: 0;
}
.label {
  font-size: 0.9rem;
  color: #333;
  font-family: monospace;
  margin-top: 5px;
}
.desc-col {
  width: 300px;
  padding-right: 40px;
  font-size: 1rem;
  line-height: 1.4;
}

.bar-col {
  flex-grow: 1;
  display: flex;
  align-items: center;
}
.bar {
  height: 60px;
  width: 0px;
  max-width: 100%;
  background-image: repeating-linear-gradient(
    90deg,
    #a8d5c6,
    #a8d5c6 2px,
    transparent 2px,
    transparent 12px
  );
  border-radius: 0 4px 4px 0;
  position: relative;
}

@media (max-width: 768px) {
  .bar {
    height: 40px;
  }
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
  }
  .year-col {
    border-left: none;
    border-bottom: 2px solid #ccc;
    width: 100%;
    padding-left: 0;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .desc-col {
    width: 100%;
    padding-right: 0;
    margin-bottom: 15px;
  }
  .bar-col {
    width: 100%;
  }
}

/* MAP SECTION */
.map-wrapper {
  display: flex;
  height: 500px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ddd;
}
.sidebar {
  width: 350px;
  min-width: 350px;
  background-color: #f3f3f3;
  overflow-y: auto;
  z-index: 1000;
}
#map {
  flex-grow: 1;
  height: 100%;
  z-index: 1;
}

.search-container {
  padding: 20px;
  background: #e8e8e8;
  position: sticky;
  top: 0;
}
.search-bar {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}
.store-item {
  padding: 20px;
  padding-left: 16px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
}
.store-item:hover {
  background-color: #e0e0e0;
}
.store-item.active {
  background-color: #0f5132;
  color: white;
}

@media (max-width: 768px) {
  .map-wrapper {
    flex-direction: column;
    height: auto;
  }
  .sidebar {
    width: 100%;
    min-width: 100%;
    height: 300px;
  }
  #map {
    height: 400px;
  }
}

/* MENU SECTION */
.our-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.our-menu-h1 {
  color: #156644;
  font-weight: 500;
  margin: 0;
}
.our-menu-button {
  background: #156644;
  color: white;
  border-radius: 30px;
  padding: 8px 20px;
  border: none;
}

.menu-image-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.menu-image-container img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.daily-plates {
  height: 300px;
  object-fit: cover;
}

.menu-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 40%,
    #000000 100%
  );
  z-index: 1;
  pointer-events: none;
}

.menu-image-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  color: white;
  z-index: 2;
}
.menu-image-text h1 {
  text-transform: uppercase;
  margin: 0;
  font-size: 1.5rem;
}
.menu-image-text p {
  margin-top: 5px;
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* GALLERY SECTION (GRID & SLIDER) */
.gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Columns on all screens */
  gap: 15px;
}

.gallery-item {
  display: block;
  cursor: zoom-in; /* Indicates clicking works */
  text-decoration: none; /* Removes link underline */
}

/* Restrict Click to Mobile Only */
/* On desktops (screens > 768px), disable the click event */
@media (min-width: 769px) {
  .gallery-item {
    pointer-events: none;
    cursor: default;
  }
}

/* Ensure consistent square sizing */
.img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  transform: translateZ(0);
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.img-wrapper:hover img {
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .gallery-wrapper {
    grid-template-columns: repeat(3, 1fr); /* Keep 3 columns on mobile */
    gap: 8px;
  }
}

.gallery-header {
  color: #00704a;
}

.slogan {
  font-weight: bold;
  text-align: center;
  margin-top: 50px;
  font-size: 2rem;
}

/* FOOTER */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 100px;
  padding-bottom: 50px;
  border-top: 1px solid #eee;
  padding-top: 30px;
}
.left-side-footer {
  display: flex;
  align-items: center;
}
.left-side-footer p {
  margin-bottom: 0;
  font-weight: bold;
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    gap: 20px;
  }
}

#store-list {
  padding-left: 0;
}

.row {
  margin: auto;
}
