/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FFF5F7;  /* Light background */
    color: #2A2B2D;             /* Dark text */
}

/* Global Reset and Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



/* Navbar */
/* Navbar */
.navbar {
    background-color:  #2A2B2D;
    display: flex;
    width: 100%;
    max-width: 1520px;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    height: 90px;
    box-shadow: 0 2px 5px rgba(42, 43, 45, 0.1);
    margin: 0 auto;
}

.navbar-container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.navbar-title {
    font-size: 32px;
    font-weight: bold;
    color:  #FFF5F7;
    flex-grow: 1;
    text-align: center;
}

.footer {
    background-color:  #2A2B2D;
    text-align: center;
    padding: 15px;
    width: 100%;
    margin-top: 40px;
    color: #FFF5F7;
    font-size: 16px;
    font-weight: bold;
}

/* Logo Styling */
.logo-container {
    width: 60px;
    height: 60px;
    background-color: #FFF5F7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 50px;
    font-weight: 600;
    color:  #2A2B2D;
    font-family: 'Times New Roman';
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none;
}
/* --- Custom Animated Back Button --- */
.back-button {
  display: block;
  position: absolute;
  top: 100px;
  left: 20px;
  width: 56px;
  height: 56px;
  margin: 0;
  overflow: hidden;
  outline: none;
  background-color: transparent;
  cursor: pointer;
  border: 0;
}

.back-button:before,
.back-button:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 7px;
}

.back-button:before {
  border: 4px solid #4A403A;
  transition: opacity 0.4s ease-in-out, transform 0.5s ease-in-out;
}

.back-button:after {
  border: 4px solid #8C4A32;
  transform: scale(1.3);
  transition: opacity 0.4s ease-in-out, transform 0.5s ease-in-out;
  opacity: 0;
}

.back-button:hover:before {
  opacity: 0;
  transform: scale(0.7);
}

.back-button:hover:after {
  opacity: 1;
  transform: scale(1);
}

.button-box {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.button-elem {
  display: block;
  width: 20px;
  height: 20px;
  margin: 17px 18px 0 18px;
  transform: rotate(180deg);
  fill: #4A403A;
}

.back-button:hover .button-box {
  transition: 0.4s;
  transform: translateX(-56px);
}






/* === Stores Section === */
#stores-container {
  max-width: 1000px;
  margin: 140px auto 40px;
  padding: 0 16px;
}

#store-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}

#store-list::-webkit-scrollbar {
  display: none;
}

.store-card {
  flex: 0 0 calc(33.33% - 14px);
  scroll-snap-align: start;
  background: white;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.store-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.store-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.store-card h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #2A2B2D;
}

.store-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.store-card button {
  background-color: #2A2B2D;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.store-card button:hover {
  background-color: #080909;
}

/* ----------------- Responsive Styles ----------------- */
@media (max-width: 768px) {
   .navbar {
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 10px;
    align-items: flex-start;
  }

  .logo-container {
    width: 45px;
    height: 45px;
    margin-left: 0;
  }

  .logo-text {
    font-size: 30px;
  }

  .navbar-title {
    font-size: 20px;
    text-align: center;
    margin-top: 8px;
    width: 100%;
  }

  .footer {
    width: 100%;
    padding: 12px;
    font-size: 14px;
  }

  .back-button {
    top: 80px;
    left: 10px;
    width: 50px;
    height: 50px;
  }

  .button-elem {
    margin: 15px 15px 0 15px;
    width: 18px;
    height: 18px;
  }





  .button-elem {
    width: 18px;
    height: 18px;
    margin: 15px 15px 0 15px;
  }

  .store-card {
    flex: 0 0 calc(50% - 10px);
  }

  .store-card img {
    width: 100px;
    height: 100px;
  }

  .store-card h3 {
    font-size: 18px;
  }

  .store-card p {
    font-size: 13px;
  }

  .store-card button {
    padding: 8px 16px;
    font-size: 14px;
  }
}
