/* style/privacy-policy.css */

/* Custom properties for brand colors */
:root {
  --primary-color: #007bff; /* Deep blue */
  --secondary-color: #28a745; /* Green */
  --accent-color: #FFD700; /* Gold */
  --text-light: #f0f0f0;
  --text-dark: #333333;
  --bg-dark: #0d0d0d; /* Slightly lighter than pure black for depth */
  --card-bg-dark: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark */
  --border-color-dark: rgba(255, 255, 255, 0.15);
}

/* Page-specific styles for .page-privacy-policy */
.page-privacy-policy {
  color: var(--text-light); /* Light text for dark body background */
  background-color: transparent; /* Inherit from body or shared.css */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  background: var(--primary-color); /* Deep blue background for hero */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  /* Fixed navigation bar padding */
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
  box-sizing: border-box;
}

.page-privacy-policy__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
  color: #e0e0e0;
}

/* General Content Container */
.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-privacy-policy__content-section {
  background-color: var(--bg-dark); /* Dark background for content sections */
  padding: 60px 0;
  color: var(--text-light);
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--accent-color); /* Gold for main titles */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: var(--secondary-color); /* Green for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-light);
}

.page-privacy-policy ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-privacy-policy li {
  margin-bottom: 10px;
  font-size: 1.05em;
  line-height: 1.6;
}

/* Links within content */
.page-privacy-policy__link {
  color: var(--accent-color); /* Gold for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: var(--text-light);
  text-decoration: underline;
}

/* CTA Button */
.page-privacy-policy__cta-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-privacy-policy__cta-wrapper--bottom {
  margin-top: 60px;
  margin-bottom: 20px;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-color); /* Gold background for CTA */
  color: var(--text-dark); /* Dark text on gold */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  white-space: nowrap; /* Prevent text wrapping on desktop */
}

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

.page-privacy-policy__cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button--large {
  padding: 18px 50px;
  font-size: 1.3em;
}

/* Images */
.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.5em;
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: 100px !important; /* Mobile: Adjust based on fixed header height */
    padding: 60px 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-privacy-policy__container {
    padding: 30px 15px;
    padding-top: 30px !important; /* Overwrite desktop padding-top for content sections */
  }

  .page-privacy-policy__content-section {
    padding: 40px 0;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy p,
  .page-privacy-policy li {
    font-size: 0.95em;
    line-height: 1.6;
  }

  .page-privacy-policy ul {
    margin-left: 20px;
  }

  /* Ensure images are responsive and don't overflow */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Ensure buttons are responsive and don't overflow */
  .page-privacy-policy__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 25px !important;
    font-size: 1.1em !important;
  }

  .page-privacy-policy__cta-wrapper {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .page-privacy-policy__cta-wrapper--bottom {
    margin-top: 40px;
  }
}