/* style/gdpr.css */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --background-color: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --header-offset: 120px; /* Default desktop offset, will be overridden by shared.css media queries */
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--background-color); /* Matches body background */
    line-height: 1.6;
    font-size: 15px;
}

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

.page-gdpr__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero-section {
    position: relative;
    padding-top: var(--header-offset); /* Ensure content is below fixed header */
    background-color: var(--background-color);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 500px; /* Minimum height for hero */
}

.page-gdpr__hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay for text readability */
}

.page-gdpr__hero-content-wrapper {
    position: relative;
    z-index: 1;
    padding: 40px 0;
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-gdpr__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-gdpr__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-gdpr__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-gdpr__subsection-title {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__text-block {
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1rem;
}

.page-gdpr__text-block a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-gdpr__text-block a:hover {
    color: var(--primary-color);
}

.page-gdpr__dark-section {
    background-color: var(--card-bg);
}

.page-gdpr__list {
    list-style: disc inside;
    color: var(--text-main);
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-gdpr__list li {
    margin-bottom: 10px;
}

.page-gdpr__list strong {
    color: var(--secondary-color);
}

/* Your Rights Section */
.page-gdpr__rights-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);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

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

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

.page-gdpr__card-description {
    font-size: 0.95rem;
    color: var(--text-main);
}

.page-gdpr__note {
    font-style: italic;
    text-align: center;
    margin-top: 30px;
    color: var(--secondary-color);
}

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

.page-gdpr__feature-card {
    text-align: center;
}

.page-gdpr__feature-icon {
    width: 100%; /* Ensure images fill their container */
    height: auto;
    max-width: 400px; /* Limit max width for feature icons */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.page-gdpr__dpo-contact .page-gdpr__contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.page-gdpr__dpo-contact .page-gdpr__contact-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 15px;
}

.page-gdpr__dpo-contact .page-gdpr__contact-info {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1rem;
}

.page-gdpr__dpo-contact .page-gdpr__contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #1a1a1a;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: #2a2a2a;
}

.page-gdpr__faq-question h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--secondary-color);
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg);
    content: '−'; /* Changed in JS */
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-main);
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 25px;
}

.page-gdpr__faq-answer p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.page-gdpr__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-gdpr__cta-final {
    background: linear-gradient(135deg, #0A0A0A, #1a1a1a);
    text-align: center;
    padding: 80px 0;
}

.page-gdpr__cta-final-content {
    max-width: 800px;
}

.page-gdpr__cta-final .page-gdpr__section-title {
    color: var(--text-main);
}

.page-gdpr__cta-final .page-gdpr__text-block {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__rights-grid,
    .page-gdpr__protection-features {
        gap: 20px;
    }
    .page-gdpr__card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 100px) !important; /* Mobile offset */
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-gdpr__hero-description {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    }
    .page-gdpr__hero-actions {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: calc(100% - 30px) !important; /* Account for padding */
        padding: 12px 15px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-gdpr__subsection-title {
        font-size: clamp(1.2rem, 4.5vw, 1.8rem);
    }
    .page-gdpr__rights-grid,
    .page-gdpr__protection-features {
        grid-template-columns: 1fr;
    }
    .page-gdpr__card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .page-gdpr__faq-question,
    .page-gdpr__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-content-wrapper,
    .page-gdpr__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 90px) !important; /* Smaller mobile offset */
    }
    .page-gdpr__hero-content-wrapper {
        padding: 20px 0;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
    .page-gdpr__hero-description {
        font-size: clamp(0.85rem, 4vw, 1rem);
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        font-size: 0.9rem;
        padding: 10px 15px !important;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }
    .page-gdpr__card-title {
        font-size: 1.3rem;
    }
    .page-gdpr__faq-question h3 {
        font-size: 1rem;
    }
}