/* style/cookies-policy.css */

:root {
    --primary-color: #0A2463;
    --secondary-color: #E3B505;
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --background-dark: #000000;
    --card-bg-dark: rgba(255, 255, 255, 0.1);
    --border-color-dark: rgba(255, 255, 255, 0.2);
    --hover-color: #E3B505;
}

.page-cookies-policy {
    color: var(--text-color-light); /* Default text color for dark body background */
    background-color: var(--background-dark); /* Inherited from shared.css body */
    padding-top: 120px; /* Adjust for fixed header */
    min-height: 100vh;
}

.page-cookies-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Desktop: Adjust for fixed navigation bar */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color-light);
}

.page-cookies-policy__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-cookies-policy__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-cookies-policy__main-title {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-color-light);
}

.page-cookies-policy__hero-description {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-color-light);
}

.page-cookies-policy__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cookies-policy__cta-button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy__cta-button--secondary {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-cookies-policy__cta-button--secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-cookies-policy__highlight {
    color: var(--secondary-color);
}

.page-cookies-policy__section {
    padding: 60px 20px;
    background-color: var(--background-dark);
    color: var(--text-color-light);
}

.page-cookies-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-cookies-policy__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-cookies-policy__sub-title {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--text-color-light);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-cookies-policy__paragraph {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-color-light);
}

.page-cookies-policy__inline-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-cookies-policy__inline-link:hover {
    color: var(--text-color-light);
    text-decoration: underline;
}

.page-cookies-policy__image-wrapper {
    margin: 40px 0;
    text-align: center;
}

.page-cookies-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cookies-policy__card {
    background: var(--card-bg-dark);
    border: 1px solid var(--border-color-dark);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-color-light);
}

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

.page-cookies-policy__card-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-cookies-policy__card-text {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-color-light);
}

.page-cookies-policy__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-color-light);
}

.page-cookies-policy__list-item {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* FAQ Section Styles */
.page-cookies-policy__faq-section {
    background-color: var(--background-dark);
    padding: 60px 20px;
    color: var(--text-color-light);
}

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

.page-cookies-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--card-bg-dark);
    border: 1px solid var(--border-color-dark);
}

.page-cookies-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    color: var(--text-color-light);
}

.page-cookies-policy__faq-item.active .page-cookies-policy__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 5px 5px;
}

.page-cookies-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-bg-dark);
    border: 1px solid transparent; /* No border initially, handled by parent */
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-cookies-policy__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
}

.page-cookies-policy__faq-question:active {
    background: rgba(255, 255, 255, 0.2);
}

.page-cookies-policy__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-color-light);
}

.page-cookies-policy__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-cookies-policy__faq-item.active .page-cookies-policy__faq-toggle {
    color: var(--text-color-light);
    transform: rotate(45deg); /* Change + to X visually */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cookies-policy__main-title {
        font-size: 2.8em;
    }
    .page-cookies-policy__section-title {
        font-size: 2em;
    }
    .page-cookies-policy__sub-title {
        font-size: 1.6em;
    }
    .page-cookies-policy__paragraph, .page-cookies-policy__list-item, .page-cookies-policy__card-text {
        font-size: 1em;
    }
    .page-cookies-policy__card-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-cookies-policy {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header */
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cookies-policy__hero-section {
        padding-top: 160px !important; /* Mobile: Adjust for fixed navigation bar */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cookies-policy__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-cookies-policy__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-cookies-policy__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-cookies-policy__section {
        padding: 40px 15px;
    }
    .page-cookies-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cookies-policy__sub-title {
        font-size: 1.4em;
        margin-top: 20px;
        margin-bottom: 15px;
    }
    .page-cookies-policy__paragraph, .page-cookies-policy__list-item, .page-cookies-policy__card-text {
        font-size: 0.95em;
    }
    .page-cookies-policy__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cookies-policy__card {
        padding: 20px;
    }
    .page-cookies-policy__card-title {
        font-size: 1.2em;
    }
    .page-cookies-policy__faq-question {
        padding: 15px;
    }
    .page-cookies-policy__faq-question h3 {
        font-size: 1em;
    }
    .page-cookies-policy__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    .page-cookies-policy__faq-answer {
        padding: 0 15px;
    }
    .page-cookies-policy__faq-item.active .page-cookies-policy__faq-answer {
        padding: 15px !important;
    }
    /* Mobile image adaptation */
    .page-cookies-policy img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    .page-cookies-policy__section,
    .page-cookies-policy__card,
    .page-cookies-policy__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-cookies-policy__main-title {
        font-size: 1.8em;
    }
    .page-cookies-policy__section-title {
        font-size: 1.5em;
    }
}