/* style/gdpr.css */

/* Core Layout & Typography */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main color for dark body background */
    background-color: #0D0E12; /* Background color for body */
}

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

.page-gdpr__hero-section {
    position: relative;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: #0D0E12;
    overflow: hidden;
}

.page-gdpr__hero-image {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.page-gdpr__hero-image img {
    width: 100%;
    height: 675px; /* Fixed height for desktop to maintain aspect ratio */
    object-fit: cover; /* Cover ensures image fills, but mobile will be contain */
    display: block;
    border-radius: 8px;
}

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: 48px;
    font-weight: bold;
    color: #FF8C1A; /* Primary brand color for title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 140, 26, 0.5); /* Glow effect */
}

.page-gdpr__intro-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: #FFF3E6;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Custom button color */
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: #FF8C1A;
    border: 2px solid #A84F0C; /* Border color */
    box-shadow: 0 0 10px rgba(255, 140, 26, 0.2);
}

.page-gdpr__btn-secondary:hover {
    background: rgba(255, 140, 26, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 140, 26, 0.4);
}

.page-gdpr__section-title {
    font-size: 38px;
    font-weight: bold;
    color: #FF8C1A;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    line-height: 1.3;
}

.page-gdpr__sub-title {
    font-size: 28px;
    font-weight: bold;
    color: #FFA53A;
    margin-top: 30px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.page-gdpr__content-section,
.page-gdpr__commitment-section,
.page-gdpr__rights-section,
.page-gdpr__cookies-section,
.page-gdpr__contact-faq-section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-gdpr__content-section {
    background-color: #0D0E12; /* Body background */
}

.page-gdpr__commitment-section {
    background-color: #17191F; /* Card BG color */
}

.page-gdpr__rights-section {
    background-color: #0D0E12; /* Body background */
}

.page-gdpr__cookies-section {
    background-color: #17191F; /* Card BG color */
}

.page-gdpr__contact-faq-section {
    background-color: #0D0E12; /* Body background */
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    color: #FFF3E6;
}

.page-gdpr__list li {
    margin-bottom: 10px;
    font-size: 16px;
}

.page-gdpr__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-gdpr__image-wrapper {
    flex: 1;
    min-width: 400px;
}

.page-gdpr__image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.page-gdpr__text-content {
    flex: 2;
    min-width: 400px;
}

.page-gdpr__text-content .page-gdpr__btn-primary {
    margin-top: 20px;
    display: inline-flex;
}

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

.page-gdpr__right-card {
    background-color: #17191F; /* Card BG color */
    border: 1px solid #A84F0C; /* Border color */
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #FFF3E6;
}

.page-gdpr__right-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 140, 26, 0.3);
}

.page-gdpr__card-title {
    font-size: 22px;
    font-weight: bold;
    color: #FF8C1A;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-gdpr__contact-faq-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-gdpr__contact-info {
    flex: 1;
    min-width: 300px;
    background-color: #17191F; /* Card BG color */
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #A84F0C;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: #FFF3E6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-gdpr__contact-info .page-gdpr__sub-title {
    margin-top: 0;
    color: #FFA53A;
}

.page-gdpr__contact-info p {
    margin-bottom: 15px;
}

.page-gdpr__contact-info .page-gdpr__btn-primary {
    margin-top: 15px;
    margin-bottom: 15px;
    display: inline-flex;
}

.page-gdpr__contact-info img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-gdpr__contact-desc {
    font-style: italic;
    font-size: 14px;
    color: #b0b0b0;
}

.page-gdpr__faq-list {
    flex: 1.5;
    min-width: 400px;
    color: #FFF3E6;
}

.page-gdpr__faq-list .page-gdpr__sub-title {
    margin-top: 0;
    color: #FFA53A;
}

/* FAQ styles (details + summary) */
details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #17191F; /* Card BG color */
  box-shadow: 0 2px 8px 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 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF3E6;
}
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: rgba(255, 140, 26, 0.1); /* Slight hover effect */
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}
.page-gdpr__faq-toggle {
  font-size: 28px; /* Larger for better visibility */
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px; /* Adjust size */
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #0D0E12; /* Background color for answer */
  border-radius: 0 0 8px 8px;
  color: #FFF3E6;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer p {
    margin-bottom: 0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 42px;
    }
    .page-gdpr__section-title {
        font-size: 34px;
    }
    .page-gdpr__sub-title {
        font-size: 24px;
    }
    .page-gdpr__image-text-block {
        flex-direction: column;
    }
    .page-gdpr__image-wrapper,
    .page-gdpr__text-content {
        min-width: unset;
        width: 100%;
    }
    .page-gdpr__contact-faq-wrapper {
        flex-direction: column;
    }
    .page-gdpr__contact-info,
    .page-gdpr__faq-list {
        min-width: unset;
        width: 100%;
    }
}

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

    /* HERO Section */
    .page-gdpr__hero-section {
        padding-top: 10px; /* Small top padding, not header offset */
        padding-bottom: 40px;
    }
    .page-gdpr__hero-image img {
        height: auto !important;
        object-fit: contain !important; /* Mobile: contain to avoid cropping */
        aspect-ratio: unset !important; /* Remove fixed aspect ratio */
    }
    .page-gdpr__main-title {
        font-size: clamp(28px, 8vw, 38px); /* Clamp for H1 font size */
        margin-bottom: 15px;
    }
    .page-gdpr__intro-text {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column !important; /* Buttons stack vertically */
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important; /* Ensure buttons take full width */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* General Section Titles */
    .page-gdpr__section-title {
        font-size: clamp(28px, 7vw, 32px); /* Clamp for H2 font size */
        margin-bottom: 30px;
        padding-top: 30px;
    }
    .page-gdpr__sub-title {
        font-size: clamp(22px, 6vw, 24px); /* Clamp for H3 font size */
        margin-top: 25px;
        margin-bottom: 15px;
    }

    /* Image and Content Blocks */
    .page-gdpr__content-section,
    .page-gdpr__commitment-section,
    .page-gdpr__rights-section,
    .page-gdpr__cookies-section,
    .page-gdpr__contact-faq-section {
        padding: 40px 0;
    }
    .page-gdpr__image-wrapper img,
    .page-gdpr__contact-info img,
    .page-gdpr img { /* General image rule for content area */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        display: block;
    }
    .page-gdpr__image-text-block,
    .page-gdpr__contact-faq-wrapper {
        gap: 30px;
    }
    .page-gdpr__text-content,
    .page-gdpr__contact-info,
    .page-gdpr__faq-list {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }

    /* Rights Grid */
    .page-gdpr__rights-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }
    .page-gdpr__right-card {
        padding: 20px;
    }
    .page-gdpr__card-title {
        font-size: 20px;
    }

    /* FAQ */
    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: 28px; }
    details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; }

    /* Ensure all content containers are responsive */
    .page-gdpr__container,
    .page-gdpr__content-section > div,
    .page-gdpr__commitment-section > div,
    .page-gdpr__rights-section > div,
    .page-gdpr__cookies-section > div,
    .page-gdpr__contact-faq-section > div {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden; /* Prevent horizontal scroll */
    }
}