/* style/tintc.css */

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

.page-tintc {
  background-color: var(--page-tintc-bg);
  color: var(--page-tintc-text-main); /* Dark background, so light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-tintc__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
}

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

.page-tintc__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  margin-top: -150px; /* Overlap slightly for visual effect */
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-tintc__main-title {
  color: var(--page-tintc-gold);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-tintc__description {
  color: var(--page-tintc-text-main);
  font-size: 1.15rem;
  margin-bottom: 30px;
}

/* Section Titles */
.page-tintc__section-title {
  color: var(--page-tintc-gold);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

/* Buttons */
.page-tintc__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-tintc__btn-primary {
  background: var(--page-tintc-button-gradient);
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-tintc__btn-primary:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

.page-tintc__btn-secondary {
  background-color: transparent;
  color: var(--page-tintc-gold);
  border: 2px solid var(--page-tintc-gold);
  margin-left: 20px;
}

.page-tintc__btn-secondary:hover {
  background-color: rgba(242, 193, 78, 0.1);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Latest News Section */
.page-tintc__latest-news-section {
  padding: 60px 0;
  background-color: var(--page-tintc-bg);
}

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

.page-tintc__news-card {
  background-color: var(--page-tintc-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-tintc-border);
}

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

.page-tintc__news-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

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

.page-tintc__card-title a {
  color: var(--page-tintc-text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__card-title a:hover {
  color: var(--page-tintc-gold);
}

.page-tintc__card-meta {
  color: var(--page-tintc-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.page-tintc__card-excerpt {
  color: var(--page-tintc-text-secondary);
  font-size: 1rem;
  margin-bottom: 20px;
}

.page-tintc__read-more-link {
  color: var(--page-tintc-gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-tintc__read-more-link:hover {
  text-decoration: underline;
  color: #ffffff;
}

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

/* Promotional Banner Section */
.page-tintc__promotional-banner-section {
  padding: 80px 0;
  background-color: var(--page-tintc-deep-green);
  text-align: center;
}

.page-tintc__banner-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-tintc__banner-title {
  color: var(--page-tintc-gold);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-tintc__banner-description {
  color: var(--page-tintc-text-main);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* FAQ Section */
.page-tintc__faq-section {
  padding: 60px 0;
  background-color: var(--page-tintc-bg);
}

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

.page-tintc__faq-item {
  background-color: var(--page-tintc-card-bg);
  border: 1px solid var(--page-tintc-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-tintc__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-tintc-text-main);
  background-color: var(--page-tintc-card-bg);
  transition: background-color 0.3s ease;
}

.page-tintc__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-tintc__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.3); /* Lighter hover for dark background */
}

.page-tintc__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-tintc-gold);
}

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
  transform: rotate(45deg);
}

.page-tintc__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--page-tintc-text-secondary);
  border-top: 1px solid var(--page-tintc-divider);
  margin-top: -1px; /* Overlap border */
}

/* Call to Action Section */
.page-tintc__cta-section {
  background-color: var(--page-tintc-deep-green);
  padding: 80px 0;
  text-align: center;
}

.page-tintc__cta-title {
  color: var(--page-tintc-gold);
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-tintc__cta-description {
  color: var(--page-tintc-text-main);
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-tintc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-tintc__hero-content {
    margin-top: -100px;
    padding: 30px 15px;
  }

  .page-tintc__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-tintc__description {
    font-size: 1rem;
  }

  .page-tintc__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-tintc__hero-content {
    margin-top: -80px;
    padding: 25px 15px;
  }

  .page-tintc__hero-image {
    max-height: 400px;
  }

  .page-tintc__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-tintc__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important; /* Remove margin for stacked buttons */
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-tintc__section-title,
  .page-tintc__banner-title,
  .page-tintc__cta-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  /* Mobile image responsiveness */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-tintc__hero-image-wrapper,
  .page-tintc__news-card,
  .page-tintc__promotional-banner-section,
  .page-tintc__banner-image,
  .page-tintc__faq-section,
  .page-tintc__cta-section,
  .page-tintc__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-tintc__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-tintc__latest-news-section,
  .page-tintc__faq-section,
  .page-tintc__cta-section {
    padding: 40px 0;
  }

  .page-tintc__promotional-banner-section {
    padding: 60px 0;
  }

  .page-tintc__news-image {
    height: auto; /* Allow auto height for mobile to maintain aspect ratio */
  }
}

@media (max-width: 480px) {
  .page-tintc__hero-content {
    margin-top: -60px;
    padding: 20px 10px;
  }

  .page-tintc__hero-image {
    max-height: 300px;
  }

  .page-tintc__cta-button {
    font-size: 1rem;
    padding: 12px 25px;
  }
}