body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #FFF;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(images/cup-2619216_1920.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  z-index: -1;
}

.meow1{
    justify-content:center;gap: 25px;
    
}
.meow {
  color: gold;
  text-decoration: none;
  transition: color 0.3s ease; 
}
/* Navbar Styles */
.machine-card {
  background-image: url('download\ \.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  padding: 15px;
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}
/* New stylish background for vending section */
.vending-section {
  position: relative;
  padding: 80px 20px;
  min-height: 100vh;
  background: linear-gradient(
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.6)
    ),
    url('images/download (2).jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  backdrop-filter: blur(4px);
}

/* Optional: Make heading more standout */
.vending-section h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  color: gold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* Optional: Machine grid polish */
.machines-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.machine-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.machine-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
/* Luxurious animated background for vending-section */
.vending-section {
  position: relative;
  padding: 80px 20px;
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8),
    rgba(48, 25, 52, 0.7),
    rgba(0, 0, 0, 0.8)
  );
  background-size: 400% 400%;
  animation: backgroundShimmer 15s ease infinite;
  color: white;
  text-align: center;
  backdrop-filter: blur(6px);
}

@keyframes backgroundShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.vending-section h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  color: gold;
  text-shadow: 2px 2px 10px rgba(255, 215, 0, 0.3);
}

/* Machine cards updated */
.machine-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 16px;
  padding: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

.machine-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.machine-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.machine-card img {
  border-radius: 8px;
  width: 100%;
  
}


.navbar {
  background: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  font-family: 'Poppins', sans-serif;
  position: fixed;         
  top: 0;
  left: 0;
  width: 100%;            
  z-index: 9999;
}

.navbar-logo {
  font-size: 24px;
  font-weight: 700;
  color: #f1c40f;
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.navbar-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-links a:hover {
  color: #f1c40f;
}

/* Responsive Navbar */
.menu-icon {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .navbar-links {
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #302b63;
    width: 100%;
    display: none;
    padding: 20px 0;
  }

  .navbar-links li {
    text-align: center;
    margin: 10px 0;
  }

  .menu-toggle:checked + .menu-icon + .navbar-links {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: black; /* or any background */
  z-index: 999; /* make sure it stays above all other elements */
  padding: 15px 30px; /* optional spacing */
}
body {
  padding-top: 60px; /* creates space for fixed nav */
}
.meow:hover {
  color: rgb(229, 96, 7);
}
.vending-section {
  padding: 40px 20px;
  text-align: center;
}
.btn:hover{ color:#c8ff00; transition : background 0.3 ease; }

.machines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.machine-card {
  background: #111;
  border: 2px solid gold;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s;
}
.machine-card:hover {
  transform: translateY(-5px);
}
.machine-card img {
  width: 100%;
  display: block;
}

/* Modal */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
}
.modal.open {
  display: flex;
}
.modal-content {
  background: #111;
  border: 2px solid gold;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  display: flex;
  overflow: hidden;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 10px; right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: gold;
  cursor: pointer;
}

/* Slider inside modal */
.modal-slider {
  position: relative;
  flex: 1;
  height: 350px;
  background: #222;
  overflow: hidden;
}
.modal-slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 100%;
  opacity: 0;
  transition: all .5s ease;
}
.modal-slider img.active {
  left: 0;
  opacity: 1;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,215,0,0.8);
  border: none;
  font-size: 1.5rem;
  padding: 5px 10px;
  cursor: pointer;
  color: #000;
  border-radius: 4px;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

/* Details pane */
.modal-details {
  width: 260px;
  padding: 20px;
  background: #000;
  color: gold;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modal-details h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}
.modal-price {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.modal-area {
  font-size: .9rem;
  margin-bottom: 20px;
}
.detail-btn {
  display: block;
  text-align: center;
  margin-bottom: 10px;
  background: gold;
  color: #000;
  padding: 8px 0;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}
.detail-btn:last-child {
  background: #0f9d58;
 color: #fff;
}
