/* style/cookies-policy.css */

/* Variables */
:root {
    --primary-color: #E44D26; /* Orange-Red */
    --secondary-color: #FFB800; /* Bright Gold */
    --secondary-color-dark: #a87900; /* Darker Gold for contrast */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f8f8;
    --bg-medium: #f0f0f0;
    --border-color: #e0e0e0;
}

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

.page-cookies-policy a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cookies-policy a:hover {
    color: var(--secondary-color-dark);
    text-decoration: underline;
}

/* Section styling */
.page-cookies-policy-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-cookies-policy-section:last-of-type {
    border-bottom: none;
}

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

.page-cookies-policy .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-cookies-policy h3 {
    font-size: 1.8em;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid var(--secondary-color);
    padding-left: 15px;
}

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

.page-cookies-policy ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-cookies-policy ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Hero Section */
.page-cookies-policy-hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--primary-color); /* Fallback or base color */
    overflow: hidden;
}

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

.page-cookies-policy-hero .hero-image-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

.page-cookies-policy-hero .hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7); /* Enhance text readability over image */
}

.page-cookies-policy-hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-light);
}

.page-cookies-policy-hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-light);
}

/* CTA Button */
.page-cookies-policy .cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-color); /* Ensures good contrast with white text */
    color: var(--text-light);
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    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);
}

.page-cookies-policy .cta-button:hover {
    background-color: #c94020; /* Darker primary for hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy .secondary-button {
    background-color: var(--secondary-color-dark); /* Darker gold for contrast with white text */
}

.page-cookies-policy .secondary-button:hover {
    background-color: #8c6600; /* Even darker gold for hover */
}

/* Content Images */
.page-cookies-policy .content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* FAQ Section */
.page-cookies-policy .faq-section {
    background-color: var(--bg-medium);
    padding-bottom: 80px;
}

.page-cookies-policy .faq-list {
    margin-top: 30px;
}

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

.page-cookies-policy .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--text-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.page-cookies-policy .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--text-dark);
    border-left: none;
    padding-left: 0;
}

.page-cookies-policy .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-cookies-policy .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
    background: #f9f9f9;
}

.page-cookies-policy .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.page-cookies-policy .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-cookies-policy .section-title {
        font-size: 2em;
    }

    .page-cookies-policy-hero h1 {
        font-size: 2.8em;
    }

    .page-cookies-policy-hero p {
        font-size: 1.1em;
    }

    .page-cookies-policy h3 {
        font-size: 1.5em;
    }

    .page-cookies-policy p,
    .page-cookies-policy ul li {
        font-size: 1em;
    }

    .page-cookies-policy .cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-cookies-policy-section {
        padding: 40px 0;
    }

    .page-cookies-policy .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-cookies-policy-hero {
        padding: 40px 15px;
    }
    .page-cookies-policy-hero .hero-image-main {
        height: 250px;
        margin-bottom: 20px;
    }
    .page-cookies-policy-hero h1 {
        font-size: 2.2em;
    }
    .page-cookies-policy-hero p {
        font-size: 1em;
    }

    .page-cookies-policy .cta-button {
        padding: 10px 20px;
        font-size: 1em;
    }

    .page-cookies-policy h3 {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
        padding-left: 10px;
    }

    .page-cookies-policy .faq-question {
        padding: 15px 20px;
    }

    .page-cookies-policy .faq-question h3 {
        font-size: 1.1em;
    }

    .page-cookies-policy .faq-toggle {
        font-size: 20px;
    }

    .page-cookies-policy .faq-answer {
        padding: 0 20px;
    }

    .page-cookies-policy .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

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

    .page-cookies-policy-hero .hero-image-main {
        height: 200px;
    }
    .page-cookies-policy-hero h1 {
        font-size: 1.8em;
    }
    .page-cookies-policy-hero p {
        font-size: 0.9em;
    }

    .page-cookies-policy h3 {
        font-size: 1.1em;
    }

    .page-cookies-policy p,
    .page-cookies-policy ul li {
        font-size: 0.9em;
    }
}