/* style/cookies-policy.css */

/* Variables for consistency */
:root {
    --page-cookies-policy-primary-color: #007BFF;
    --page-cookies-policy-secondary-color: #FFC107;
    --page-cookies-policy-text-color-dark: #333;
    --page-cookies-policy-text-color-light: #f8f9fa;
    --page-cookies-policy-bg-light: #f8f9fa;
    --page-cookies-policy-bg-dark: #0056b3; /* Darker variant of primary for contrast */
    --page-cookies-policy-link-color: #007BFF;
    --page-cookies-policy-link-hover-color: #0056b3;
}

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

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

/* Hero Section */
.page-cookies-policy__hero {
    background: linear-gradient(135deg, var(--page-cookies-policy-primary-color), #0056b3);
    color: var(--page-cookies-policy-text-color-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-cookies-policy__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.page-cookies-policy__hero .page-cookies-policy__container {
    position: relative;
    z-index: 2;
}

.page-cookies-policy__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-cookies-policy-text-color-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.page-cookies-policy__subtitle {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
    opacity: 0.9;
}

.page-cookies-policy__hero-image {
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
    transition: transform 0.3s ease-in-out;
}

.page-cookies-policy__hero-image:hover {
    transform: scale(1.02);
}

/* Sections */
.page-cookies-policy__section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.page-cookies-policy__section--alt-bg {
    background-color: #f0f4f8; /* A very light blue-gray for subtle contrast */
}

.page-cookies-policy__heading {
    font-size: 2.5em;
    color: var(--page-cookies-policy-primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

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

.page-cookies-policy__sub-heading {
    font-size: 1.8em;
    color: var(--page-cookies-policy-bg-dark); /* Darker primary for headings */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: left;
}

.page-cookies-policy__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

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

.page-cookies-policy__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #444;
}

.page-cookies-policy__list li p {
    display: inline;
    margin: 0;
}

.page-cookies-policy__link {
    color: var(--page-cookies-policy-link-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

/* Grid layout for cookie types */
.page-cookies-policy__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cookies-policy__grid-item {
    background-color: var(--page-cookies-policy-bg-light);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cookies-policy__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-cookies-policy__grid-item .page-cookies-policy__sub-heading {
    font-size: 1.5em;
    margin-top: 0;
    color: var(--page-cookies-policy-primary-color);
}

.page-cookies-policy__grid-item .page-cookies-policy__paragraph {
    font-size: 1em;
    line-height: 1.6;
    color: #666;
}

/* Images within content sections */
.page-cookies-policy__image--right {
    float: right;
    margin: 0 0 20px 40px;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-cookies-policy__image--left {
    float: left;
    margin: 0 40px 20px 0;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-cookies-policy__image--center {
    display: block;
    margin: 40px auto;
    max-width: 700px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Clearfix for floated images */
.page-cookies-policy__section::after {
    content: "";
    display: table;
    clear: both;
}

/* Call to Action Section */
.page-cookies-policy__cta {
    background: linear-gradient(135deg, #0056b3, var(--page-cookies-policy-primary-color));
    color: var(--page-cookies-policy-text-color-light);
    padding: 80px 0;
    text-align: center;
    border-top: 5px solid var(--page-cookies-policy-secondary-color);
}

.page-cookies-policy__cta .page-cookies-policy__heading {
    color: var(--page-cookies-policy-text-color-light);
    margin-bottom: 20px;
}

.page-cookies-policy__cta .page-cookies-policy__heading::after {
    background-color: var(--page-cookies-policy-secondary-color);
}

.page-cookies-policy__cta .page-cookies-policy__paragraph {
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-cookies-policy__button {
    display: inline-block;
    background-color: var(--page-cookies-policy-secondary-color);
    color: var(--page-cookies-policy-bg-dark); /* Dark text for contrast on yellow */
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    margin: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-cookies-policy__button:hover {
    background-color: #e6ac00; /* Slightly darker yellow */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy__button--secondary {
    background-color: transparent;
    border: 2px solid var(--page-cookies-policy-text-color-light);
    color: var(--page-cookies-policy-text-color-light);
    box-shadow: none;
}

.page-cookies-policy__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--page-cookies-policy-secondary-color);
    color: var(--page-cookies-policy-secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-cookies-policy__hero {
        padding: 60px 0;
    }
    .page-cookies-policy__title {
        font-size: 2.8em;
    }
    .page-cookies-policy__subtitle {
        font-size: 1.1em;
        max-width: 90%;
    }
    .page-cookies-policy__heading {
        font-size: 2em;
    }
    .page-cookies-policy__sub-heading {
        font-size: 1.6em;
    }
    .page-cookies-policy__paragraph {
        font-size: 1em;
    }
    .page-cookies-policy__image--right, 
    .page-cookies-policy__image--left {
        float: none;
        margin: 20px auto;
        max-width: 80%;
        display: block;
    }
    .page-cookies-policy__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-cookies-policy__hero {
        padding: 50px 0;
    }
    .page-cookies-policy__title {
        font-size: 2.2em;
    }
    .page-cookies-policy__subtitle {
        font-size: 1em;
    }
    .page-cookies-policy__heading {
        font-size: 1.8em;
    }
    .page-cookies-policy__sub-heading {
        font-size: 1.4em;
    }
    .page-cookies-policy__button {
        padding: 12px 25px;
        font-size: 1.1em;
        margin: 5px;
    }
    .page-cookies-policy__hero-image, .page-cookies-policy__image--center {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .page-cookies-policy__hero {
        padding: 40px 0;
    }
    .page-cookies-policy__title {
        font-size: 1.8em;
    }
    .page-cookies-policy__subtitle {
        font-size: 0.9em;
    }
    .page-cookies-policy__heading {
        font-size: 1.5em;
    }
    .page-cookies-policy__sub-heading {
        font-size: 1.2em;
    }
    .page-cookies-policy__paragraph, .page-cookies-policy__list li {
        font-size: 0.9em;
    }
    .page-cookies-policy__button {
        display: block;
        width: calc(100% - 20px);
        margin: 10px auto;
    }
}