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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/background.jpg');
    /* background-size: 200px 300px, 200px 300px, 300px 400px; */
    background-repeat: repeat;
    opacity: 0.15;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/baner_glowny.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.3), rgba(220, 20, 60, 0.3));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


.btn {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    max-width: 250px;
    width: auto;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 
        0 1px 2px 0 rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.recommendations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.recommendation-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.recommendation-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.recommendation-box:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.recommendation-box:hover::before {
    left: 100%;
}

.recommendation-box h3 {
    color: #8B0000;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.recommendation-box img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.recommendation-box:hover img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.recommendation-box:hover .partner-slide-featured .partner-image {
    transform: scale(1.08);
    filter: brightness(0.55) blur(6px);
}

.social-media {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 248, 255, 0.9) 100%);
    border-radius: 20px;
    overflow: hidden;
}

.social-media::before {
    content: '😊 👥 🤝 💬 👨‍👩‍👧‍👦 😄 👋';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
    text-align: center;
    line-height: 1.2;
}

.social-box {
    background: linear-gradient(135deg, #1877F2 0%, #0D47A1 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.social-box.tiktok {
    background: linear-gradient(135deg, #FF0050 0%, #00F2EA 100%);
}

.social-box.youtube {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

.social-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.social-box h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.social-box a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* Subboxy - Wydarzenia i Opinie */
.subbox {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.subbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997, #17a2b8);
}

.subbox:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #adb5bd;
}

.subbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.subbox-header h3 {
    margin: 0;
    color: #495057;
    font-size: 1.1rem;
    font-weight: 600;
}

.subbox-badge {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
}

.subbox-content {
    color: #6c757d;
}

.event-preview {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
    border-left: 3px solid #28a745;
}

.event-date-small {
    background: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: bold;
    min-width: 40px;
    text-align: center;
}

.event-title-small {
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
}

.opinion-preview {
    background: rgba(255, 193, 7, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #ffc107;
    margin-bottom: 0.75rem;
}

.stars {
    color: #ffc107;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.opinion-preview p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    font-style: italic;
    color: #495057;
}

.opinion-author {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.subbox-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.subbox-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Floating Opinions Widget */
.opinions-widget {
    position: fixed;
    right: 5px;
    top: 42%;
    transform: translateY(-50%);
    z-index: 1000;
    transition: all 0.3s ease;
}

.widget-toggle {
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    color: white;
    padding: 6px 8px;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.7rem;
}

.widget-toggle:hover {
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
}

.widget-icon {
    font-size: 1rem;
}

.widget-text {
    font-size: 0.8rem;
}

.widget-content {
    position: absolute;
    right: 0;
    top: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px 0 0 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    width: 250px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.opinions-widget.expanded .widget-content {
    max-height: 500px;
    opacity: 1;
    transform: translateX(0);
}

.widget-header {
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    color: white;
    padding: 12px 16px;
    border-radius: 15px 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-header h3 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.widget-rating {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.widget-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.widget-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.widget-body {
    padding: 16px;
    max-height: 250px;
    overflow-y: auto;
}

.opinion-item {
    margin-bottom: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #ffc107;
}

.opinion-item:last-child {
    margin-bottom: 0;
}

.opinion-item .stars {
    color: #ffc107;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.opinion-item p {
    margin: 0 0 8px 0;
    font-size: 0.85rem;
    color: #495057;
    font-style: italic;
    line-height: 1.4;
}

.opinion-item .author {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
}

.widget-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
    text-align: center;
}

.widget-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.widget-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Responsywność widgeta */
@media (max-width: 768px) {
    .opinions-widget {
        right: 5px;
        top: auto;
        bottom: 20px;
        transform: none;
    }
    
    .widget-content {
        width: 240px;
    }
}

/* Floating Events Widget */
.events-widget {
    position: fixed;
    right: 5px;
    top: 48%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.events-widget .widget-toggle {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 6px 8px;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.7rem;
}

.events-widget .widget-toggle:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
}

.events-widget .widget-content {
    position: absolute;
    right: 0;
    top: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px 0 0 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    width: 250px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.events-widget.expanded .widget-content {
    max-height: 600px;
    opacity: 1;
    transform: translateX(0);
}

.events-widget .widget-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 12px 16px;
    border-radius: 15px 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.events-widget .widget-header h3 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.widget-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.events-widget .widget-body {
    padding: 16px;
    max-height: 300px;
    overflow-y: auto;
}

.events-widget .event-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 3px solid #007bff;
    transition: all 0.3s ease;
}

.events-widget .event-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.events-widget .event-item:last-child {
    margin-bottom: 0;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #007bff;
    color: white;
    padding: 8px;
    border-radius: 8px;
    min-width: 50px;
    text-align: center;
}

.event-date .day {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1;
}

.event-date .month {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-info {
    flex: 1;
}

.event-info h4 {
    margin: 0 0 4px 0;
    font-size: 0.8rem;
    color: #495057;
    font-weight: 600;
}

.event-info p {
    margin: 0 0 4px 0;
    font-size: 0.7rem;
    color: #6c757d;
}

.event-sponsor {
    font-size: 0.65rem;
    color: #007bff;
    font-weight: 500;
    font-style: italic;
}

.events-widget .widget-footer {
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
    text-align: center;
}

/* Responsywność widgeta wydarzeń */
@media (max-width: 768px) {
    .events-widget {
        right: 5px;
        top: auto;
        bottom: 80px;
    }
    
    .events-widget .widget-content {
        width: 240px;
    }
}

.advertisement-text {
    text-align: center;
    font-size: 0.9rem;
    color: #8B0000;
    font-weight: 600;
    margin: 0.5rem 0;
    font-style: italic;
    opacity: 0.8;
}

.partners-carousel {
    position: relative;
    height: 300px;
    margin-top: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.partner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.partner-slide.active {
    opacity: 1;
}

a.partner-slide {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.partner-slide-featured .partner-image {
    filter: brightness(0.55) blur(6px);
    transform: scale(1.08);
}

.partner-featured-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88%;
    height: 88%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.partner-featured-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.partner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.partner-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem 1.5rem 2rem;
    text-align: center;
}

.partner-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
}

.partner-overlay-top h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

    .partner-overlay-bottom p {
font-size: 1rem;
opacity: 0.9;
margin: 0 0 30px;
text-shadow: 0 1px 2px rgba(0,0,0,0.5);
line-height: 25px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255,255,255,0.8);
}

.videos-section {
    background: white;
    margin: 2rem 0;
    padding: 3rem 0;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.videos-section h2 {
    text-align: center;
    color: #8B0000;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.videos-carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.videos-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 1rem;
    min-height: 300px;
}

.video-group {
    display: flex;
    gap: 1rem;
    padding: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-group.active {
    opacity: 1;
}

.video-thumbnail {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 100%;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.video-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(220, 20, 60, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    color: transparent;
    transition: all 0.3s ease;
    z-index: 5;
}

.play-button::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent white;
    margin-left: 4px;
}

.video-thumbnail:hover .play-button {
    background: rgba(220, 20, 60, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
}

.video-overlay h4 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.video-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.video-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.video-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.video-btn.prev {
    left: 30px;
}

.video-btn.next {
    right: 30px;
}

.video-dots {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.video-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(139, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-dot.active {
    background: #8B0000;
    transform: scale(1.2);
}

.video-dot:hover {
    background: rgba(139, 0, 0, 0.6);
}

/* RESPONSYWNOŚĆ - NOWE PODEJŚCIE FLEXBOX */

/* Domyślnie - duże ekrany: 3 filmy */
.video-group {
    gap: 2rem;
}

/* Średnie ekrany - 2 filmy */
@media (max-width: 1024px) {
    .video-group {
        gap: 1.5rem !important;
    }
    
    .video-thumbnail:nth-child(3) {
        display: none !important;
    }
}

/* Małe ekrany - 2 filmy */
@media (max-width: 768px) {
    .video-group {
        gap: 1rem !important;
    }
    
    .video-thumbnail:nth-child(3) {
        display: none !important;
    }
    
    .videos-container {
        padding: 0 0.5rem !important;
    }
}

/* Bardzo małe ekrany - 1 film */
@media (max-width: 480px) {
    .video-group {
        gap: 0.5rem !important;
    }
    
    .video-thumbnail:nth-child(n+2) {
        display: none !important;
    }
    
    .videos-container {
        padding: 0 0.25rem !important;
    }
}


.categories {
    background: white;
    margin: 2rem 0;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-item {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    min-height: 200px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.category-item:hover::before {
    opacity: 0.6;
}

.category-header {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.9) 0%, rgba(220, 20, 60, 0.9) 100%);
    color: white;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.category-header:hover {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.9) 0%, rgba(139, 0, 0, 0.9) 100%);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    position: relative;
    z-index: 2;
}

.category-content.active {
    max-height: 500px;
}

.category-list {
    list-style: none;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.category-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list li:hover {
    color: #8B0000;
    padding-left: 10px;
}

.category-list li:last-child {
    border-bottom: none;
}

.question-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.question-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.arrow {
    transition: transform 0.3s ease;
}

.arrow.rotated {
    transform: rotate(180deg);
}

.home-shop-section {
    background: white;
    margin: 2rem 0;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.home-shop-header {
    text-align: center;
    margin-bottom: 2rem;
}
.home-shop-header h2 {
    color: #8B0000;
    margin-bottom: 0.5rem;
}
.home-shop-header p {
    color: #666;
    font-size: 1.05rem;
}
.home-shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.home-shop-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.home-shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: #DC143C;
}
.home-shop-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f5f5;
}
.home-shop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.home-shop-card:hover .home-shop-card-img img {
    transform: scale(1.05);
}
.home-shop-card-body {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}
.home-shop-card-body h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    min-height: 2.6em;
}
.home-shop-card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #8B0000;
    margin-top: auto;
}
.home-shop-card-price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #888;
}
.home-shop-cta {
    text-align: center;
    margin-top: 2rem;
}
@media (max-width: 992px) {
    .home-shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .home-shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-shop-section {
        padding: 2rem 1.25rem;
    }
}
@media (max-width: 420px) {
    .home-shop-grid {
        grid-template-columns: 1fr;
    }
}

.about-section {
    background: white;
    margin: 2rem 0;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-section h2 {
    color: #8B0000;
    margin-bottom: 1rem;
}


.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

/* Specjalne style dla modala filmów */
.video-modal-content {
    background-color: #fefefe;
    margin: 0;
    padding: 20px;
    border-radius: 15px;
    width: 90% !important;
    max-width: 1000px !important;
    position: relative;
}

.close {
    color: white;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.close:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    transform: scale(1.1);
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.modal-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-images img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .categories {
        padding: 2rem;
    }

    .recommendations {
        grid-template-columns: 1fr;
    }

    .social-media {
        grid-template-columns: 1fr;
    }
}
