/* style.scss */
/* _variables.scss */
body {
  background-color: #f8fafc;
  color: #1e293b;
  font-family: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

a.card {
  text-decoration: none;
}

.bg-about-glow {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}
.bg-about-glow::after {
  content: "";
  position: absolute;
  bottom: -200px;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgb(249.5, 201.65, 120.8);
  filter: blur(120px);
  opacity: 0.4;
  z-index: 0;
  border-radius: 50%;
}

.bg-about-glow .container {
  position: relative;
  z-index: 1;
}

.bg-tech-pattern {
  background-color: #f8faff;
  background-image: radial-gradient(rgba(255, 56, 60, 0.15) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  position: relative;
  overflow: hidden;
}
.bg-tech-pattern::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgb(249, 196.8, 108.6);
  filter: blur(80px);
  opacity: 0.3;
  z-index: 0;
  border-radius: 50%;
}

.bg-tech-pattern .container {
  position: relative;
  z-index: 1;
}

a {
  text-decoration: none;
}

.b-primary {
  background-color: #ff383c !important;
}

.b-secondary {
  background-color: #f59e0b !important;
}

.b-light {
  background-color: #f8fafc !important;
}

.txt-primary {
  color: #ff383c !important;
}

.txt-secondary {
  color: #f59e0b !important;
}

.bt-primary {
  background-color: #ff383c !important;
  color: white !important;
  border: none;
  transition: all 0.3s ease;
}
.bt-primary:hover {
  background-color: #fdd2d3 !important;
  color: white !important;
}

.bt-link-primary {
  background-color: transparent !important;
  color: #ff383c;
  border: none;
  transition: all 0.3s ease;
}
.bt-link-primary:hover {
  background-color: transparent !important;
  color: #ff383c;
}

.bt-outline-primary {
  border: 1px solid #ff383c !important;
  color: #ff383c !important;
  background-color: transparent !important;
  transition: all 0.3s ease;
}
.bt-outline-primary:hover {
  background-color: #ff383c !important;
  color: white !important;
}
.bt-outline-primary:active {
  background-color: #ff383c !important;
  color: white !important;
}

.logo-navbar {
  width: 50px;
}

@media (max-width: 768px) {
  .title-navbar {
    font-size: 0.8rem;
  }
  .logo-navbar {
    width: 30px;
  }
}
#heroCarousel .hero-img {
  height: 800px;
  -o-object-fit: cover;
     object-fit: cover;
  filter: brightness(0.5);
}
#heroCarousel .hero-caption-clean {
  top: 30%;
  left: 15%;
  right: auto;
  text-align: left;
  width: 60%;
  padding-left: 0;
}
#heroCarousel .hero-caption-clean h1 {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
  font-family: "Space Grotesk", sans-serif;
}
#heroCarousel .hero-caption-clean p {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  #heroCarousel .hero-caption-clean h1 {
    font-size: 1rem !important;
  }
  #heroCarousel .hero-caption-clean p {
    font-size: 0.7rem !important;
  }
  #heroCarousel .hero-caption-clean .btn-tefa-primary {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    font-size: 0.7rem !important;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }
}
.btn-tefa-primary {
  all: unset;
  background-color: #ff383c;
  color: white;
  border: none;
  transition: all 0.3s ease;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 2rem !important;
}
.btn-tefa-primary:hover {
  background-color: rgb(255, 5, 10.0251256281);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 56, 60, 0.4);
}

.card-category {
  background-color: white;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.card-category .icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgb(255, 235.1, 235.5);
  color: #ff383c;
  transition: all 0.3s ease;
}
.card-category .icon-wrapper i {
  line-height: 1;
}
.card-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border-color: rgb(255, 215.2, 216);
}
.card-category:hover .icon-wrapper {
  background-color: #ff383c;
  color: white;
  transform: rotateY(180deg);
}
.card-category h4 {
  color: #1e293b;
}

.group-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
}
.group-card .transition-img {
  transition: transform 0.5s ease;
}
.group-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}
.group-card:hover .transition-img {
  transform: scale(1.05);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.animated-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  #heroCarousel .hero-img {
    height: 400px;
  }
  #heroCarousel .carousel-caption {
    display: block !important;
    bottom: 10%;
    padding: 1rem !important;
  }
  #heroCarousel .carousel-caption h1 {
    font-size: 1.5rem;
  }
  #heroCarousel .carousel-caption p {
    font-size: 0.9rem;
  }
  #heroCarousel .carousel-caption .btn {
    padding: 5px 15px;
    font-size: 0.8rem;
  }
}
.breadcrumb-tefa .breadcrumb-item a {
  color: #64748b;
}
.breadcrumb-tefa .breadcrumb-item a:hover {
  color: #ff383c;
}
.breadcrumb-tefa .breadcrumb-item.active {
  color: #ff383c;
  font-weight: 600;
}

