:root {
  --bg-dark: #0f172a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --accent: #f5a623;
  --accent-hover: #ffb732;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(245, 166, 35, 0.3);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

/* Navbar */
.navbar {
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
}

.navbar-brand {
  color: var(--accent) !important;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.nav-link {
  color: var(--text-main) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent) !important;
}

/* Hero Carousel */
#heroCarousel {
  height: 80vh;
  position: relative;
}

.carousel-inner, .carousel-item {
  height: 100%;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
  animation: zoomInBg 20s infinite alternate linear;
}

.carousel-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 1) 5%, rgba(15, 23, 42, 0.4));
}

.carousel-caption {
  bottom: 20%;
  text-align: left;
  z-index: 2;
  animation: fadeInUp 1s ease forwards;
}

.carousel-caption h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.carousel-caption p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
}

.btn-accent {
  background-color: var(--accent);
  color: #1a1a1a;
  border: none;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-family: 'Outfit', sans-serif;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Products Section */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  color: #1a1a1a;
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(245, 166, 35, 0.4);
}

.product-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.product-img-wrapper {
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  background: #fff; /* White background internally for product images */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
}

.product-card img {
  max-width: 100%;
  max-height: 230px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  background: var(--bg-card-hover);
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-card h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-sys-outline {
  flex: 1;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  border-radius: 8px;
  padding: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.btn-sys-outline:hover {
  background: var(--accent);
  color: #1a1a1a;
}

.btn-sys-fill {
  background: rgba(255,255,255,0.1);
  color: var(--text-main);
  border: none;
  flex: 1;
  border-radius: 8px;
  padding: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.btn-sys-fill:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Animations for JS Filtering */
.product-col {
  transition: all 0.5s ease-out;
  opacity: 1;
  transform: scale(1);
}

.product-col.hide {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

/* Contact Section & Forms */
#contact {
  background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(20, 30, 50, 1) 100%);
  border-top: 1px solid var(--glass-border);
}

.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.2);
  color: var(--text-main);
}

.form-control::placeholder {
  color: rgba(255,255,255,0.4);
}

.contact-info {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  background: rgba(245, 166, 35, 0.1);
  color: var(--accent);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}


/* Footer */
footer {
  background: #080c17;
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid var(--glass-border);
}

/* WhatsApp Pulse Button */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  padding: 16px;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulseWhatsapp 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-button:hover {
  background-color: #1ebe5d;
  transform: scale(1.1);
  color: white;
}

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomInBg {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.15);
  }
}

@keyframes pulseWhatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Utilities */
.text-accent {
  color: var(--accent) !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  #home {
    padding-top: 90px; /* Offset for fixed navbar on mobile */
  }
  
  .carousel-caption h1 {
    font-size: 2.5rem;
  }
  
  .carousel-caption p {
    font-size: 1rem;
  }
}
