/* style/tintc.css */

/* Biến màu tùy chỉnh */
:root {
  --page-tintc-primary-color: #11A84E;
  --page-tintc-secondary-color: #22C768;
  --page-tintc-bg-color: #08160F;
  --page-tintc-card-bg-color: #11271B;
  --page-tintc-text-main-color: #F2FFF6;
  --page-tintc-text-secondary-color: #A7D9B8;
  --page-tintc-border-color: #2E7A4E;
  --page-tintc-glow-color: #57E38D;
  --page-tintc-gold-color: #F2C14E;
  --page-tintc-divider-color: #1E3A2A;
  --page-tintc-deep-green-color: #0A4B2C;
  --page-tintc-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-tintc {
  background-color: var(--page-tintc-bg-color);
  color: var(--page-tintc-text-main-color);
  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;
}

.page-tintc__section-title {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--page-tintc-text-main-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-tintc__section-description {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--page-tintc-text-secondary-color);
  text-align: center;
  margin-bottom: 40px;
  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;
  padding: 10px 0 60px 0; /* body đã có padding-top, chỉ cần padding nhỏ */
  background-color: var(--page-tintc-deep-green-color);
}

.page-tintc__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-tintc__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-tintc__hero-title {
  font-size: clamp(36px, 5vw, 60px); /* Sử dụng clamp cho H1 */
  color: var(--page-tintc-gold-color);
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-tintc__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--page-tintc-text-main-color);
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Buttons */
.page-tintc__btn-primary,
.page-tintc__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-tintc__btn-secondary:hover {
  background: var(--page-tintc-secondary-color);
  color: var(--page-tintc-text-main-color);
}

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

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

.page-tintc__news-card {
  background-color: var(--page-tintc-card-bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  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(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

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

.page-tintc__news-content {
  padding: 25px;
}

.page-tintc__news-meta {
  font-size: 14px;
  color: var(--page-tintc-text-secondary-color);
  margin-bottom: 10px;
}

.page-tintc__news-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

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

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

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

.page-tintc__btn-view-all {
  min-width: 250px;
}

/* Why Choose Us Section */
.page-tintc__why-choose-us-section {
  padding: 80px 0;
  background-color: var(--page-tintc-deep-green-color);
}

.page-tintc__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-tintc__feature-item {
  background-color: var(--page-tintc-card-bg-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-tintc-border-color);
}

.page-tintc__feature-title {
  font-size: 24px;
  color: var(--page-tintc-gold-color);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.page-tintc__feature-text {
  font-size: 16px;
  color: var(--page-tintc-text-secondary-color);
}

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

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

.page-tintc__faq-item {
  background-color: var(--page-tintc-card-bg-color);
  border: 1px solid var(--page-tintc-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-tintc__faq-question:hover {
  background-color: var(--page-tintc-deep-green-color);
}

.page-tintc__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: var(--page-tintc-gold-color);
  margin-left: 15px;
}

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

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

.page-tintc__cta-section .page-tintc__section-description {
  margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tintc__news-grid,
  .page-tintc__feature-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  .page-tintc__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-tintc__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-tintc__hero-description {
    font-size: clamp(16px, 3vw, 20px);
  }

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

  .page-tintc__section-description {
    font-size: clamp(15px, 2.5vw, 18px);
  }

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

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

  .page-tintc__news-card,
  .page-tintc__feature-item,
  .page-tintc__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-tintc__news-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-tintc__view-all-wrapper .page-tintc__btn-primary {
    max-width: calc(100% - 30px) !important;
    margin: 0 15px;
  }

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

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

  .page-tintc__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tintc__hero-image-wrapper,
  .page-tintc__latest-news-section,
  .page-tintc__why-choose-us-section,
  .page-tintc__faq-section,
  .page-tintc__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}