/**
 * B&M Innovations Group - Style główne
 */

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --text-color: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
}

/* Header */
.site-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.nav-logo a:hover {
    opacity: 0.8;
}

.nav-logo-image {
    height: 45px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
}

.nav-logo-text {
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Przełącznik języków */
.nav-lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1rem;
}

.nav-lang-switcher .lang-link {
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.nav-lang-switcher .lang-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.nav-lang-switcher .lang-link.active {
    color: var(--accent-color);
    background-color: rgba(15, 52, 96, 0.1);
    border-color: var(--accent-color);
}


.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: var(--bg-light);
}

.search-result-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-price {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    margin: 0;
}

.search-results-empty {
    padding: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Carousel Section */
.carousel-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    position: relative;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.7) 0%, rgba(22, 33, 62, 0.7) 100%);
    z-index: 3;
}

.carousel-content-inner {
    text-align: center;
    color: var(--text-white);
    padding: var(--spacing-lg);
    max-width: 800px;
}

.carousel-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-description {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-carousel {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-carousel:hover {
    background-color: var(--text-white);
    color: var(--accent-color);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--text-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 2rem;
}

.carousel-next {
    right: 2rem;
}

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-xs);
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
    background-color: var(--text-white);
    border-color: var(--text-white);
    width: 30px;
    border-radius: 6px;
}

/* Featured Products Section */
.featured-products-section {
    background-color: var(--bg-light);
}

