/* ===== Global Styles ===== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0d0d0d;
  margin: 0;
  padding: 0;
  color: #dcdcdc;
  line-height: 1.6;
}
html,body{
overflow-x:hidden
}

a {
  color: #9b59b6;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #b478e2;
}

/* ===== Navbar Styling ===== */
.navbar {
  background: linear-gradient(135deg, #1c1c1c, #121212) !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: all 0.3s ease;
}

.navbar:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.navbar-brand {
  font-size: 1.8rem;
  color: #a64aff !important;
  font-weight: 800;
  letter-spacing: 1px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.nav-link {
  color: #dcdcdc !important;
  font-size: 1.05rem;
  font-weight: 500;
  margin-right: 1rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: #a64aff !important;
  transform: scale(1.05);
}

.nav-link.active {
  color: #ff6b81 !important;
  font-weight: 700;
}

/* ===== Search Bar ===== */
.search-bar .input-group {
  display: flex;
  align-items: center;
  background-color: #1e1e1e;
  border-radius: 30px;
  padding: 4px 6px;
  border: 1px solid #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar .input-group:focus-within {
  border-color: #a64aff;
  box-shadow: 0 0 8px rgba(166, 74, 255, 0.6);
}

.search-bar .form-control {
  background-color: transparent;
  border: none;
  color: #eee;
  font-size: 0.95rem;
  padding: 8px 12px;
}

.search-bar .form-control::placeholder {
  color: #aaa;
}

.search-bar .form-control:focus {
  outline: none;
  box-shadow: none;
}

.btn-purple {
  background-color: #9b59b6;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 8px 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.3);
  transition: all 0.3s ease;
}

.btn-purple:hover {
  background-color: #b478e2;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(180, 120, 226, 0.5);
}

/* ===== Featured Section ===== */
.featured-swiper {
  width: 100%;
  max-height: 65vh;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-swiper:hover {
  transform: scale(1.005);
  box-shadow: 0 12px 35px rgba(0,0,0,0.85);
}

.featured-swiper .swiper-slide {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.featured-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.featured-swiper .swiper-slide:hover img {
  transform: scale(1.08);
  filter: brightness(0.65) contrast(1.1) blur(1px);
}

/* Featured Overlay */
.featured-overlay {
  position: absolute;
  top: 5%;
  bottom: 5%;
  left: -60%;
  width: 40%;
  height: 50%;
  background: rgba(20, 20, 20, 0.88);
  padding: 15px 18px;
  border-radius: 0 15px 15px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  transition: all 0.5s ease;
  backdrop-filter: blur(6px);
  z-index: 10;
}

.featured-swiper .swiper-slide:hover .featured-overlay {
  left: 0;
  opacity: 1;
}

.featured-overlay h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #a64aff;
  margin-bottom: 6px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.75);
}

.featured-rating {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 8px;
}

.featured-description {
  font-size: 0.85rem;
  color: #ddd;
  line-height: 1.4;
  margin-bottom: 10px;
}

.btn-featured {
  display: inline-block;
  background-color: #9b59b6;
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-featured:hover {
  background-color: #b478e2;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 22px rgba(180, 120, 226, 0.6);
}

/* Responsive Featured Overlay */
@media (max-width: 1024px) {
  .featured-overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 12px;
    border-radius: 0;
    text-align: center;
  }
  .featured-overlay h3 { font-size: 1.2rem; }
  .featured-rating { font-size: 0.85rem; }
  .featured-description { font-size: 0.8rem; }
  .btn-featured { padding: 8px 16px; font-size: 0.85rem; margin: 10px auto 0; }
}

/* ===== Footer ===== */
.footer {
  background-color: #1a1a1a;
  color: #dcdcdc;
  padding: 50px 20px;
  margin-top: 60px;
  text-align: center;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.7);
}

.footer-section.about h3 {
  color: #a64aff;
  margin-bottom: 18px;
  font-size: 2rem;
  font-weight: 800;
}

.footer-section.about p {
  line-height: 1.8;
  margin: 5px 0;
  max-width: 520px;
  color: #ccc;
}

.btn-buy-coffee {
  display: inline-block;
  background-color: #ff813f;
  color: white;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255,129,63,0.5);
  transition: all 0.3s ease;
}

.btn-buy-coffee:hover {
  background-color: #e67336;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(255,129,63,0.6);
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 992px) {
  .navbar-nav { text-align: center; }
  .search-bar { margin-top: 10px; width: 100%; }
}
