/* style/tintc.css */

/* Custom Colors */
:root {
  --c-primary: #11A84E;
  --c-secondary: #22C768;
  --c-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --c-card-bg: #11271B;
  --c-background: #08160F;
  --c-text-main: #F2FFF6;
  --c-text-secondary: #A7D9B8;
  --c-border: #2E7A4E;
  --c-glow: #57E38D;
  --c-gold: #F2C14E;
  --c-divider: #1E3A2A;
  --c-deep-green: #0A4B2C;
}

/* General Page Styles */
.page-tintc {
  color: var(--c-text-main); /* Default text color for the page content */
  background-color: var(--c-background);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-tintc__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: bold;
  color: var(--c-text-main);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

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

.page-tintc__btn-primary,
.page-tintc__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

.page-tintc__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-tintc__btn-secondary {
  background: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
}

.page-tintc__btn-secondary:hover {
  background: var(--c-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Section */
.page-tintc__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
}

.page-tintc__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
}

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

.page-tintc__hero-content-wrapper {
  position: relative;
  z-index: 2;
  padding: 40px 0;
  text-align: center;
  width: 100%;
}

.page-tintc__main-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  color: var(--c-gold);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-tintc__subtitle {
  font-size: 20px;
  color: var(--c-text-secondary);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

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

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

.page-tintc__news-card {
  background-color: var(--c-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--c-border);
}

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

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

.page-tintc__news-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-tintc__news-card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

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

.page-tintc__news-card-date {
  font-size: 14px;
  color: var(--c-text-secondary);
  margin-bottom: 15px;
}

.page-tintc__news-card-excerpt {
  font-size: 16px;
  color: var(--c-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-tintc__news-card-link {
  color: var(--c-primary);
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
  transition: color 0.3s ease;
}

.page-tintc__news-card-link:hover {
  color: var(--c-gold);
}

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

/* Promotion Video Section */
.page-tintc__promotion-video-section {
  padding: 80px 0;
  background-color: var(--c-background);
}

.page-tintc__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16 / 9;
}

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

.page-tintc__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
  background: rgba(0, 0, 0, 0); /* Invisible overlay */
}

.page-tintc__cta-buttons--center {
  margin-top: 40px;
}

/* About Section */
.page-tintc__about-section {
  padding: 80px 0;
  background-color: var(--c-deep-green);
}

.page-tintc__about-content {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.page-tintc__about-text {
  flex: 1;
  min-width: 300px;
}

.page-tintc__about-text p {
  margin-bottom: 20px;
  color: var(--c-text-main);
  font-size: 17px;
}

.page-tintc__about-text .page-tintc__btn-secondary {
  margin-top: 20px;
  border-color: var(--c-text-main);
  color: var(--c-text-main);
}

.page-tintc__about-text .page-tintc__btn-secondary:hover {
  background: var(--c-text-main);
  color: var(--c-deep-green);
}

.page-tintc__about-image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-tintc__about-image {
  width: 100%;
  height: auto;
  display: block;
}

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

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

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

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

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

.page-tintc__faq-item summary:hover {
  background-color: var(--c-divider);
}

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

.page-tintc__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--c-primary);
}

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

.page-tintc__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--c-text-secondary);
}

.page-tintc__faq-answer p {
  margin-bottom: 10px;
}

/* Final CTA Section */
.page-tintc__cta-final-section {
  padding: 80px 0;
  background-color: var(--c-deep-green);
  text-align: center;
}

.page-tintc__cta-final-section .page-tintc__section-title,
.page-tintc__cta-final-section .page-tintc__section-description {
  color: var(--c-text-main);
}

.page-tintc__cta-final-section .page-tintc__btn-primary {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-tintc__hero-content-wrapper {
    padding: 30px 0;
  }

  .page-tintc__main-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }

  .page-tintc__subtitle {
    font-size: 18px;
  }

  .page-tintc__about-content {
    flex-direction: column;
  }

  .page-tintc__about-image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-tintc {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-tintc__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-tintc__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-tintc__subtitle {
    font-size: 16px;
  }

  .page-tintc__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-tintc__section-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-tintc__section-description {
    font-size: 16px;
  }

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

  .page-tintc__news-card {
    margin-bottom: 20px;
  }

  .page-tintc__news-card-title {
    font-size: 20px;
  }

  /* Image responsive for mobile */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-tintc__section,
  .page-tintc__card,
  .page-tintc__container,
  .page-tintc__hero-image-wrapper,
  .page-tintc__about-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Video responsive for mobile */
  .page-tintc video,
  .page-tintc__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-tintc__video-section,
  .page-tintc__video-container,
  .page-tintc__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-tintc__video-section {
    padding-top: 10px !important;
  }

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

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