/* style/gdpr.css */

/* Base Styles for GDPR Page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Main text color for dark background */
    background-color: transparent; /* Body background is handled by shared.css var(--background-color) */
    padding-bottom: 60px; /* Space for footer */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensures content is not covered by fixed header */
    padding-bottom: 40px;
    background-color: #0A0A0A; /* Fallback, actual background handled by image */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

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

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

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #FFD36B; /* Glow color for main title */
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.4);
}

.page-gdpr__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-gdpr__hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 0;
    border-bottom: 1px solid #3A2A12; /* Border color */
}

.page-gdpr__section:last-of-type {
    border-bottom: none;
}

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

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 600;
    color: #F2C14E; /* Main brand color for section titles */
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-gdpr__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    color: #FFD36B; /* Auxiliary color for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__paragraph,
.page-gdpr__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #FFF6D6; /* Text Main color */
}

.page-gdpr__link {
    color: #F2C14E;
    text-decoration: underline;
}

.page-gdpr__link:hover {
    color: #FFD36B;
}

/* Image with Text Layout */
.page-gdpr__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-gdpr__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__image-wrapper {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.2);
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-gdpr__text-content {
    flex: 2;
}

/* Principle List */
.page-gdpr__principle-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-gdpr__principle-item {
    background-color: #111111; /* Card BG color */
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #3A2A12; /* Border color */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #FFF6D6;
}

.page-gdpr__list-title {
    font-size: 1.25rem;
    color: #F2C14E;
    margin-bottom: 10px;
}

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

.page-gdpr__card {
    background-color: #111111; /* Card BG color */
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #3A2A12; /* Border color */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #FFF6D6;
}

.page-gdpr__card-title {
    font-size: 1.25rem;
    color: #F2C14E;
    margin-bottom: 10px;
}

.page-gdpr__card-text {
    font-size: 0.95rem;
    color: #FFF6D6;
}

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

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #333333; /* Dark text for contrast on light gradient */
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-gdpr__btn-secondary {
    background-color: #111111; /* Card BG as secondary button background */
    color: #F2C14E; /* Main brand color for text */
    border: 2px solid #F2C14E; /* Main brand color for border */
}

.page-gdpr__btn-secondary:hover {
    background-color: #F2C14E;
    color: #111111; /* Dark text on brand color background */
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

/* Ensure content area images are not smaller than 200px */
.page-gdpr img {
    min-width: 200px;
    min-height: 200px;
    filter: none; /* No filter property for images */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__image-text-block {
        flex-direction: column;
        text-align: center;
    }

    .page-gdpr__image-text-block--reverse {
        flex-direction: column; /* Also stack for reverse layout */
    }

    .page-gdpr__image-wrapper {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 100px) !important; /* Adjust for mobile header offset */
        padding-bottom: 30px;
    }

    .page-gdpr__hero-image-wrapper {
        max-height: 300px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-gdpr__hero-description {
        font-size: 1rem;
    }

    .page-gdpr__section {
        padding: 40px 0;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    .page-gdpr__sub-title {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }

    .page-gdpr__principle-list,
    .page-gdpr__implementation-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-content,
    .page-gdpr__image-text-block,
    .page-gdpr__principle-item,
    .page-gdpr__implementation-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 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__hero-cta,
    .page-gdpr__cta-buttons {
        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;
    }
}

/* Content area images CSS dimensions lower bound */
.page-gdpr img {
    min-width: 200px;
    min-height: 200px;
}