.product-gallery .main-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.product-gallery .main-image img {
  transition: transform 0.5s ease;
}
.product-gallery .main-image img:hover {
  transform: scale(1.05);
}
.product-gallery .thumb-list {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.product-gallery .thumb-list .thumb-item {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  opacity: 0.7;
  transition: all 0.3s;
}
.product-gallery .thumb-list .thumb-item.active, .product-gallery .thumb-list .thumb-item:hover {
  border-color: #ff383c;
  opacity: 1;
}
.product-gallery .thumb-list .thumb-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.product-info .badge-category {
  background-color: #fdd2d3;
  color: #ff383c;
  padding: 5px 12px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
}
.product-info h1 {
  font-weight: 800;
  color: #1e293b;
  margin-top: 10px;
}
.product-info .price-tag {
  font-size: 1.5rem;
  color: #ff383c;
  font-weight: 700;
}
.product-info .specs-box {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}
.product-info .specs-box li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-info .specs-box li i {
  color: #f59e0b;
}

.news-image {
  height: 400px;
  -o-object-fit: cover;
     object-fit: cover;
}

.btn-wa {
  background-color: #25d366;
  color: white;
  border: none;
  font-weight: 600;
}
.btn-wa:hover {
  background-color: rgb(29.3911290323, 167.6088709677, 81.0241935484);
  color: white;
}

.gallery-item {
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  transition: transform 2s ease;
}
.gallery-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}
.gallery-item:hover img {
  transform: scale(1.1);
}

.btn-primary-tefa {
  background-color: #ff383c;
  color: white;
  border: none;
}
.btn-primary-tefa:hover {
  background-color: rgb(255, 5, 10.0251256281);
  color: white;
}

.hover-up {
  transition: transform 0.3s;
}

.hover-up:hover {
  transform: translateY(-5px);
}

.object-fit-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

/* Animasi Simpel saat ganti Tab */
.animate-fade {
  animation: fadeIn 0.5s;
}

.translate-y-100 {
  transform: translateY(100%);
}

.group-card:hover .hover-show {
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mt-n5 {
  margin-top: -3rem !important;
}

.input-group-text {
  background-color: #fff;
}

.form-control:focus {
  box-shadow: none;
  border-color: #ff383c;
}

.pagination .page-link {
  color: #ff383c;
  background-color: white;
  border: 1px solid #dee2e6;
}
.pagination .page-link:focus {
  box-shadow: none;
  background-color: #f8f9fa;
}
.pagination .page-link:hover {
  color: rgb(255, 235.1, 235.5);
  background-color: #f8f9fa;
  border-color: #dee2e6;
}
.pagination .page-item.active .page-link {
  background-color: #ff383c;
  border-color: #ff383c;
  color: white;
}
.pagination .page-item.active .page-link:hover {
  background-color: #ff383c;
  border-color: #ff383c;
}

.article-content {
  font-size: 1.1rem;
}
.article-content p {
  margin-bottom: 1.5rem;
}
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5 {
  color: #1e293b;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.group-card-sidebar {
  transition: background-color 0.2s ease;
}
.group-card-sidebar:hover {
  background-color: #f8f9fa;
}
.group-card-sidebar:hover .text-dark {
  color: #ff383c !important;
}
.group-card-sidebar:hover .transition-img {
  transform: scale(1.1);
}
.group-card-sidebar:last-child {
  border-bottom: none !important;
}

#productTab .nav-link {
  color: #1e293b;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
#productTab .nav-link:hover {
  color: #ff383c;
  background-color: white;
  border-color: #ff383c;
}
#productTab .nav-link.active {
  background-color: #ff383c;
  color: white;
  box-shadow: 0 4px 6px rgba(255, 56, 60, 0.3);
  border-color: #ff383c;
}

.breadcrumb-white {
  --bs-breadcrumb-divider-color: #ffffff !important;
}
.breadcrumb-white .breadcrumb-item.active {
  color: #ffffff;
}
.breadcrumb-white .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.breadcrumb-white .breadcrumb-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.masonry-grid {
  -moz-column-count: 3;
       column-count: 3;
  -moz-column-gap: 1.5rem;
       column-gap: 1.5rem;
}
@media (max-width: 992px) {
  .masonry-grid {
    -moz-column-count: 2;
         column-count: 2;
  }
}
@media (max-width: 576px) {
  .masonry-grid {
    -moz-column-count: 1;
         column-count: 1;
  }
}

.masonry-item {
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  margin-bottom: 1.5rem;
}
.masonry-item .bg-gradient-to-top {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}
.masonry-item .group-card:hover .hover-show {
  opacity: 1;
}
.masonry-item .group-card:hover .transition-img {
  transform: scale(1.05);
}

.floating-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1050;
  background-color: #fff;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  width: 80px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .floating-sidebar {
    display: none;
  }
}

.sidebar-top-accent {
  height: 6px;
  background-color: #ff383c;
  width: 100%;
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 5px;
  text-decoration: none;
  color: #f59e0b;
  transition: all 0.2s ease;
}
.sidebar-item span {
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 2px;
  text-align: center;
  line-height: 1.2;
}
.sidebar-item:hover {
  background-color: #f8f9fa;
  color: #ff383c;
}
.sidebar-item:hover i {
  transform: scale(1.1);
  transition: transform 0.2s;
}

.sidebar-divider {
  height: 1px;
  background-color: #f1f1f1;
  width: 80%;
  margin: 0 auto;
}

.partner-logo-wrapper {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .partner-logo-wrapper {
    height: 60px;
  }
}

.partner-logo {
  max-height: 100%;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}
.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}