/* ===== Reset & bază ===== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: #abcb82;
  color: #1a1a1a;
  font-family: 'Pacifico', cursive;  /* font global Pacifico */
  line-height: 1.5;
}

/* ===== Topbar + Hamburger ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
}

/* Brand link */
.brand {
  text-decoration: none;
  color: #1f2937;
  font-size: clamp(20px, 4vw, 28px);
}

/* Checkbox toggle invizibil */
.nav-toggle {
  display: none;
}

/* Icon hamburger */
.hamburger {
  width: 36px;
  height: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #1f2937;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* Nav container */
.nav {
  display: none; /* ascuns până la click */
  position: absolute;
  top: 58px; /* sub bara de sus */
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  border-top: 1px dashed rgba(0,0,0,0.1);
  text-align: center;
  padding: 8px 0;
}

.nav a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  color: #1f2937;
  border-radius: 10px;
  font-size: 18px;
  transition: background .2s ease;
}
.nav a:hover { background: rgba(0,0,0,0.06); }

/* Când meniul e bifat (checkbox hack) */
.nav-toggle:checked ~ .nav { display: block; }

/* Hamburger animat în X */
.nav-toggle:checked + .hamburger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle:checked + .hamburger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .hamburger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ===== Layout principal ===== */
main {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 16px;
}

.container {
  width: 100%;
  max-width: 980px;
  text-align: center;
  padding: 14px;
  margin: 10px 0 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  font-size: 18px;
}

.logo {
  width: min(220px, 55vw);
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 16px auto;
}

/* Citat */
.quote {
  font-size: clamp(18px, 5vw, 26px);
  margin: 6px 0 14px 0;
}

/* Liste fără bullets */
ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul { margin: 8px 0; }
ul li { padding: 6px 0; }

/* Video responsive (16:9) */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Targeturi tactile mai mari */
a, button { min-height: 44px; }

/* ===== Media queries ===== */

/* ≥ 768px (tablete / desktop) */
@media (min-width: 768px) {
  .nav {
    position: static;
    display: flex !important;
    justify-content: flex-end;
    gap: 12px;
    background: transparent;
    border: none;
    padding: 0;
  }
  .nav a {
    display: inline-block;
    padding: 8px 12px;
    font-size: 17px;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

