/* style/gdpr.css */

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

/* Base styles for the page-gdpr scope */
.page-gdpr {
    background-color: var(--page-gdpr-bg); /* Dark background */
    color: var(--page-gdpr-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space above footer */
}

/* Section styling */
.page-gdpr__content-section {
    padding: 60px 0;
    text-align: center;
}

.page-gdpr__content-section.page-gdpr__dark-bg {
    background-color: var(--page-gdpr-bg);
    color: var(--page-gdpr-text-main);
}

.page-gdpr__content-section.page-gdpr__light-bg {
    background-color: var(--page-gdpr-card-bg); /* Use card background for contrast, still dark */
    color: var(--page-gdpr-text-main);
}

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

.page-gdpr__container--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-gdpr__container--reverse {
    grid-template-areas: "image text";
}
.page-gdpr__container--reverse .page-gdpr__text-block { grid-area: text; }
.page-gdpr__container--reverse .page-gdpr__image-block { grid-area: image; }


/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    background-color: var(--page-gdpr-bg); /* Ensure hero section has background */
    color: var(--page-gdpr-text-main);
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 40px; /* Space between image and content */
}

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

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

/* Typography */
.page-gdpr__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 30px;
    color: var(--page-gdpr-gold); /* Use gold for section titles */
}

.page-gdpr__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__paragraph {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--page-gdpr-text-secondary); /* Secondary text for paragraphs */
}

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

/* Lists */
.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
}

.page-gdpr__list-item {
    font-size: 1rem;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr__list-item::before {
    content: "•";
    color: var(--page-gdpr-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

/* Images */
.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-btn-gradient);
    color: var(--page-gdpr-text-main);
    border: none;
    margin: 10px;
}

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

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--page-gdpr-gold);
    border: 2px solid var(--page-gdpr-gold);
    margin: 10px;
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--page-gdpr-gold);
    color: var(--page-gdpr-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* Links within text */
.page-gdpr__paragraph a,
.page-gdpr__list-item a,
.page-gdpr__link {
    color: var(--page-gdpr-gold);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__paragraph a:hover,
.page-gdpr__list-item a:hover,
.page-gdpr__link:hover {
    color: var(--page-gdpr-glow);
}

/* FAQ Section */
.page-gdpr__faq-list {
    max-width: 900px;
    margin: 0 auto 40px auto;
    text-align: left;
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--page-gdpr-text-main);
    cursor: pointer;
    background-color: var(--page-gdpr-deep-green); /* Slightly different background for question */
    border-bottom: 1px solid transparent; /* No border by default */
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    border-bottom-color: var(--page-gdpr-border); /* Border when open */
}

.page-gdpr__faq-question:hover {
    background-color: rgba(46, 122, 78, 0.5); /* Lighter hover effect */
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    color: var(--page-gdpr-gold);
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-gdpr__faq-answer {
    padding: 15px 25px 25px 25px;
    font-size: 1rem;
    color: var(--page-gdpr-text-secondary);
    background-color: var(--page-gdpr-card-bg);
}

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


/* Contact Section */
.page-gdpr__contact-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--page-gdpr-bg);
    color: var(--page-gdpr-text-main);
}

.page-gdpr__contact-info {
    max-width: 800px;
    margin: 0 auto 30px auto;
    padding: 30px;
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border);
    border-radius: 8px;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__container--grid {
        grid-template-columns: 1fr;
        grid-template-areas: none; /* Reset grid area for smaller screens */
    }
    .page-gdpr__container--reverse .page-gdpr__text-block,
    .page-gdpr__container--reverse .page-gdpr__image-block {
        grid-area: auto; /* Reset grid area */
    }
    .page-gdpr__image-block {
        order: -1; /* Image appears first on smaller screens for reverse grid */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-gdpr__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-gdpr__main-title {
        font-size: 2rem;
    }
    .page-gdpr__section-title {
        font-size: 1.6rem;
    }
    .page-gdpr__sub-title {
        font-size: 1.2rem;
    }
    .page-gdpr__paragraph,
    .page-gdpr__description,
    .page-gdpr__list-item,
    .page-gdpr__faq-question,
    .page-gdpr__faq-answer {
        font-size: 1rem;
    }

    /* Mobile image adaptation */
    .page-gdpr img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__hero-content,
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__content-section,
    .page-gdpr__text-block,
    .page-gdpr__image-block,
    .page-gdpr__faq-list,
    .page-gdpr__faq-item,
    .page-gdpr__contact-section,
    .page-gdpr__contact-info {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important; /* Prevent content overflow */
    }
    
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Mobile button adaptation */
    .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 horizontal margin for full width */
        margin-right: 0 !important;
        margin-bottom: 10px !important; /* Add vertical spacing */
    }

    .page-gdpr__hero-content .page-gdpr__btn-primary,
    .page-gdpr__hero-content .page-gdpr__btn-secondary {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .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-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
    }
}