/* style/gdpr.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-color: #333333;
    --heading-color: #222222;
    --login-button-color: #EA7C07;
    --background-color: #FFFFFF;
    --dark-text-color: #000000;
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr h4, .page-gdpr h5, .page-gdpr h6 {
    color: var(--heading-color);
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-gdpr h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr h2 {
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.page-gdpr h3 {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 600;
}

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(135deg, var(--primary-color) 0%, #3aade0 100%);
    color: var(--secondary-color);
    overflow: hidden;
}

.page-gdpr__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page-gdpr__hero-description {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--secondary-color);
}

.page-gdpr__hero-image {
    width: 100%;
    max-width: 800px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.page-gdpr__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--login-button-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
    background: #d86c00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section {
    padding: 60px 20px;
}

.page-gdpr__container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-gdpr__introduction-section p {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr__principles-section {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-gdpr__principles-section .page-gdpr__section-title {
    color: var(--secondary-color);
}

.page-gdpr__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color);
    border: 1px solid #e0e0e0;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-gdpr__card-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.page-gdpr__card p {
    font-size: 16px;
}

.page-gdpr__user-rights-section ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-gdpr__user-rights-section li {
    background-color: #f9f9f9;
    border-left: 5px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 17px;
}

.page-gdpr__user-rights-section li strong {
    color: var(--primary-color);
}

.page-gdpr__user-rights-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__user-rights-section a:hover {
    text-decoration: underline;
}

.page-gdpr__data-security-section .page-gdpr__grid--security {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-gdpr__card--security {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-gdpr__card--security img {
    width: 100%;
    
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-gdpr__data-breach-section p {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr__contact-section {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
}

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

.page-gdpr__contact-section p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-gdpr__contact-section a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-gdpr__contact-section a.page-gdpr__cta-button {
    background: var(--login-button-color);
    color: var(--secondary-color);
}

.page-gdpr__faq-section {
    padding-bottom: 80px;
}

.page-gdpr__faq-list {
    margin-top: 40px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: #f5f5f5;
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--heading-color);
}
.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
  line-height: 1;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 25px 25px;
  background: #fcfcfc;
  border-top: 1px solid #eee;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: var(--text-color);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__hero-container {
        flex-direction: column;
        gap: 20px;
    }

    .page-gdpr__main-title {
        font-size: clamp(26px, 6vw, 40px);
    }

    .page-gdpr__hero-description {
        font-size: clamp(15px, 2.5vw, 18px);
    }

    .page-gdpr__hero-image img {
        border-radius: 8px;
    }

    .page-gdpr__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

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

    .page-gdpr__section-title {
        font-size: clamp(22px, 5vw, 36px);
        margin-bottom: 25px;
    }

    .page-gdpr__introduction-section p, 
    .page-gdpr__data-breach-section p,
    .page-gdpr__user-rights-section li,
    .page-gdpr__card p {
        font-size: 15px;
    }

    .page-gdpr__card-title {
        font-size: 18px;
    }

    .page-gdpr__card--security img {
        
    }

    details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px 20px; }
    .page-gdpr__faq-qtext { font-size: 16px; }
    .page-gdpr__faq-toggle { font-size: 24px; width: 28px; }
    details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 20px 20px; }

    /* Ensure all images are responsive */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-gdpr__card, .page-gdpr__section, .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-gdpr__grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__card {
        padding: 20px;
    }
    .page-gdpr__section {
        padding: 30px 15px;
    }
    .page-gdpr__hero-section {
        padding-left: 10px;
        padding-right: 10px;
    }
    .page-gdpr__hero-description {
        font-size: 15px;
    }
    .page-gdpr__cta-button {
        font-size: 15px;
        padding: 10px 25px;
    }
}