
/**
 * ----------------------------------------------------
 * Custom Stylesheet for Bootstrap 5 Header
 * File: style.css
 * Version: 2.0
 * ----------------------------------------------------
 * Author: Muhammad Amir (amir.idl4@gmail.com) idl4.com
 */

/* --- 1. Global Reset & Body Padding --- */
body {
    font-family: 'Arial', sans-serif;
    color: #212529;
    line-height: 1.6;
    /* Adjust padding-top to match the height of your fixed header */
}


h1, h2, h3, h4, h5, h6, p, pre, ul, li, a {
	margin: 0;	
	padding: 0;
	list-style: none;
	text-decoration: none;
}
a:hover,a:focus{
	text-decoration: none!important;
}
input:focus,select:focus,textarea:focus{
	outline:none!important;
	box-shadow: none!important;
}

.btn-link{
	color:#ff9900!important;
}

.text-brand{
	color:#ff9900;
}
.text-dark{
	color:#212529!important;
}
a,.btn-outline-dark,.btn-dark,.btn-warning,.btn-whatsapp,.btn-success{
	-webkit-transition: background .5s ease, border .5s ease, color .5s ease, opacity .5s ease-in-out;
	-moz-transition: background .5s ease, border .5s ease, color .5s ease, opacity .5s ease-in-out;
	-ms-transition: background .5s ease, border .5s ease, color .5s ease, opacity .5s ease-in-out;
	-o-transition: background .5s ease, border .5s ease, color .5s ease, opacity .5s ease-in-out;
	transition: background .5s ease, border .5s ease, color .5s ease, opacity .5s ease-in-out;
}
.text-warning{
color:#ffb33f!important;
}
.btn-whatsapp{
	background-color: #25D366;
	border-color: #25D366;
}
.btn-whatsapp:hover,.btn-whatsapp:focus{
	    background-color: #1ebe5c;
	    border-color: #1ebe5c;
}
.btn-warning,.btn-primary{
	background:#ff9900!important;
	border:1px solid #ff9900!important;
	color:#212529!important;
	
}
.btn-warning:hover,.btn-warning:focus,.btn-primary:hover,.btn-primary:focus{
	background:#ffb33f!important;
	color:#212529!important;
}
.btn-outline-dark{
	border:1px solid #ddd!important;
	color:#333;
}
.btn-outline-dark:hover,.btn-outline-dark:focus{
	border:1px solid #212529!important;
}
/* --- 2. Main Header/Navbar Styles --- */
.main-header {
    /* Use bg-white and border-bottom classes on the <nav> element for BS5 styling */
    z-index: 1030; /* Ensure header stays on top */
}

/* Branding/Logo Area */
.navbar-brand {
    padding: 0;
}

