/* Non-critical styles - loaded asynchronously */

/* Active menu items */
.active-menu-item,
.active-menu-item .mud-list-item-text,
.active-menu-item .mud-list-item-text span {
    color: var(--mud-palette-primary) !important;
    font-weight: 600 !important;
}

/* Carousel - wyłącz interakcję tylko z item'ami (slajdami), pozwól na przewijanie pionowe */
.scrollable-carousel,
.scrollable-carousel * {
    touch-action: pan-y !important;
}

.scrollable-carousel .mud-carousel-item,
.scrollable-carousel .mud-carousel-item * {
    pointer-events: none !important;
}

/* Zachowaj pełną interakcję kropek nawigacyjnych */
.scrollable-carousel .mud-carousel-bullets-wrapper,
.scrollable-carousel .mud-carousel-bullets-wrapper *,
.scrollable-carousel button {
    pointer-events: auto !important;
    touch-action: auto !important;
}

/* Footer Styles */
.footer-section {
    background-color: #f8f8f8;
    color: #2c2c2c;
    padding: 3rem 0 1rem 0;
    border-top: 1px solid #e0e0e0;
}

.footer-column-title {
    color: var(--mud-palette-primary) !important;
    font-family: 'Cinzel', serif;
    margin-bottom: 1.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

.footer-link {
    color: #4a4a4a !important;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
    line-height: 1.8;
}

.footer-link:hover {
    color: var(--mud-palette-primary) !important;
    text-decoration: none;
}

.footer-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

.footer-contact-item .mud-icon-root {
    margin-right: 0.75rem;
    color: var(--mud-palette-primary);
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: #888;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social-link {
    color: #4a4a4a !important;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-link:hover {
    color: var(--mud-palette-primary) !important;
    transform: translateY(-3px);
}

/* Scroll behavior for anchor links */
#contact-section {
    scroll-margin-top: 2rem;
}

/* Offer card responsive height */
.offer-card-content {
    max-width: 300px;
}

@media (min-width: 960px) {
    .offer-card-content {
        min-height: 650px;
    }
}

/* Privacy Policy - list styles */
.pa-6 ul, .pa-8 ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.pa-6 ul li, .pa-8 ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.pa-6 ul li .mud-icon, .pa-8 ul li .mud-icon {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Privacy Policy - better spacing for body text */
.pa-8 .mud-typography {
    line-height: 1.8;
}

/* Page Top Image Text - responsive font scaling */
.page-top-text {
    font-size: clamp(1.8rem, 5vw, 3.75rem);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 960px) {
    .footer-section {
        padding: 2rem 0 1rem 0;
    }

    .footer-column-title {
        margin-top: 1.5rem;
        font-size: 1rem !important;
    }
    
    #contact-section {
        scroll-margin-top: 2rem;
    }
}

