* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fonts */
:root {
    --navbar-heading-font-size: 16px;
}
.gallery-section {
  padding: 20px 20px 20px 20px;
  font-family: var(--navbar-main-font);
  background-color:white; 
}

.gallery-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.gallery-subtitle {
  color: #F5AD18;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.gallery-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.2rem;
  font-weight: 540;
  color: rgb(42, 40, 40);
  margin-bottom: 10px;
}

.gallery-controls {
  position: absolute;
  top: 0;
  right: 20px;
  display: flex;
  gap: 12px;
}

.gallery-btn {
  background-color: #202c3f;
  border: none;
  border-radius: 50%;
  padding: 10px 14px;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  transition: 0.3s ease;
}

.gallery-btn:hover {
  background-color: #f9a825;
}

.gallery-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  flex: 0 0 calc(20% - 16px);
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
  transition: transform 0.3s ease;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-card:hover {
  transform: scale(1.05);
}
.gallery-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Medium screens: 3 cards */
@media (max-width: 1024px) {
  .gallery-card {
    flex: 0 0 calc(33.33% - 16px);
  }
}

.gallery-card a {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-card a:hover img {
  transform: scale(1.05);
  cursor: pointer;
}
@media (max-width: 567px) {
  .gallery-card {
    flex: 0 0 100%; 
  }
}
@media (max-width: 767px) {
  .gallery-card {
    flex: 0 0 calc(83.33% - 16px);
  }

  .gallery-controls {
    position: static;
    justify-content: center;
    margin-top: 0px;
  }
.gallery-header {
  margin-bottom: 20px;
}
  .gallery-title {
    font-size: 1.8rem;
  }

  .gallery-subtitle {
    font-size: 1.2rem;
  }
}
.gallery-dish-name {
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 0;
  color: rgb(42, 40, 40);
  
  background-color: #fff;
  width: 100%;
}

.gallery-card a{
  text-decoration: none;
}