.site-logo {
    max-height:100px; /* Define a professional height for the logo */
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

/* --- 3. Main Navigation Menu Styles --- */
.main-nav .navbar-nav {
    /* Ensure the list fills space on desktop */
}

.main-nav .nav-item {
    margin: 0 5px;
}

.main-nav .nav-link {
    color: #212529 !important; /* Text color */
    font-weight: 600;
    font-size: 1rem;
    padding: 15px 10px; /* Generous padding for clickable area */
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 3px solid transparent; /* Prepare for hover effect */
}

.main-nav .nav-link:hover {
    color: #ff9900 !important; /* Blue on hover */
    border-bottom: 3px solid #ff9900;
}

.main-nav .nav-item.active a{
    color: #ff9900 !important; /* Active link color */
    border-bottom: 3px solid #ff9900;
}

/* --- 4. Search Widget Styles --- */
.header-widgets {
    padding-left: 15px;
}

.search-box {
    position: relative; /* Container for the dropdown */
}

.search-btn {
    font-size: 1.2rem;
    margin-left: 10px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.search-btn:hover {
    opacity: 1;
}

.search-form {
    /* Styles for the dropdown panel */
    min-width: 320px;
    border-radius: 0.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    top: 100%; /* Position below the button */
    right: 0;
}

.search-form .form-control {
    border: 1px solid #ced4da;
    border-radius: 0.25rem 0 0 0.25rem;
}

.search-button {
    border-radius: 0 0.25rem 0.25rem 0;
    padding: 0.375rem 0.75rem;
}

/* --- 5. Responsive Adjustments (Mobile/Tablet) --- */
@media (max-width: 370px) {
	.search-form {
    min-width: 250px;
	}
}
@media (max-width: 991.98px) {
   
    
    .navbar-collapse {
        /* Mobile menu styling */
        background-color: #f8f9fa; /* Light grey background for collapse menu */
        border-top: 1px solid #eee;
        padding: 10px 0;
    }

    .main-nav .nav-item {
        margin: 0;
        border-bottom: 1px solid #eee; /* Separator lines on mobile */
    }

    .main-nav .nav-item:last-child {
        border-bottom: none;
    }

    .main-nav .nav-link {
        padding: 10px 15px; /* Full width padding on mobile */
        border-bottom: none !important; /* Remove desktop hover underline on mobile */
    }
    
    .header-widgets {
        padding: 10px 15px;
        justify-content: end; /* Align widgets to the left on mobile */
    }
}




/* ----------------------------------------------------
 * 6. Footer Styles (For the dark, structured look)
 * ----------------------------------------------------
 */

.site-footer {
    background-color: #212529 !important; /* Dark background color (Use a specific dark gray/black) */
    color: #f8f9fa; /* Light text color for contrast */
    font-size: 0.95rem;
}

/* Footer Widget Titles */
.footer-title {
    color: #fff; /* Titles are pure white */
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Contact List (With Icons) */
.footer-contact-list li {
    color: #adb5bd; /* Slightly muted text for the contact info */
    margin-bottom: 10px;
}

.footer-contact-list i {
    color: #adb5bd; /* Optional: Highlight icons with a brand color */
    font-size: 1.1rem;
    width: 20px; /* Ensures all icons align perfectly */
    text-align: center;
}
.footer-contact-list a{
	color:#adb5bd;
}
.footer-contact-list a:hover,.footer-contact-list a:focus{
	color:#eee;
}
/* Help Menu & Link Lists */
.footer-link-list li {
    margin-bottom: 8px;
}

.footer-link-list a {
    color: #adb5bd; /* Muted text for links */
    transition: color 0.2s ease;
}

.footer-link-list a:hover {
    color: #eee; /* White hover for emphasis */
}

/* Delivery and Payment Lists (With Icons) */
.delivery-modes li,
.payment-methods li {
    color: #adb5bd;
    margin-bottom: 8px;
}

.delivery-modes i,
.payment-methods i {
    color: #adb5bd;
    width: 20px;
    text-align: center;
}

/* Horizontal Divider Line */
.footer-divider {
    border-color: rgba(255, 255, 255, 0.1); /* Very subtle white line */
}

/* Copyright Text */
.site-footer .text-muted.small {
    color: #6c757d !important; /* Darker grey for the copyright area */
    font-size: 0.8rem;
}
.site-footer .text-muted a {
    color: #6c757d !important;
    font-size: 0.8rem;
}
.site-footer .text-muted a:hover {
    color: #fff !important;
}

/* Footer Social Icons */
.footer-social {
    margin-top: 10px;
}

.social-icon-link {
    color: #eee;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.social-icon-link:hover,.social-icon-link:focus {
    color: #fff; /* Blue hover effect */
}
/* ----------------------------------------------------
 * 8. Back to Top Button
 * ----------------------------------------------------
 */
.back-to-top-btn {
    position: fixed;
    width: 50px;
    height: 50px;
    /* Positioned 80px from bottom (20px separation from whatsapp-float) */
    bottom: 80px; 
    right: 20px;
    background-color: #ff9900; /* Primary Brand Color */
    color: #212529;
    border: none;
    border-radius: 50%;
    text-align: center;
    font-size: 1.25rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 999; /* Below WhatsApp, but still high */
    display: none; /* Hidden by default, shown via JS */
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.back-to-top-btn:hover {
    background-color: #ff9900;
    opacity: 0.9;
}

/* Ensure the WhatsApp button is styled with 'bottom: 20px;' */

/* ----------------------------------------------------
 * 7. WhatsApp Floating Button
 * ----------------------------------------------------
 */
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366; /* WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    color: #FFF;
    transform: scale(1.1);
}

.product-card {
  border: 1px solid #eee;
  border-radius: 8px;
  transition: 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  box-shadow: 0 5px 18px rgba(0,0,0,0.18);
  transform: translateY(-4px);
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
}

.main-img, .hover-img {
  transition: 0.35s ease-in-out;
  padding:8px;
}

.product-img-wrapper:hover .hover-img {
  opacity: 1!important;
}

.product-img-wrapper:hover .main-img {
  opacity: 0;
}

.quick-mask {
  pointer-events:none;
}

.product-img-wrapper:hover .quick-mask {
  opacity: 1;
}


.product-title {
  font-size: 14px;
  min-height: 48px;
  font-weight: 600;
  color:#333;
}

.product-price {
  color:#ff9900;
  font-weight:600;
  font-size:18px;
}

.product-sku {
  color:#333;
  font-size: 12px;
  padding:5px;
}

#company-profile .map-container {
    min-height: 380px;
  }
  #company-profile iframe {
    display: block;
  }
  #company-profile .btn-outline-dark {
    border-color: #212529;
    color: #212529;
    transition: 0.2s ease;
  }
  #company-profile .btn-outline-dark:hover {
    background-color: #212529;
    color: #fff;
  }
  @media (max-width: 767.98px) {
    #company-profile .company-content { padding: 1.5rem; }
    #company-profile iframe { min-height: 300px; }
        .card .img-fluid { max-height:300px; }
    
  }

  
  .page-wrapper {
    min-height: 600px;
}

/* Title styling */
.page-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Breadcrumb style */
.breadcrumb_section{
	background:#f7f7f7;
}
.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb a {
    text-decoration: none;
    color: #6c757d;
}

.breadcrumb a:hover {
    text-decoration: underline;
    color: #000;
}

/* Page text */
.page-content {
    font-size: 1rem;
    line-height: 1.7;
}

.page-content p {
    margin-bottom: 1rem;
}
  
.rounded-thumb { border-radius: 8px; overflow: hidden; }
.rounded-thumb img { display: block; }
.card.shadow-sm { box-shadow: 0 3px 12px rgba(0,0,0,0.08)!important; }


/**Product Detail Page**/
.pd_detail h2{
	font-size:1.5rem;
}
.pd_sku{
	padding:10px 0px;
}
.pd_note {
	border:1px dashed #ddd;
	padding:8px;
	font-size:14px;
}
#desc-section h2{
	font-size:24px;
	padding:10px 0;
}
#desc-section th,td{
	border:1px solid #ddd;
	padding:2px 8px;
}
#desc-section th{
	background:#f7f7f7;
}

.related h5{
	font-size:20px;
	font-weight: bold;
}

.btn-whatsapp {
  position: relative;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 0 12px rgba(37, 211, 102, 0.8); }
  100% { box-shadow: 0 0 0 rgba(37, 211, 102, 0.6); }
}

