/* style/cookies-policy.css */

/* General Styling for the Cookie Policy Page */
.page-cookies-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for default light body background */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

/* Hero Section */
.page-cookies-policy__hero-section {
    background-color: #007bff; /* Primary color background */
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-cookies-policy__hero-content {
    max-width: 800px;
}

.page-cookies-policy__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffc107; /* Accent color for title */
    line-height: 1.2;
}

.page-cookies-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-cookies-policy__hero-button {
    display: inline-block;
    background-color: #ffc107; /* Accent color for button */
    color: #007bff; /* Primary color for button text */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cookies-policy__hero-button:hover {
    background-color: #e0a800; /* Darker accent on hover */
    color: #0056b3; /* Darker primary on hover */
}

.page-cookies-policy__hero-image {
    width: 100%;
    max-width: 1000px; /* Constrain hero image width */
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy__hero-image img {
    display: block;
    width: 100%;
    height: auto;
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px; /* Ensure image is not too small */
    object-fit: cover;
}

/* Section Titles and Paragraphs */
.page-cookies-policy__section-title {
    font-size: 2.2em;
    color: #007bff; /* Primary color for section titles */
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-cookies-policy__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Introduction Section */
.page-cookies-policy__introduction-section {
    padding: 60px 0;
    background-color: #f8f9fa; /* Light background for contrast */
}

/* Types Section */
.page-cookies-policy__types-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-cookies-policy__card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cookies-policy__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.page-cookies-policy__card-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cookies-policy__card-description {
    font-size: 1em;
    color: #555555;
}

/* Management Section */
.page-cookies-policy__management-section {
    padding: 60px 0;
    background-color: #f1f7fe; /* Light blue background */
}

.page-cookies-policy__management-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-cookies-policy__management-content {
    flex: 1;
    min-width: 300px;
}

.page-cookies-policy__management-image {
    flex: 1;
    min-width: 400px; /* Minimum width for the image container */
    max-width: 600px; /* Max width to maintain aspect ratio */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-cookies-policy__management-image img {
    display: block;
    width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* Third-Party and Updates Sections */
.page-cookies-policy__third-party-section,
.page-cookies-policy__updates-section {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

/* Contact Section */
.page-cookies-policy__contact-section {
    padding: 60px 0;
    background-color: #007bff; /* Primary color background */
    color: #ffffff;
}

.page-cookies-policy__contact-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap-reverse; /* Image on top for mobile */
}

.page-cookies-policy__contact-content {
    flex: 1;
    min-width: 300px;
}

.page-cookies-policy__contact-content .page-cookies-policy__section-title {
    color: #ffc107; /* Accent color for title */
}

.page-cookies-policy__contact-content .page-cookies-policy__paragraph {
    color: #f0f0f0;
}

.page-cookies-policy__contact-image {
    flex: 1;
    min-width: 400px; /* Minimum width for the image container */
    max-width: 600px; /* Max width to maintain aspect ratio */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-cookies-policy__contact-image img {
    display: block;
    width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* Call to Action Section */
.page-cookies-policy__cta-section {
    padding: 80px 0;
    background-color: #ffc107; /* Accent color background */
    color: #007bff; /* Primary color for text */
    text-align: center;
}

.page-cookies-policy__cta-section .page-cookies-policy__section-title {
    color: #007bff;
}

.page-cookies-policy__cta-section .page-cookies-policy__paragraph {
    color: #0056b3;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cookies-policy__cta-button {
    display: inline-block;
    background-color: #007bff; /* Primary color for button */
    color: #ffffff;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3em;
    margin-top: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.page-cookies-policy__cta-button:hover {
    background-color: #0056b3; /* Darker primary on hover */
    transform: translateY(-3px);
}

/* Generic Button Styles (used in management and updates sections) */
.page-cookies-policy__button {
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.page-cookies-policy__button:hover {
    background-color: #0056b3;
}

.page-cookies-policy__button--secondary {
    background-color: #6c757d; /* A neutral grey for secondary actions */
}

.page-cookies-policy__button--secondary:hover {
    background-color: #5a6268;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cookies-policy__hero-title {
        font-size: 2.4em;
    }
    .page-cookies-policy__section-title {
        font-size: 1.8em;
    }
    .page-cookies-policy__hero-section {
        padding: 60px 20px;
    }
    .page-cookies-policy__management-layout,
    .page-cookies-policy__contact-layout {
        flex-direction: column;
        text-align: center;
    }
    .page-cookies-policy__management-content,
    .page-cookies-policy__contact-content {
        order: 2; /* Content below image on mobile for management */
    }
    .page-cookies-policy__management-image,
    .page-cookies-policy__contact-image {
        order: 1; /* Image above content on mobile */
        min-width: unset; /* Remove min-width for mobile */
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-cookies-policy__hero-title {
        font-size: 2em;
    }
    .page-cookies-policy__hero-description {
        font-size: 1em;
    }
    .page-cookies-policy__section-title {
        font-size: 1.6em;
    }
    .page-cookies-policy__paragraph {
        font-size: 0.95em;
    }
    .page-cookies-policy__hero-section,
    .page-cookies-policy__introduction-section,
    .page-cookies-policy__types-section,
    .page-cookies-policy__management-section,
    .page-cookies-policy__third-party-section,
    .page-cookies-policy__updates-section,
    .page-cookies-policy__contact-section,
    .page-cookies-policy__cta-section {
        padding: 40px 0;
    }
    .page-cookies-policy__container {
        padding: 0 15px;
    }
    .page-cookies-policy__cards-grid {
        grid-template-columns: 1fr;
    }
    /* Mobile content area image constraint */
    .page-cookies-policy img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px; /* Ensure images are not too small */
    }
    .page-cookies-policy__management-image img,
    .page-cookies-policy__contact-image img,
    .page-cookies-policy__hero-image img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-cookies-policy__hero-title {
        font-size: 1.8em;
    }
    .page-cookies-policy__section-title {
        font-size: 1.4em;
    }
    .page-cookies-policy__hero-button,
    .page-cookies-policy__cta-button,
    .page-cookies-policy__button {
        width: 100%;
        box-sizing: border-box;
        padding: 12px 15px;
        font-size: 1em;
    }
}