/* style/gdpr.css */

/* Variables for consistency */
:root {
    --primary-color: #007bff; /* Blue */
    --secondary-color: #ffc107; /* Gold/Orange */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    --border-color: #e0e0e0;
}

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

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

/* Hero Section */
.page-gdpr .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Darker blue for gradient */
    color: var(--text-color-light);
    overflow: hidden; /* Ensure image doesn't overflow */
}

.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%;
    max-width: 100%; /* Ensure image fills container */
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
}

.page-gdpr .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
}

.page-gdpr .hero-section h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-color-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr .hero-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-color-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-gdpr .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color); /* Gold/Orange for CTA */
    color: var(--text-color-dark); /* Dark text on gold for contrast */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr .cta-button:hover {
    background: #e0a800; /* Slightly darker gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.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 h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-gdpr section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

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

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

.page-gdpr section ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-gdpr section ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Content Grid for Principles Section */
.page-gdpr .content-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-gdpr .content-grid .text-content {
    flex: 2;
}

.page-gdpr .content-grid .image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-gdpr .content-grid .content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 200px; /* Ensure minimum image size */
    min-height: 200px;
}

/* Full Width Images */
.page-gdpr .content-image-full {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    margin-bottom: 30px;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum image size */
    min-height: 200px;
}


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

.page-gdpr .right-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr .right-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr .right-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.4em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Contact Info */
.page-gdpr .contact-info {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

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

.page-gdpr .contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

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

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

.page-gdpr .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.page-gdpr .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

.page-gdpr .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.page-gdpr .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 20px;
    background: var(--bg-light);
}

.page-gdpr .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px;
}

.page-gdpr .faq-answer p {
    margin: 0;
    color: var(--text-color-dark);
}

/* Register CTA Section */
.page-gdpr .section-register-cta {
    background: var(--primary-color);
    color: var(--text-color-light);
    padding: 80px 20px;
    text-align: center;
}

.page-gdpr .section-register-cta h2 {
    color: var(--text-color-light);
    margin-bottom: 25px;
}

.page-gdpr .section-register-cta p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-light); /* Ensure contrast */
}

.page-gdpr .section-register-cta .primary-cta {
    background: var(--secondary-color);
    color: var(--text-color-dark); /* Ensure contrast */
    font-size: 1.5em;
    padding: 18px 50px;
    border-radius: 7px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}