/* Custom CSS for HW Shop DDFU™ */

/* Font settings */
@import url('https://fonts.googleapis.com/css2?family=Hubot+Sans:ital,wght@0,200..900;1,200..900&display=swap');

/* Global Styles */
body {
    font-family: "Hubot Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: white;
}

/* Link Styles */
a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #5d9cec;
    text-decoration: underline;
}

/* Header Customizations */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.top-header {
    background-color: #f8f9fa;
}

.nav-top-links a,
.support-link a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-top-links a:hover,
.support-link a:hover {
    color: #5d9cec;
}

/* Logo Customization */
.logo img {
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Search Box Customizations */
.header-search-box {
}

.form-category select {
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
}

.input-serach input {
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    transition: border-color 0.3s ease;
}

.input-serach input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.btn-search {
    background-color: #5d9cec;
    border: none;
    border-radius: 4px;
    /*padding: 8px 20px;
    */
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background-color: #4a89dc;
    box-shadow: 0 2px 4px rgba(93, 156, 236, 0.3);
}

/* Category Menu Customizations */
.block-category {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;

}

.block-category h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #6c757d;
}

.category-list li {
    border-bottom: 1px solid #eee;
}

.category-list a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.category-list a:hover {
    color: #2c3e50;
    background-color: #e6f0fd;
    border-left: 3px solid #5d9cec;
}

.category-list a.selected {
    color: #2c3e50;
    background-color: #e6f0fd;
    border-left: 3px solid #5d9cec;
}

.category-list a.selected:hover {
    color: #2c3e50;
    background-color: #d4e4fa;
    border-left: 3px solid #4a89dc;
}

/* Footer Customizations */
#footer {
    background-color: #ffffff;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-search-box {
        margin-top: 15px;
    }
    
    .top-header {
        flex-direction: column;
        align-items: center;
       /* gap: 10px;*/
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-section {
        width: 100%;
        margin-bottom: 30px;
    }
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Custom Colors */
:root {
    --primary-color: #5d9cec;
    --secondary-color: #a0aec0;
    --success-color: #48bb78;
    --warning-color: #f6ad55;
    --danger-color: #f56565;
    --info-color: #4299e1;
    --light-color: #f8fafc;
    --dark-color: #2d3748;
}

/* Custom Button Styles */
.btn-custom {
    --normal-blue: #5d9cec;
    --hover-blue: #4a89dc;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: var(--normal-blue);
    border-color: var(--normal-blue);
    color: white;
    cursor: pointer;
}

.btn-custom:hover {
    background-color: var(--hover-blue);
    border-color: var(--hover-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 156, 236, 0.2);
    color: white;
}

.btn-primary {
    background-color: var(--normal-blue);
    border-color: var(--normal-blue);
    color: white;
}

.btn-primary:hover {
    background-color: #4a89dc;
    border-color: #4a89dc;
    color: white;
    box-shadow: 0 2px 8px rgba(93, 156, 236, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #90a4ae;
    border-color: #90a4ae;
    color: white;
    box-shadow: 0 2px 8px rgba(160, 174, 192, 0.3);
}

/* Custom Hover Effects */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #888;
}



.nav-menu-red { 
    background: #4040f0 !important;
}

.nav-menu-red li a:hover,
.nav-menu-red li.active a,
.nav-menu-red li.selected a {
    background: #4040f0 !important;
}


.introCategories .category-featured:nth-child(5n+1) .nav-menu-green li.active a,
.nav-menu-green li.selected a {
    background: #4040f0 !important;
}


#produktyZadne { 
    background: #ccf !important; 
    border: 1px solid blue !important;
}


div.formError {
    background: blue !important;
    color: white !important;
}
