/* Global Styles */
:root {
    --primary: #070b20; /* Navy Black - główny kolor */
    --secondary: #0a1028; /* Deep Night - akcent */
    --accent: #3a4a8a; /* Lighter accent color */
    --light: #f8f9fa;
    --dark: #06081b; /* Starless - tło stopki */
    --text: #333;
    --text-light: #6c757d;
    --icon-color: #6c7fc5; /* Nowy kolor ikon */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    font-size: 16px;
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: var(--primary);
    color: white;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .header-logo {
        height: 90px;
    }
}

@media (max-width: 768px) {
    .header-logo {
        height: 80px;
    }
}

@media (max-width: 400px) {
    .header-logo {
        height: 60px;
    }
}

.header-logo:hover {
    transform: scale(1.05);
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    text-decoration: none;
}

nav ul li a:hover {
    color: var(--icon-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--icon-color);
}

nav ul li a.active::after {
    width: 100%;
}

/* Login Link */
.login-link {
    margin-left: 30px;
    padding: 8px 15px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: all 0.3s;
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.login-link:hover {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

/* Mobile menu styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s;
}

nav {
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 120px;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        z-index: 999;
    }
    
    nav.active {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 15px 0;
    }

    .login-link {
        margin-left: 0;
        margin-top: 15px;
    }
}

/* Privacy Policy Content */
.privacy-container {
    max-width: 800px;
    margin: 80px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.privacy-container h1 {
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.2rem;
}

.privacy-container h2 {
    color: var(--primary);
    margin: 30px 0 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.privacy-container h3 {
    color: var(--primary);
    margin: 25px 0 10px;
    font-size: 1.2rem;
}

.privacy-container p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text);
}

.privacy-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.privacy-container li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.privacy-container a {
    color: var(--accent);
    text-decoration: none;
}

.privacy-container a:hover {
    text-decoration: underline;
}

.last-updated {
    font-style: italic;
    color: var(--text-light);
    text-align: right;
    margin-top: 30px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    color: var(--icon-color);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s;
    filter: brightness(1.5);
}

.social-links a:hover {
    color: white;
    filter: brightness(1.8);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .privacy-container {
        padding: 30px;
        margin: 60px auto;
    }

    .privacy-container h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .privacy-container {
        padding: 20px;
        margin: 50px auto;
    }

    .privacy-container h1 {
        font-size: 1.8rem;
    }
}