/* style/cookies-policy.css */
:root {
    --primary-color: #1A2B4C;
    --secondary-color: #FFD700;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --bg-light: #F8F8F8;
    --bg-dark: #0F1D30;
    --border-color: #e0e0e0;
}

.page-cookies-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

.page-cookies-policy__hero {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-cookies-policy__hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.page-cookies-policy__title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy__description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-light);
}

.page-cookies-policy__section {
    padding: 50px 0;
    background-color: var(--bg-light);
}

.page-cookies-policy__section--alt {
    background-color: #f0f4f8; /* Slightly different light background */
}

.page-cookies-policy__section-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.page-cookies-policy__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-cookies-policy__section p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-cookies-policy__section ul {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
}

.page-cookies-policy__section li {
    margin-bottom: 8px;
    font-size: 1.05em;
}

.page-cookies-policy__section strong {
    color: var(--primary-color);
}

.page-cookies-policy__image {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

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

.page-cookies-policy__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* FAQ Section Styling */
.page-cookies-policy__faq {
    padding: 50px 0;
    background-color: var(--bg-light);
}

.page-cookies-policy__faq-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.page-cookies-policy__faq-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--text-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.15em;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    color: var(--text-dark);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-cookies-policy__title {
        font-size: 2.2em;
    }
    .page-cookies-policy__description {
        font-size: 1em;
    }
    .page-cookies-policy__section-title {
        font-size: 1.8em;
    }
    .page-cookies-policy__section p, .page-cookies-policy__section li {
        font-size: 0.95em;
    }
    .faq-question h3 {
        font-size: 1.05em;
    }
}

@media (max-width: 768px) {
    .page-cookies-policy__hero {
        padding: 40px 0;
    }
    .page-cookies-policy__title {
        font-size: 1.8em;
    }
    .page-cookies-policy__description {
        font-size: 0.9em;
    }
    .page-cookies-policy__section {
        padding: 30px 0;
    }
    .page-cookies-policy__section-title {
        font-size: 1.6em;
    }
    .page-cookies-policy__image {
        margin: 20px auto;
    }
    .page-cookies-policy__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-item.active .faq-answer {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .page-cookies-policy__container {
        padding: 15px;
    }
    .page-cookies-policy__title {
        font-size: 1.5em;
    }
    .page-cookies-policy__section-title {
        font-size: 1.4em;
    }
    .page-cookies-policy__section p, .page-cookies-policy__section li {
        font-size: 0.9em;
    }
    .faq-question h3 {
        font-size: 0.95em;
    }
    .faq-toggle {
        font-size: 18px;
    }
}