/* style/cookies-policy.css */

/* Base styles for the cookie policy page */
.page-cookies-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light background */
    background-color: #f8f8f8; /* Light background for the page content */
    padding-bottom: 60px; /* Space for footer */
}

.page-cookies-policy__section {
    padding: 40px 20px;
    margin-bottom: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-cookies-policy__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px; /* Inner padding for content */
}

/* Hero Section */
.page-cookies-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #FF4500, #1E90FF); /* Brand colors */
    color: #ffffff; /* White text for dark/brand background */
    margin-bottom: 30px;
}

.page-cookies-policy__hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-cookies-policy__main-title {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff; /* Ensure white text */
    line-height: 1.2;
}

.page-cookies-policy__description {
    font-size: 1.2em;
    line-height: 1.5;
    opacity: 0.9;
    color: #f0f0f0; /* Slightly off-white for contrast */
}

/* General Content Styles */
.page-cookies-policy__heading-2 {
    font-size: 2.2em;
    color: #FF4500; /* Primary brand color for main headings */
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.page-cookies-policy__heading-2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #1E90FF; /* Secondary brand color for underline */
    border-radius: 2px;
}

.page-cookies-policy__heading-3 {
    font-size: 1.6em;
    color: #1E90FF; /* Secondary brand color for subheadings */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-cookies-policy__paragraph {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
    color: #333333;
}

.page-cookies-policy__paragraph a {
    color: #FF4500; /* Link color matching primary brand color */
    text-decoration: underline;
}

.page-cookies-policy__paragraph a:hover {
    color: #CC3700; /* Darker shade on hover */
}

.page-cookies-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #333333;
}

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

.page-cookies-policy__list-item strong {
    color: #1E90FF; /* Highlight important list items */
}

/* Image styles */
.page-cookies-policy__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    /* Ensure no filter is applied */
    filter: none;
}

/* Call to Action Section */
.page-cookies-policy__cta-section {
    text-align: center;
    background: linear-gradient(to right, #FF4500, #FF7F50); /* Gradient of primary color */
    color: #ffffff;
    padding: 60px 20px;
}

.page-cookies-policy__cta-container {
    max-width: 800px;
}

.page-cookies-policy__cta-section .page-cookies-policy__heading-2 {
    color: #ffffff;
}

.page-cookies-policy__cta-section .page-cookies-policy__heading-2::after {
    background-color: #f0f0f0; /* Lighter underline for contrast */
}

.page-cookies-policy__cta-section .page-cookies-policy__paragraph {
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-cookies-policy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-cookies-policy__btn-primary,
.page-cookies-policy__btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px; /* Rounded buttons */
    transition: all 0.3s ease;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure button doesn't exceed container */
    width: auto; /* Allow width to be determined by content initially */
}

.page-cookies-policy__btn-primary {
    background: #1E90FF; /* Use secondary color for primary action for contrast on orange background */
    color: #ffffff;
    border: 2px solid #1E90FF;
}

.page-cookies-policy__btn-primary:hover {
    background: #1565C0; /* Darker blue on hover */
    border-color: #1565C0;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-cookies-policy__btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-cookies-policy__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-cookies-policy__faq-section {
    background-color: #f0f5f9; /* Light blueish background for FAQ */
}

.page-cookies-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-cookies-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    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: #f5f5f5;
    border-color: #d0d0d0;
}

.page-cookies-policy__faq-question:active {
    background: #eeeeee;
}

.page-cookies-policy__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    color: #333333;
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-cookies-policy__faq-toggle {
    font-size: 28px; /* Larger toggle icon */
    font-weight: bold;
    line-height: 1;
    color: #1E90FF; /* Use secondary brand color for toggle */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-cookies-policy__faq-item.active .page-cookies-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
    color: #FF4500; /* Primary color when active */
}

.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, opacity 0.3s ease;
    padding: 0 25px;
    opacity: 0;
    background: #fdfdfd;
    border-top: 1px solid #eee;
    color: #555555;
}

.page-cookies-policy__faq-item.active .page-cookies-policy__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain any content */
    padding: 20px 25px !important;
    opacity: 1;
    border-radius: 0 0 8px 8px;
}

.page-cookies-policy__faq-answer p {
    margin-bottom: 10px;
    font-size: 1em;
    line-height: 1.6;
}