/* Base styles for the GDPR page */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: #FFF1E8; /* Text Main */
    background: #140C0C; /* Background */
    line-height: 1.6;
    padding-bottom: 50px;
}

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

.page-gdpr__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-top: 20px;
}

.page-gdpr__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FFB04A, #D86A14);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-gdpr__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr__text-block a {
    color: #FFB04A;
    text-decoration: underline;
}

.page-gdpr__text-block a:hover {
    color: #F3C54D;
}

/* Hero Section */
.page-gdpr__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
    background: #140C0C; /* Background */
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px; /* Max height for desktop hero */
    object-fit: cover;
    display: block;
    margin-top: 20px; /* Space between content and image */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
}

.page-gdpr__hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #F3C54D; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 22px;
    color: #FFF1E8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__hero-cta {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* General Button Styles */
.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #ffffff;
    border: none;
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #F3C54D 0%, #E53030 100%);
}

.page-gdpr__btn-secondary {
    background: #2A1212; /* Card BG */
    color: #FFB04A;
    border: 2px solid #FFB04A;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-gdpr__btn-secondary:hover {
    background: #FFB04A;
    color: #140C0C;
    border-color: #FFB04A;
}

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

/* Dark Section */
.page-gdpr__dark-section {
    background: #2A1212; /* Card BG */
    padding: 60px 0;
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: #FFB04A;
}

.page-gdpr__dark-section .page-gdpr__section-title::after {
    background: linear-gradient(90deg, #F3C54D, #FFB04A);
}

.page-gdpr__dark-section .page-gdpr__text-block {
    color: #FFF1E8;
}

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

.page-gdpr__principles-item {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__principles-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__principles-title {
    font-size: 24px;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__principles-item p {
    font-size: 16px;
    color: #FFF1E8;
}

/* Rights Section */
.page-gdpr__rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-gdpr__rights-card {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__rights-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__rights-title {
    font-size: 22px;
    color: #F3C54D; /* Gold */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__rights-card p {
    font-size: 16px;
    color: #FFF1E8;
}

/* Measures Section */
.page-gdpr__measures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__measure-card {
    background: #140C0C; /* Background */
    border: 1px solid #7E0D0D; /* Deep Red */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__measure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__measure-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-gdpr__measure-title {
    font-size: 22px;
    color: #FFB04A;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__measure-card p {
    font-size: 16px;
    color: #FFF1E8;
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 0;
}

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

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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;
  color: #F3C54D; /* Gold */
  font-weight: bold;
}

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: #3a1a1a;
}

.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold */
}

.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFB04A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 25px 25px;
  background: #140C0C; /* Background */
  border-radius: 0 0 10px 10px;
  color: #FFF1E8;
  font-size: 16px;
}

.page-gdpr__faq-answer p {
    margin-bottom: 0;
}

/* Contact Section */
.page-gdpr__contact-section {
    padding: 60px 0;
    background: #2A1212; /* Card BG */
    text-align: center;
}

.page-gdpr__contact-section .page-gdpr__section-title {
    color: #FFB04A;
}

.page-gdpr__contact-section .page-gdpr__section-title::after {
    background: linear-gradient(90deg, #F3C54D, #FFB04A);
}

.page-gdpr__contact-section .page-gdpr__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF1E8;
}

.page-gdpr__highlight-text {
    color: #F3C54D;
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 40px;
    }
    .page-gdpr__hero-description {
        font-size: 20px;
    }
    .page-gdpr__section-title {
        font-size: 32px;
    }
    .page-gdpr__principles-list, .page-gdpr__rights-grid, .page-gdpr__measures-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-gdpr__principles-item, .page-gdpr__rights-card, .page-gdpr__measure-card {
        padding: 25px;
    }
    .page-gdpr__principles-title, .page-gdpr__rights-title, .page-gdpr__measure-title {
        font-size: 20px;
    }
    .page-gdpr__text-block, .page-gdpr__principles-item p, .page-gdpr__rights-card p, .page-gdpr__measure-card p, .page-gdpr__faq-answer p {
        font-size: 15px;
    }
    details.page-gdpr__faq-item summary.page-gdpr__faq-question {
        padding: 15px 20px;
    }
    .page-gdpr__faq-qtext {
        font-size: 17px;
    }
    .page-gdpr__faq-toggle {
        font-size: 26px;
        width: 28px;
    }
    details.page-gdpr__faq-item .page-gdpr__faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__hero-section {
        padding-top: 10px;
    }
    .page-gdpr__hero-content {
        padding: 30px 15px;
    }
    .page-gdpr__hero-title {
        font-size: 32px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__hero-description {
        font-size: 18px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain; /* Banner 849px contain */
        max-height: 400px; /* Adjust max height for mobile */
    }
    .page-gdpr__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-gdpr__text-block {
        font-size: 16px;
    }
    .page-gdpr__principles-list, .page-gdpr__rights-grid, .page-gdpr__measures-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__principles-item, .page-gdpr__rights-card, .page-gdpr__measure-card {
        padding: 20px;
    }
    .page-gdpr__principles-title, .page-gdpr__rights-title, .page-gdpr__measure-title {
        font-size: 20px;
    }
    .page-gdpr__measure-image {
        height: 180px;
    }
    .page-gdpr__cta-group {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__hero-cta,
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        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;
    }
    details.page-gdpr__faq-item summary.page-gdpr__faq-question {
        padding: 15px;
    }
    .page-gdpr__faq-qtext {
        font-size: 16px;
    }
    .page-gdpr__faq-toggle {
        font-size: 24px;
        width: 24px;
    }
    details.page-gdpr__faq-item .page-gdpr__faq-answer {
        padding: 0 15px 15px;
    }
    /* Mobile image responsive optimization */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .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;
    }
}