:root {
    --minjon-orange: #ff6600;
    /* Approximate color from the logo/button */
    --minjon-dark-text: #333;
    --minjon-light-text: #fff;
    --minjon-gray: #f8f9fa;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
        /* Starts 100px to the left and invisible */
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        /* Ends at its natural position and fully visible */
    }
}


/* Hero Section Styling */
.hero-section {
    position: relative;
    width: 100%;
    height: 500px;
    /* Adjust height as needed */
    background-image: url('../Images/Homepage1.jpg');
    /* Placeholder Image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align text to the left */
    color: var(--minjon-light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* For readability on image */
    padding-left: 10%;
    /* Adjust text position from left */
}


.hero-section .container {
    margin-top: -75px;
}


.hero-section .hero-content h1 {
    font-size: 3.8em;
    color: White;
    /* Adjust font size */
    margin-bottom: 10px;
    line-height: 1.2;
    max-width: 600px;
    /* Limit width of text */
    /* for animation */
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInFromLeft 0.8s ease-out forwards;
    animation-delay: 1.5s;
}

.hero-section .hero-content p {
    font-size: 1.5em;
    color: white;
    margin-bottom: 20px;
    max-width: 600px;
    /* for animation */
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInFromLeft 0.8s ease-out forwards;
    animation-delay: 1.5s;
}


/* product details css */
/* Product Detail Section General Styles */

.headproduct{
    display: flex;
    height: 35px;
}

.col-md-12 {
    width: 50%;
    height: 575px;
}

.product-detail-section {
    background-color: #f8f8f8;
    /* Light gray background for the section */
}

/* Card styling for main content blocks */
.product-image-display {
    height: 100%;
}

.product-image-display,
.product-specifications,
.product-categories-sidebar {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border: none;
    height: 100%;
}

/* Left Column: Product Image Display */
.main-product-img {
    max-width: 100%;
    height: 85%;
    display: block;
    /* Ensures no extra space below image */
}

.thumbnail-gallery .thumbnail-img {
    width: 60px;
    /* Size for thumbnails */
    height: 60px;
    object-fit: contain;
    /* Ensures images fit without cropping */
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.thumbnail-gallery .thumbnail-img:hover,
.thumbnail-gallery .thumbnail-img.active {
    border-color: #ff6600;
    /* Orange border on hover/active */
}

/* Middle Column: Product Specifications */
.product-title-detail {
    font-size: 1.8em;
    /* Adjusted font size */
    color: #333;
    /* Dark text color */
    font-weight: 700;
    line-height: 1.3;
}

.product-qr-icon {
    font-size: 0.8em;
    /* Smaller icon size relative to text */
    color: #888;
    /* Grey color for the icon */
    vertical-align: middle;
    /* Align with text */
    cursor: pointer;
}

.spec-heading {
    font-size: 1.2em;
    color: #555;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    /* Separator line */
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.spec-list {
   
}

.spec-item .spec-label {
    font-weight: 600;
    color: #555;
}

.spec-item .spec-value {
    color: #777;
}

/* Right Column: Product Categories Sidebar */
.product-categories-sidebar {
    padding: 0;
    height: 100%;
    /* Remove default padding from card if present */
    overflow: hidden;
    /* Ensures header border-radius works */
}

.category-header {
    background-color: #ff6600;
    /* Orange background */
    color: #fff;
    /* White text */
    padding: 12px 15px;
    font-weight: 700;
    font-size: 1.1em;
    text-align: center;
    border-radius: 8px 8px 0 0;
    /* Rounded top corners */
    text-transform: uppercase;
}

.category-list {
    padding: 15px 0;
    /* Padding inside the list container */
    list-style: none;
    /* Remove default list bullets */
    margin-bottom: 0;
    /* Remove default margin */
}

.category-list li {
    padding: 8px 20px;
    /* Padding for main list items */
    border-bottom: 1px solid #f0f0f0;
    /* Light separator */
}

.category-list li:last-child {
    border-bottom: none;
    /* No border for the last item */
}

.category-list li a {
    color: #555;
    /* Dark gray link color */
    text-decoration: none;
    transition: color 0.2s ease;
}

.category-list li a:hover {
    color: #ff6600;
    /* Orange on hover */
}

.category-list ul {
    /* Nested lists for sub-categories */
    padding-left: 20px;
    /* Indentation for sub-items */
    margin-top: 5px;
    margin-bottom: 5px;
}

.category-list ul li {
    padding: 5px 0;
    /* Smaller padding for sub-items */
    border-bottom: none;
    /* No border for sub-items */
}

.category-list ul li a {
    font-size: 0.95em;
    /* Slightly smaller font for sub-items */
    color: #777;
}

.category-list ul li a:hover {
    color: #ff6600;
}


.other-products-link {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
    /* Separator above the link */
}

.other-products-link a {
    color: #007bff;
    /* Bootstrap blue for link */
    font-weight: 600;
}


/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {

    .col-md-12 {
        width: 100%;
    }

    /* Adjust for tablet and smaller screens */
    .product-detail-section .container .row>div {
        margin-bottom: 20px;
        /* Add some margin between stacked columns */
    }

    .product-specifications .card,
    .product-image-display .card,
    .product-categories-sidebar.card {
        padding: 20px !important;
        /* Adjust padding for smaller screens */
    }

    .spec-list {
        grid-template-columns: 100px 1fr;
        /* Adjust grid columns for smaller screens */
        gap: 8px 10px;
    }

    .product-title-detail {
        font-size: 1.5em;
        /* Smaller font for title */
    }

    .category-header {
        font-size: 1em;
    }
}

@media (max-width: 575.98px) {

    /* Adjust for very small screens (phones) */
    .spec-list {
        grid-template-columns: 1fr;
        /* Stack specs vertically */
    }

    .spec-item .spec-label {
        width: 100%;
        margin-bottom: 5px;
        /* Space between label and value when stacked */
        display: block;
    }

    .fixed-contact-buttons {
        gap: 5px;
    }

    .contact-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9em;
    }
}