/* 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: #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 {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--color-text-main); /* Default text color for dark background */
    background-color: var(--color-background); /* Body background is handled by shared.css, this is for sections */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content vertically */
    padding: 20px;
    background-color: var(--color-background); /* Ensure consistency if body background is different */
    color: var(--color-text-main);
    text-align: center;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    max-height: 600px; /* Limit height for hero image */
    object-fit: cover;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
    z-index: 1; /* Ensure text is above image if any overlap happens due to complex layouts */
}

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    color: var(--color-gold); /* Gold for main title */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-gdpr__intro-text {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 20px;
    background-color: var(--color-background); /* Dark background for sections */
    border-bottom: 1px solid var(--color-divider);
    color: var(--color-text-main);
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Inner padding for content */
    box-sizing: border-box;
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(87, 227, 141, 0.3);
}

.page-gdpr__sub-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--color-secondary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-gdpr__paragraph {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--color-text-secondary);
    text-align: justify;
}

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

.page-gdpr__contact-link {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Call to Action Buttons */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main); /* White text on button */
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-gdpr__cta-button--secondary {
    background: var(--color-deep-green);
    border: 1px solid var(--color-primary);
    color: var(--color-text-main);
}

.page-gdpr__cta-button--secondary:hover {
    background: var(--color-primary);
    color: var(--color-text-main);
}

/* FAQ Section Styling (using <details> and <summary>) */
.page-gdpr__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--color-text-main);
    cursor: pointer;
    outline: none;
    list-style: none; /* Hide default marker */
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
}

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

.page-gdpr__faq-question {
    flex-grow: 1;
    color: var(--color-text-main);
}

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

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

/* Ensure images maintain aspect ratio and don't overflow */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-image {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__section {
        padding: 40px 15px;
    }

    .page-gdpr__hero-image {
        max-height: 300px;
        margin-bottom: 15px;
    }

    .page-gdpr__hero-content {
        padding: 10px 0;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-gdpr__intro-text {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        margin-bottom: 20px;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }

    .page-gdpr__sub-title {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-gdpr__paragraph {
        font-size: 0.95rem;
    }

    /* Mobile forced image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__container,
    .page-gdpr__faq-item { /* Assuming card class might be used for faq-item */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }

    /* Mobile forced video responsiveness */
    .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 padding, not --header-offset */
    }
    
    .page-gdpr__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile forced 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;
      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-wrap: wrap !important;
      gap: 10px; /* Space between buttons if they wrap */
      display: flex; /* Ensure flex behavior for wrapping */
      flex-direction: column; /* Stack buttons vertically on mobile */
    }

    .page-gdpr__faq-item summary {
        padding: 15px 20px;
        font-size: 1.05rem;
    }

    .page-gdpr__faq-answer {
        padding: 10px 20px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-image {
        max-height: 200px;
    }
    .page-gdpr__cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}