/* style/gdpr.css */

/* Custom Colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background-main: #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 {
    background-color: var(--color-background-main);
    color: var(--color-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space above footer */
}

.page-gdpr h1,
.page-gdpr h2,
.page-gdpr h3 {
    color: var(--color-text-main);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-gdpr h1 {
    font-size: clamp(2em, 4vw, 3.5em); /* H1 font size with clamp */
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr h2 {
    font-size: clamp(1.8em, 3vw, 2.5em);
    text-align: center;
}

.page-gdpr p {
    margin-bottom: 15px;
    color: var(--color-text-secondary);
}

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

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

.page-gdpr strong {
    color: var(--color-text-main);
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-gdpr__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

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

/* CTA Buttons */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    margin-left: 15px; /* Spacing between buttons */
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center;
    gap: 15px; /* Spacing between buttons */
    margin-top: 30px;
    width: 100%; /* Ensure container responsiveness */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}


/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 20px;
    margin-bottom: 20px;
}

.page-gdpr__dark-section {
    background-color: var(--color-card-bg); /* Darker background for contrast */
    color: var(--color-text-secondary);
}

.page-gdpr__dark-section h2 {
    color: var(--color-text-main); /* Ensure titles are bright */
}

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

.page-gdpr__section-title {
    margin-bottom: 30px;
    text-align: center;
    color: var(--color-text-main);
}

.page-gdpr__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.page-gdpr__grid-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Allow columns to wrap */
}

.page-gdpr__grid-layout--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__text-column,
.page-gdpr__image-column {
    flex: 1;
    min-width: 300px; /* Minimum width for columns before wrapping */
}

.page-gdpr__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-gdpr__image--centered {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
}

.page-gdpr__list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.page-gdpr__list-item {
    margin-bottom: 10px;
}

/* Contact Section */
.page-gdpr__contact-section {
    padding: 60px 20px;
    background-color: var(--color-deep-green); /* A distinct dark green */
    text-align: center;
}

.page-gdpr__contact-section .page-gdpr__section-title {
    color: var(--color-text-main);
}

.page-gdpr__contact-section .page-gdpr__text-block {
    color: var(--color-text-secondary);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr__grid-layout {
        flex-direction: column;
    }
    .page-gdpr__grid-layout--reverse {
        flex-direction: column; /* Stacks normally on smaller screens */
    }
    .page-gdpr__hero-content {
        padding: 0 15px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.6em, 5vw, 2em);
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        padding: 10px 15px 40px;
    }
    .page-gdpr__content-section,
    .page-gdpr__contact-section {
        padding: 40px 15px;
    }
    .page-gdpr__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset !important; /* Allow smaller display if needed, but max-width:100% is key */
        min-height: unset !important;
    }

    /* Button responsiveness */
    .page-gdpr__cta-button,
    .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;
        margin-left: 0 !important; /* Remove margin-left for stacked buttons */
        margin-right: 0 !important;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .page-gdpr__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}