/* style/cookies-policy.css */

/* Variables (if not already in shared.css) */
:root {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f4f4; /* From body background info */
  --border-light: #e0e0e0;
}

/* Base styles for the page content */
.page-cookies-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Dark text for light body background */
  background-color: var(--background-light);
  padding-bottom: 60px; /* General padding for the bottom */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-cookies-policy__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.page-cookies-policy__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-cookies-policy__dark-section .page-cookies-policy__section-title {
  color: var(--text-light);
}

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

.page-cookies-policy__sub-section-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-cookies-policy__text-block {
  margin-bottom: 20px;
  font-size: 17px;
}

.page-cookies-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 17px;
}

.page-cookies-policy__list li {
  margin-bottom: 10px;
}

.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);
  text-decoration: underline;
}

/* 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;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  color: var(--text-light);
  overflow: hidden; /* To contain the absolute positioned image */
  min-height: 500px;
}

.page-cookies-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.page-cookies-policy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  background-color: rgba(0, 51, 102, 0.7); /* Overlay for readability */
  padding: 30px;
  border-radius: 10px;
}

.page-cookies-policy__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-cookies-policy__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-cookies-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color); /* Contrast for button text */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cookies-policy__cta-button:hover {
  background: #ffdb4d; /* Lighter secondary color on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Content Images */
.page-cookies-policy__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

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

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

.page-cookies-policy__card {
  background: var(--text-light);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark); /* Ensure dark text on light card background */
}

.page-cookies-policy__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}