/* === Navbar === */
.custom-navbar {
  background-color: #ffffffda;
  transition: all 0.4s ease-in-out;
  z-index: 9999;
}

.custom-navbar .navbar-brand {
  color: #4c00ff !important;
  font-weight: bold;
}

.custom-navbar .nav-link {
  color: #000000 !important;
  transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover {
  color: #ff0000 !important;
}

.custom-navbar .container-fluid {
  padding-left: 100px;
  padding-right: 100px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .custom-navbar .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .custom-navbar .navbar-brand {
    font-size: 1.2rem; /* slightly smaller brand text */
  }

  .custom-navbar .nav-link {
    font-size: 0.95rem; /* scale down links */
  }
}

/* Scrolled state */
.animated-navbar.scrolled {
  background-color: #ffffffda;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.animated-navbar.scrolled .navbar-brand {
  color: #000000 !important;
}

.animated-navbar.scrolled .nav-link:hover {
  color: #ff0000 !important;
}


/* Brand hover effects */
.custom-brand:hover,
.custom-gal:hover {
  transition: color 0.3s ease, text-decoration 0.3s ease;
  text-decoration: underline;
}

.custom-brand:hover {
  color: #052fa4 !important;
}

.custom-gal:hover {
  color: #9fb6f6 !important;
}

/* === Carousel Controls === */
.custom-control {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 20px 20px;
  filter: invert(50%);
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 10px;
}

.custom-control:hover .carousel-control-prev-icon,
.custom-control:hover .carousel-control-next-icon {
  filter: invert(100%);
}

/* === Buttons === */
.button-container {
  display: flex;
  justify-content: center;
}

.button-container .btn {
  font-size: 14px;
  padding: 6px 12px;
}

/* === Global Layout === */
html, body {
  background: #ffffff;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* === Cards === */
.card {
  border: 1px solid #ffffff;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  margin-bottom: 1rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.card-title {
  font-weight: bold;
  font-size: 1.2rem;
  color: #0d6efd;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
}

.card-body {
  text-align: center;
  padding: 1.5rem;
}

/* Product images */
.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background-color: #fff;
  padding: 5px;
}

/* Brand logos inside cards */
.card img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  background-color: #fff;
  padding: 5px;
}

/* Mobile adjustments */
@media (max-width: 576px) {
  .card-img-top {
    height: 120px;
  }
  .card img {
    height: 60px;
  }
}

/* === Carousel === */
.carousel-item img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
  .carousel-item img {
    height: 160px;
  }
  .carousel-item h2 {
    font-size: 1.2rem;
  }
  .carousel-item h5 {
    font-size: 1rem;
  }
}

/* === Messenger Float Button === */
.messenger-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background-color: #00a2ff;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.messenger-float img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .messenger-float {
    bottom: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .messenger-float {
    bottom: 10px;
    right: 10px;
  }
  .messenger-float img {
    width: 24px;
    height: 24px;
  }
}

/* === Hover Image Swap === */
.hover-container {
  position: relative;
}

.hover-container .hover-img {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
}

.hover-container:hover .default-img {
  display: none;
}

.hover-container:hover .hover-img {
  display: block;
}

/* === Hero Section === */
.hero {
  background: url("images/jilmar_image2.png") no-repeat center center;
  background-size: cover;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* === Page Header === */
.page-header {
  font-family: 'Roboto', sans-serif;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
}

/* === Footer === */
footer {
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  z-index: 9999;
}

footer a:hover {
  text-decoration: underline;
  color: #0d6efd;
}

/* === Gallery === */
.gallery-img {
  object-fit: cover;
  height: 250px;
}

.member {
  font-size: 1.2rem;
  color: #000;
  font-weight: bold;
}

/* === Contact Page === */
form input,
form textarea,
form button {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.5rem;
}

form button {
  background-color: #0d6efd;
  color: #fff;
  border: none;
  border-radius: 4px;
}

.contact-info p {
  margin-bottom: 1rem;
}

/* === Typography === */
h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* === Brand Cards === */
.brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  height: 200px;
}

.brand-card img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}

/*product scc*/

body {
  position: relative;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 70px;           /* offset by navbar height */
  left: 0;
  height: calc(100% - 70px); /* subtract navbar height so it fits neatly */
  width: 200px;
  padding-top: 1rem;
  background-color: #f8f9fa00;
  border-right: 1px solid #ffffff00;
}

/* Content area */
.content {
  padding-top: 2rem;
  margin-left: 200px;
  padding: 2rem;
}

/* Active nav link */
.nav-link.active {
  font-weight: bold;
  color: #0d6efd;
}


.card img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card img:active {
  transform: scale(1.2); /* zoom effect */
}


/* Mobile adjustments */
@media (max-width: 768px) {
  .sidebar {
    display: none; /* hide sidebar on mobile */
  }
  .content {
    margin-left: 0; /* remove left margin */
  }
}
