/* style/tintc.css */

/* Body background from shared.css is var(--background), which is #08160F (dark). So text should be light. */
.page-tintc {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles top padding */
  overflow: hidden;
}

.page-tintc__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.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: 800px;
  z-index: 1;
  position: relative;
  background-color: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  margin-top: -80px; /* Overlap slightly for visual effect */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-tintc__main-title {
  color: #F2C14E; /* Gold */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-tintc__hero-description {
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
}

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

.page-tintc__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-tintc__section-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-tintc__highlight {
  color: #57E38D; /* Glow */
}

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

.page-tintc__news-card,
.page-tintc__promo-card,
.page-tintc__guide-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;
  border: 1px solid #2E7A4E; /* Border */
}

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

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

.page-tintc__promo-image,
.page-tintc__guide-image {
  height: 300px; /* Taller for promotions/guides */
}

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

.page-tintc__news-title,
.page-tintc__promo-title,
.page-tintc__guide-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tintc__news-title a,
.page-tintc__promo-title a,
.page-tintc__guide-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__news-title a:hover,
.page-tintc__promo-title a:hover,
.page-tintc__guide-title a:hover {
  color: #57E38D; /* Glow */
}

.page-tintc__news-meta,
.page-tintc__promo-meta {
  font-size: 0.9rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-tintc__news-excerpt,
.page-tintc__promo-excerpt,
.page-tintc__guide-excerpt {
  font-size: 1rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-tintc__read-more {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-tintc__read-more:hover {
  text-decoration: underline;
  color: #F2C14E; /* Gold */
}

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

.page-tintc__btn-primary,
.page-tintc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-tintc__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff;
  border: none;
}

.page-tintc__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-tintc__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Text color matching primary button start color */
  border: 2px solid #2AD16F; /* Border matching primary button start color */
}

.page-tintc__btn-secondary:hover {
  background: #2AD16F;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.2);
}

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

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

.page-tintc__faq-item[open] {
  background-color: #0A4B2C; /* Deep Green */
}

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  user-select: none;
}

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

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

.page-tintc__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

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

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

.page-tintc__cta-section {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #0A4B2C; /* Deep Green */
  border-top: 1px solid #2E7A4E;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-tintc__hero-content {
    margin-top: -60px;
    padding: 30px 20px;
  }
}

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

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

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

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

  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-tintc__section {
    padding: 40px 15px;
  }

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

  .page-tintc__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-tintc__news-grid,
  .page-tintc__promotions-grid,
  .page-tintc__guides-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-tintc__news-image,
  .page-tintc__promo-image,
  .page-tintc__guide-image {
    height: 200px; /* Adjust height for smaller screens */
  }

  /* Mobile image responsiveness */
  .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__news-card,
  .page-tintc__promo-card,
  .page-tintc__guide-card,
  .page-tintc__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important; /* Ensure containers hide overflow */
  }

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

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

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

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

@media (max-width: 480px) {
  .page-tintc__hero-content {
    margin-top: -30px;
  }
}