.btn-whatsapp:hover {
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  75% { transform: translateX(2px); }
}

.btn-whatsapp {
  position: relative;
}

.notif-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: red;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popBadge 1.5s infinite;
}

@keyframes popBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}



.share-box {
  background: #f8f9fa;
  padding: 14px 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-left: 3px solid #ffc107;
}

.share-label {
  font-weight: 600;
  font-size: 15px;
}

.share-icons {
  display: flex;
  gap: 10px;
}

.share {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  border-radius: 50%;
  font-size: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.share:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.share.fb { background: #1877F2; }
.share.wa { background: #25D366; }
.share.tw { background: #000; }
.share.pin { background: #E60023; }
.share.ln { background: #0077B5; }
.share.em { background: #6c757d; }
.contact-info-widget .info-box {
  transition: all 0.4s ease;
  background: #fff;
}

.contact-info-widget .info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-info-widget .icon {
  transition: transform 0.4s ease, color 0.4s ease;
}

.contact-info-widget .info-box:hover .icon {
  transform: scale(1.2);
  color: #000;
}

/* Optional subtle entrance animation */
.animate-box {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards;
}

.animate-box:nth-child(1) { animation-delay: 0.1s; }
.animate-box:nth-child(2) { animation-delay: 0.3s; }
.animate-box:nth-child(3) { animation-delay: 0.5s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
