/* =========================
   Base
========================= */
:root{
  --red: #b00000;
  --black: #000000;
  --gray: #bfbfbf;
  --white: #ffffff;
  --max: 1200px;

  /* Contact straddle tuning (DO NOT set these to 100/100) */
  --contact-overlap: 85px; /* “landing space” inside contact section */
  --contact-lift: 28px;    /* extra lift so cards straddle the hero line */
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
  background: #fff;
}

h1, h2{
  font-family: "Odibee Sans", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0;
}

a{ color: inherit; }

/* =========================
   Top Bar
========================= */
.topbar{
  background-color: var(--gray);
  background-image: url("../grayback.jpg");
  background-repeat: repeat;
  background-position: center;
  position: relative;
  z-index: 50;
}

.topbar-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand img{
  height: 70px;
  width: auto;
  display: block;
}

.topbar-actions{
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 2px solid var(--red);
  transition: transform .15s ease, background .15s ease;
}

.icon-btn:hover{
  transform: translateY(-1px);
  background: var(--black);
}

.icon-btn svg{
  width: 22px;
  height: 22px;
  fill: var(--white);
}

/* Thin red line under the gray bar */
.topbar-divider{
  height: 2px;
  background: var(--red);
}

/* =========================
   HOME: Header hang into hero
========================= */
.home .topbar-inner{
  padding-top: 10px;
  padding-bottom: 6px;
}

.home .brand{
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
  transform: translateY(28px);
}

.home .brand img{
  height: 100px;
}

.home .topbar-actions{
  position: relative;
  top: 55px;
}

.home .icon-btn{
  width: 46px;
  height: 46px;
}

/* =========================
   HOME: Hero (home page only)
========================= */
.home .hero{
  position: relative;
  z-index: 0;                  /* stable stacking context */
  background: var(--black);
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;

  /* clears hanging header */
  padding: 72px 0 54px;

  /* critical: allow the contact cards to overlap */
  overflow: visible;
}

/* Slideshow wrapper */
.home .hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden; /* contains Ken Burns zoom */
}

/* Slides */
.home .bg-slide{
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: grayscale(100%);
  opacity: 0;
  transform: scale(1.06);
  will-change: opacity, transform;
  animation: heroFadeZoom 24s infinite ease-in-out;
}

.home .bg-slide.s1{ animation-delay: 0s; }
.home .bg-slide.s2{ animation-delay: 6s; }
.home .bg-slide.s3{ animation-delay: 12s; }
.home .bg-slide.s4{ animation-delay: 18s; }

@keyframes heroFadeZoom{
  0%   { opacity: 0; transform: scale(1.06); }
  10%  { opacity: 1; transform: scale(1.04); }
  33%  { opacity: 1; transform: scale(1.01); }
  43%  { opacity: 0; transform: scale(1.00); }
  100% { opacity: 0; transform: scale(1.00); }
}

.home .bg-slide.s1{ background-image: url("../img/winners/winner-1.jpg"); }
.home .bg-slide.s2{ background-image: url("../img/winners/winner-2.jpg"); }
.home .bg-slide.s3{ background-image: url("../img/winners/winner-3.jpg"); }
.home .bg-slide.s4{ background-image: url("../img/winners/winner-4.jpg"); }

/* Hero content above slideshow */
.home .hero-inner{
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 46px;
  align-items: center;
}

