/* Legal Pages Styles */
.legal-content {
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(250,250,255,0.95) 0%, rgba(245,248,255,0.95) 100%);
    min-height: calc(100vh - 400px);
}

.legal-content::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(76, 201, 240, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(247, 37, 133, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(58, 12, 163, 0.05) 0%, transparent 50%);
    z-index: 0;
    animation: backgroundMorph 15s infinite alternate ease-in-out;
}

.legal-content .container {
    position: relative;
    z-index: 1;
}

.legal-content .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-content .section-header h1 {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.legal-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.legal-section:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.legal-section p {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul li {
    color: var(--gray-color);
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-section ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: -1.5rem;
    top: 0;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 6rem 1rem 3rem;
    }

    .legal-content .section-header h1 {
        font-size: 2rem;
    }

    .legal-wrapper {
        padding: 1.5rem;
    }

    .legal-section {
        padding: 1rem;
    }
}

/* Header and Navigation Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
}

.nav-links li {
    margin-left: 2rem;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.75rem 0;
    display: inline-block;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 100;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--dark-color);
}

/* Styl dla przycisku kontakt w menu */
.nav-links .btn-contact {
    background-color: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.nav-links .btn-contact:hover {
    background-color: #e6136f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: 100vh;
        z-index: 99;
        text-align: center;
        transition: 0.3s;
        padding-top: 4rem;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
} 