/* style/gdpr.css */

:root {
    --primary-color: #D4AF37;
    --secondary-color: #B22222;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark-section: rgba(255, 255, 255, 0.05);
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Assuming body background is dark from shared.css */
    background-color: var(--dark-bg-1); /* Inherit from shared.css, ensure text contrast */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 100px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.page-gdpr__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}

.page-gdpr__description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

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

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

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

.page-gdpr__cta-button--primary:hover {
    background-color: #e6b800; /* Slightly darker gold */
    border-color: #e6b800;
    transform: translateY(-2px);
}

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

.page-gdpr__cta-button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Section common styles */
.page-gdpr__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-gdpr__dark-section {
    background-color: var(--bg-dark-section);
    color: var(--text-light);
    padding: 80px 0;
}

.page-gdpr__intro-section, .page-gdpr__principles-section, .page-gdpr__data-processing-section, .page-gdpr__contact-section, .page-gdpr__commitment-section {
    padding: 80px 0;
}

.page-gdpr__intro-section p, .page-gdpr__commitment-section p {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.page-gdpr__section-title {
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: var(--text-light);
}

/* Image styles */
.page-gdpr__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-gdpr__image--center {
    margin-left: auto;
    margin-right: auto;
}

/* Principles Section */
.page-gdpr__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__card {
    background-color: var(--card-bg);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-gdpr__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-gdpr__card p {
    color: var(--text-dark);
}

/* User Rights Section */
.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-gdpr__rights-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__rights-item:last-child {
    margin-bottom: 0;
}

.page-gdpr__rights-item .page-gdpr__item-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-gdpr__rights-item p {
    color: rgba(255, 255, 255, 0.85);
}

/* Data Processing Section */
.page-gdpr__processing-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__processing-step .page-gdpr__image {
    margin-top: 20px;
    margin-bottom: 0;
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
}

/* Contact Section */
.page-gdpr__contact-section p {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.page-gdpr__contact-info {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.page-gdpr__contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__contact-info a:hover {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 80px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-gdpr__main-title {
        font-size: 2.2em;
        line-height: 1.2;
    }
    .page-gdpr__description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-gdpr__cta-button {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-gdpr__intro-section, .page-gdpr__principles-section, .page-gdpr__data-processing-section, .page-gdpr__contact-section, .page-gdpr__commitment-section {
        padding: 60px 0;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .page-gdpr__intro-section p, .page-gdpr__commitment-section p {
        font-size: 0.95em;
    }
    .page-gdpr__grid, .page-gdpr__processing-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__card {
        padding: 25px;
    }
    .page-gdpr__card-title {
        font-size: 1.3em;
    }
    .page-gdpr__rights-item {
        padding: 20px;
    }
    .page-gdpr__rights-item .page-gdpr__item-title {
        font-size: 1.2em;
    }
    .page-gdpr__contact-info {
        font-size: 1.1em;
    }
    /* Mobile image adaptation */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__image {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    .page-gdpr__processing-step .page-gdpr__image {
        height: auto !important; /* Allow auto height for processing step images */
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__cta-button {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .page-gdpr__card-title {
        font-size: 1.2em;
    }
}