/* style/privacy-policy.css */

/* Base Styles for the Privacy Policy Page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* Explicitly set background for content area */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  height: 500px; /* Fixed height for hero, adjust as needed */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF; /* White text for contrast over potentially dark hero image */
}

.page-privacy-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the entire hero section */
  z-index: 1;
}

.page-privacy-policy__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 8px;
}

.page-privacy-policy__main-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFFFFF; /* Ensure title is white */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for intro text */
}

.page-privacy-policy__register-btn {
  display: inline-block;
  background-color: #FCBC45; /* Login color for Register button as per rules */
  color: #000000; /* Dark text for contrast */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 200px; /* Ensure button is not too small */
  height: 50px; /* Ensure button is not too small */
  line-height: 26px; /* Vertically center text */
  box-sizing: border-box; /* Include padding in height calculation */
  font-size: 1.1em;
}

.page-privacy-policy__register-btn:hover {
  background-color: #e0a53b; /* Slightly darker on hover */
}

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  gap: 30px;
}

.page-privacy-policy__section-nav {
  flex: 0 0 250px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  align-self: flex-start; /* Stick to the top */
  position: sticky; /* Sticky navigation */
  top: calc(var(--header-offset, 120px) + 20px); /* Adjust sticky position */
}

.page-privacy-policy__section-nav-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.page-privacy-policy__section-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-privacy-policy__section-nav-list li {
  margin-bottom: 10px;
}

.page-privacy-policy__section-nav-list a {
  text-decoration: none;
  color: #000000;
  font-weight: normal;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.page-privacy-policy__section-nav-list a:hover,
.page-privacy-policy__section-nav-list a.page-privacy-policy__active-link {
  color: #FCBC45;
  font-weight: bold;
}

.page-privacy-policy__article {
  flex: 1;
}

.page-privacy-policy__section {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.page-privacy-policy__section-paragraph {
  font-size: 1em;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #333333;
}

.page-privacy-policy__section-paragraph a {
  color: #FCBC45; /* Link color */
  text-decoration: none;
  font-weight: bold;
}

.page-privacy-policy__section-paragraph a:hover {
  text-decoration: underline;
}

.page-privacy-policy__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
}

.page-privacy-policy__contact-btn {
  display: inline-block;
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
  min-width: 200px; /* Ensure button is not too small */
  height: 50px; /* Ensure button is not too small */
  line-height: 26px; /* Vertically center text */
  box-sizing: border-box; /* Include padding in height calculation */
  font-size: 1.1em;
}

.page-privacy-policy__contact-btn:hover {
  background-color: #333333;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-privacy-policy__content-area {
    flex-direction: column;
    gap: 20px;
  }

  .page-privacy-policy__section-nav {
    flex: none;
    width: 100%;
    position: static; /* Remove sticky on smaller screens */
    top: auto;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    height: 400px;
  }

  .page-privacy-policy__main-title {
    font-size: 2em;
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
  }

  .page-privacy-policy__section-title {
    font-size: 1.6em;
  }

  /* Mobile content area image constraint */
  .page-privacy-policy__content-area img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__hero-section {
    height: 350px;
  }

  .page-privacy-policy__main-title {
    font-size: 1.8em;
  }

  .page-privacy-policy__register-btn,
  .page-privacy-policy__contact-btn {
    width: 100%;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }
}