

.heroxLargeCard,
.xLargeCard,
.heroLargeCard,
.heroWideCard,
.heroLongCard,
.heroSmallCard {
  background: linear-gradient(
    135deg,
    rgba(105, 10, 10, 0.9),
    rgba(40, 5, 5, 0.85)
  );
}

.heroxLargeCard,
.heroLargeCard,
.heroSmallCard {
  animation-duration: 9s;
}

.heroLongCard {
  min-height: 600px;
}





/* Hero typography */
.heroCard h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.heroCard p {
  max-width: 60ch;
  font-size: 1.1rem;
  opacity: 0.9;
}





.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  opacity: 0.7;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.1;
  margin: 1rem 0;
}

.hero-subtitle {
  max-width: 60ch;
  font-size: .7rem;
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-btn {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
      background: rgb(205, 200, 200);
  box-shadow: 
    0 0 15px rgba(220, 38, 38, 0.9),
    0 0 30px rgba(220, 38, 38, 0.8),
    0 0 45px rgba(220, 38, 38, 0.7),
    #000000 0px 3px 8px;
  transform: rotate(-10deg) scale(1.05);
}

.hero-btn.primary {
  background: #780000;
  color: #ffffff;
}

.hero-btn.ghost {
  border: 1px solid rgba(255,255,255,0.6);
  color: #860303;
}

.hero-btn:hover {
  transform: translateY(-2px);
}





.hero-btn.blue {
background: blue;
color: #ffffff;
align-content: center;
font-size: 18px;
text-align: center;
  box-shadow: 
    0 0 15px rgba(44, 46, 164, 0.9),
    0 0 30px rgba(63, 60, 60, 0.8),
    0 0 45px rgba(220, 38, 38, 0.7),
    #000000 0px 3px 8px;
  transform: rotate(-10deg) scale(1.05);


}
.hero-btn.blue:hover{
background: #000;
color: #c6bbbb;

  box-shadow: 
    0 0 15px rgba(176, 164, 164, 0.9),
    0 0 30px rgba(63, 60, 60, 0.8),
    0 0 45px rgba(220, 38, 38, 0.7),
    #000000 0px 3px 8px;
  transform: rotate(-10deg) scale(1.05);
    transform: translateY(-2px);

}


.hero-btn.pink {
background: rgb(126, 39, 110);
color: #ffffff;
align-content: center;
font-size: 18px;
text-align: center;
  box-shadow: 
    0 0 15px rgba(136, 44, 164, 0.9),
    0 0 30px rgba(63, 60, 60, 0.8),
    0 0 45px rgba(220, 38, 38, 0.7),
    #000000 0px 3px 8px;
  transform: rotate(-10deg) scale(1.05);


}
.hero-btn.pink:hover{
background: #000;
color: #c6bbbb;

  box-shadow: 
    0 0 15px rgba(176, 164, 164, 0.9),
    0 0 30px rgba(63, 60, 60, 0.8),
    0 0 45px rgba(220, 38, 38, 0.7),
    #000000 0px 3px 8px;
  transform: rotate(-10deg) scale(1.05);
    transform: translateY(-2px);

}




.hero-btn.beige {
background: rgb(126, 113, 39);
color: #ffffff;
align-content: center;
font-size: 18px;
text-align: center;
  box-shadow: 
    0 0 15px rgba(164, 126, 44, 0.9),
    0 0 30px rgba(63, 60, 60, 0.8),
    0 0 45px rgba(220, 38, 38, 0.7),
    #000000 0px 3px 8px;
  transform: rotate(-10deg) scale(1.05);


}
.hero-btn.beige:hover{
background: #5b510e;
color: #c6bbbb;

  box-shadow: 
    0 0 15px rgba(176, 164, 164, 0.9),
    0 0 30px rgba(63, 60, 60, 0.8),
    0 0 45px rgba(220, 38, 38, 0.7),
    #000000 0px 3px 8px;
  transform: rotate(-10deg) scale(1.05);
    transform: translateY(-2px);

}









.hero-btn.white {
background: rgb(114, 121, 117);
color: #ffffff;
  box-shadow: 
    0 0 15px rgba(8, 87, 71, 0.9),
    0 0 30px rgba(63, 60, 60, 0.8),
    0 0 45px rgba(220, 38, 38, 0.7),
    #000000 0px 3px 8px;
  transform: rotate(-10deg) scale(1.05);

}
.hero-btn.white:hover{
background: #000000;
color: #c6bbbb;
  box-shadow: 
    0 0 15px rgba(118, 122, 123, 0.9),
    0 0 30px rgba(63, 60, 60, 0.8),
    0 0 45px rgba(220, 38, 38, 0.7),
    #000000 0px 3px 8px;
  transform: rotate(-10deg) scale(1.05);
    transform: translateY(-2px);

}








.hero-btn.teal {
background: rgb(5, 82, 99);
color: #ffffff;
  box-shadow: 
    0 0 15px rgba(8, 87, 71, 0.9),
    0 0 30px rgba(63, 60, 60, 0.8),
    0 0 45px rgba(220, 38, 38, 0.7),
    #000000 0px 3px 8px;
  transform: rotate(-10deg) scale(1.05);

}
.hero-btn.teal:hover{
background: #187c94;
color: #c6bbbb;
  box-shadow: 
    0 0 15px rgba(14, 57, 72, 0.9),
    0 0 30px rgba(63, 60, 60, 0.8),
    0 0 45px rgba(220, 38, 38, 0.7),
    #000000 0px 3px 8px;
  transform: rotate(-10deg) scale(1.05);
    transform: translateY(-2px);

}








.hero-btn.purple {
background: rgb(53, 12, 92);
color: #ffffff;
  box-shadow: 
    0 0 15px rgba(8, 87, 71, 0.9),
    0 0 30px rgba(63, 60, 60, 0.8),
    0 0 45px rgba(220, 38, 38, 0.7),
    #000000 0px 3px 8px;
  transform: rotate(-10deg) scale(1.05);

}
.hero-btn.purple:hover{
background: #6d2382;
color: #c6bbbb;
  box-shadow: 
    0 0 15px rgba(14, 57, 72, 0.9),
    0 0 30px rgba(63, 60, 60, 0.8),
    0 0 45px rgba(220, 38, 38, 0.7),
    #000000 0px 3px 8px;
  transform: rotate(-10deg) scale(1.05);
    transform: translateY(-2px);

}












.hero-btn.green {
background: rgb(12, 92, 38);
color: #ffffff;
  box-shadow: 
    0 0 15px rgba(8, 87, 71, 0.9),
    0 0 30px rgba(63, 60, 60, 0.8),
    0 0 45px rgba(220, 38, 38, 0.7),
    #000000 0px 3px 8px;
  transform: rotate(-10deg) scale(1.05);

}
.hero-btn.green:hover{
background: #b8acac;
color: #c6bbbb;
  box-shadow: 
    0 0 15px rgba(14, 57, 72, 0.9),
    0 0 30px rgba(63, 60, 60, 0.8),
    0 0 45px rgba(220, 38, 38, 0.7),
    #000000 0px 3px 8px;
  transform: rotate(-10deg) scale(1.05);
}







/* ======================
   HERO BASE
====================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* ======================
   MEDIA (OPTIONAL)
====================== */
.hero-media {
  position: absolute;
  inset: 0;
  border: #fff;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  border: #fff;
  transform: scale(1.05);
}






/* Overlay content */
.hero-overlay {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgb(160, 2, 2)
  );
}
.hero-video {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}



