/* Custom CSS for ShipQuick */

.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-gradient {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.2);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #f59e0b;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.check-item {
    position: relative;
    padding-left: 1.5rem;
}

.check-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
}

.flag-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.lang-option:hover {
    background-color: rgba(245, 158, 11, 0.1);
}

.language-dropdown {
    transform-origin: top right;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.language-dropdown.hidden {
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
}

.lang-section {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.lang-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.lang-section-title {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #6b7280;
    padding: 4px 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(75, 85, 99, 0.4);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3), transparent 30%, transparent 70%, rgba(15, 23, 42, 0.3));
    pointer-events: none;
}

.map-button {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 10;
}

/* Animations */
@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slide-up 0.8s ease-out;
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Mobile menu */
@media (max-width: 768px) {
    .nav-link::after {
        display: none;
    }
}


.text-justify {
    text-align: justify;
    text-justify: inter-word; /* dla lepszego wyjustowania */
    hyphens: auto; /* automatyczne dzielenie wyrazów */
}
