:root {
  --primary-green: #145932;
  --secondary-green: #0d3b22;
  --accent-green: #00e676;
  --dark-bg: #071f11;
  --light-text: #e8f5ed;
  --glass-bg: rgba(20, 89, 50, 0.4);
  --glass-border: rgba(0, 230, 118, 0.3);
}

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

/* Navbar */
.navbar {
  background-color: var(--secondary-green) !important;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.navbar-brand img {
  max-height: 50px;
  filter: brightness(1.2);
}
.nav-link {
  color: var(--light-text) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent-green) !important;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-green);
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Topbar */
.topbar {
  background-color: var(--dark-bg);
  padding: 5px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.3s ease;
}
.topbar a:hover {
  color: var(--accent-green);
}

/* Hero Section */
.hero-carousel .carousel-item {
  height: 60vh;
  min-height: 400px;
  background-color: var(--secondary-green);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
@keyframes kenBurns {
  0% { background-size: 100%; }
  100% { background-size: 110%; }
}
.hero-carousel .carousel-item.active {
  animation: kenBurns 10s ease-in-out infinite alternate;
}
.hero-carousel .carousel-item::before {
  display: none !important; /* overlay removed so original image shows perfectly */
}
.hero-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 100%;
  padding: 0 20px;
}
.hero-caption h1 {
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background-color: rgba(0, 230, 118, 0.9); /* tight green background */
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  line-height: 1.2;
}
.hero-caption h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 4px;
  background-color: rgba(255, 255, 255, 0.95); /* tight white background */
  display: inline-block;
  padding: 5px 15px;
  border-radius: 5px;
  margin-bottom: 15px;
}
.btn-custom {
  background-color: var(--accent-green);
  color: #fff !important;
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  text-decoration: none;
}
.btn-custom:hover {
  background-color: #1a7042;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 230, 118, 0.4);
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark-bg), var(--secondary-green));
}
.section-title {
  font-family: 'RocknRoll One', sans-serif;
  color: var(--accent-green);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
}
.about-image {
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}
.about-image:hover {
  transform: scale(1.02);
}

/* Products Section */
.products-section {
  padding: 80px 0;
  background-color: var(--dark-bg);
}
.product-card {
  background-color: #07170c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 230, 118, 0.15);
  border-color: rgba(0, 230, 118, 0.4);
}
.product-card img {
  width: 100%;
  margin: 0;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
  background-color: transparent;
  border-radius: 20px 20px 0 0;
  padding: 0;
  transition: transform 0.5s ease;
}
.product-card:hover img {
  transform: scale(1.03);
}
.product-content {
  padding: 25px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}
.product-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #e8f5ed;
  letter-spacing: 0.5px;
}
.product-link {
  color: var(--accent-green) !important;
  background-color: transparent;
  border: 2px solid var(--accent-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border-radius: 50px;
  transition: all 0.3s ease;
  align-self: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-link i {
  font-size: 0.8rem;
  margin-left: 8px;
  transition: transform 0.3s ease;
}
.product-link:hover {
  background-color: var(--accent-green);
  color: #fff !important;
}
.product-link:hover i {
  transform: translateX(4px);
}

/* Footer */
.footer {
  background-color: #031008;
  padding: 60px 0 0px;
  border-top: 2px solid var(--secondary-green);
}
.footer-title {
  color: var(--accent-green);
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--accent-green);
  padding-left: 5px;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: var(--secondary-green);
  color: var(--light-text);
  border-radius: 50%;
  margin-right: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-icons a:hover {
  background-color: var(--accent-green);
  transform: translateY(-3px);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}
.contact-item i {
  color: var(--accent-green);
  font-size: 1.2rem;
  margin-right: 15px;
  margin-top: 3px;
}
.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 40px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* Modal */
.modal-content {
  background-color: var(--secondary-green);
  color: var(--light-text);
  border: 1px solid var(--glass-border);
}
.modal-header {
  border-bottom-color: rgba(255,255,255,0.1);
}
.modal-footer {
  border-top-color: rgba(255,255,255,0.1);
}
.form-control {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff !important;
}
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
  opacity: 1;
}
.form-control:focus {
  background-color: rgba(255,255,255,0.1);
  border-color: var(--accent-green);
  color: #fff !important;
  box-shadow: 0 0 0 0.25rem rgba(0, 230, 118, 0.25);
}

/* Responsive Hide */
@media (max-width: 767.98px) {
  .topbar {
    display: none !important;
  }
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background-color: #fff !important;
  opacity: 0.3 !important;
  transition: all 0.3s ease !important;
}

.swiper-pagination-bullet:hover {
  opacity: 0.8 !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--accent-green) !important;
  opacity: 1 !important;
  width: 35px !important;
  border-radius: 10px !important;
}

/* Enhanced Mobile Menu Design */
@media (max-width: 991.98px) {
  .navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }
  
  .navbar-toggler:focus,
  .navbar-toggler:active {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.5); /* accent green glow */
    background-color: rgba(0, 230, 118, 0.2);
  }

  .navbar-collapse {
    background-color: rgba(7, 23, 12, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 230, 118, 0.3);
    z-index: 1000;
  }

  .navbar-nav .nav-item {
    margin-bottom: 5px;
  }

  .navbar-nav .nav-link {
    padding: 12px 20px !important;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.03);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    font-size: 1.1rem;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background-color: rgba(0, 230, 118, 0.15);
    border-left: 3px solid var(--accent-green);
    padding-left: 25px !important;
    color: #fff !important;
  }
}

/* Enhanced Product Description Paragraph */
.product-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75); /* Soft light gray for readability */
  line-height: 1.5;
  margin-top: 10px;
  margin-bottom: 0;
  
  /* Truncate text cleanly after 3 lines to keep cards uniform */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Subtle hover effect for the text */
.product-card:hover .product-content p {
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.3s ease;
}


/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-size: 22px;
  border: none;
  outline: none;
  background-color: var(--accent-green);
  color: white;
  cursor: pointer;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.4);
  transition: all 0.3s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollTopBtn:hover {
  background-color: #fff;
  color: var(--accent-green);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
  transform: translateY(-5px);
}
