/* style/gdpr.css */

/* Variables for colors */
:root {
    --primary-color: #1A2B3C; /* Deep Blue/Black */
    --secondary-color: #FFD700; /* Gold/Bright Yellow */
    --text-light: #F0F0F0;
    --text-dark: #333333;
    --background-light: #FFFFFF;
    --background-dark: #2A3B4C; /* Slightly lighter than primary for sections */
    --border-color: #E0E0E0;
    --accent-color: #FFC107; /* A bit softer yellow for highlights */
}

/* Base styles for the page content */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    margin: 0;
    padding: 0;
}

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

.page-gdpr section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.page-gdpr .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-gdpr h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

/* Hero Section */
.page-gdpr .hero-section {
    background: linear-gradient(135deg, var(--primary-color), #2A3B4C); /* Darker blue gradient */
    color: var(--text-light);
    text-align: center;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-gdpr .hero-container {
    max-width: 900px;
    z-index: 1;
}

.page-gdpr .hero-title {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr .hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    line-height: 1.5;
}

.page-gdpr .cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 18px 45px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr .cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Content Blocks */
.page-gdpr .content-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.page-gdpr .content-block p {
    max-width: 800px;
    text-align: justify;
}

.page-gdpr .content-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    margin-bottom: 20px; /* Ensure spacing below image */
}

/* List Styles */
.page-gdpr .list-style,
.page-gdpr .ordered-list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    padding-left: 0;
    max-width: 800px;
    align-self: center; /* Center the list within flex container */
}

.page-gdpr .ordered-list {
    list-style-type: decimal;
}

.page-gdpr .list-style li,
.page-gdpr .ordered-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--text-dark);
}

.page-gdpr .list-style li strong,
.page-gdpr .ordered-list li strong {
    color: var(--primary-color);
}

.page-gdpr .section-intro,
.page-gdpr .section-data-collection,
.page-gdpr .section-contact,
.page-gdpr .section-updates {
    background-color: var(--background-light);
}

.page-gdpr .section-rights,
.page-gdpr .section-security,
.page-gdpr .section-faq {
    background-color: #F9F9F9; /* Light grey for subtle contrast */
}

/* Link styling */
.page-gdpr a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* FAQ Section Styling */
.page-gdpr .faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-gdpr .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--background-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-gdpr .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--background-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-gdpr .faq-question:hover {
    background-color: #F0F0F0;
}

.page-gdpr .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--primary-color);
}

.page-gdpr .faq-toggle {
    font-size: 2em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    line-height: 1; /* Adjust line-height to center the +/- */
}

.page-gdpr .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #fdfdfd;
    color: var(--text-dark);
}

.page-gdpr .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr .hero-title {
        font-size: 2.8em;
    }
    .page-gdpr .hero-subtitle {
        font-size: 1.2em;
    }
    .page-gdpr .section-title {
        font-size: 2em;
    }
    .page-gdpr p, .page-gdpr .list-style li, .page-gdpr .ordered-list li {
        font-size: 1em;
    }
    .page-gdpr .cta-button {
        padding: 15px 35px;
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-gdpr section {
        padding: 40px 0;
    }
    .page-gdpr .hero-section {
        padding: 80px 15px;
    }
    .page-gdpr .hero-title {
        font-size: 2.2em;
    }
    .page-gdpr .hero-subtitle {
        font-size: 1.1em;
    }
    .page-gdpr .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr h3 {
        font-size: 1.3em;
    }
    .page-gdpr .content-block {
        flex-direction: column;
        gap: 20px;
    }
    .page-gdpr .content-image {
        margin-bottom: 15px;
    }
    .page-gdpr .list-style, .page-gdpr .ordered-list {
        margin-left: 20px;
    }
    .page-gdpr .faq-question {
        padding: 15px 20px;
    }
    .page-gdpr .faq-question h3 {
        font-size: 1.1em;
        padding-right: 10px; /* Space for toggle */
    }
    .page-gdpr .faq-toggle {
        font-size: 1.8em;
    }
    .page-gdpr .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-gdpr .hero-section {
        padding: 60px 10px;
    }
    .page-gdpr .hero-title {
        font-size: 1.8em;
    }
    .page-gdpr .hero-subtitle {
        font-size: 1em;
    }
    .page-gdpr .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-gdpr .section-title {
        font-size: 1.5em;
    }
    .page-gdpr h3 {
        font-size: 1.2em;
    }
    .page-gdpr p, .page-gdpr .list-style li, .page-gdpr .ordered-list li {
        font-size: 0.95em;
    }
    .page-gdpr .faq-question h3 {
        font-size: 1em;
    }
    .page-gdpr .faq-toggle {
        font-size: 1.5em;
    }
}