/* style/gdpr.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --bg-dark: var(--dark-bg-1); /* Assume from shared.css this is a dark background */
    --border-color: #e0e0e0;
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default to light text for dark body background */
    background-color: var(--bg-dark);
    line-height: 1.6;
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
    background: var(--primary-color);
    color: var(--text-light);
    overflow: hidden;
}

.page-gdpr__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-gdpr__hero-image {
    width: 100%;
    max-width: 800px;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-gdpr__hero-content {
    text-align: center;
    width: 100%;
}

.page-gdpr__hero-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-gdpr__hero-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
}

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

.page-gdpr__section {
    padding: 60px 20px;
    text-align: center;
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__light-bg {
    background: var(--bg-light);
    color: var(--text-dark);
}

.page-gdpr__dark-bg {
    background: var(--primary-color);
    color: var(--text-light);
}

.page-gdpr__section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: inherit;
}

.page-gdpr__section-description {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

.page-gdpr__highlight {
    font-weight: bold;
    color: inherit;
}

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

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

.page-gdpr__principles-section .page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

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

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

.page-gdpr__card-text {
    font-size: 15px;
    line-height: 1.7;
}

/* Rights Section */
.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    text-align: left;
}

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

.page-gdpr__rights-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-gdpr__rights-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

.page-gdpr__action-center {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-gdpr__btn-primary, .page-gdpr__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
}

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

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

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

.page-gdpr__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Data Processing Section */
.page-gdpr__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__step-item {
    background: #ffffff;
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid var(--border-color);
}

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

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

.page-gdpr__step-text {
    font-size: 15px;
    line-height: 1.7;
}

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

.page-gdpr__feature-item {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-gdpr__feature-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

/* Contact Section */
.page-gdpr__contact-info {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.page-gdpr__contact-info p {
    margin-bottom: 10px;
}

.page-gdpr__contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__contact-info a:hover {
    text-decoration: underline;
}

.page-gdpr__contact-info .page-gdpr__btn-primary {
    margin-top: 30px;
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.page-gdpr__contact-info .page-gdpr__btn-primary:hover {
    background: #071a47;
    border-color: #071a47;
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 20px;
}

.page-gdpr__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.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;
    padding: 0 15px;
    opacity: 0;
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    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:active {
    background: #eeeeee;
}

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

.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(--primary-color);
    transform: rotate(45deg);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 36px;
    }

    .page-gdpr__section-title {
        font-size: 30px;
    }

    .page-gdpr__hero-description, .page-gdpr__section-description {
        font-size: 17px;
    }

    .page-gdpr__card-title, .page-gdpr__step-title, .page-gdpr__feature-title, .page-gdpr__rights-title {
        font-size: 20px;
    }

    .page-gdpr__btn-primary, .page-gdpr__btn-secondary, .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-top: 140px !important; /* Mobile: Adjust based on fixed header height */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-gdpr__section {
        padding: 40px 15px;
    }

    .page-gdpr__container {
        padding: 25px;
    }

    .page-gdpr__hero-title {
        font-size: 28px;
    }

    .page-gdpr__hero-description {
        font-size: 16px;
    }

    .page-gdpr__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        width: 100%;
        max-width: 280px;
    }

    .page-gdpr__section-title {
        font-size: 26px;
    }

    .page-gdpr__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .page-gdpr__principles-section .page-gdpr__grid-container,
    .page-gdpr__rights-list,
    .page-gdpr__data-processing-section .page-gdpr__processing-steps,
    .page-gdpr__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__card, .page-gdpr__step-item, .page-gdpr__feature-item, .page-gdpr__rights-item {
        padding: 20px;
    }

    .page-gdpr__card-icon, .page-gdpr__step-icon, .page-gdpr__feature-icon {
        width: 80px;
        height: 80px;
    }

    .page-gdpr__card-title, .page-gdpr__step-title, .page-gdpr__feature-title, .page-gdpr__rights-title {
        font-size: 18px;
    }

    .page-gdpr__card-text, .page-gdpr__rights-text, .page-gdpr__step-text, .page-gdpr__feature-text {
        font-size: 14px;
    }

    .page-gdpr__action-center {
        flex-direction: column;
        gap: 15px;
    }

    .page-gdpr__btn-primary, .page-gdpr__btn-secondary {
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-gdpr__contact-info {
        font-size: 15px;
    }

    .page-gdpr__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-gdpr__faq-question h3 {
        font-size: 15px;
        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;
    }

    .page-gdpr img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 24px;
    }

    .page-gdpr__section-title {
        font-size: 22px;
    }

    .page-gdpr__hero-description, .page-gdpr__section-description {
        font-size: 14px;
    }

    .page-gdpr__cta-button {
        font-size: 14px;
        padding: 10px 20px;
    }

    .page-gdpr__card-title, .page-gdpr__step-title, .page-gdpr__feature-title, .page-gdpr__rights-title {
        font-size: 16px;
    }

    .page-gdpr__card-text, .page-gdpr__rights-text, .page-gdpr__step-text, .page-gdpr__feature-text {
        font-size: 13px;
    }
}