/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main color for dark background */
    background-color: #0D0E12; /* Background color */
    padding-bottom: 40px;
}

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

/* Hero Section */
.page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
    background-color: #0D0E12;
    color: #FFF3E6;
    display: flex;
    flex-direction: column; /* Default to column for image-on-top, text-below */
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.page-gdpr__hero-image-container {
    width: 100%;
    max-width: 1200px; /* Max width for the image */
    margin-bottom: 20px;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover; /* Desktop: cover to fill space */
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-gdpr__hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 3.5vw, 2.8em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFF3E6;
}

.page-gdpr__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF3E6;
}

/* General Section Styles */
.page-gdpr__section {
    padding: 40px 0;
    margin-bottom: 20px;
}

.page-gdpr__introduction {
    background-color: #0D0E12;
}

.page-gdpr__principles {
    background-color: #0D0E12;
}

.page-gdpr__rights {
    background-color: #0D0E12;
}

.page-gdpr__data-processing {
    background-color: #0D0E12;
}

.page-gdpr__security-measures {
    background-color: #17191F; /* Card BG for dark section */
    color: #FFF3E6;
    padding: 60px 0;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 1200px;
}

.page-gdpr__contact-dpo {
    background-color: #0D0E12;
}

.page-gdpr__updates {
    background-color: #0D0E12;
}

.page-gdpr__faq {
    background-color: #0D0E12;
}


.page-gdpr__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #FF8C1A; /* Main brand color for titles */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-gdpr__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #FF8C1A;
    border-radius: 2px;
}

.page-gdpr__sub-title {
    font-size: 1.5em;
    color: #FFA53A; /* Auxiliary brand color for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #FFF3E6;
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    max-width: 800px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

.page-gdpr__card {
    background-color: #17191F; /* Card BG color */
    border: 1px solid #A84F0C; /* Border color */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #FFF3E6;
    transition: transform 0.3s ease;
}

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

.page-gdpr__card-title {
    font-size: 1.3em;
    color: #FFA53A; /* Auxiliary brand color */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__card-text {
    font-size: 0.95em;
    color: #FFF3E6;
}

/* List Styles */
.page-gdpr__list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: #FFF3E6;
}

.page-gdpr__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-gdpr__list-item strong {
    color: #FFA53A;
}

/* Links */
.page-gdpr__link {
    color: #FFB04D; /* Glow color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: #FFA53A;
}

/* CTA Button */
.page-gdpr__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #FFF3E6; /* Text Main for button text */
    padding: 14px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* For responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--secondary {
    background: #17191F; /* Card BG as background */
    color: #FF8C1A; /* Main color for text */
    border: 2px solid #FF8C1A; /* Main color for border */
}

.page-gdpr__cta-button--secondary:hover {
    background: #FF8C1A;
    color: #FFF3E6;
    border-color: #FF8C1A;
}


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

.page-gdpr__faq-item {
    background-color: #17191F; /* Card BG color */
    border: 1px solid #A84F0C; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: 600;
    color: #FFA53A; /* Auxiliary brand color */
    list-style: none; /* Hide default marker */
    position: relative;
    user-select: none;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 15px;
    color: #FF8C1A; /* Main brand color */
}

.page-gdpr__faq-answer {
    padding: 15px 25px 25px;
    font-size: 1.0em;
    color: #FFF3E6;
    border-top: 1px solid #A84F0C; /* Border color */
}

/* Ensure no image filters are applied */
.page-gdpr img {
    filter: none !important;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 4.5vw, 2.5em);
    }

    .page-gdpr__section-title {
        font-size: 2em;
    }

    .page-gdpr__hero-image-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__hero-section {
        padding-top: 10px !important;
        margin-bottom: 20px;
    }

    .page-gdpr__hero-image-container {
        margin-bottom: 15px;
    }

    .page-gdpr__hero-image {
        object-fit: contain !important; /* Mobile: contain to show full image */
        aspect-ratio: unset !important;
        max-height: none !important;
    }

    .page-gdpr__hero-content {
        padding: 0 15px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.6em, 6vw, 2em);
        margin-bottom: 10px;
    }

    .page-gdpr__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-gdpr__section {
        padding: 20px 0;
        margin-bottom: 15px;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-gdpr__sub-title {
        font-size: 1.3em;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-gdpr__text-block,
    .page-gdpr__card-text,
    .page-gdpr__list-item,
    .page-gdpr__faq-answer p {
        font-size: 0.95em;
    }

    .page-gdpr__grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .page-gdpr__card {
        padding: 20px;
    }

    .page-gdpr__card-title {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    /* Images */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset !important; /* Allow smaller display if container is small */
        min-height: unset !important; /* Allow smaller display if container is small */
    }
}