.hero-media:hover,
.hero-video:hover {
  transform: rotate(-20deg) scale(1.03);
}

.hero-inner {
  position: relative;
  z-index: 1;

  max-width: 42ch;
  text-align: center;

  will-change: transform, opacity;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  opacity: 0.6;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  margin: 1.2rem 0;
}

.hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.85;
}

/* soft overlay for elegance */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.8)
  );
  z-index: 0;
}
@media (max-width: 648px) {

  .hero {
    min-height: 70vh;
    padding: 4rem 1.4rem;
  }

  .hero-inner {
    max-width: none;
    transform: none !important;
    opacity: 1 !important;
    text-align: left;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-media img {
    opacity: 0.25;
  }

}



.card-base .hero-media-wrap {
  position: relative; /* relative to card */
  width: 100%;
  overflow: hidden;   /* clip any overflowing image */
  border-radius: 12px; /* optional rounding */
  margin-bottom: 0.75rem; /* spacing before text */
}




.heroWideCard img {
  width: 100%;
  height: auto;       /* Keeps aspect ratio */
  max-height: 150px;  /* Optional: prevent card from being too tall */
  object-fit: cover;  /* Crops if necessary */
  display: block;
  border-radius: 8px; /* Optional for styling */
}
/* Restrict images inside hero cards */
.heroLargeCard img,
.heroWideCard img,
.heroSmallCard img,
.heroLongCard img {
  width: 100%;       /* Fill card width */
  height: auto;      /* Maintain aspect ratio */
  max-height: 150px; /* Prevent card from growing too much */
  object-fit: cover; /* Crop if needed */
  display: block;
  border-radius: 8px; /* optional styling */
}



