/* style/gdpr.css */
:root {
    --primary-color: #FFD700;
    --secondary-color: #8B0000;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: var(--dark-bg-1, #0d0d0d); /* Fallback for body background */
    --border-color: #e0e0e0;
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark);
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-gdpr__hero-section {
    background: linear-gradient(135deg, var(--secondary-color), #a02a2a);
    padding: 80px 0;
    text-align: center;
    color: var(--text-light);
}

.page-gdpr__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-gdpr__intro-description {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__cta-button--primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-gdpr__cta-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__cta-button--secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__content-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__content-section:last-of-type {
    border-bottom: none;
}

.page-gdpr__overview, .page-gdpr__rights, .page-gdpr__cookies, .page-gdpr__commitment {
    background-color: var(--bg-dark);
}

.page-gdpr__principles, .page-gdpr__security, .page-gdpr__contact {
    background-color: #1a1a1a;
}

.page-gdpr__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-gdpr__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    color: #f0f0f0;
    line-height: 1.7;
}

.page-gdpr__link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-gdpr__principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-gdpr__principles-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__principles-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.12);
}

.page-gdpr__principles-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__principles-item p {
    font-size: 16px;
    color: #cccccc;
}

.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-gdpr__rights-list li {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__rights-list li p {
    margin-bottom: 0;
    font-size: 16px;
    color: #cccccc;
}

.page-gdpr__rights-item-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-gdpr__security-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__security-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.12);
}

.page-gdpr__security-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__security-item p {
    font-size: 16px;
    color: #cccccc;
}

.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 40px;
    text-align: center;
}

.page-gdpr__contact-list li {
    font-size: 18px;
    margin-bottom: 10px;
    color: #f0f0f0;
}

/* Images */
.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__image--left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
    max-width: 45%;
}

.page-gdpr__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    max-width: 45%;
}

.page-gdpr__content-section::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 42px;
    }
    .page-gdpr__section-title {
        font-size: 32px;
    }
    .page-gdpr__principles-title, .page-gdpr__security-title {
        font-size: 20px;
    }
    .page-gdpr__rights-item-title {
        font-size: 18px;
    }
    .page-gdpr__image--left, .page-gdpr__image--right {
        max-width: 100%;
        float: none;
        margin: 30px auto;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        padding-top: var(--header-offset, 120px) !important;
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        padding: 60px 0;
    }
    .page-gdpr__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-gdpr__intro-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
    .page-gdpr__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-gdpr__text-block {
        font-size: 15px;
    }
    .page-gdpr__principles-grid, .page-gdpr__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__principles-item, .page-gdpr__security-item {
        padding: 20px;
    }
    .page-gdpr__principles-title, .page-gdpr__security-title {
        font-size: 18px;
    }
    .page-gdpr__rights-list li {
        padding: 15px 20px;
    }
    .page-gdpr__rights-item-title {
        font-size: 17px;
    }
    .page-gdpr__contact-list li {
        font-size: 16px;
    }
    /* Mobile image adaptation */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        float: none !important;
        margin: 30px auto !important;
    }
    .page-gdpr__content-section {
        padding: 40px 0;
    }
}