/**
 * Privacy Policy Styles
 * Ładowane TYLKO na page-polityka-prywatnosci.php
 * Core styles (resets, utilities) są w style.css
 * Version: 2.8
 */

/* Ukryj GTM iframe */
body > noscript {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

    body > noscript iframe {
        display: none !important;
        height: 0 !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
    margin-bottom: 1.7rem;
    padding-bottom: 0.3rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-top: 2rem;
}

h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

    a:hover {
        color: var(--accent);
    }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.1);
        z-index: -1;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.5s ease-in-out;
    }

    .btn:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }

.btn-primary {
    background: var(--primary);
    color: #FEFEFE;
    box-shadow: 0 8px 25px rgba(93, 64, 55, 0.15);
}

    .btn-primary:hover {
        box-shadow: 0 12px 30px rgba(93, 64, 55, 0.25);
        transform: translateY(-3px);
        color: #FEFEFE;
    }

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

    .btn-secondary:hover {
        background: rgba(93, 64, 55, 0.1);
        transform: translateY(-3px);
    }

/* ===== PRIVACY POLICY STYLES ===== */
.privacy-policy {
    padding: 9rem 0 0; /* margin-bottom .privacy-content tworzy odstęp przed falą */
    background: linear-gradient(135deg, #FAF7F2 0%, #FEFEFE 100%);
    margin: 0 !important;
}

.privacy-content {
    background: #FEFEFE;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 230px;
    border: 1px solid rgba(232, 220, 198, 0.3);
}

    .privacy-content p {
        margin-bottom: 1.2rem;
    }

    .privacy-content ul {
        margin-bottom: 1.5rem;
        padding-left: 2rem;
    }

        .privacy-content ul li {
            margin-bottom: 0.5rem;
        }

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

    .privacy-table th,
    .privacy-table td {
        padding: 1rem;
        text-align: left;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .privacy-table th {
        background-color: var(--primary);
        color: white;
        font-weight: 600;
    }

    .privacy-table tr:nth-child(even) {
        background-color: var(--background-alt);
    }

    .privacy-table tr:hover {
        background-color: rgba(93, 64, 55, 0.05);
    }

.privacy-divider {
    height: 1px;
    background: rgba(212, 165, 116, 0.2);
    margin: 2rem 0;
    border-radius: 1px;
}

.contact-info {
    margin-top: 2rem;
    background-color: var(--background-alt);
    padding: 1.5rem;
    border-radius: 18px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 4px 15px rgba(93, 64, 55, 0.05);
}

    .contact-info p {
        margin-bottom: 0.5rem;
    }

    .contact-info i {
        color: var(--primary);
        margin-right: 0.5rem;
        width: 20px;
        text-align: center;
    }
/* ===== FOOTER ===== */
/* Footer styles są ładowane z shared-footer.css */

/* ===== FLOATING ELEMENTS ===== */
.floating-elements {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 99;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

    .floating-btn:hover {
        transform: scale(1.1);
    }

.whatsapp-btn {
    background: #25D366;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .container {
        padding: 0 3rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .privacy-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .privacy-policy {
        padding: 7rem 0 0;
    }

    .privacy-content {
        padding: 1.5rem;
    }

    .privacy-table {
        font-size: 0.9rem;
    }

        .privacy-table th,
        .privacy-table td {
            padding: 0.8rem;
        }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    p {
        font-size: 1rem;
    }

    .privacy-content {
        padding: 1.2rem;
    }

    .floating-elements {
        bottom: 1rem;
        right: 1rem;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .privacy-table {
        font-size: 0.8rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

        .privacy-table th,
        .privacy-table td {
            padding: 0.6rem;
        }
}
