@charset "utf-8";
/* Logo Spin Reveal - all classes prefixed "lgfx-" so they won't clash with your site */

/* Demo filler so you can scroll - delete these on your real page */
.lgfx-demo-space {
  height: 80vh;
  display: grid;
  place-items: center;
  background: #f2f2f2;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
}

/* ---------- LOGO SPIN REVEAL ---------- */

/* Scroll runway. Its height is set automatically by the JS
   (panel height + pause before + spin + pause after).
   This value is only a fallback if JS is off. */
.lgfx-runway {
  position: relative;
  width: 100%;
  height: 2400px;
  font-family: 'Montserrat', sans-serif;
}

/* Stays pinned in view while the pauses and spin happen */
.lgfx-pin {
  position: sticky;
  top: 0;
  width: 100%;
  height: 900px;
  perspective: 1800px;
  overflow: hidden;          /* stops horizontal scrollbar during rotation */
}

.lgfx-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.lgfx-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

/* FRONT: video background */
.lgfx-front { background: #000; }
.lgfx-front video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BACK: text (left half) + image (right half, edge to edge) */
.lgfx-back {
  transform: rotateY(180deg);
  background: #FFFFFF;       /* change to your colour */
  color: #000;
  display: flex;
  align-items: stretch;
}

.lgfx-media {
  position: relative;
  order: 2;                  /* puts the image on the right */
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
}
.lgfx-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;         /* fills the whole half, cropping if needed */
    display: block;
    background-image: url(images/bg-shop-wall.jpg);
}

.lgfx-copy {
  flex: 0 0 50%;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 1;
  padding: 0 6% 0 8%;
}
.lgfx-copy h2 { font-size: 30px; font-weight: 700; margin: 0 0 16px; line-height: 1.15; max-width: 520px; }
.lgfx-copy p  { font-size: 20px; font-weight: 400; line-height: 1.7; margin: 0; max-width: 520px; }

@media (max-width: 800px) {
  .lgfx-back { flex-direction: column; }

  /* Image becomes a full-width band across the top */
  .lgfx-media {
    order: 1;                /* image stays on top on mobile */
    flex: 0 0 45%;
    width: 100%;
    height: 45%;
  }

  .lgfx-copy {
    order: 2;
    flex: 1 1 auto;
    width: 100%;
    justify-content: flex-start;
    padding: 30px 6%;
    text-align: center;
  }
  .lgfx-copy h2 { font-size: 32px; max-width: none; }
  .lgfx-copy p  { font-size: 23px; line-height: 1.6; max-width: none; }
}
