* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Ubuntu', 'Helvetica', 'Arial', sans-serif;
    font-size: 14px;
    color: #4a4a4a;
    background-color: #ffffff;
    line-height: 1.6;
}
.header {
    background-color: #ffffff !important;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo {
    font-size: 28px;
    font-weight: bold;
    color: #0084c4;
    display: flex;
    align-items: center;
}
.logo a {
    text-decoration: none;
    color: #0084c4;
    display: flex;
    align-items: center;
}
.logo img {
    max-height: 60px;
    width: auto;
    height: auto;
}
.contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

/* Theme Toggle Button in Header */
.theme-toggle-header {
    background: #0084c4 !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    width: 40px !important;
    height: 40px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    user-select: none !important;
}

.theme-toggle-header:hover {
    background: #006ba3 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

body.dark-theme .theme-toggle-header {
    background: #404040 !important;
    color: #ffd700 !important;
}

body.dark-theme .theme-toggle-header:hover {
    background: #505050 !important;
}
.contact-info a {
    color: #4a4a4a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-info a:hover {
    color: #0084c4;
}
.nav {
    background-color: #0084c4;
    padding: 15px 0;
}
.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}
.nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 20px;
    transition: background-color 0.3s;
}
.nav a:hover {
    background-color: rgba(255,255,255,0.2);
    border-radius: 5px;
}
.hero {
    background: linear-gradient(135deg, #0084c4 0%, #006ba3 100%);
    color: #2d2d2d;
    padding: 80px 0;
    text-align: center;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #2d2d2d;
    font-weight: bold;
}
.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #2d2d2d;
}
.section {
    padding: 60px 0;
}
.section h1, .section h2 {
    font-size: 36px;
    color: #4a4a4a;
    margin-bottom: 30px;
    text-align: center;
}
.section h1 {
    font-size: 42px;
}
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.product-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,132,196,0.2);
}
.product-card h3 {
    color: #0084c4;
    margin-bottom: 15px;
    font-size: 24px;
}
.about {
    background-color: #f8f9fa;
}
.footer {
    background-color: #0084c4;
    color: white;
    padding: 40px 0;
    text-align: center;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer h3 {
    margin-bottom: 15px;
}
.footer a {
    color: white;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s infinite;
}

/* Dark Theme */
body.dark-theme {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-theme .header {
    background-color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

body.dark-theme .section {
    background-color: #1a1a1a;
}

body.dark-theme .section h1,
body.dark-theme .section h2 {
    color: #e0e0e0;
}

body.dark-theme .product-card {
    background: #2d2d2d;
    color: #e0e0e0;
    border: 1px solid #404040;
}

body.dark-theme .product-card:hover {
    box-shadow: 0 5px 15px rgba(0,132,196,0.4);
    border-color: #0084c4;
}

body.dark-theme .about {
    background-color: #252525;
}

body.dark-theme .contact-info a {
    color: #4a4a4a !important;
}

body.dark-theme .contact-info a:hover {
    color: #0084c4 !important;
}

body.dark-theme .footer {
    background-color: #1a1a1a;
    border-top: 1px solid #404040;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed !important;
    top: 80px !important;
    right: 20px !important;
    z-index: 9999 !important;
    background: #0084c4 !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    width: 50px !important;
    height: 50px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.theme-toggle:hover {
    background: #006ba3;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

body.dark-theme .theme-toggle {
    background: #404040;
    color: #ffd700;
}

body.dark-theme .theme-toggle:hover {
    background: #505050;
}

/* Dark theme for breadcrumbs */
body.dark-theme .breadcrumbs {
    background: #252525;
    border-bottom: 1px solid #404040;
    color: #e0e0e0;
}

body.dark-theme .breadcrumbs a {
    color: #0084c4;
}

/* Dark theme for FAQ */
body.dark-theme .faq-item {
    background: #2d2d2d;
    border: 1px solid #404040;
}

body.dark-theme .faq-question {
    background: #252525;
    color: #e0e0e0;
}

body.dark-theme .faq-question:hover {
    background: #303030;
}

body.dark-theme .faq-answer {
    color: #d0d0d0;
}

/* Dark theme for news cards */
body.dark-theme .news-card {
    background: #2d2d2d;
    border: 1px solid #404040;
    color: #e0e0e0;
}

body.dark-theme .news-card:hover {
    box-shadow: 0 5px 20px rgba(0,132,196,0.4);
}

body.dark-theme .news-date {
    color: #0084c4;
}

body.dark-theme .news-title {
    color: #e0e0e0;
}

body.dark-theme .news-excerpt {
    color: #d0d0d0;
}

body.dark-theme .read-more {
    color: #0084c4;
}

/* Dark theme for gallery */
body.dark-theme .gallery-item {
    background: #2d2d2d;
    border: 1px solid #404040;
}

body.dark-theme .gallery-item-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

body.dark-theme .lightbox {
    background-color: rgba(0,0,0,0.95);
}

/* Dark theme for forms */
body.dark-theme input,
body.dark-theme textarea {
    background: #2d2d2d;
    color: #e0e0e0;
    border: 1px solid #404040;
}

body.dark-theme input:focus,
body.dark-theme textarea:focus {
    border-color: #0084c4;
    outline: none;
}

body.dark-theme input::placeholder,
body.dark-theme textarea::placeholder {
    color: #888;
}

/* Dark theme for contact boxes */
body.dark-theme div[style*="background: #f8f9fa"],
body.dark-theme div[style*="background:#f8f9fa"] {
    background: #2d2d2d !important;
    color: #e0e0e0 !important;
    border: 1px solid #404040 !important;
}

body.dark-theme div[style*="background: white"],
body.dark-theme div[style*="background:#ffffff"],
body.dark-theme div[style*="background:white"] {
    background: #2d2d2d !important;
    color: #e0e0e0 !important;
    border: 1px solid #404040 !important;
}

/* Responsywność mobilna - zachowuje wygląd PC */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .logo img {
        max-height: 50px;
    }
    
    .contact-info {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
    }
    
    .contact-info a {
        font-size: 13px;
        white-space: nowrap;
    }
    
    .theme-toggle-header {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
    }
    
    .nav {
        padding: 10px 0;
    }
    
    .nav ul {
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav a {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .products {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .product-card {
        padding: 20px;
    }
    
    .product-card h3 {
        font-size: 20px;
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Tablety - średnie ekrany */
@media (min-width: 769px) and (max-width: 1024px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Małe telefony */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .section h1 {
        font-size: 24px;
    }
    
    .section h2 {
        font-size: 20px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-info a {
        font-size: 12px;
    }
    
    .nav a {
        padding: 6px 10px;
        font-size: 11px;
    }
}

