/* style/cookies-policy.css */

/* Variables from shared.css will be available */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-color: #C30808;
  --login-button-color: #C30808;
  --background-color: #FFFFFF;
  --register-login-font-color: #FFFF00;
  /* Header offset from shared.css */
  --header-offset: 120px; /* Default value, overridden by shared.css */
}

/* Base styles for the page */
.page-cookies-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color); /* From custom colors */
  padding-bottom: 60px; /* Space before footer */
}

/* Fixed Header Spacing */
.page-cookies-policy__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #018e47 100%); /* Green gradient */
  color: var(--secondary-color); /* White text on dark background */
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden; /* For image positioning */
}

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

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

.page-cookies-policy__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--secondary-color); /* White text */
}

.page-cookies-policy__intro-description {
  font-size: 1.2em;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
}

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

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

/* Content Area */
.page-cookies-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--background-color);
  color: #333333; /* Deep gray for text on light background */
}

.page-cookies-policy__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-cookies-policy__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-top: 50px;
  margin-bottom: 25px;
  font-weight: 700;
  border-bottom: 2px solid rgba(1, 116, 57, 0.2); /* Light primary underline */
  padding-bottom: 10px;
}

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

.page-cookies-policy__card {
  background: var(--secondary-color); /* White background */
  color: #333333; /* Dark text */
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.page-cookies-policy__card-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cookies-policy__card-text {
  font-size: 1em;
  line-height: 1.6;
}

.page-cookies-policy__card img {
  width: 100%;
  height: auto;
  max-width: 600px; /* Constrain card image width */
  border-radius: 6px;
  margin-top: 15px;
  object-fit: cover;
}

.page-cookies-policy__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}