/* index css */

/* Global Body Styles */
body {
  font-family: 'Segoe UI', sans-serif;
}

/* Navbar Branding */
.navbar-brand {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1px;
}

/* Hero Caption Styling */
.hero-caption {
  background: rgba(0, 0, 0, 0.55);
  padding: 20px;
  border-radius: 12px;

  /* Animation applied */
  animation: fadeSlideUp 2s ease forwards;
}

/* Hero Animation Keyframes */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Product Card Hover Effects */
.product-card {
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Carousel Image Sizing */
.carousel-item img {
  height: 600px;
  object-fit: cover;
}

/* Footer Styles */
footer {
  background: #111111;
  color: #bbb;
}

footer a {
  color: #bbb;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}


/* ===HERO CAROUSEL UX=== */

/* Image height consistency */
.hero-img {
  height: 75vh;
  object-fit: cover;
}

/* Caption container */
.hero-caption {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 40px 50px;
  max-width: 720px;
  margin: auto;
  bottom: 20%;
}

/* Better text rhythm */
.hero-caption h1 {
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-caption p {
  max-width: 520px;
  margin: 0 auto 22px;
}

/* Button UX only (same colors) */
.hero-caption .btn {
  border-radius: 999px;
  padding: 12px 36px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-caption .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Smooth slide animation */
.carousel-item {
  transition: transform 0.8s ease-in-out;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .hero-img {
    height: 60vh;
  }

  .hero-caption {
    padding: 28px 22px;
    bottom: 15%;
  }

  .hero-caption h1 {
    font-size: 1.8rem;
  }
}

/*Footer */
/* Footer */
footer {
    background: #111;
    color: #ccc;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #4caf50;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #b3b3b3;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #4caf50;
    padding-left: 8px;
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}

.mobile-nav-item {
    color: #ccc;
    text-decoration: none;
    text-align: center;
    font-size: 0.75rem;
    padding: 6px 12px;
    transition: 0.3s;
}

.mobile-nav-item.active, .mobile-nav-item:hover {
    color: #4caf50;
}

.mobile-nav-item i {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 4px;
}

/* Toast */
#snackbar-container {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    pointer-events: none;
}

.snackbar {
    min-width: 300px;
    background: #333;
    color: white;
    text-align: center;
    border-radius: 50px;
    padding: 14px 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.snackbar.show {
    opacity: 1;
    transform: translateY(0);
}

.snackbar.success { background: #4caf50; }
.snackbar.error   { background: #ef5350; }

