body {
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: #fdf6f0;
  color: black;
}
html {
  scroll-behavior: smooth;
}

.heading-cafe-name {
  font-size: 1.67vw;
  color: white;
  font-weight: 100;
  font-family: "Montserrat";
}

@media screen and (max-width: 768px) {
  .heading-cafe-name {
    font-size: 3vw;
    color: black; /* ✅ corrected here */
  }
}

.banner-text {
  font-size: 9vw;
  font-family: fangsong;
  cursor: pointer;
  color: pink;
}

@media screen and (max-width: 786px) {
  .banner-text {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 786px) {
  .banner-text-2 {
    margin-bottom: -151px;
  }
}

.banner-text-2 {
  font-size: 6.9vw;
  background: repeating-linear-gradient(45deg, #8b4513 0 2px, #fff 2px 4px);
  -webkit-background-clip: text;
  background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-family: fangsong;
  cursor: pointer;
}

.banner-text:hover {
  color: white;
}

.get-direction {
  display: flex;
  color: white;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 45px;
  position: absolute;
  top: 70%;
  left: 45%;
  background: repeating-linear-gradient(45deg, #8b4513 0 2px, #fff 2px 4px);
  -webkit-background-clip: text;
  border-radius: 127px;
  cursor: pointer;
  border: 0.5px solid white;
  transition: transform 0.3s ease; /* smooth animation */
  z-index: 10;
}

.get-direction:hover {
  transform: scale(1.1);
}

@media screen and (max-width: 768px) {
  .get-direction {
    height: 40px;
    left: 176px;
    width: 130px;
    border-radius: 40px;
    margin-top: -205px;
  }
}

.imagae-hover {
  transition: transform 0.3s ease; /* smooth animation */
  border-radius: 10px;
}

.image-hover:hover {
  transform: scale(1.1);
}

.social-icon {
  border-radius: 25px;
  transition: transform 0.3s ease; /* smooth animation */
  border-radius: 10px;
}

.social-icon:hover {
  transform: scale(1.5);
}

.heading-cafe-name {
  font-size: 1.67vw;
  color: white;
  font-weight: 100;
  font-family: "Montserrat";
}

@media screen and (max-width: 768px) {
  .heading-cafe-name {
    font-size: 3vw;
    color: black;
  }
}

.banner-text {
  font-size: 5vw;
  font-family: fangsong;
  cursor: pointer;
  position: relative;
  top: -100px;
}

.banner-text-2 {
  font-size: 6.78vw;

  display: inline-block;
  font-family: fangsong;
  cursor: pointer;
  position: relative;
  top: -100px;
}

.banner-text:hover {
  color: white;
}

.get-direction {
  display: flex;
  color: white;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 45px;
  position: absolute;
  top: 70%;
  left: 45%;
  background: repeating-linear-gradient(45deg, #8b4513 0 2px, #fff 2px 4px);
  -webkit-background-clip: text;
  border-radius: 127px;
  cursor: pointer;
  border: 0.5px solid white;
  transition: transform 0.3s ease; /* smooth animation */
  z-index: 10;
}

.get-direction:hover {
  transform: scale(1.1);
}

@media screen and (max-width: 768px) {
  .get-direction {
    height: 40px;
    left: 125px;
    width: 130px;
    border-radius: 40px;
    top: 350px;
  }
}

.social-icon {
  border-radius: 25px;
  transition: transform 0.3s ease; /* smooth animation */
  border-radius: 10px;
  color: white;
}

.social-icon:hover {
  transform: scale(1.5);
}

.image-hover {
  border-radius: 30px;
  transform: scale(1);
  transition: transform 0.6s ease;
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s ease-out;
}

.image-hover.show {
  opacity: 1;
  transform: translateY(0);
}

#submitBtn {
  border-radius: 10px;
  transform: scale(1);
  transition: transform 0.6s ease;
}
#submitBtn:hover {
  transform: scale(1.3);
}

.back-button {
  border: none;
  display: flex;
  background-color: green;
  color: white;
  padding: auto;
  border-radius: 5px;
  text-decoration: none;
}

#menu-section {
  background: #fdf6f0;
  padding: 50px 20px;
  font-family: "Arial", sans-serif;
}

.section-header h4 {
  color: #ff6b6b;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 10px;
  text-align: center;
}

.section-header h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* MENU SECTION */

.menu-category {
  margin: 30px 0 15px;
  color: #222;
  font-size: 1.8rem;
  font-weight: 500;
  text-align: left;
  letter-spacing: 0.5px;
}

.menu-row-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.menu-row {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding-bottom: 10px;
}

.menu-row::-webkit-scrollbar {
  display: none;
}

.menu-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.menu-item h4 {
  margin: 15px 0 5px;
  font-size: 1.2rem;
  color: #333;
}

.menu-item p {
  margin-bottom: 10px;
  font-weight: 600;
  color: #ff6b6b;
}

.order-btn {
  margin-bottom: 15px;
  border: none;
  background-color: #ff6b6b;
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
}

.menu-row-wrapper:hover .scroll-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-btn.left {
  left: -10px;
}
.scroll-btn.right {
  right: -10px;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-item {
    flex: 0 0 200px;
  }
}

@media (max-width: 480px) {
  .menu-item {
    flex: 0 0 150px;
  }
}

/* MENU END */

.navbar-toggler:hover {
  background-color: black;
  color: goldenrod;
}

.navbar-toggler {
  height: 33px;
  width: 34px;
  align-items: center;
  justify-content: center;
  display: flex;
  top: 1rem;
  right: 1rem;
  font-size: 15px;
  cursor: pointer;
  background: none;
  border: 2px solid black;
  color: black;
  margin-top: -4px;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

#about {
  outline: 2px black;
}

/* Navbar Base */
.navbar {
  position: relative;
  z-index: 10;
}

.custom-toggler {
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}
.bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.custom-toggler.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}
.custom-toggler.active .bar:nth-child(2) {
  opacity: 0;
}
.custom-toggler.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

