/* style/gdpr.css */

/* Base Styles for GDPR Page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #f0f0f0;
}

.page-gdpr__btn-primary {
    display: inline-block;
    background-color: #26A9E0;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.page-gdpr__btn-primary:hover {
    background-color: #1a7fb0;
    transform: translateY(-2px);
}

.page-gdpr a {
    color: #26A9E0;
    text-decoration: none;
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #0d0d0d;
    color: #ffffff;
}

.page-gdpr__hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 1;
    position: relative;
    padding: 20px;
}

.page-gdpr__hero-title {
    font-size: 3.5em;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.6);
}

/* Sections */
.page-gdpr__intro-section,
.page-gdpr__rights-section,
.page-gdpr__faq-section {
    background-color: #1a1a1a; /* Light background for contrast */
    color: #ffffff;
    padding: 60px 0;
}

.page-gdpr__principles-section,
.page-gdpr__compliance-section,
.page-gdpr__cookie-section,
.page-gdpr__contact-section {
    background-color: #0d0d0d; /* Dark background */
    color: #ffffff;
    padding: 60px 0;
}

.page-gdpr__dpo-section {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0;
}

.page-gdpr__image-content {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__principle-card {
    background-color: rgba(38, 169, 224, 0.1);
    border: 1px solid rgba(38, 169, 224, 0.3);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(38, 169, 224, 0.2);
}

.page-gdpr__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-gdpr__card-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Rights Grid */
.page-gdpr__rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-gdpr__right-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #26A9E0;
    padding: 25px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

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

.page-gdpr__item-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-gdpr__item-description {
    font-size: 0.95em;
    color: #f0f0f0;
}

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

.page-gdpr__compliance-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.page-gdpr__compliance-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* DPO Section */
.page-gdpr__contact-info {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-gdpr__contact-info a {
    font-weight: bold;
}

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.page-gdpr__faq-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin: 0;
}

.page-gdpr__faq-toggle {
    font-size: 1.8em;
    color: #26A9E0;
    font-weight: bold;
    transition: transform 0.3s ease;
}

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

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f0f0;
}

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

/* Contact Section */
.page-gdpr__contact-section .page-gdpr__btn-primary {
    margin-top: 30px;
}

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

    .page-gdpr__hero-description {
        font-size: 1.1em;
    }

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

    .page-gdpr__principles-grid,
    .page-gdpr__rights-grid,
    .page-gdpr__compliance-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

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

    .page-gdpr__hero-section {
        padding: 60px 15px;
        flex-direction: column;
    }

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

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

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

    .page-gdpr__btn-primary {
        padding: 12px 25px;
        max-width: 100% !important;
        width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-gdpr__text-block {
        font-size: 1em;
    }

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

    .page-gdpr__principles-grid,
    .page-gdpr__rights-grid,
    .page-gdpr__compliance-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .page-gdpr__principle-card,
    .page-gdpr__right-item,
    .page-gdpr__compliance-item {
        padding: 20px;
    }

    .page-gdpr__faq-question {
        padding: 15px 20px;
    }

    .page-gdpr__faq-answer {
        padding: 15px 20px;
    }

    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__intro-section,
    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__compliance-section,
    .page-gdpr__dpo-section,
    .page-gdpr__cookie-section,
    .page-gdpr__faq-section,
    .page-gdpr__contact-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure hero is not hidden */
    }
}

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

    .page-gdpr__hero-description {
        font-size: 0.9em;
    }

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

    .page-gdpr__card-title,
    .page-gdpr__item-title,
    .page-gdpr__faq-title {
        font-size: 1.2em;
    }
}