/* style/tintc.css */

/* Global styles for page-tintc scope */
.page-tintc {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f8f8f8; /* Body background color */
}

/* Section general styling */
.page-tintc__section {
  padding: 60px 20px;
  background-color: #f8f8f8;
  color: #333333;
}

.page-tintc__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Hero Section */
.page-tintc__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F; /* Deep green background for hero */
  overflow: hidden;
}

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

.page-tintc__hero-content {
  position: relative; /* Ensure content is below the image in DOM flow */
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  color: #F2FFF6; /* Light text for dark hero background */
  background-color: #0A4B2C; /* Deep green background for content */
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

.page-tintc__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-tintc__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8; /* Secondary text color */
}

/* Buttons */
.page-tintc__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-tintc__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-tintc__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: #11271B; /* Card BG color */
  color: #F2FFF6; /* Main text color */
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-tintc__btn-secondary:hover {
  background-color: #0A4B2C; /* Deep green */
  color: #57E38D; /* Glow color */
}

/* Section Titles */
.page-tintc__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #11A84E; /* Main brand color */
}

/* Text blocks */
.page-tintc__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #333333;
}

/* News Grid */
.page-tintc__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-tintc__news-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border color */
}

.page-tintc__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-tintc__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-tintc__card-content {
  padding: 20px;
}

.page-tintc__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tintc__card-title a {
  color: #F2FFF6; /* Main text color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__card-title a:hover {
  color: #57E38D; /* Glow color */
}

.page-tintc__card-date {
  font-size: 0.9rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 15px;
}

.page-tintc__card-description {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 20px;
}

.page-tintc__view-all-news {
  text-align: center;
  margin-top: 30px;
}

/* List styles */
.page-tintc__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-tintc__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: #333333;
}

.page-tintc__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #11A84E; /* Main brand color */
  font-weight: bold;
}

/* Promotions List */
.page-tintc__promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-tintc__promo-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border color */
}

.page-tintc__promo-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-tintc__promo-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 25px;
}

/* FAQ Section */
.page-tintc__faq {
  background-color: #08160F; /* Background color */
  color: #F2FFF6; /* Text Main */
  padding: 60px 20px;
}

.page-tintc__faq .page-tintc__section-title {
  color: #F2FFF6; /* White text for dark background */
}

.page-tintc__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-tintc__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

.page-tintc__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  list-style: none; /* Hide default marker */
}

.page-tintc__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-tintc__faq-qtext {
  flex-grow: 1;
}

.page-tintc__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color */
}

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
  content: '−';
}

.page-tintc__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
}

.page-tintc__faq-answer p {
  margin: 0;
  color: #A7D9B8;
}

.page-tintc__faq-answer a {
  color: #57E38D; /* Link color */
  text-decoration: underline;
}

/* CTA Section */
.page-tintc__cta {
  text-align: center;
  padding: 80px 20px;
  background-color: #11A84E; /* Main brand color for CTA background */
  color: #ffffff; /* White text for contrast */
}

.page-tintc__cta .page-tintc__section-title {
  color: #ffffff; /* White text */
  margin-bottom: 25px;
}

.page-tintc__cta .page-tintc__text-block {
  color: #f0f0f0; /* Slightly off-white for description */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-tintc__main-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .page-tintc__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-tintc__section {
    padding: 40px 15px;
  }

  .page-tintc__hero-content {
    padding: 30px 15px;
  }

  .page-tintc__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-tintc__hero-description {
    font-size: 1rem;
  }

  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .page-tintc__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-tintc__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tintc__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tintc__card-title {
    font-size: 1.2rem;
  }

  .page-tintc__list-item,
  .page-tintc__text-block,
  .page-tintc__card-description,
  .page-tintc__promo-description,
  .page-tintc__faq-answer p {
    font-size: 0.95rem;
  }

  .page-tintc__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-tintc__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Mobile responsive overrides with !important */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-tintc__hero-image {
    width: 100% !important;
    height: auto !important;
  }

  .page-tintc__section,
  .page-tintc__container,
  .page-tintc__news-card,
  .page-tintc__promo-item,
  .page-tintc__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Buttons mobile specific */
  .page-tintc__btn-primary,
  .page-tintc__btn-secondary,
  .page-tintc a[class*="button"],
  .page-tintc a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px; /* Add some spacing between stacked buttons */
  }

  .page-tintc__hero-content .page-tintc__btn-primary {
    margin-left: auto;
    margin-right: auto;
  }

  .page-tintc__view-all-news .page-tintc__btn-primary {
    margin-left: auto;
    margin-right: auto;
  }

  .page-tintc__cta .page-tintc__btn-primary {
    margin-left: auto;
    margin-right: auto;
  }
}