/* General page styling */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #E0E0E0; /* Light text for dark background */
    background-color: #1A202C; /* Primary dark background */
}

.page-gdpr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-gdpr-hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #1A202C, #2D3748); /* Gradient for hero */
    color: #FFFFFF;
}

.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;
}

.page-gdpr-hero-image {
    width: 100%;
    height: 450px; /* Fixed height for hero image */
    object-fit: cover; /* Cover ensures image fills, crops if needed */
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-gdpr-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-gdpr-hero h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Accent color for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-gdpr-hero p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #E0E0E0;
}

.page-gdpr-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFD700; /* Accent color for buttons */
    color: #1A202C; /* Dark text on accent button */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    border: none;
    cursor: pointer;
}

.page-gdpr-cta-button:hover {
    background: #E6C200; /* Slightly darker accent on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-gdpr-cta-button.large-button {
    padding: 20px 50px;
    font-size: 1.3em;
}

/* Section styling */
.page-gdpr-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-gdpr-section:last-of-type {
    border-bottom: none;
}

.page-gdpr-section h2 {
    font-size: 2.5em;
    color: #FFD700; /* Accent color for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-gdpr-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #FFD700;
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.page-gdpr-section h3 {
    font-size: 1.8em;
    color: #FFFFFF;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 5px solid #FFD700;
    padding-left: 15px;
}

.page-gdpr-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #B0B0B0;
}

.page-gdpr-content-block {
    margin-bottom: 40px;
}

.page-gdpr-content-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Principles and Rights Lists */
.page-gdpr-principle-list,
.page-gdpr-rights-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-gdpr-principle-item,
.page-gdpr-right-item {
    background-color: #2D3748; /* Slightly lighter dark background for cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr-principle-item:hover,
.page-gdpr-right-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-gdpr-principle-item h3,
.page-gdpr-right-item h3 {
    font-size: 1.5em;
    color: #FFD700;
    margin-top: 0;
    margin-bottom: 15px;
    border-left: none;
    padding-left: 0;
}

.page-gdpr-principle-item p,
.page-gdpr-right-item p {
    font-size: 1em;
    color: #C0C0C0;
}

/* Protection Details */
.page-gdpr-protection-details h3 {
    font-size: 1.6em;
    color: #FFFFFF;
    margin-top: 25px;
    margin-bottom: 10px;
    border-left: 4px solid #FFD700;
    padding-left: 12px;
}

/* Cookies Section */
.page-gdpr-cookies-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-gdpr-cookies-details ul li {
    background-color: #2D3748;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 1.05em;
    color: #C0C0C0;
}

.page-gdpr-cookies-details ul li strong {
    color: #FFD700;
}

/* Sharing Section */
.page-gdpr-sharing-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-gdpr-sharing-details ul li {
    background-color: #2D3748;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 1.05em;
    color: #C0C0C0;
}

.page-gdpr-sharing-details ul li strong {
    color: #FFD700;
}

/* Contact Privacy */
.page-gdpr-contact-details a {
    color: #FFD700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr-contact-details a:hover {
    color: #E6C200;
}

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

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #2D3748; /* Darker background for question */
    border: 1px solid #3A455A;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    color: #FFFFFF;
}

.faq-question:hover {
    background: #3A455A;
    border-color: #FFD700;
}

.faq-question h3 {
    font-size: 1.3em;
    margin: 0;
    color: #FFFFFF; /* Ensure question text is white */
    border-left: none;
    padding-left: 0;
}

.faq-toggle {
    font-size: 2em;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
    line-height: 1;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #1A202C; /* Primary dark background for answer */
    color: #B0B0B0;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 25px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.faq-answer p {
    margin: 0;
    font-size: 1.05em;
    color: #C0C0C0;
}

/* Final Call to Action */
.page-gdpr-call-to-action {
    padding: 80px 0;
    text-align: center;
    background: #2D3748;
}

.page-gdpr-cta-final h2 {
    color: #FFD700;
    font-size: 2.8em;
    margin-bottom: 20px;
}

.page-gdpr-cta-final p {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #E0E0E0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr-hero h1 {
        font-size: 2.8em;
    }
    .page-gdpr-hero p {
        font-size: 1.1em;
    }
    .page-gdpr-section h2 {
        font-size: 2.2em;
    }
    .page-gdpr-section h3 {
        font-size: 1.6em;
    }
    .page-gdpr-principle-list,
    .page-gdpr-rights-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-gdpr-hero-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .page-gdpr-hero {
        padding: 60px 15px;
    }
    .page-gdpr-hero h1 {
        font-size: 2.2em;
    }
    .page-gdpr-hero p {
        font-size: 1em;
    }
    .page-gdpr-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-gdpr-section {
        padding: 40px 0;
    }
    .page-gdpr-section h2 {
        font-size: 1.8em;
    }
    .page-gdpr-section h3 {
        font-size: 1.4em;
        padding-left: 10px;
        border-left-width: 3px;
    }
    .page-gdpr-section p {
        font-size: 0.95em;
    }
    .page-gdpr-principle-list,
    .page-gdpr-rights-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr-hero-image {
        height: 250px;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.8em;
    }
    .faq-answer {
        padding: 15px 20px;
    }
    .page-gdpr-cta-final h2 {
        font-size: 2.0em;
    }
    .page-gdpr-cta-final p {
        font-size: 1.1em;
    }
    .page-gdpr-cta-button.large-button {
        padding: 15px 35px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-gdpr-hero h1 {
        font-size: 1.8em;
    }
    .page-gdpr-section h2 {
        font-size: 1.6em;
    }
    .page-gdpr-section h3 {
        font-size: 1.2em;
    }
    .page-gdpr-hero-image {
        height: 200px; /* Minimum height for image */
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 1.5em;
    }
    .page-gdpr-cta-final h2 {
        font-size: 1.8em;
    }
}