/* This is an example CSS file. If you include it in your portfolio, it'll provide some clean and basic styling */
/* for your page. Feel free to experiment with the values, or copy them into a new file and use that instead. */

/* These are comments in CSS. Comments don't do anything except explain your working to make code easier to understand. */


body { /* We can style any HTML element by using its name - here we're styling the body */
  /* We want text that uses a clean sans-serif font, is usually 16px big and close to black */
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  /* we want a white page, that's centered and not too wide */
  background-color: white;
  margin:0 auto;
  max-width: 800px;
  padding-top: 60px;
}


/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: #333;
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 600;
  text-align: center;
}

/* We want the headings to be a little bigger than the paragraph text */
.big { /* This is the class we created in the HTML file, you can use it to style any element */
  font-size: 2.5em;
  line-height: 1.2;
}

h2 {
  font-size: 1.75em;
  color: darkslategray;
}

.small {
  font-size: 1.25em;
  line-height: 1.1;
}

h3 {
  font-size: 1.00em;
  font-weight: 300;
  text-align: center;
}

h4 {
  color: darkslategrey;
  font-size: 1.00em;
  margin-top: 20px;
  margin-bottom: 30px;
  font-style: italic;
  font-weight: 500;
}

/* Paragraph */
p {
  margin-bottom: 1em;
  font-weight: 300;
}

section {
  margin-bottom: 2.5em;  /* We want a little more space between sections */
}

/* Links */
/* We want the links to be a little more visible  and a different color */
a {
  color: #065f46;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
  
/* Images */
img {
  max-width: 100%;
  height: auto;
}

/* Side-by-side layout for chart comparison */
.side-by-side {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 20px 0;
}

.column {
    flex: 1;
    border: 1px solid #ddd;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.column img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

/* Chart description styling */
.chart-description {
    margin: 20px 0;
}

/* ---------- HERO HOMEPAGE ---------- */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(
      rgba(255,255,255,0.88),
      rgba(255,255,255,0.88)
    ),
    url("assets/bg-wave.svg");
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 720px;
  padding: 32px 24px;
}

.hero-title {
  font-size: 3.2rem;
  margin-bottom: 0 0 8px 0;
  color: #2b2b2b;
}

.hero-links a {
  color: #1f7a63;
  text-decoration: none;
  font-weight: 500;
}

.hero-links {
  margin: 0 0 18px 0;
}

.hero-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin: 0 0 30px 0;
}

/* ---------- BUTTONS ---------- */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.hero-btn {
  padding: 16px 34px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.hero-btn.primary {
  background: #2f6f5e;
  color: white;
}

.hero-btn.secondary {
  background: white;
  color: #2f6f5e;
  border: 2px solid #2f6f5e;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.hero-icon {
  width: 80px;
  margin-bottom: 6px;
  opacity: 0.9;
}

.vega-bindings {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #4b5563;
  margin-top: 8px;

  display: grid;
  grid-template-columns: repeat(3, 1fr); /* change to 4 if needed */
  column-gap: 18px;
  row-gap: 4px;
}

.vega-bindings label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  line-height: 1.2;
  cursor: pointer;
}

.vega-bindings input[type="checkbox"],
.vega-bindings input[type="radio"] {
  transform: scale(0.85);
  margin: 0;
}

.vega-bindings input[type="radio"] {
  grid-column: span 3; /* or 4 */
}

.chart-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.vega-bindings {
  margin-left: 120px;
  margin-top: 10px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
}

.data-box{
  margin: 18px 0 40px 0;
  padding: 18px 20px;
  background: #f3f4f6;            /* abu-abu lembut */
  border-left: 5px solid #1f6f5b; /* aksen hijau kamu */
  border-radius: 10px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}

.data-box strong{
  color: #374151;
  font-weight: 700;
}

.data-box .data-link{
  color: #1f6f5b;
  font-weight: 600;
  text-decoration: none;
}

.data-box .data-link:hover{
  text-decoration: underline;
}
