@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes hot-sale-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Home Landing Styles */
.landing-container {
  padding-top: 130px;
}

.landing-container .img-cover {
  object-fit: cover;
}

.bg-grad {
  height: 6px;
  border-radius: 3px;
}

/* Home Product Styles */
.home-product-fit {
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.home-product-card {
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.image-zoom-container {
  overflow: hidden;
  position: relative;
}

.image-zoom-container:hover .home-product-fit {
  transform: scale(1.05);
}

.icon-container {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.icon-container-icon {
  width: 40px;
  height: 40px;
}

.icon-hot-sale {
  animation: hot-sale-blink 1s linear infinite;
}

/* Home Contact Styles */
.contact-image {
  object-fit: cover;
}

.icon-circle {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.icon-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-inner i {
  font-size: 14px;
  color: #ffffff;
}

.icon-inner svg {
  width: 16px;
  height: 16px;
}

/* Home Promotion Styles */
.home-promotion-fit {
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
  height: 230px;
}

.home-promotion-card {
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.image-zoom-container {
  overflow: hidden;
  max-height: 25vh;
}

.image-zoom-container:hover .home-promotion-fit {
  transform: scale(1.05);
}

/* Home Service Styles */
.service-card-container .icon-circle {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
}

.service-card-container .icon-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.service-card-container .icon-inner i {
  font-size: 3.5em;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  color: currentColor;
}

/* Home Project Styles */
.home-project-fit {
  object-fit: cover;
  transition: opacity 0.2s ease-in-out;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.home-project-card {
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.image-highlight-container {
  position: relative;
  overflow: hidden;
}

.image-highlight-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s ease-in-out;
}

.image-highlight-container:hover::before {
  background: rgba(0, 0, 0, 0.1);
}

/* Home Page Layout Styles */
#promotion::before {
  content: '';
  display: block;
  height: 130px;
  margin-top: -130px;
  visibility: hidden;
}

#service::before {
  content: '';
  display: block;
  height: 130px;
  margin-top: -130px;
  visibility: hidden;
}

#product::before {
  content: '';
  display: block;
  height: 130px;
  margin-top: -130px;
  visibility: hidden;
}

#project::before {
  content: '';
  display: block;
  height: 130px;
  margin-top: -130px;
  visibility: hidden;
}

/* Promotion Detail Styles */
.promotion-detail-container {
  padding-top: 130px;
  padding-bottom: 50px;
}

.carousel-image {
  object-fit: cover;
}

/* Product Detail Styles */
.service-detail-container {
  padding-top: 130px;
  padding-bottom: 50px;
}

#line-qrcode {
  max-height: 150px;
  width: auto;
}

/* Navbar Styles */
.nav-logo-container {
  max-height: 100%;
  max-width: 70vw;
}

.nav-logo {
  border-radius: 5px;
}

/* Cookie Banner Styles */
#cookieConsentBanner {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1000;
}

/* Cookie Modal Styles */
.modal-dialog-centered {
  display: flex;
  align-items: center;
}