/* style/blog-security-system-overview.css */

/* Variables from custom palette */
:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page content, ensuring contrast with body background */
.page-blog-security-system-overview {
  background-color: var(--page-bg-color); /* Inherited from body in shared.css, but set here for clarity */
  color: var(--text-main-color); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-security-system-overview h1,
.page-blog-security-system-overview h2,
.page-blog-security-system-overview h3 {
  color: var(--text-main-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-blog-security-system-overview p {
  margin-bottom: 15px;
  color: var(--text-secondary-color);
}

.page-blog-security-system-overview a {
  color: var(--glow-color); /* Links should stand out */
  text-decoration: none;
}

.page-blog-security-system-overview a:hover {
  text-decoration: underline;
}

.page-blog-security-system-overview__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-security-system-overview__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--deep-green-color);
  padding-top: 10px; /* Small padding, body handles --header-offset */
}

.page-blog-security-system-overview__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 500px;
}

.page-blog-security-system-overview__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
  color: var(--text-main-color);
}

.page-blog-security-system-overview__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold-color);
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-blog-security-system-overview__description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

.page-blog-security-system-overview__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-security-system-overview__btn-primary,
.page-blog-security-system-overview__btn-secondary {
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  min-width: 150px;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-blog-security-system-overview__btn-primary {
  background: var(--btn-gradient);
  color: var(--text-main-color);
  border: 2px solid var(--glow-color);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-blog-security-system-overview__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(87, 227, 141, 0.8);
}

.page-blog-security-system-overview__btn-secondary {
  background: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
}

.page-blog-security-system-overview__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-3px);
}

/* Content Sections */
.page-blog-security-system-overview__content-section,
.page-blog-security-system-overview__features-section,
.page-blog-security-system-overview__monitoring-section,
.page-blog-security-system-overview__responsibility-section,
.page-blog-security-system-overview__faq-section,
.page-blog-security-system-overview__call-to-action-section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.page-blog-security-system-overview__dark-section {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
}

.page-blog-security-system-overview__light-bg {
  background-color: var(--deep-green-color);
  color: var(--text-main-color);
}

.page-blog-security-system-overview__section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 40px;
  color: var(--gold-color);
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.4);
}

.page-blog-security-system-overview__text-block {
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: justify;
}

.page-blog-security-system-overview__text-block strong {
  color: var(--text-main-color);
}

.page-blog-security-system-overview__content-image {
  display: block;
  margin: 30px auto;
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-blog-security-system-overview__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--glow-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Features Grid */
.page-blog-security-system-overview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-security-system-overview__feature-card,
.page-blog-security-system-overview__monitoring-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-security-system-overview__feature-card:hover,
.page-blog-security-system-overview__monitoring-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-blog-security-system-overview__card-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-blog-security-system-overview__card-title {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--text-main-color);
  margin-bottom: 10px;
}

.page-blog-security-system-overview__card-text {
  color: var(--text-secondary-color);
  font-size: 0.95rem;
}

/* List styles */
.page-blog-security-system-overview__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 900px;
}

.page-blog-security-system-overview__list-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  color: var(--text-main-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-security-system-overview__list-item strong {
  color: var(--glow-color);
}

/* FAQ Section */
.page-blog-security-system-overview__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-security-system-overview__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-security-system-overview__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  color: var(--text-main-color);
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-blog-security-system-overview__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-security-system-overview__faq-item summary:hover {
  background-color: var(--deep-green-color);
}

.page-blog-security-system-overview__faq-item[open] summary {
  background-color: var(--deep-green-color);
}

.page-blog-security-system-overview__faq-qtext {
  flex-grow: 1;
}

.page-blog-security-system-overview__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color);
}

.page-blog-security-system-overview__faq-answer {
  padding: 0 20px 15px 20px;
  color: var(--text-secondary-color);
  font-size: 0.95rem;
}

.page-blog-security-system-overview__faq-answer p {
  margin-bottom: 0;
}

/* Call to Action */
.page-blog-security-system-overview__call-to-action-section .page-blog-security-system-overview__description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-blog-security-system-overview {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-security-system-overview__hero-section {
    padding: 40px 15px;
  }

  .page-blog-security-system-overview__hero-image {
    max-height: 300px;
  }

  .page-blog-security-system-overview__main-title {
    font-size: 2.2rem;
  }

  .page-blog-security-system-overview__description {
    font-size: 1rem;
  }

  .page-blog-security-system-overview__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-blog-security-system-overview__btn-primary,
  .page-blog-security-system-overview__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-security-system-overview__content-section,
  .page-blog-security-system-overview__features-section,
  .page-blog-security-system-overview__monitoring-section,
  .page-blog-security-system-overview__responsibility-section,
  .page-blog-security-system-overview__faq-section,
  .page-blog-security-system-overview__call-to-action-section {
    padding: 40px 0;
  }

  .page-blog-security-system-overview__container {
    padding: 0 15px;
  }

  .page-blog-security-system-overview__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-blog-security-system-overview__sub-title {
    font-size: 1.5rem;
  }

  .page-blog-security-system-overview__grid {
    grid-template-columns: 1fr;
  }

  /* Responsive Images */
  .page-blog-security-system-overview img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Responsive Image Containers */
  .page-blog-security-system-overview__hero-section,
  .page-blog-security-system-overview__content-section,
  .page-blog-security-system-overview__features-section,
  .page-blog-security-system-overview__monitoring-section,
  .page-blog-security-system-overview__responsibility-section,
  .page-blog-security-system-overview__faq-section,
  .page-blog-security-system-overview__call-to-action-section,
  .page-blog-security-system-overview__feature-card,
  .page-blog-security-system-overview__monitoring-card,
  .page-blog-security-system-overview__list-item,
  .page-blog-security-system-overview__faq-item,
  .page-blog-security-system-overview__container,
  .page-blog-security-system-overview__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Specific padding for sections in mobile */
  .page-blog-security-system-overview__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-blog-security-system-overview__content-section.page-blog-security-system-overview__dark-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog-security-system-overview__content-section.page-blog-security-system-overview__light-bg {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog-security-system-overview__monitoring-section.page-blog-security-system-overview__dark-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog-security-system-overview__responsibility-section.page-blog-security-system-overview__light-bg {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog-security-system-overview__faq-section.page-blog-security-system-overview__dark-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog-security-system-overview__call-to-action-section.page-blog-security-system-overview__light-bg {
    padding-left: 0;
    padding-right: 0;
  }

  .page-blog-security-system-overview__hero-content {
    padding-left: 0;
    padding-right: 0;
  }

  .page-blog-security-system-overview__text-block,
  .page-blog-security-system-overview__list,
  .page-blog-security-system-overview__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }
}