/* ============================================
   Logo Sports — Landing Page Styles
   app.css  (classes renamed to bust old cache)
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── VARIABLES ── */
:root {
  --navy:       #0f0f1a;
  --navy-mid:   #1a1a2e;
  --work-bg:    #1a5c7a;
  --school-bg:  #2c4a6e;
  --amber:      #f0b429;
  --amber-dark: #1a1a2e;
  --white:      #ffffff;
  --white-60:   rgba(255,255,255,0.6);
  --white-15:   rgba(255,255,255,0.15);
  --white-08:   rgba(255,255,255,0.08);
  --divider:    rgba(255,255,255,0.10);
}

/* ── BASE ── */
html {
  height: 100%;
}

body {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-top: 57px; /* nav height */
}

/* ── NAV ── */
.lx-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 32px;
  background: #000000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 0.5px solid var(--white-08);
}

.lx-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
}

.lx-brand-img {
  height: 60px;
  width: auto;
  display: block;
}

.lx-brand-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white-60);
}

/* ── HERO: SPLIT ── */
.lx-split {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.lx-card {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 36px;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Panels no longer expand on hover */

/* Panel background — swap background-color for background-image when real photos are ready */
.lx-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gentle grow/shrink pulse on hover instead of the expand animation */
@keyframes lx-pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.lx-card:hover .lx-card-bg { animation: lx-pulse 3s ease-in-out infinite; }

/* Background colour stays as fallback; image loads on top when the file exists */
.lx-card--work .lx-card-bg {
  background-color: var(--work-bg);
  background-image: url(../media/images/work-wear.jpg);
}
.lx-card--school .lx-card-bg {
  background-color: var(--school-bg);
  background-image: url(../media/images/school-wear.jpg);
}

.lx-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}

.lx-card-divider {
  width: 1px;
  background: var(--divider);
  z-index: 10;
  flex-shrink: 0;
}

.lx-card-body {
  position: relative;
  z-index: 3;
}

.lx-card-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 8px;
  color: var(--white);
}

.lx-card-sub {
  font-size: 14px;
  color: var(--white-60);
  margin-bottom: 24px;
  line-height: 1.5;
}

.lx-card-btn {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.75);
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  width: 100%;
  text-align: center;
}

.lx-card-btn:hover {
  background: var(--white);
  color: var(--navy);
}

/* ── KIT BAR ── */
.lx-kit {
  background: #000000;
  border-top: 0.5px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 48px;
}

.lx-kit-left { flex: 1; }

.lx-kit-tag {
  display: inline-block;
  background: rgba(240,180,41,0.12);
  border: 0.5px solid rgba(240,180,41,0.4);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--amber);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.lx-kit-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 5px;
}

.lx-kit-desc {
  font-size: 13px;
  color: var(--white-60);
  line-height: 1.6;
}

.lx-kit-cta {
  display: inline-block;
  background: var(--amber);
  color: var(--amber-dark);
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.lx-kit-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  /* Switch from the fixed full-screen app shell to a normal scrolling page */
  html { height: auto; }
  body {
    height: auto;
    min-height: 100dvh;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
  }
  main {
    flex: none;
    display: block;
    overflow: visible;
    height: auto;
  }

  .lx-split {
    display: flex;
    flex-direction: column;
    flex: none;
    height: auto;
    overflow: visible;
  }

  /* Three equal sections — each at least one third of the screen,
     growing to fit content so areas never overlap */
  .lx-card,
  .lx-kit {
    min-height: calc((100dvh - 57px) / 3);
  }

  .lx-card {
    flex: none;
    height: auto;
    padding: 28px 20px;
    transition: none;
  }

  .lx-card:hover .lx-card-bg { animation: none; transform: none; }

  .lx-card-divider {
    width: 100%;
    height: 1px;
  }

  .lx-card-title { font-size: 24px; }
  .lx-card-btn   { max-width: 100%; }

  .lx-kit {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 20px;
    gap: 14px;
  }

  .lx-kit-cta {
    width: 100%;
    text-align: center;
    padding: 14px 0;
  }
}
