/* style/tintc.css */

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

.page-tintc {
  background-color: var(--page-tintc-bg-color);
  color: var(--page-tintc-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for the first section, body padding-top is handled by shared.css */
}

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

.page-tintc__section-title {
  font-size: 2.8em;
  font-weight: 700;
  color: var(--page-tintc-text-main);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-tintc__section-description {
  font-size: 1.1em;
  color: var(--page-tintc-text-secondary);
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  padding-bottom: 60px; /* Ensure content is below the image */
}

.page-tintc__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

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

.page-tintc__hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  background: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
  border-radius: 10px;
  margin-top: -100px; /* Pull content up over the image slightly */
  max-width: 90%;
  box-sizing: border-box;
  border: 1px solid var(--page-tintc-border-color);
  box-shadow: 0 0 20px rgba(87, 227, 141, 0.3);
}

.page-tintc__main-title {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--page-tintc-text-main);
  margin-bottom: 15px;
  font-size: clamp(2em, 4vw, 3.5em);
}

.page-tintc__hero-description {
  font-size: 1.2em;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-tintc__hero-button {
  display: inline-block;
  background: var(--page-tintc-btn-gradient);
  color: var(--page-tintc-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-tintc__hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Latest News Section */
.page-tintc__latest-news-section,
.page-tintc__industry-insights-section,
.page-tintc__promotions-events-section,
.page-tintc__platform-updates-section,
.page-tintc__faq-section,
.page-tintc__cta-section {
  padding: 60px 0;
}

.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: var(--page-tintc-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;
  border: 1px solid var(--page-tintc-border-color);
}

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

.page-tintc__news-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-tintc__news-card-content {
  padding: 20px;
}

.page-tintc__news-card-date {
  font-size: 0.9em;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 10px;
  display: block;
}

.page-tintc__news-card-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
}

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

.page-tintc__news-card-title a:hover {
  color: var(--page-tintc-glow-color);
}

.page-tintc__news-card-summary {
  font-size: 1em;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 20px;
}

.page-tintc__news-card-button {
  display: inline-block;
  background: var(--page-tintc-btn-gradient);
  color: var(--page-tintc-text-main);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  transition: background 0.3s ease;
  border: none;
}

.page-tintc__news-card-button:hover {
  opacity: 0.9;
}

.page-tintc__view-all-button-wrapper {
  text-align: center;
  margin-top: 20px;
}

.page-tintc__view-all-button {
  display: inline-block;
  background: var(--page-tintc-btn-gradient);
  color: var(--page-tintc-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-tintc__view-all-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Industry Insights Section */
.page-tintc__insight-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-tintc__insight-block--reverse {
  flex-direction: row-reverse;
}

.page-tintc__insight-image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--page-tintc-border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tintc__insight-content {
  flex: 1;
  max-width: 50%;
}

.page-tintc__insight-subtitle {
  font-size: 2em;
  font-weight: 700;
  color: var(--page-tintc-gold-color);
  margin-bottom: 20px;
}

.page-tintc__insight-content p {
  color: var(--page-tintc-text-secondary);
  font-size: 1.05em;
  margin-bottom: 15px;
}

/* Promotions & Events Section */
.page-tintc__event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-tintc__event-card {
  background-color: var(--page-tintc-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;
  border: 1px solid var(--page-tintc-border-color);
  text-align: center;
  padding-bottom: 20px;
}

.page-tintc__event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(87, 227, 141, 0.3);
}

.page-tintc__event-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-tintc__event-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--page-tintc-text-main);
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-tintc__event-description {
  font-size: 1em;
  color: var(--page-tintc-text-secondary);
  margin-bottom: 20px;
  padding: 0 20px;
}

.page-tintc__event-button {
  display: inline-block;
  background: var(--page-tintc-btn-gradient);
  color: var(--page-tintc-text-main);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  transition: background 0.3s ease;
  border: none;
}

.page-tintc__event-button:hover {
  opacity: 0.9;
}

/* Platform Updates Section */
.page-tintc__update-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-tintc__update-card {
  background-color: var(--page-tintc-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;
  border: 1px solid var(--page-tintc-border-color);
  text-align: center;
  padding-bottom: 20px;
}

.page-tintc__update-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(87, 227, 141, 0.3);
}

.page-tintc__update-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-tintc__update-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--page-tintc-text-main);
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-tintc__update-description {
  font-size: 1em;
  color: var(--page-tintc-text-secondary);
  padding: 0 20px;
}

/* FAQ Section */
.page-tintc__faq-list {
  margin-top: 40px;
}

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

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-tintc-text-main);
  cursor: pointer;
  background-color: var(--page-tintc-deep-green);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-tintc__faq-question:hover {
  background-color: rgba(10, 75, 44, 0.8);
}

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

.page-tintc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-tintc-glow-color);
}

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

.page-tintc__faq-item[open] .page-tintc__faq-answer {
  padding-top: 20px;
}

/* CTA Section */
.page-tintc__cta-section {
  background-color: var(--page-tintc-deep-green);
  text-align: center;
  padding: 80px 0;
  border-top: 1px solid var(--page-tintc-border-color);
}

.page-tintc__cta-section .page-tintc__section-title {
  color: var(--page-tintc-text-main);
}

.page-tintc__cta-section .page-tintc__section-description {
  color: var(--page-tintc-text-secondary);
  margin-bottom: 40px;
}

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

.page-tintc__btn-primary,
.page-tintc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-tintc__btn-primary {
  background: var(--page-tintc-btn-gradient);
  color: var(--page-tintc-text-main);
}

.page-tintc__btn-secondary {
  background: transparent;
  color: var(--page-tintc-glow-color);
  border-color: var(--page-tintc-glow-color);
}

.page-tintc__btn-primary:hover,
.page-tintc__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Image & Video Responsive */
.page-tintc img,
.page-tintc video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Desktop video width */
.page-tintc__video-container {
  width: 100%;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-tintc__section-title {
    font-size: 2.2em;
  }
  .page-tintc__hero-description {
    font-size: 1.1em;
  }
  .page-tintc__insight-block {
    flex-direction: column;
    text-align: center;
  }
  .page-tintc__insight-block--reverse {
    flex-direction: column;
  }
  .page-tintc__insight-image,
  .page-tintc__insight-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-tintc__hero-content {
    margin-top: -60px;
    padding: 15px;
  }
  .page-tintc__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-tintc__hero-description {
    font-size: 1em;
  }
  .page-tintc__hero-button,
  .page-tintc__view-all-button,
  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-tintc__news-grid,
  .page-tintc__event-grid,
  .page-tintc__update-grid {
    grid-template-columns: 1fr;
  }

  .page-tintc__section-title {
    font-size: 2em;
  }
  .page-tintc__section-description {
    font-size: 0.95em;
  }
  .page-tintc__news-card-title {
    font-size: 1.2em;
  }
  .page-tintc__insight-subtitle {
    font-size: 1.8em;
  }
  .page-tintc__insight-content p {
    font-size: 1em;
  }
  .page-tintc__event-title,
  .page-tintc__update-title {
    font-size: 1.3em;
  }
  .page-tintc__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  /* Mobile specific overrides with !important */
  .page-tintc img,
  .page-tintc video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-tintc__section,
  .page-tintc__card,
  .page-tintc__container,
  .page-tintc__video-section,
  .page-tintc__video-container,
  .page-tintc__video-wrapper,
  .page-tintc__cta-buttons,
  .page-tintc__button-group,
  .page-tintc__btn-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-content {
    max-width: calc(100% - 30px) !important; /* Adjust for padding */
  }

  .page-tintc__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}