.products-grid-5x5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.product-item {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.product-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-title-link:hover {
    color: var(--accent-color);
}

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-item:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: var(--spacing-sm);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    width: 100%;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-product {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-details {
    background-color: var(--accent-color);
    color: var(--text-white);
}

.btn-details:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-cart {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-cart:hover {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

.btn-cart span::before {
    content: '🛒';
    margin-right: 0.25rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-white);
    padding: var(--spacing-xl) 2rem;
    text-align: center;
}

.hero-content {
    max-width: 1600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

/* Container */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: var(--spacing-md);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.card-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* Products Section */
.products-section {
    background-color: var(--bg-light);
}

.product-brands {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.product-brand {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-brand h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.product-brand p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.product-brand .btn {
    margin-top: auto;
    align-self: center;
}

.brand-logo {
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.logo-image {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.product-brand:hover .logo-image {
    transform: scale(1.05);
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-intro {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--border-color);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: var(--spacing-xs);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: var(--accent-color);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--text-white);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.news-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.news-content {
    padding: var(--spacing-md);
}

.news-date {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.footer-column p {
    margin-bottom: var(--spacing-xs);
    opacity: 0.9;
    line-height: 1.7;
}

.footer-column a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.social-media {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon span {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-facebook {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
}

.icon-linkedin {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E");
}

.icon-twitter {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z'/%3E%3C/svg%3E");
}

.icon-instagram {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
}

.icon-youtube {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
}

.icon-link {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13.723 18.654l-3.61 3.612a5.4 5.4 0 01-7.636-7.637l3.612-3.611a5.4 5.4 0 017.636 0l.364.364a1 1 0 01-1.414 1.414l-.364-.364a3.4 3.4 0 00-4.808 0l-3.612 3.611a3.4 3.4 0 004.808 4.808l3.612-3.612a1 1 0 011.414 1.414zm5.657-11.308a5.4 5.4 0 010 7.637l-3.612 3.612a5.4 5.4 0 01-7.636-7.637l3.612-3.612a5.4 5.4 0 017.636 0zm-1.414 1.414a3.4 3.4 0 00-4.808 0l-3.612 3.612a3.4 3.4 0 004.808 4.808l3.612-3.612a3.4 3.4 0 000-4.808z'/%3E%3C/svg%3E");
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    opacity: 0.8;
}

.footer-legal-links {
    margin-top: var(--spacing-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.footer-legal-links span {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 var(--spacing-xs);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-md);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateY(0);
    transition: var(--transition);
}

.cookie-banner-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-white);
}

.cookie-banner-text p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-banner-text a {
    color: var(--text-white);
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    opacity: 0.8;
}

.cookie-banner-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.btn-cookie-secondary {
    background-color: transparent;
    border: 2px solid var(--text-white);
    color: var(--text-white);
}

.btn-cookie-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-cookie-link {
    background-color: transparent;
    border: none;
    text-decoration: underline;
    padding: 0.75rem 0;
}

.btn-cookie-link:hover {
    background-color: transparent;
    transform: none;
    box-shadow: none;
    opacity: 0.8;
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
}

.legal-text h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--border-color);
}

.legal-text h3 {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.legal-text p {
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

.legal-text ul,
.legal-text ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
    color: var(--text-color);
}

.legal-text li {
    margin-bottom: var(--spacing-xs);
}

.legal-text a {
    color: var(--accent-color);
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

.legal-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Maintenance Mode */
.maintenance-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: var(--text-white);
    overflow: hidden;
    position: relative;
}

.maintenance-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.maintenance-container {
    text-align: center;
    padding: var(--spacing-xl);
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
}

.maintenance-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: var(--spacing-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.maintenance-logo {
    margin-bottom: var(--spacing-lg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.maintenance-logo-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.maintenance-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.maintenance-subtitle {
    font-size: 1.75rem;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
    letter-spacing: 1px;
}

.maintenance-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.maintenance-info {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    line-height: 2;
}

.maintenance-info p {
    margin-bottom: var(--spacing-xs);
    opacity: 0.9;
}

.maintenance-info a {
    color: var(--text-white);
    text-decoration: underline;
    transition: var(--transition);
}

.maintenance-info a:hover {
    opacity: 0.8;
}

.maintenance-animation {
    margin-top: var(--spacing-lg);
    display: flex;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--text-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .maintenance-container {
        padding: var(--spacing-md);
    }
    
    .maintenance-content {
        padding: var(--spacing-lg);
    }
    
    .maintenance-logo-image {
        max-width: 200px;
    }
    
    .maintenance-title {
        font-size: 2.5rem;
    }
    
    .maintenance-subtitle {
        font-size: 1.5rem;
    }
    
    .maintenance-text {
        font-size: 1rem;
    }
}

/* Responsive */
/* Siatka 5x5 - 5 kolumn na ekranach 1200px i większych */
@media (min-width: 1200px) {
    .products-grid-5x5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* 4 kolumny na ekranach 768px-1199px */
@media (max-width: 1199px) and (min-width: 769px) {
    .products-grid-5x5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: var(--spacing-md) 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }
    
    .nav-logo-text {
        display: none;
    }
    
    .nav-lang-switcher {
        order: 3;
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .nav-logo-image {
        height: 35px;
        max-width: 150px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .product-brands {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .about-intro {
        font-size: 1.125rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .brand-logo {
        min-height: 100px;
    }
    
    .logo-image {
        max-height: 100px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-text {
        min-width: 100%;
    }
    
    .cookie-banner-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .btn-cookie {
        flex: 1;
        min-width: 120px;
    }
    
    .legal-text {
        padding: var(--spacing-md);
    }
    
    .legal-text h2 {
        font-size: 1.25rem;
    }
    
    .legal-text h3 {
        font-size: 1.125rem;
    }
    
    .footer-legal-links {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .footer-legal-links span {
        display: none;
    }
    
    .products-grid-5x5 {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }
    
    .product-title {
        font-size: 0.875rem;
    }
    
    .product-price {
        font-size: 0.875rem;
    }

    .product-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .product-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-product {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .products-grid-5x5 {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xs);
    }

    /* Wyszukiwarka responsywna */
    .nav-search-wrapper {
        order: -1;
        width: 100%;
        margin: 0 0 1rem 0;
    }

    #search-input {
        width: 100%;
    }

    #search-input:focus {
        width: 100%;
    }
    }
    
    .product-title {
        font-size: 0.8125rem;
    }
    
    .product-price {
        font-size: 0.8125rem;
    }
    
    .product-info {
        padding: 0.5rem;
    }
    
    .carousel-wrapper {
        height: 400px;
    }
    
    .carousel-title {
        font-size: 2rem;
    }
    
    .carousel-description {
        font-size: 1.125rem;
    }
    
    .carousel-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .carousel-prev {
        left: 1rem;
    }
    
    .carousel-next {
        right: 1rem;
    }
    
    .carousel-dots {
        bottom: 1rem;
    }
}

/* Strona produktu - nowoczesny design */
.product-page-section {
    padding: var(--spacing-lg) 0;
}

.product-breadcrumb {
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    color: var(--text-light);
}

.product-breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.product-breadcrumb a:hover {
    text-decoration: underline;
}

.product-breadcrumb span {
    margin: 0 0.5rem;
    color: var(--text-light);
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.product-main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    margin-bottom: var(--spacing-sm);
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    transition: var(--transition);
}

.product-main-image:hover img {
    transform: scale(1.05);
}

.product-thumbnails {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.thumbnail.active {
    border-color: var(--accent-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-detail {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.product-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin: 0;
}

.product-detail-price {
    margin: var(--spacing-sm) 0;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.product-detail-description {
    margin-top: var(--spacing-md);
}

.product-detail-description h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.description-content {
    line-height: 1.8;
    color: var(--text-color);
    white-space: pre-wrap;
}

.product-detail-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 8px;
    margin-top: var(--spacing-md);
}

.product-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.product-quantity-wrapper label {
    font-weight: 600;
    color: var(--text-color);
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    background: var(--bg-white);
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--accent-color);
    color: var(--text-white);
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-buttons-detail {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.btn-add-to-cart {
    background: var(--accent-color);
    color: var(--text-white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add-to-cart:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cart-icon {
    font-size: 1.25rem;
}

.btn-external-link {
    background: var(--bg-white);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    display: block;
}

.btn-external-link:hover {
    background: var(--accent-color);
    color: var(--text-white);
}

.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.feature-icon {
    font-size: 1.25rem;
}

.product-specification {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: 12px;
}

.product-specification h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.spec-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.spec-row {
    display: grid;
    grid-template-columns: 250px 1fr;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--text-light);
}

.spec-value {
    color: var(--text-color);
}

.related-products-section {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--border-color);
}

.related-products-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.related-product-item {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.related-product-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.related-product-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-product-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-light);
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-product-item:hover .related-product-image img {
    transform: scale(1.05);
}

.related-product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: var(--spacing-sm);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0 var(--spacing-sm) var(--spacing-sm);
}

/* Responsywność strony produktu */
@media (max-width: 1200px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .product-gallery {
        position: static;
    }

    .product-detail-title {
        font-size: 1.5rem;
    }

    .price-current {
        font-size: 2rem;
    }

    .product-features {
        grid-template-columns: 1fr;
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-actions {
        padding: var(--spacing-sm);
    }

    .btn-add-to-cart {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* ============================================
   SPLASH SCREEN - Animacja wejścia
   ============================================ */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
    visibility: visible;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    position: relative;
}

.splash-logo-wrapper {
    animation: splashLogoFadeIn 1.2s ease-out;
    margin-bottom: 3rem;
}

.splash-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 10px 30px rgba(255, 255, 255, 0.1)) !important;
    animation: splashLogoPulse 2s ease-in-out infinite;
}

.splash-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: splashLoaderFadeIn 0.8s ease-out 0.5s both;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: loaderSpin 1s linear infinite;
}

@keyframes splashLogoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes splashLogoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.1));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 15px 40px rgba(255, 255, 255, 0.2));
    }
}

@keyframes splashLoaderFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes loaderSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ============================================
   HERO SECTION - Ulepszona z efektami
   ============================================ */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: var(--text-white);
    padding: var(--spacing-xl) 2rem;
    text-align: center;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(15, 52, 96, 0.3) 0%, transparent 70%);
    z-index: 2;
    animation: gradientPulse 8s ease-in-out infinite;
}

.hero-content {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    animation: heroContentFadeIn 1.5s ease-out;
}

.hero-logo-wrapper {
    margin-bottom: 2rem;
    animation: heroLogoSlideIn 1s ease-out 0.3s both;
}

.hero-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 10px 30px rgba(255, 255, 255, 0.15));
    animation: heroLogoFloat 4s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    animation: heroTitleSlideIn 1s ease-out 0.6s both;
    position: relative;
}

.hero-title-line {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title-line::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    animation: heroTitleUnderline 1.5s ease-out 1.2s forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    animation: heroSubtitleFadeIn 1s ease-out 0.9s both;
    letter-spacing: 1px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollIndicatorBounce 2s ease-in-out infinite;
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid rgba(255, 255, 255, 0.7);
    border-bottom: 3px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
}

@keyframes gradientPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes heroContentFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes heroLogoSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroLogoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes heroTitleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroTitleUnderline {
    0% {
        width: 0;
    }
    100% {
        width: 200px;
    }
}

@keyframes heroSubtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 0.9;
        transform: translateY(0);
    }
}

@keyframes scrollIndicatorBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Responsive dla hero */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: var(--spacing-lg) 1rem;
    }
    
    .hero-logo {
        max-width: 150px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .splash-logo {
        max-width: 200px;
    }
}

