/* BotCafe — cafe + dining split section */

.cafe {
  background: var(--ink);
  padding: 5.5rem 5vw 6.5rem;
  position: relative;
  overflow: hidden;
  font-family: "Fredoka", "Poppins", sans-serif;
}

.cafe__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* photo pile: one main dining shot + two peeking snapshots (table + sofa) */
.cafe__gallery {
  position: relative;
}

/* tilted polaroid-style photo card */
.cafe__media {
  position: relative;
  transform: rotate(-2deg);
  border: 4px solid var(--yellow);
  border-radius: 22px;
  box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.cafe__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cafe__media--sub {
  position: absolute;
  width: 48%;
  aspect-ratio: 4 / 3;
  border-width: 5px;
  border-radius: 16px;
  z-index: 2;
  transition: transform 0.2s ease;
}

.cafe__media--sub:hover { transform: scale(1.04) rotate(0deg) !important; z-index: 3; }

.cafe__media--table {
  bottom: -2rem;
  left: -2.4rem;
  transform: rotate(-7deg);
  border-color: var(--cyan);
  box-shadow: 7px 9px 0 rgba(0, 172, 220, 0.4), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.cafe__media--sofa {
  top: -2rem;
  right: -2.4rem;
  transform: rotate(6deg);
  border-color: var(--pink);
  box-shadow: 7px 9px 0 rgba(238, 42, 123, 0.4), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.cafe__flag {
  position: absolute;
  top: 18px;
  left: 0;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 0.45rem 1.2rem 0.45rem 0.9rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%);
}

.cafe__kicker {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.2rem;
  transform: rotate(-2deg);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50%);
  margin-bottom: 1.1rem;
}

.cafe__title {
  margin: 0 0 1rem;
  color: #fff;
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.cafe__title em { font-style: normal; color: var(--yellow); }

.cafe__text {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 52ch;
}

.cafe__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.cafe__chip {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid var(--cyan);
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.cafe__chip:nth-child(odd) { transform: rotate(-1.5deg); border-color: var(--yellow); }
.cafe__chip:nth-child(even) { transform: rotate(1.5deg); }

.cafe__ctas { display: flex; gap: 0.85rem; }

/* reuse hero CTA look without depending on hero.css load order */
.cafe__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 3px solid var(--cyan);
  transition: transform 0.15s ease;
  color: #fff;
}

.cafe__cta:hover { transform: translateY(-2px); }
.cafe__cta--pink { background: var(--pink); }

.cafe__doodle {
  position: absolute;
  pointer-events: none;
  color: var(--pink);
  opacity: 0.9;
}

.cafe__doodle--steam {
  top: 8%;
  right: 5%;
  width: 70px;
  color: var(--cyan);
  transform: rotate(8deg);
}

@media (max-width: 980px) {
  .cafe__inner { grid-template-columns: 1fr; gap: 2.5rem; max-width: 520px; }
  .cafe__gallery { margin: 0 auto 2.5rem; padding-top: 2.4rem; }
  .cafe__media { transform: rotate(0); }
  .cafe__media--table { bottom: -1.4rem; left: -0.8rem; width: 54%; transform: rotate(-6deg); }
  .cafe__media--sofa { top: -1.4rem; right: -0.8rem; width: 54%; transform: rotate(6deg); }
}

@media (max-width: 560px) {
  .cafe__media--table, .cafe__media--sofa { width: 46%; }
}