.nav-bar {
  background-color: rebe;
}

/* Initial state: hidden and moved down */
.animate-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

/* When visible: slide up */
.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 786px) {
  .navbar-dark .navbar-nav .nav-link {
    color: black;
  }
}

.view-gallery {
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
  .about-img {
    width: 80%;
    height: auto;
    margin-left: 40px;
  }
}

.about-img {
  margin-top: -56px;
  display: flex;
  align-self: center;
  height: auto;
  width: 370px;
  justify-content: center;
  margin-left: -12px;
  transition: transform 0.3s ease; /* smooth animation */
}

.about-img:hover {
  transform: scale(1.1);
}

.btn {
  border-radius: 10px;
  margin-top: 10px;
  cursor: pointer;
  transition: transform 0.3s ease; /* smooth animation */
}

.btn:hover {
  transform: scale(1.1);
}

.menu-item {
  position: relative;
  padding-right: 40px; /* space for arrow */
  margin-bottom: 12px;
}

.menu-text {
  color: black; /* ensures text is visible */
  font-size: 16px;
}

.circle-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  background-color: #ffae42; /* accent color */
  border-radius: 50%;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: all 0.3s ease;
}

.circle-arrow:hover {
  background-color: #ffd700;
  transform: translateY(-50%) scale(1.1);
}

/* footer */
.menu-item {
  flex: 0 0 250px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
}

.menu-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* footer */

.image-hover {
  border-radius: 20px;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card {
  background: repeating-linear-gradient(45deg, #8b4513 0 2px, #fff 2px 4px);
  -webkit-background-clip: text;
  border-radius: 20px;
  background: #f1ebe3;
}

#service img {
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.footer {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background: linear-gradient(rgba(51, 33, 29, 0.9), rgba(51, 33, 29, 0.9)),
    url(../img/bg..jpgnavbar-toggler);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}


/* reservation */
.form-control{
  border-radius: 35px;
}
