/* style/gdpr.css */

/* Custom colors from prompt */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

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

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    background-color: var(--color-deep-green); /* Example background for hero section */
    overflow: hidden;
}

.page-gdpr__hero-image-container {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.3; /* Slightly dim the background image */
}

.page-gdpr__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
    border-radius: 10px;
}

.page-gdpr__main-title {
    color: var(--color-gold);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    /* font-size handled by default browser settings or clamp if necessary */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-gdpr__description {
    color: var(--color-text-main);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

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

.page-gdpr__intro-section,
.page-gdpr__rights-section,
.page-gdpr__cookies-section,
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: var(--color-background); /* Dark background for light text */
    color: var(--color-text-main);
}

.page-gdpr__principles-section,
.page-gdpr__security-section,
.page-gdpr__contact-section,
.page-gdpr__cta-section {
    padding: 60px 0;
    background-color: var(--color-deep-green); /* Slightly different dark background */
    color: var(--color-text-main);
}

.page-gdpr__heading {
    color: var(--color-gold);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-gdpr__paragraph {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.page-gdpr__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-gdpr__card-title {
    color: var(--color-gold);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__card-text {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.page-gdpr__list {
    list-style: disc inside;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--color-text-main);
}

.page-gdpr__list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.page-gdpr__list-item-title {
    color: var(--color-gold);
}

.page-gdpr__image-centered {
    display: block;
    margin: 40px auto 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping for buttons */
    word-wrap: break-word; /* Allow text wrapping for buttons */
    box-sizing: border-box;
    max-width: 100%;
}

.page-gdpr__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: none;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.page-gdpr__btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-text-main);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-gdpr__contact-info {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.page-gdpr__contact-item {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--color-text-main);
}

.page-gdpr__contact-label {
    color: var(--color-gold);
}

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

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

.page-gdpr__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-gold);
    cursor: pointer;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: var(--color-primary);
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-text-main);
}

/* For <details> tag */
.page-gdpr__faq-item[open] > .page-gdpr__faq-question {
    border-bottom: 1px solid var(--color-primary);
}

.page-gdpr__faq-item summary {
    list-style: none; /* Remove default marker */
}

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

.page-gdpr__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.5rem;
    }
    .page-gdpr__heading {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-gdpr__main-title {
        font-size: 2rem;
    }
    .page-gdpr__heading {
        font-size: 1.8rem;
    }
    .page-gdpr__paragraph,
    .page-gdpr__list li,
    .page-gdpr__faq-question {
        font-size: 1rem;
    }
    .page-gdpr__card-title {
        font-size: 1.2rem;
    }
    .page-gdpr__card-text {
        font-size: 0.9rem;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile video responsiveness (if any) */
    .page-gdpr video,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-gdpr__video-section {
        padding-top: 10px !important; /* Small top padding for video section */
    }

    /* Mobile button responsiveness */
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
    }

    .page-gdpr__container {
        padding: 0 15px; /* Adjust container padding for mobile */
    }

    .page-gdpr__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-gdpr__hero-content {
        position: relative; /* Make content flow naturally on mobile */
        transform: none;
        top: auto;
        left: auto;
        padding: 20px 15px;
        margin-top: -100px; /* Pull content up slightly over image */
        background: rgba(0, 0, 0, 0.7);
    }
    .page-gdpr__hero-image-container {
        max-height: 300px;
    }
    .page-gdpr__hero-image {
        height: 300px; /* Fixed height for mobile hero image */
    }
    .page-gdpr__grid {
        grid-template-columns: 1fr;
    }
}