.navbar{
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled{
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.nav-link{
    font-weight: 500;
    color: var(--solarco-blue) !important;
    transition: color 0.3s;
}
.nav-link:hover{
    background-color: var(--solarco-blue) !important;
    color: var(--solarco-white) !important;
    font-weight: 600;
}
.nav-link.active{
    background-color: var(--solarco-blue) !important;
    color: var(--solarco-white) !important;
    font-weight: 600;
}
.nav-item{
    margin-right: 8px;
}
.hero{
    height: 600px;
    overflow: hidden;
}
.hero-bg{
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay{
    background: linear-gradient(to right, var(--solarco-orange-rgba), var(--solarco-orange-transparent));
    top: 0;
    left: 0;
    z-index: 1;
}
.hero .container{
    z-index: 2;
}
.card:hover{
    transform: translateY(-5px);
    transition: all 0.3s ease;
}
.btn{
    transition: transform 0.2s ease-in-out;
}
.btn:hover{
    transform: scale(1.05);
}
.footer{
    background: #0d6efd; /* Bootstrap primary */
    color: #fff;
}
.logo-circle{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.footer-link{
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-link:hover{
  color: #fff;
  text-decoration: underline;
}
.footer ul li{
  margin-bottom: 8px;
}
.circle{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--solarco-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}
.bg-about-gradient{
    background: linear-gradient(to bottom, rgba(13, 110, 253, 0.1), #fff) !important;
}
.product-card{
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-img,
.product-img-hover{
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: .5rem;
    transition: opacity 0.4s ease;
}
/* The second image that appears on hover */
.product-img-hover{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1; /* below the price tag */
}
.product-card:hover .product-img-hover{
    opacity: 1;
}
.product-card:hover .product-img{
    opacity: 0;
}
/* Ensure price tag stays on top */
.position-absolute.bg-orange {
    position: absolute;
    z-index: 2; /* higher than image hover */
}
.map-placeholder{
    height: 400px;
    background: #f0f0f0;
}
.w-30{
    width: 30%
}
.filter_search{
    transition: 0.4s;
}
.filter_search:hover{
    background-color: #E8E8E8;
    transition: 0.4s;
}
.filter-small{
    display: none;
}
.navbar-hover{
    transition: 0.5s;
}
.navbar-hover:hover{
    transition: 0.5s;
    background-color: #DDDCDC !important;
}
.pointer{
    cursor: pointer;
}
#mainImage {
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Slide Out Animations */
.slide-out-right {
  animation: slideOutRight 0.5s forwards;
}
.slide-out-left {
  animation: slideOutLeft 0.5s forwards;
}

/* Slide In Animations */
.slide-in-right {
  animation: slideInRight 0.5s forwards;
}
.slide-in-left {
  animation: slideInLeft 0.5s forwards;
}
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    border: none;
    color: white;
    font-size: 0.6rem;
    padding: 0.4rem 0.6rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.left-btn {
    left: 15px;
}

.right-btn {
    right: 15px;
}

/* Smooth slide animations */
@keyframes slide-out-left {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-50px); }
}
@keyframes slide-in-left {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slide-out-right {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(50px); }
}
@keyframes slide-in-right {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-out-left { animation: slide-out-left 0.4s forwards; }
.slide-in-left { animation: slide-in-left 0.4s forwards; }
.slide-out-right { animation: slide-out-right 0.4s forwards; }
.slide-in-right { animation: slide-in-right 0.4s forwards; }
/* Keyframes */
@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}
@keyframes slideOutLeft {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-100%); opacity: 0; }
}
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
ul.no-bullets{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.images{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.images .swiper{
    width: 100%;
    height: 300px;
}
.images .swiper-slide{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.images .swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0.6;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}
.images .swiper-slide img:hover{
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}
.images .swiper-slide-active img{
    transform: scale(1.1);
    opacity: 1;
    filter: none;
}
.cart-animate {
  display: inline-block;
  animation: cartBounce 1.5s ease-in-out infinite;
}

@keyframes cartBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.social-fixed{
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1050;
}
.social-icon{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
/* WhatsApp */
.social-icon.whatsapp{
    background-color: #25D366;
}
/* Facebook */
.social-icon.facebook{
    background-color: #1877F2;
}
.social-icon.instagram{
    background-color: #f21861;
}
/* Hover effects */
.social-icon:hover{
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}