/* Style dla komponentów */

/* Style dla przycisków z efektem szkła */
.glass-button {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glass-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.5) 0%, rgba(249, 115, 22, 0) 70%);
    border-radius: 50%;
    transition: width 0.4s ease, height 0.4s ease;
}

.glass-button:hover::before {
    width: 200%;
    height: 200%;
}

.glass-button.primary {
    border-color: rgba(249, 115, 22, 0.6);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 20px rgba(249, 115, 22, 0.4);
}

.glass-button.primary:hover {
    background: rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.9);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 30px rgba(249, 115, 22, 0.6);
}

/* Style dla "oszklonych" elementów FAQ */
.glass-faq {
    background: rgba(31, 41, 55, 0.5); /* bg-light-bg z przezroczystością */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.glass-faq:hover {
    border-color: rgba(249, 115, 22, 0.4);
}

.glass-faq[open] {
    background: rgba(31, 41, 55, 0.7);
    border-color: rgba(249, 115, 22, 0.5);
}

.glass-faq summary {
    transition: color 0.3s ease;
}

.glass-faq[open] summary {
    color: #f97316; /* primary color */
}

/* Style dla dynamicznych kafelków */
.dynamic-tile {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.dynamic-tile:hover {
    transform: scale(1.05) translateZ(20px);
}

.dynamic-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0.5rem; /* to samo co 'rounded-lg' w Tailwind */
    border: 2px solid transparent;
    background: radial-gradient(circle at 50% 50%, transparent, transparent) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.dynamic-tile:hover::before {
    opacity: 1;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), #f97316, transparent 40%) border-box;
}

/* Style dla przyklejonej nawigacji */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: slide-down 0.5s ease-in-out;
}

/* Style dla strzałki w dół */
.scroll-down-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* Style dla banneru cookies */
#cookie-consent-banner {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
} 

/* Szklane kontenery */
.glass-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Ciemny szklany kontener */
.glass-container-dark {
    background: rgba(17, 24, 39, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 85, 99, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* Efekt hover dla szklanych kontenerów */
.glass-container:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Efekt hover dla ciemnych szklanych kontenerów */
.glass-container-dark:hover {
    background: rgba(17, 24, 39, 0.4);
    border-color: rgba(75, 85, 99, 0.4);
    transform: translateY(-2px);
    transition: all 0.3s ease;
} 