/* ================================
   FRUTIGER ECO — FULL SITE THEME
   Light Green • Glossy • Clean
   Neocities Compatible
================================ */

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  background: linear-gradient(to bottom, #dfffe8, #b9f4c8);
  font-family: "Segoe UI", "Lucida Grande", sans-serif;
  color: #0a2f0a;
  line-height: 1.6;
}

/* Headers */
h1, h2, h3 {
  color: #0a2f0a;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  font-weight: 700;
}

/* Links */
a {
  color: #0a7f3a;
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms ease;
}

a:hover {
  color: #0ac45a;
}

/* Cards / Panels */
.eco-card {
  background: linear-gradient(to bottom, #eafff0, #c8f7d8);
  border: 1px solid #9ee6b0;
  border-radius: 16px;
  padding: 1.5em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  margin: 1.5em 0;
}

/* ================================
   BUTTON — Frutiger Eco Glossy
================================ */
.frutiger-eco-button {
  --fg: #0a2f0a;
  --bg: #9ee6b0;
  --bg-dark: #5bbf7a;
  --glow-intensity: 0.7;

  background:
    radial-gradient(
      farthest-corner at bottom center,
      rgba(255, 255, 255, var(--glow-intensity)),
      transparent
    ),
    linear-gradient(to bottom, var(--bg-dark), var(--bg));

  border: 1px solid var(--bg);
  border-radius: 14px;

  color: var(--fg);
  font-weight: 700;
  text-shadow: 0 2px 0.5em rgba(0, 0, 0, 0.2);

  padding: 0.75em 2em;
  cursor: pointer;
  position: relative;
  transition: all 300ms ease;

  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;

  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
}

/* Shine streak */
.frutiger-eco-button::before {
  content: "";
  position: absolute;

  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 45%,
    rgba(255, 255, 255, 0.05) 55%,
    transparent 70%
  );
  border-radius: inherit;
  pointer-events: none;
}

/* Top highlight */
/*.frutiger-eco-button::after {
  content: "";
  position: absolute;
  top: 4%;
  left: 0.75em;
  width: calc(100% - 1.5em);
  height: 40%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: inherit;
  pointer-events: none;
}*/

/* Hover */
.frutiger-eco-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}

/* Active */
.frutiger-eco-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Button Sizes */
.frutiger-eco-button.small {
  padding: 0.5em 1.5em;
  font-size: 0.875rem;
}

.frutiger-eco-button.large {
  padding: 1em 3em;
  font-size: 1.125rem;
}

.frutiger-eco-button {
  margin: 0.5em; /* adds space around each button */
}

/* YouTube Icon Button — Frutiger Eco */
.yt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* Perfect circle */
  width: 50px;
  height: 50px;
  border-radius: 50%;

  /* Remove vertical lift */
  padding: 0;
  line-height: 0;

  /* Keep Frutiger Eco glossy style */
  margin: 0.5em;
}

/* Icon size inside the circle */
.yt-icon {
  width: 42px;
  height: 42px;
  display: block;
}

/* ================================
   FRUTIGER ECO — INTERACTIVE TABS
================================ */

/* Hide radio buttons */
.eco-tabs-container input[type="radio"] {
  display: none;
}

/* Tab labels (the clickable tabs) */
.eco-tab {
  --fg: #0a2f0a;
  --bg: #9ee6b0;
  --bg-dark: #5bbf7a;

  padding: 0.6em 1.4em;
  border-radius: 12px;
  border: 1px solid var(--bg);

  background:
    radial-gradient(
      farthest-corner at bottom center,
      rgba(255, 255, 255, 0.6),
      transparent
    ),
    linear-gradient(to bottom, var(--bg-dark), var(--bg));

  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 2px 0.5em rgba(0, 0, 0, 0.2);

  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.35);
  transition: all 250ms ease;

  cursor: pointer;
  margin-right: 0.75em;
  user-select: none;
}

/* Hover effect */
.eco-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}

/* Active tab (when its radio is checked) */
#tab1:checked + label[for="tab1"],
#tab2:checked + label[for="tab2"],
#tab3:checked + label[for="tab3"] {
  background:
    radial-gradient(
      farthest-corner at bottom center,
      rgba(255, 255, 255, 0.8),
      transparent
    ),
    linear-gradient(to bottom, #7fdc9a, #b9f4c8);
  border-color: #7fdc9a;
}

/* Tab content boxes */
/* Hide all tab content by default */
.eco-tab-content {
  display: none;
  background: linear-gradient(to bottom, #eafff0, #c8f7d8);
  border: 1px solid #9ee6b0;
  border-radius: 16px;
  padding: 1.5em;
  margin-top: 1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Show content ONLY when its tab is checked */
#tab1:checked ~ .eco-tab-content#content1 {
  display: block;
}

#tab2:checked ~ .eco-tab-content#content2 {
  display: block;
}

#tab3:checked ~ .eco-tab-content#content3 {
  display: block;
}


/* Show content when its tab is active */
#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3 {
  display: block;
}


.eco-divider {
  height: 3px;
  width: 100%;
  margin: 1.5em 0;
  border-radius: 3px;

  background: linear-gradient(
    to right,
    #5bbf7a,
    #9ee6b0,
    #b9f4c8,
    #9ee6b0,
    #5bbf7a
  );

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}


.eco-image {
  display: block;
  width: 100%;
  max-width: 400px;

  border-radius: 18px;
  border: 1px solid #9ee6b0;

  background: linear-gradient(to bottom, #eafff0, #c8f7d8);
  padding: 0.75em;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  margin: 1em auto;
}


.eco-section {
  background: linear-gradient(to bottom, #9ee6b0, #95d5a9);
  border: 1px solid #7fdc9a;
  border-radius: 14px;

  padding: 0.75em 1.25em;
  margin: 1.5em 0;

  color: #0a2f0a;
  font-weight: 700;
  font-size: 1.25rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}


.eco-info {
  background: linear-gradient(to bottom, #f0fff6, #d9fbe8);
  border: 1px solid #9ee6b0;
  border-radius: 12px;

  padding: 1em 1.25em;
  margin: 1em 0;

  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  color: #0a2f0a;
}


.eco-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  margin-top: 1em;
}


.eco-footer {
  margin-top: 2em;
  padding: 1em;

  background: linear-gradient(to bottom, #b9f4c8, #9ee6b0);
  border-top: 2px solid #7fdc9a;

  text-align: center;
  color: #0a2f0a;
  font-weight: 600;

  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.25);
}
