/* Information Page Specific Styles - Mobile First */

/* Hero Section */
.info-hero {
  background-color: var(--brand-cream);
  min-height: 60vh;
  padding-top: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.info-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/images/leaf-bottom-mobile.png");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
}

.info-hero .container {
  position: relative;
  z-index: 2;
}

.info-hero h1 {
  font-size: 2.5rem;
  color: var(--brand-black);
  margin-bottom: 0.5rem;
}

.info-hero p {
  font-size: 1.2rem;
  color: var(--brand-black);
}

/* Do's and Don'ts Section */
#dos-donts {
  background-color: var(--brand-blue);
  color: var(--brand-cream);
}

#dos-donts h2 {
  color: var(--brand-cream);
}

.dos-donts-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 100%;
}

.dos-donts-card {
  background-color: var(--brand-cream);
  border: 3px solid var(--brand-cream);
  border-radius: 16px;
  padding: 12px 0;
  text-align: center;
}

.dos-donts-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--brand-cream);
}

.dos-donts-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin: 0 auto;
  display: block;
}

/* Press Release Section */
#press-release {
  background-color: var(--brand-red);
  color: var(--brand-cream);
}

#press-release h2 {
  color: var(--brand-cream);
}

.press-description {
  font-family: "Open Sans";
  font-size: 1rem;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 1.1rem;
  background-color: var(--brand-cream);
  color: var(--brand-red);
  border: 3px solid var(--brand-red);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-button:hover {
  background-color: var(--brand-green);
  color: var(--brand-cream);
  border-color: var(--brand-cream);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.download-button svg {
  flex-shrink: 0;
}

.press-note {
  font-family: "Open Sans";
  font-size: 0.85rem;
  margin-top: 16px;
  font-style: italic;
  opacity: 0.9;
}

/* FAQ Section */
#faq {
  background-color: var(--brand-green);
  color: var(--off-white);
}

#faq h2 {
  color: var(--off-white);
}

.faq-container {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--off-white);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  color: var(--brand-green);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  user-select: none;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  font-family: "Open Sans";
}

.faq-item[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.faq-item summary:hover {
  background-color: rgba(0, 166, 156, 0.1);
}

.faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--brand-black);
  font-family: "Open Sans";
  line-height: 1.6;
  animation: fadeIn 0.3s ease;
}

.faq-answer p {
  margin: 0;
}

.faq-answer a {
  color: var(--brand-blue);
  text-decoration: underline;
  word-break: break-word;
}

.faq-answer a:hover {
  color: var(--brand-green);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Terms and Conditions Section */
#terms {
  background-color: var(--brand-cream);
  color: var(--brand-black);
}

#terms h2 {
  color: var(--brand-black);
}

.terms-content {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: left;
}

.terms-section {
  background-color: var(--brand-cream);
  border: 2px solid var(--brand-blue);
  border-radius: 12px;
  padding: 20px;
}

.terms-section h3 {
  font-size: 1.3rem;
  color: var(--brand-blue);
  margin-bottom: 16px;
}

.terms-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-section li {
  font-family: "Open Sans";
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
}

.terms-section li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--brand-blue);
  font-weight: bold;
  font-size: 1.2rem;
}

.terms-section a {
  color: var(--brand-blue);
  text-decoration: underline;
  word-break: break-word;
}

.terms-section a:hover {
  color: var(--brand-red);
}

/* Tablet Styles */
@media (min-width: 576px) {
  .info-hero h1 {
    font-size: 3rem;
  }

  .info-hero p {
    font-size: 1.4rem;
  }

  .info-hero::after {
    background-image: url("/assets/images/daun-bawah.png");
  }

  .dos-donts-card h3 {
    font-size: 1.8rem;
  }

  .dos-donts-card img {
    max-width: 450px;
  }

  .press-description {
    font-size: 1.1rem;
  }

  .download-button {
    font-size: 1.2rem;
    padding: 18px 32px;
  }

  .faq-item summary {
    font-size: 1.2rem;
    padding: 18px 24px;
  }

  .faq-item summary::after {
    right: 24px;
  }

  .faq-answer {
    padding: 0 24px 24px 24px;
    font-size: 1rem;
  }

  .terms-section {
    padding: 24px;
  }

  .terms-section h3 {
    font-size: 1.5rem;
  }

  .terms-section li {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .info-hero {
    min-height: 70vh;
  }

  .info-hero h1 {
    font-size: 3.5rem;
  }

  .info-hero p {
    font-size: 1.6rem;
  }

  .dos-donts-container {
    flex-direction: row;
    gap: 24px;
  }

  .dos-donts-card {
    flex: 1;
  }

  .dos-donts-card h3 {
    font-size: 2rem;
  }

  .dos-donts-card img {
    max-width: 100%;
  }

  .download-button {
    font-size: 1.3rem;
  }

  .faq-item summary {
    font-size: 1.3rem;
    padding: 20px 28px;
  }

  .faq-item summary::after {
    right: 28px;
  }

  .faq-answer {
    padding: 0 28px 28px 28px;
    font-size: 1.05rem;
  }

  .terms-section {
    padding: 28px;
  }

  .terms-section h3 {
    font-size: 1.6rem;
  }

  .terms-section li {
    font-size: 1.05rem;
  }
}

@media (min-width: 1024px) {
  .info-hero h1 {
    font-size: 4rem;
  }

  .info-hero p {
    font-size: 1.8rem;
  }

  .dos-donts-card h3 {
    font-size: 2.2rem;
  }

  .download-button {
    font-size: 1.4rem;
    padding: 20px 36px;
  }

  .faq-item summary {
    font-size: 1.4rem;
    padding: 22px 32px;
  }

  .faq-item summary::after {
    right: 32px;
    font-size: 1.8rem;
  }

  .faq-answer {
    padding: 0 32px 32px 32px;
    font-size: 1.1rem;
  }

  .terms-content {
    gap: 40px;
  }

  .terms-section {
    padding: 32px;
  }

  .terms-section h3 {
    font-size: 1.8rem;
  }

  .terms-section li {
    font-size: 1.1rem;
    margin-bottom: 14px;
  }
}

@media (min-width: 1280px) {
  .info-hero h1 {
    font-size: 4.5rem;
  }

  .info-hero p {
    font-size: 2rem;
  }

  .dos-donts-card h3 {
    font-size: 2.5rem;
    margin-bottom: 24px;
  }

  .press-description {
    font-size: 1.2rem;
  }

  .download-button {
    font-size: 1.5rem;
    padding: 22px 40px;
  }

  .faq-item summary {
    font-size: 1.5rem;
  }

  .faq-answer {
    font-size: 1.15rem;
  }

  .terms-section h3 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .terms-section li {
    font-size: 1.15rem;
  }
}
