/* style/gdpr.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f8f8f8;
    --background-dark: #0A2463;
    --border-color: #e0e0e0;
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-light);
    padding-top: 120px; /* Adjusted for fixed header on desktop */
}

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

.page-gdpr__hero-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #06163F 100%);
    color: var(--text-color-light);
}

.page-gdpr__hero-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__hero-link:hover {
    color: #ffd700;
}

.page-gdpr__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-color-light);
}

.page-gdpr__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 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 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    text-align: center;
}

.page-gdpr__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

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

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

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

.page-gdpr__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.page-gdpr__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-gdpr__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #555;
}

.page-gdpr__principles-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.page-gdpr__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-dark);
}

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

.page-gdpr__card-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-gdpr__card-text {
    font-size: 1em;
    color: #666;
}

.page-gdpr__rights-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

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

.page-gdpr__rights-section .page-gdpr__section-intro {
    color: #e0e0e0;
}

.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.page-gdpr__rights-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid var(--secondary-color);
    padding: 25px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-gdpr__rights-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

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

.page-gdpr__rights-item-text {
    font-size: 0.95em;
    color: #f0f0f0;
}

.page-gdpr__rights-contact-text {
    text-align: center;
    font-size: 1.1em;
    margin-top: 40px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-gdpr__security-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.page-gdpr__security-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    border-bottom: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.page-gdpr__security-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-gdpr__security-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-gdpr__security-text {
    font-size: 0.95em;
    color: #666;
}

.page-gdpr__security-footer {
    text-align: center;
    font-size: 1.1em;
    margin-top: 50px;
    color: #555;
}

.page-gdpr__faq-section {
    padding: 80px 0;
    background-color: #f0f0f0;
}

.page-gdpr__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-gdpr__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-gdpr__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-gdpr__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg);
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    color: #555;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-gdpr__faq-answer p {
    margin: 0;
    padding: 0;
    font-size: 0.95em;
    line-height: 1.7;
}

.page-gdpr__contact-cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #06163F 0%, var(--primary-color) 100%);
    color: var(--text-color-light);
}

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

.page-gdpr__contact-cta-section .page-gdpr__section-intro {
    color: #e0e0e0;
    margin-bottom: 40px;
}

.page-gdpr__dark-section .page-gdpr__section-title::after {
    background-color: var(--secondary-color);
}

/* Image responsiveness */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__card-title {
        font-size: 1.4em;
    }
    .page-gdpr__rights-item-title {
        font-size: 1.2em;
    }
    .page-gdpr__security-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        padding-top: 100px; /* Adjusted for fixed header on mobile */
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__hero-section,
    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__security-section,
    .page-gdpr__faq-section,
    .page-gdpr__contact-cta-section {
        padding: 60px 0;
    }

    .page-gdpr__main-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-gdpr__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-gdpr__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-gdpr__grid,
    .page-gdpr__rights-list,
    .page-gdpr__security-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-gdpr__card,
    .page-gdpr__rights-item,
    .page-gdpr__security-item {
        padding: 25px;
    }

    .page-gdpr__card-image,
    .page-gdpr__security-icon {
        width: 120px;
        height: 120px;
    }

    .page-gdpr__card-title {
        font-size: 1.3em;
    }
    .page-gdpr__rights-item-title {
        font-size: 1.1em;
    }
    .page-gdpr__security-title {
        font-size: 1.2em;
    }

    .page-gdpr__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-gdpr__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-gdpr__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-gdpr__faq-answer {
        padding: 0 15px;
    }
    
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px !important;
    }

    /* Ensure all images are responsive */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-gdpr__hero-section,
    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__security-section,
    .page-gdpr__faq-section,
    .page-gdpr__contact-cta-section,
    .page-gdpr__container,
    .page-gdpr__grid,
    .page-gdpr__card,
    .page-gdpr__rights-list,
    .page-gdpr__rights-item,
    .page-gdpr__security-grid,
    .page-gdpr__security-item,
    .page-gdpr__faq-list,
    .page-gdpr__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__cta-button {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    .page-gdpr__card-image,
    .page-gdpr__security-icon {
        width: 100px;
        height: 100px;
    }
}