/* Left card */
.home .hero-card{
  max-width: 760px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.home .hero-card-inner{
  padding: 58px 54px;
}

.home .hero-card h1{
  color: #fff;
  font-size: 86px;
  line-height: 0.95;
  text-transform: uppercase;
}
.home .hero-card img{
 width: auto;
    max-height: 150px;
}
.home .hero-sub{
  margin: 18px 0 26px;
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  line-height: 1.55;
  max-width: 560px;
}

/* Buttons */
.btn-primary{
  display: inline-block;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 800;
  padding: 16px 26px;
  border: 2px solid var(--red);
  transition: background .15s ease, transform .15s ease;
}

.btn-primary:hover{
  background: #000;
  transform: translateY(-1px);
}

/* Right column sales cards */
.home .sales{
  display: grid;
  gap: 18px;
}

.home .sales-card{
  background: #fff;
  border: 1px solid #d9d9d9;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  padding: 22px 22px 20px;
}

.home .sales-kicker{
  font-family: "Odibee Sans", Arial, sans-serif;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 18px;
  margin-bottom: 8px;
}

.home .sales-title{
  font-family: "Odibee Sans", Arial, sans-serif;
  text-transform: uppercase;
  font-size: 42px;
  line-height: 1.0;
  margin-bottom: 8px;
}

.home .sales-meta{
  color: #333;
  margin-bottom: 18px;
}

.home .sales-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-outline{
  display: inline-block;
  background: transparent;
  border: 2px solid var(--red);
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 800;
  padding: 12px 18px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.btn-outline:hover{
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

/* HERO bottom red line: above slideshow, behind overlapping cards */
.home .hero::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--red);
  z-index: 3;
  pointer-events: none;
}

/* =========================
   HOME: Contact strip (cards straddle hero line)
   IMPORTANT: no negative margin tricks here (this is the stable version)
========================= */
.home .hp-contact{
  position: relative;
  z-index: 10;
  background: #0b0b0b;
  margin-top: 0;

  /* Create the internal space required for the translate */
  padding: var(--contact-overlap) 0 12px; /* bottom is intentionally tight */
}

.home .hp-contact__inner{
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;

  /* Pull ONLY the cards upward into the hero */
  transform: translateY(calc(-1 * (var(--contact-overlap) + var(--contact-lift))));
}

.hp-contact__card{ text-align: center; }

.hp-contact__img{
  border: 3px solid var(--red);
  background: #111;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}

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

.hp-contact__meta{ padding-top: 10px; }

.hp-contact__label{
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hp-contact__name{
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255,255,255,0.88);
}
/* Contact info line under cards */
.hp-contact__info{
  position: relative;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin-top: 16px;
  text-align: center;

  font-family: Arial, sans-serif;
  font-size: 13px;          /* slightly larger */
  line-height: 1.4;
  color: #fff;
  opacity: 0.9;

  white-space: nowrap;      /* keep on one line */
}

/* Address + bullet + phone inherit sizing */
.hp-contact__info *{
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    font-weight: 600;
    text-transform: uppercase;
}

/* Bullet subtlety */
.hp-contact__info-sep{
  opacity: 0.7;
}

/* Phone link */
.hp-contact__info-link{
  text-decoration: none;
  font-weight: 600;
}
.hp-contact__info-link:hover{
  text-decoration: underline;
}

/* Because hp-contact__inner is a GRID, force the info row to span all columns */
.hp-contact__info{
  grid-column: 1 / -1;     /* span full grid row */
  justify-self: center;    /* center the whole block within the grid */
  width: 100%;
}

/* Keep the content itself centered and on one line */
.hp-contact__info{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
  white-space: nowrap;
  font-size: 20px;
  line-height: 1.4;
}

/* Red lines */
.hp-contact__info::before,
.hp-contact__info::after{
  content: "";
  flex: 1;
  height: 4px;
  background: var(--red);
  opacity: 0.85;
}

/* Prevent lines from getting too long on wide screens */
.hp-contact__info::before,
.hp-contact__info::after{
  max-width: 180px;
}

/* Mobile: allow wrap + keep it readable */
@media (max-width: 640px){
  .hp-contact__info{
    white-space: normal;      /* allow wrapping */
    flex-wrap: wrap;
    font-size: 12px;
    line-height: 1.35;
    gap: 8px;
    padding: 0 14px;          /* keeps text off the edges */
  }

  .hp-contact__info-item{
    white-space: normal;
    text-align: center;
  }

  /* Keep phone intact */
  .hp-contact__info-link{
    white-space: nowrap;
  }

  /* Side lines don’t work well when wrapped; hide them on mobile */
  .hp-contact__info::before,
  .hp-contact__info::after{
    display: none;
  }
}

/* =========================
   Footer (final)
========================= */
.site-footer{
  background: #000;
  border-top: 3px solid var(--red);

  /* pull up into the dead space */
  margin-top: calc(-1 * var(--contact-overlap));

  /* ensure footer renders above the hp-contact background layer */
  position: relative;
  z-index: 20;
}

.site-footer__inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.site-footer__copyright{
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  letter-spacing: 0.04em;
  margin: 0;
}

.site-footer__powered{
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer__powered img{
  height: 22px;
  width: auto;
  display: block;
}


/* =========================
   Responsive
========================= */
@media (max-width: 980px){
  .home .hero-inner{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home .hero-card-inner{ padding: 40px 26px; }
  .home .hero-card h1{ font-size: 64px; }

  .home .hp-contact__inner{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px){
  .home .topbar{
    background: #000;
    background-image: none;
  }

  .home .topbar-divider{ display: none; }

  .home .topbar-inner{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 0;
  }

  .home .topbar-actions{
    order: 1;
    position: relative;
    top: 0;
    justify-content: center;
    width: 100%;
  }

  .home .brand{
    order: 2;
    transform: none;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .home .brand img{ height: 84px; }

  .home .hero{ padding-top: 24px; }

  .home .hero-bg,
  .home .bg-slide{ display: none; }

  .home .hero{ background: #000; }

  .home .sales-title{ font-size: 34px; }
  .home .hero-card h1{ font-size: 52px; }
}

@media (max-width: 520px){
  :root{
    --contact-overlap: 55px;
    --contact-lift: 18px;
  }

  .home .hp-contact{ padding-bottom: 10px; }
  .home .hp-contact__inner{ gap: 16px; }

  .hp-contact__label{ font-size: 11px; }
  .hp-contact__name{ font-size: 12.5px; }
}

/* =========================
   WINNERS PAGE (no hero/contact)
========================= */
.winners .topbar-actions{
  position: static;
  top: auto;
}

.winners-page{
  background: #000;
  padding: 44px 0 60px;
}

.winners-page__inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.winners-title{
  font-family: "Odibee Sans", Arial, sans-serif;
  text-transform: uppercase;
  color: #fff;
  font-size: 84px;
  line-height: 1;
  margin: 16px 0 18px;
}

/* =========================
   Year Filter
========================= */
.winners-filter{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 26px;
}

.year-btn{
  font-family: "Odibee Sans", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 22px;
  line-height: 1;

  padding: 8px 22px;
  border-radius: 6px;

  background: var(--red);
  color: #111;
  border: 2px solid #fff;

  cursor: pointer;
  white-space: nowrap;

  transition:
    background .15s ease,
    color .15s ease,
    transform .12s ease;
}

.year-btn:hover{
  background: #fff;
  color: var(--red);
  transform: translateY(-1px);
}

.year-btn.is-active{
  background: #fff;
  color: var(--red);
  transform: none;
}

/* =========================
   WINNERS GRID
========================= */
.winners-grid{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 40px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* =========================
   WINNER CARD
========================= */
.winner-card{
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: 0 16px 44px rgba(0,0,0,0.55);
}

/* =========================
   IMAGE AREA (uniform height)
========================= */

/* One consistent frame size for ALL cards */
.winner-media{
  aspect-ratio: 4 / 3;      /* keep landscape frame everywhere */
  background: #000;
  overflow: hidden;

  /* top-align + center horizontally */
  display: flex;
  justify-content: center;
  align-items: flex-start;

  /* IMPORTANT: border is no longer here */
  border: 0;
}

/* Border hugs the actual photo */
.winner-media img{
  display: block;
  border: 3px solid var(--red);
  box-sizing: border-box;
}

/* LANDSCAPE / default behavior */
.winner-card:not(.is-portrait) .winner-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PORTRAIT behavior (same frame height as landscape, top aligned) */
.winner-card.is-portrait .winner-media img{
  height: 100%;            /* matches the landscape frame height */
  width: auto;
  max-width: 100%;
  object-fit: contain;     /* show full portrait */
  object-position: top center;
}


/* =========================
   YEAR FILTERING (CSS-DRIVEN)
========================= */
.winner-card{ display: none; }

.winners-grid[data-active-year="all"]  .winner-card{ display: block; }
.winners-grid[data-active-year="2025"] .winner-card[data-year="2025"]{ display: block; }
.winners-grid[data-active-year="2024"] .winner-card[data-year="2024"]{ display: block; }
.winners-grid[data-active-year="2023"] .winner-card[data-year="2023"]{ display: block; }
.winners-grid[data-active-year="2022"] .winner-card[data-year="2022"]{ display: block; }
.winners-grid[data-active-year="2021"] .winner-card[data-year="2021"]{ display: block; }

/* =========================
   CAPTION
========================= */
.winner-caption{
  padding: 14px 14px 16px;
  text-align: center;
}

.winner-title{
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.winner-show{
    color: #EE3C3F;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.winner-meta{
  color: rgba(255,255,255,0.90);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.winner-breeding{
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .winners-title{ font-size: 64px; }

  .year-btn{
    font-size: 20px;
    padding: 8px 18px;
  }

  .winners-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 600px){
  .winners-title{ font-size: 46px; }

  /* Scrollable year filter */
  .winners-filter{
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 10px;
    margin: 8px -20px 18px;
    gap: 10px;
  }

  .year-btn{
    font-size: 18px;
    padding: 8px 16px;
    flex: 0 0 auto;
  }

  .winners-grid{
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 14px 30px;
  }

  .winner-caption{ padding: 12px 12px 14px; }
  .winner-title{ font-size: 12px; }
  .winner-show{ font-size: 11px; }
  .winner-meta,
  .winner-breeding{ font-size: 10px; }
}

/* =========================
   Scroll to Top Arrow
========================= */
#scrollTopBtn{
  position: fixed;
  right: 18px;
  bottom: 18px;

  width: 48px;
  height: 48px;
  border-radius: 50%;

  background: var(--red);
  color: #fff;

  border: none;
  cursor: pointer;

  font-size: 26px;
  line-height: 1;
  font-weight: 700;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .2s ease,
    transform .2s ease;

  z-index: 9999; /* ← THIS is critical */
}

#scrollTopBtn:hover{
  transform: translateY(-2px);
}

/* Visible state */
#scrollTopBtn.is-visible{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* HERO CARD: responsive container */
.hero-card{
  position: relative;
  padding: clamp(16px, 3vw, 28px) 12px;
}

.hero-card-inner{
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 44px) clamp(14px, 3vw, 40px);
  text-align: center;

  /* keep your existing look (border/shadow/etc) if you already have them */
  box-sizing: border-box;
}

/* LOGO: scales down without cropping/squeezing */
.hero-logo{
  width: 100%;
  max-width: 720px;          /* adjust to taste */
  margin: 0 auto clamp(14px, 2.5vw, 24px);
}

.hero-logo img{
  display: block;
  width: 100%;
  height: auto;              /* critical: prevents distortion */
  max-width: 100%;
}

/* TYPE: scales smoothly on mobile */
.hero-card h1{
  margin: 0 0 10px;
  font-size: clamp(28px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.hero-sub{
  margin: 0 auto clamp(16px, 3vw, 26px);
  max-width: 44ch;
  font-size: clamp(15px, 2.3vw, 20px);
  line-height: 1.45;
}

/* BUTTON: mobile-friendly width */
.btn-primary{
  display: inline-block;
  width: auto;
  max-width: 100%;
  padding: 14px 22px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: normal;
}
.hero-card-inner{
  text-align: left;
}

@media (max-width: 520px){
  .hero-card-inner{
    padding: 18px 14px;
  }

  .hero-logo,
  .hero-card-inner > img{
    display: none;
  }

  .btn-primary{
    width: 100%;
    text-align: center;
  }
}

.sales-placeholder {
  opacity: 0.75;
}

.sales-placeholder .sales-actions {
  display: none;
}




