/* style/resources-security-privacy.css */

/* Base styles for the page */
.page-resources-security-privacy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Page background */
}

/* Header offset for fixed header */
.page-resources-security-privacy__hero-section {
  padding-top: var(--header-offset, 120px);
}

/* Container for content sections */
.page-resources-security-privacy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-resources-security-privacy__content-section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-security-privacy__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
}

.page-resources-security-privacy__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-resources-security-privacy__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: inherit; /* Inherits color from parent section */
}

.page-resources-security-privacy__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-resources-security-privacy__hero-section {
  background-image: url('[GALLERY:hero:1920x1080:789club_ios,security_privacy_banner,trust,protection]');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  position: relative;
}

.page-resources-security-privacy__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-resources-security-privacy__hero-section .page-resources-security-privacy__container {
  position: relative;
  z-index: 2;
}

.page-resources-security-privacy__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-security-privacy__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-resources-security-privacy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-security-privacy__btn-primary,
.page-resources-security-privacy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-security-privacy__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login text color */
  border: 2px solid #C30808;
}

.page-resources-security-privacy__btn-primary:hover {
  background-color: #E01C1C;
  border-color: #E01C1C;
}

.page-resources-security-privacy__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-resources-security-privacy__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
}

/* Image styling */
.page-resources-security-privacy__image-full-width {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.page-resources-security-privacy__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-resources-security-privacy__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-resources-security-privacy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #017439;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-resources-security-privacy__faq-question:hover {
  background-color: #eef;
}

.page-resources-security-privacy__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-resources-security-privacy__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
}

.page-resources-security-privacy__faq-item.active .page-resources-security-privacy__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-security-privacy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #FFFFFF;
  color: #333333;
}

.page-resources-security-privacy__faq-item.active .page-resources-security-privacy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-security-privacy__hero-title {
    font-size: 3em;
  }
  .page-resources-security-privacy__hero-description {
    font-size: 1.2em;
  }
  .page-resources-security-privacy__section-title {
    font-size: 2em;
  }
  .page-resources-security-privacy__text-block {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-resources-security-privacy {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-security-privacy__hero-section {
    padding: 80px 15px;
    min-height: 400px;
  }
  .page-resources-security-privacy__hero-title {
    font-size: 2.2em;
  }
  .page-resources-security-privacy__hero-description {
    font-size: 1em;
  }
  .page-resources-security-privacy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-security-privacy__btn-primary,
  .page-resources-security-privacy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-security-privacy__content-section {
    padding: 40px 0;
  }
  .page-resources-security-privacy__section-title {
    font-size: 1.8em;
  }
  .page-resources-security-privacy__image-full-width {
    margin: 30px auto;
  }
  .page-resources-security-privacy__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-security-privacy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-security-privacy__faq-question,
  .page-resources-security-privacy__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-security-privacy__faq-item.active .page-resources-security-privacy__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    padding-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-security-privacy__hero-title {
    font-size: 1.8em;
  }
  .page-resources-security-privacy__hero-description {
    font-size: 0.9em;
  }
  .page-resources-security-privacy__section-title {
    font-size: 1.5em;
  }
  .page-resources-security-privacy__text-block {
    font-size: 0.9em;
  }
}