/* style/gdpr.css */

:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg-color: #10233F;
    --text-main-color: #F3F8FF;
    --text-secondary-color: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy-color: #08162B;
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    background-color: var(--card-bg-color); /* Body background is dark */
    color: var(--text-main-color);
    line-height: 1.6;
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding as body handles header offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-gdpr__hero-image-container {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    position: relative;
}

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

.page-gdpr__hero-content {
    position: relative; /* Ensure content is above image if z-index is used, though not overlapping */
    z-index: 2;
    margin-top: -150px; /* Pull content up slightly over the image's bottom edge for visual flow */
    padding: 0 20px;
    max-width: 900px;
    background: rgba(16, 35, 63, 0.9); /* Slightly transparent dark background */
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__intro-text {
    font-size: 1.15rem;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__btn-primary {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-gdpr__light-bg {
    background-color: var(--deep-navy-color);
    color: var(--text-main-color);
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

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

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

.page-gdpr__list {
    list-style: disc inside;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-gdpr__list-item {
    font-size: 1.05rem;
    color: var(--text-secondary-color);
    margin-bottom: 10px;
}

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

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Contact Section */
.page-gdpr__contact-section {
    padding: 60px 0;
    background-color: var(--deep-navy-color);
}

.page-gdpr__btn-secondary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-main-color);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
}

.page-gdpr__btn-secondary:hover {
    background: var(--secondary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.page-gdpr__btn-spacing {
    margin-top: 15px;
}

/* Conclusion Section */
.page-gdpr__conclusion-section {
    padding: 80px 0;
    background-color: var(--card-bg-color);
    text-align: center;
}

/* General Image and Button styles for responsiveness */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-gdpr a[class*="btn"],
.page-gdpr a[class*="button"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-gdpr__container {
        padding: 15px;
    }

    /* Hero Section */
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Ensure small padding */
        padding-bottom: 30px;
    }

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

    .page-gdpr__hero-content {
        margin-top: -80px; /* Adjust for smaller screens */
        padding: 25px;
    }

    .page-gdpr__main-title {
        font-size: 2rem; /* Fixed for mobile clarity */
        margin-bottom: 15px;
    }

    .page-gdpr__intro-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-gdpr__btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* Content Sections */
    .page-gdpr__content-section {
        padding: 40px 0;
    }

    .page-gdpr__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-gdpr__sub-title {
        font-size: 1.3rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }

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

    .page-gdpr__content-image {
        margin: 30px auto;
    }

    .page-gdpr__btn-secondary {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    /* General Images and Buttons (forced compliance) */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .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;
        display: flex;
        flex-direction: column; /* Ensure vertical stacking for multiple buttons */
    }

    /* --- Required Homepage-specific CSS blocks (even if HTML is not present on this page) --- */
    /* 1. Top Carousel Section */
    .page-gdpr__hero-carousel-section {
        padding-top: 10px !important;
        position: relative;
        overflow: hidden;
    }

    .page-gdpr__hero-slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
        scrollbar-width: none;  /* Hide scrollbar for Firefox */
    }

    .page-gdpr__hero-slider::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome, Safari, Opera */
    }

    .page-gdpr__hero-slide {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: start;
        position: relative;
    }

    /* Navigation arrows and dots (placeholders for mobile) */
    .page-gdpr__hero-slider-prev, .page-gdpr__hero-slider-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        padding: 10px;
        cursor: pointer;
        z-index: 10;
        display: none; /* Hide arrows on mobile by default, use swipe */
    }
    .page-gdpr__hero-slider-prev { left: 10px; }
    .page-gdpr__hero-slider-next { right: 10px; }

    /* 2. Guide Box (5 Team Vertical Cards) */
    .page-gdpr__guide-box {
        padding: 15px;
    }
    .page-gdpr__guide-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 10px;
    }
    .page-gdpr__guide-card {
        padding-top: 0 !important; /* Reset desktop offset */
        grid-column: span 3; /* Two cards per row for positions 1 and 2 */
        max-width: 100%; /* Ensure cards fill their grid space */
        flex: none; /* Override flex properties */
    }
    .page-gdpr__guide-card--pos-3, .page-gdpr__guide-card--pos-4, .page-gdpr__guide-card--pos-5 {
        grid-column: span 2; /* Three cards per row for positions 3, 4, 5 */
    }
    .page-gdpr__guide-card img {
        aspect-ratio: 250/350 !important;
        object-fit: contain !important;
        width: 100% !important;
        height: auto !important;
    }

    /* 3. Home Content Box (700px height) */
    .page-gdpr__home-content-box {
        max-width: 100% !important;
        height: auto !important; /* Full content visible */
        border: none !important; /* Remove heavy border for mobile */
        box-shadow: none !important;
        padding: 15px !important;
    }
    .page-gdpr__home-content-inner {
        height: auto !important;
        overflow: visible !important;
    }

    /* 4. Blog Card Section */
    .page-gdpr__blog-section {
        padding: 40px 0;
    }
    .page-gdpr__blog-grid {
        grid-template-columns: 1fr !important; /* Single column for mobile */
        gap: 20px;
    }
    .page-gdpr__blog-card {
        max-width: 100%;
    }
}

/* --- General @media (max-width: 1024px) for tablet --- */
@media (max-width: 1024px) and (min-width: 769px) {
    .page-gdpr__container {
        padding: 20px 30px;
    }

    .page-gdpr__hero-content {
        margin-top: -100px;
        padding: 30px;
    }

    .page-gdpr__main-title {
        font-size: 2.5rem;
    }

    .page-gdpr__intro-text {
        font-size: 1.05rem;
    }

    .page-gdpr__section-title {
        font-size: 2.2rem;
    }

    .page-gdpr__sub-title {
        font-size: 1.6rem;
    }

    /* Guide Box Adjustments for Tablet */
    .page-gdpr__guide-grid {
        gap: 10px;
    }
    .page-gdpr__guide-card {
        flex: 0 0 32%; /* Approx 3 cards per row */
        max-width: 32%;
    }
    .page-gdpr__guide-card--pos-1, .page-gdpr__guide-card--pos-5 {
        padding-top: 25px; /* Reduce offset */
    }
    .page-gdpr__guide-card--pos-2, .page-gdpr__guide-card--pos-4 {
        padding-top: 10px;
    }

    /* Blog Grid Adjustments for Tablet */
    .page-gdpr__blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}