/* style/cookies-policy.css */

/* --- General Page Styles --- */
.page-cookies-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #f4f4f4; /* Ensures consistency, though body background is from shared.css */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-cookies-policy__section-title {
    color: #1A202C; /* Auxiliary color for titles */
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

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

.page-cookies-policy p {
    margin-bottom: 1em;
    color: #333333;
}

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

.page-cookies-policy__list-item {
    margin-bottom: 10px;
    color: #333333;
}

/* --- Hero Section --- */
.page-cookies-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1A202C, #333d47); /* Darker background for hero */
    color: #ffffff;
}

.page-cookies-policy__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2; /* Ensure content is above any potential overlay */
}

.page-cookies-policy__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Primary color for main title */
    line-height: 1.2;
    font-weight: bold;
}

.page-cookies-policy__description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    color: #f0f0f0;
}

.page-cookies-policy__hero-image {
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden; /* Ensure image corners are rounded */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-cookies-policy__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: #FFD700; /* Primary color for CTA */
    color: #1A202C; /* Dark text for primary button */
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

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

/* --- Content Sections --- */
.page-cookies-policy__content-section {
    padding: 60px 0;
    background-color: #ffffff; /* Default light background for content */
    border-bottom: 1px solid #eeeeee;
}

.page-cookies-policy__content-section:nth-of-type(even) {
    background-color: #f9f9f9; /* Slightly different background for alternating sections */
}

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

.page-cookies-policy__image-wrapper {
    margin: 40px 0;
    text-align: center;
}

.page-cookies-policy__image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cookies-policy__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: #FFD700;
    color: #1A202C;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-cookies-policy__btn-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-cookies-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    background: #1A202C;
    color: #FFD700;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 2px solid #FFD700;
    cursor: pointer;
}

.page-cookies-policy__btn-secondary:hover {
    background: #2a333c;
    color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* --- FAQ Section Styles --- */
.page-cookies-policy__faq-section {
    padding-bottom: 80px;
}

.page-cookies-policy__faq-list {
    margin-top: 40px;
}

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

/* FAQ default state - answer hidden */
.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 20px; /* Adjusted to match question padding for consistency */
  opacity: 0;
  color: #555555;
}

/* FAQ expanded state - 🚨 Use !important and sufficiently large max-height */
.page-cookies-policy__faq-item.active .page-cookies-policy__faq-answer {
  max-height: 2000px !important; /* 🚨 Use!important to ensure priority, value large enough to contain any content */
  padding: 20px !important; /* Adjusted to match question padding for consistency */
  opacity: 1;
  background: #fdfdfd;
  border-radius: 0 0 5px 5px;
  border-top: 1px solid #e0e0e0;
}