/* Sidebar and wrapper */
#wrapper {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
}

/* Sidebar */
#sidebar-wrapper {
    min-width: 250px;
    max-width: 250px;
    background-color: #f8f9fa;
    transition: all 0.3s;
    position: fixed;
    height: 100%;
    z-index: 1000;
}

/* Sidebar closed state */
#sidebar-wrapper.closed {
    margin-left: -250px;
}

/* Page content */
#page-content-wrapper {
    width: 100%;
    margin-left: 250px;
    transition: all 0.3s;
}

#sidebar-wrapper.closed ~ #page-content-wrapper {
    margin-left: 0;
}

/* Hamburger button styles */
#sidebarToggle {
    cursor: pointer;
    border: none;
    background: transparent;
}

/* True three-line hamburger icon */
#sidebarToggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #ffffff;
    transition: all 0.3s;
}

/* Responsive: mobile */
@media (max-width: 768px) {
    #sidebar-wrapper {
        margin-left: -250px;
    }
    #sidebar-wrapper.open {
        margin-left: 0;
    }
    #page-content-wrapper {
        margin-left: 0;
    }
}
/* Sidebar open state on mobile */
@media (max-width: 768px) {
    #sidebar-wrapper {
        margin-left: -250px;
        position: fixed;
        z-index: 999;
        transition: all 0.3s;
    }
    #sidebar-wrapper.open {
        margin-left: 0;
    }
    #sidebarClose {
        font-size: 1.5rem;
        line-height: 1;
    }
}

.navbar-name{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important; /* clean modern font */
    font-weight: 400 !important; /* normal weight, not bold */
    font-size: 17px !important; /* default size */
    line-height: 1.5 !important; /* better spacing */
    font-style: italic !important;
}
/* === CATEGORY CARD STYLING === */
.category-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.category-card:hover {
    border-color: #007bff;
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.2);
    transform: translateY(-5px);
}

/* === IMAGE CONTAINER === */
.card-img-container {
    width: 100%;
    height: 220px;                /* set consistent height */
    overflow: hidden;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

/* === IMAGE FIT SETTINGS === */
.category-img {
    width: 100%;
    height: 100%;
    object-fit: contain;           /* fills the div without distortion, crops excess */
    object-position: center;     /* center focus */
    transition: transform 0.4s ease;
}

/* Optional: if you want full image visible, not cropped */
 /* .category-img { object-fit: contain; background-color: #fff; } */

.category-img:hover {
    transform: scale(1.05);
}

/* === TEXT === */
.card-title {
    font-style: italic;
    font-weight: 600;
    font-size: 1.1rem;
    color: #212529;
}

.card-text {
    font-style: italic;
    color: #6c757d;
    font-size: 14px;
}

/* Responsive Product Detail Styling */
.product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.product-details {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.product-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
}

.product-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-image {
        height: 280px;
    }

    .product-details {
        text-align: center;
        box-shadow: none;
    }

    .product-title {
        font-size: 1.4rem;
    }
}


.carousel-img-container {
    width: 100%;
    height: 400px; /* maximum height of container */
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 2px solid #ddd; /* border for slider */
    border-radius: 8px; /* rounded corners */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.carousel-img-container img.product-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;       /* maintain aspect ratio */
    object-position: center;
    transition: transform 0.4s ease;
}

/* Make carousel controls grey */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(128, 128, 128, 0.7); /* semi-transparent grey */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 60%, 60%;
}

/* Optional: hover effect */
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(100, 100, 100, 0.9);
}

.bg-blue,.bg-blue:hover{
    background-color: #0d3b66 !important;
    color: #ffffff; /* White text */
    width: 100%;
}

/* Footer Styling */
.footer {
    background-color: #0d3b66; /* Dark blue */
    color: #ffffff; /* White text */
    width: 100%;
}

.footer h3 {
    font-size: 28px;
}

.footer p {
    font-size: 16px;
    margin: 5px 0;
}

@media (max-width: 768px) {
    .footer h3 {
        font-size: 24px;
    }

    .footer p {
        font-size: 14px;
    }
}

.whatsapp_float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.whatsapp_float img {
    width: 100%;
}
