/* =========================
   Centro La Ruche — style.css
   ========================= */

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; }

body{
  font-family: Georgia, "Times New Roman", serif;
  background: #efe7dd;
  color: #1f1f1f;
}

/* HERO */
.hero{
  position: relative;
  width: 100vw;
  height: 100vh;
  background-image: url("./hero.jpeg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-color: #efe7dd;
}

/* EMAIL */
.email{
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11000;

  color: #1f1f1f;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 18px;
  letter-spacing: 0.02em;

  background: rgba(239, 231, 221, 0.90);
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

/* HAMBURGER */
.menu-btn{
  position: fixed;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 40px;
  background: rgba(239, 231, 221, 0.75);
  border: 0;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  z-index: 12000;
}

.menu-btn span{
  display: block;
  width: 100%;
  height: 2px;
  background: #1f1f1f;
  margin: 6px 0;
  border-radius: 2px;
  opacity: 0.9;
}

/* MENU OVERLAY (HAMBURGER) */
.menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(239, 231, 221, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 20000;
}

.menu-overlay.open{
  opacity: 1;
  pointer-events: auto;
}

.menu-content{
  display: flex;
  flex-direction: column;
  gap: 14px;

  font-family: Cambria, "Times New Roman", serif;
  font-size: 20px;          /* più piccolo, più discreto */
  letter-spacing: 0.04em;   /* meno spazioso */
  text-align: center;
  opacity: 0.75;            /* delicato, non invadente */
}

.menu-link{
  display: block;
  background: none;
  border: none;
  padding: 10px 0;
  margin: 0;

  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-decoration: none;
  cursor: pointer;
}

.menu-link:hover{
  opacity: 1;
  text-decoration: none;
}

/* =========================
   SECONDA RÛCHE — overlay "in arrivo"
   ========================= */

.seconda-overlay{
  position: fixed;
  inset: 0;
  background: rgba(245, 238, 228, 0.92); /* carta, morbida */
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 30000;
}

.seconda-overlay.open{
  opacity: 1;
  pointer-events: auto;
}

.seconda-content {
  text-align: center;
  letter-spacing: 0.06em;
  opacity: 0.75;
}

.seconda-content p{
  font-family: "EB Garamond", serif;
  font-size: 19px;            /* più sussurro */
  letter-spacing: 0.05em;
  font-weight: 400;
  opacity: 0.72;
  text-transform: lowercase;
}

/* MOBILE */
@media (max-width: 768px){
  .email{ font-size: 16px; top: 14px; }
  .menu-content{ font-size: 18px; }
  .seconda-content p{ font-size: 17px; }
}

/* =========================
   (Se ti servono) Stili pagina "la prima ruche"
   (non toccano la home)
   ========================= */

body.ruche-page {
  background: #f5f1e8;
  color: #1f1f1f;
  font-family: Georgia, serif;
}

.ruche-header {
  padding: 1.5rem;
}

.back-home {
  text-decoration: none;
  color: inherit;
  font-size: 0.9rem;
}

.ruche-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.ruche-hero img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 2rem;
}

.ruche-text {
  max-width: 720px;
  margin: 0 auto;
}

.ruche-quote {
  font-size: 1.2rem;
  line-height: 1.6;
  font-style: italic;
}
