/* home.css */

/* ===================================
   HERO TICKET CARD
   =================================== */

.hero-ticket-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

.hero-ticket-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #2d3748;
  padding: 3px;
  border-radius: 3rem 1.5rem 3rem 1.5rem;
  clip-path: polygon(
    0% 8%,
    3% 3%,
    8% 0%,
    92% 0%,
    97% 3%,
    100% 8%,
    100% 50%,
    100% 92%,
    97% 97%,
    92% 100%,
    8% 100%,
    3% 97%,
    0% 92%,
    0% 50%
  );
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-ticket-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.ticket-content {
  background: #2d3748;
  border-radius: 3rem 1.5rem 3rem 1.5rem;
  clip-path: polygon(
    0% 8%,
    3% 3%,
    8% 0%,
    92% 0%,
    97% 3%,
    100% 8%,
    100% 50%,
    100% 92%,
    97% 97%,
    92% 100%,
    8% 100%,
    3% 97%,
    0% 92%,
    0% 50%
  );
  padding: 2.5rem 2rem;
  text-align: center;
}

.ticket-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.ticket-date {
  font-size: 1rem;
  color: #38bdf8;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ticket-detail {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
}

.ticket-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.price-label {
  font-size: 0.875rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.ticket-note {
  font-size: 0.8rem;
  color: #94a3b8;
  font-style: italic;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: #f97316;
  color: #111827;
  box-shadow: 0 8px 20px rgba(248, 113, 113, 0.25);
}

.btn-primary:hover {
  background: #fb923c;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.9);
  color: #e5e7eb;
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.8);
}

.btn-tickets {
  align-items: center;
  background-color: #ffffff;
  border: 2px solid #111;
  border-radius: 8px;
  box-sizing: border-box;
  color: #111;
  cursor: pointer;
  display: flex;
  font-size: 1.6rem;
  height: 48px;
  justify-content: center;
  line-height: 24px;
  max-width: 100%;
  padding: 0 25px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.btn-tickets:after {
  background-color: #111;
  border-radius: 8px;
  content: "";
  display: block;
  height: 48px;
  left: 0;
  width: 100%;
  position: absolute;
  top: -2px;
  transform: translate(8px, 8px);
  transition: transform 0.2s ease-out;
  z-index: -1;
}

.btn-tickets:hover:after {
  transform: translate(0, 0);
}

.btn-tickets:active {
  background-color: #ffdeda;
  outline: 0;
}

.btn-tickets:hover {
  outline: 0;
}

.btn:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 3px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ===================================
   HERO SECTION (FIXED: logo stays large, ticket always visible)
   =================================== */

.hero{
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;

  /* full-bleed inside a centered page wrapper */
  margin-left: calc(-50vw + 50%);
}

/* Background image layer */
.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;

  background-image: var(--hero-bg-1600);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  pointer-events: none;
}

/* Layout layer */
.hero-content{
  /* KEY FIX: give the hero its own sizing variables */
  --nav-safe: clamp(90px, 10vh, 140px);
  --ticket-h: clamp(110px, 16vh, 150px);
  --gap: clamp(14px, 3vh, 28px);

  position: relative;
  z-index: 2;

  height: 100%;
  width: 100%;

  display: grid;
  grid-template-rows: auto auto auto;
  align-content: center;
  justify-items: center;
  align-items: stretch;

  padding-bottom: clamp(18px, 3vh, 34px);

  row-gap: var(--gap);
}

/* Logo wrapper (centered) */
.hero-brand{
  grid-row: 1;
  width: min(92vw, 1250px);       /* keep it large like your screenshot */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo image */
.hero-logo{
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;

  /* KEY FIX: cap based on ticket height + nav space so ticket can’t get pushed off-screen */
  max-height: calc(100svh - var(--nav-safe) - var(--ticket-h) - (var(--gap) * 2) - 24px);
}

.hero-tagline {
  grid-row: 2;
  text-align: center;
  color: #fff;
  text-shadow: 0px 0px 20px #000000;
  max-width: 600px;
  margin: 0 auto;
}

/* Ticket area (centered, always visible) */
.ticket-cta{
  grid-row: 3;
  align-self: start;

  width: min(90vw, 520px);
  height: var(--ticket-h);

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

  background-image: var(--cta-bg-800);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.35));

  margin-top: 20px;
}

/* IMPORTANT: keep CTA truly centered */
.hero-btn{
  margin-left: 0;
}

.hero-image-btn {
  display: inline-block;
  width: 100%;
  max-width: 160px; /* control size here */
  text-decoration: none;
  background-color: #c873f5;
  color: #fff;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 400;
  padding: 0.55rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(70, 70, 70, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 2px solid #6600ff;
}
.cta-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.hero-image-btn:hover .cta-image {
  transform: translateY(-4px);
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.4));
}
/* ===================================
   INFO GRID SECTION
   =================================== */
.info-grid-section{
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 4rem 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.info-item {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.info-item-inner {
  position: relative;
  display: block;
  width: 100%;          /* not 90% */
  border-radius: 30px;  /* move radius here */
  overflow: hidden; 
}


.info-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0; 
}

.info-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: transparent;
}

.info-item h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.info-item p {
  color: #ffffff;
  line-height: 1.5;
  max-width: 85%;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* =========================================
   HOME – Alternating angled info sections
   ========================================= */

.landing-split-cards{
    padding: 0;
}

.landing-split-cards .container{
    max-width: 1400px;     /* SAME as .info-grid */
    margin: 0 auto;
    padding: 2rem 1rem;    /* SAME as .info-grid */
    display: grid;
    gap: 28px;
  
}

/* The full card */
.split-card{
  min-height: clamp(280px, 32vw, 420px);
  height: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  border-radius: 22px;
  overflow: hidden;
  width: 100%;
}


/* Main photo side */
.split-card__photo{
  position: relative;
  min-height: 0;  

}

.split-card__photo img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* keeps it nicely cropped */
  display: block;
}

/* Colour panel side */
.split-card__panel{
  position: relative;
  display: flex;
  align-items: stretch;         /* let inner fill full height */
  padding: 0;
}

/* Inner layout: text left, icon right */
.split-card__panel-inner{
  width: 100%;
  height: auto;                 /* was 100% */
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* was center (more likely to clip bottom) */
  gap: 14px;
  padding: 28px 28px;
}

.split-card__row{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;   
  column-gap: clamp(8px, 2vw, 24px);
}

.split-card__title{
  margin: 0 0 25px 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.split-card__desc{
  margin: 0 auto;
  max-width: 46ch;
  padding-bottom: 15px;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.split-card__icon{
  flex: 0 0 auto;
  width: 140px;
  height: 140px;
  display: none;
  place-items: center;
}

.split-card__icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Blue panel on the RIGHT overlaps image */
.split-card--blue-right .split-card__panel{
  margin-left: -48px;
  z-index: 2;
}

/* Yellow panel on the LEFT overlaps image */
.split-card--yellow-left .split-card__panel{
  margin-right: -48px;
  z-index: 2;
}

/* Ensure image stays underneath */
.split-card__photo{
  z-index: 1;
}

.split-card--blue-right .split-card__panel-inner{
  padding-left: clamp(48px, 30vw, 130px);
}

.split-card--yellow-left .split-card__panel-inner{
  padding-left: 28px;
  padding-right: clamp(48px, 5vw, 120px);
}

/* Themes */
.panel--blue{
  background: #ffffff;
}

.panel--yellow{
  background: #ffffff;
}

/* angled divider + overlap + seam fix */
.split-card--blue-right{
  grid-template-columns: 1.15fr 0.85fr;
}

.split-card--blue-right .split-card__panel{
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  margin-left: calc(-2 * clamp(36px, 4vw, 64px) - 2px);
  z-index: 2;
}

.split-card--blue-right .split-card__panel::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -3px;
  width: 6px;
  pointer-events: none;
}

.split-card--yellow-left{
  grid-template-columns: 0.85fr 1.15fr;
  margin-top: 48px;
}

.split-card--yellow-left .split-card__panel{
  order: 1;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  margin-right: calc(-2 * clamp(36px, 4vw, 64px) - 2px);
  z-index: 2;
}

.split-card--yellow-left .split-card__panel::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -3px;
  width: 6px;
  pointer-events: none;
}

.split-card--yellow-left .split-card__photo{
  order: 2;
}



/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===================================
   MEDIA QUERIES
   =================================== */

@media (max-width: 400px) {
  /* styles for 400px and below */

  .hero-logo {
    margin-top: 0 !important;
    margin-bottom: 100px;
  }

  .ticket-cta {
    width: 94vw;
  }

  .btn-tickets  {
    width: 200px;
    font-size: 1.3rem;
    margin-left: 10%;
  }
}

@media (min-width: 500px) {

  .btn-tickets  {
    margin-left: 20%;
  }
}

@media (max-width: 767px){
  .info-item-inner{
    aspect-ratio: 3 / 2; /* or 4/3 if you want it taller */
  }
}

/* Overlay stays inside card */
.info-item-content{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 1.25rem;
  max-width: 100%;

  /* optional but very useful so text stays readable */
  background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0));
}

/* Don’t artificially constrain text width on tiny screens */
.info-item p{
  max-width: 100%;
  overflow-wrap: anywhere; /* prevents long words from pushing out */
}

@media (max-width: 900px){
  .hero-content {
  }
  .hero-logo{
  }


}

/* Mobile: remove overlap + clip-path so it stacks cleanly */
@media (max-width: 900px){
  .split-card{
    grid-template-columns: 1fr;
    height: auto;
  }

  .split-card__photo{
    height: 240px;
  }

  .split-card--blue-right .split-card__panel,
  .split-card--yellow-left .split-card__panel{
    margin-left: 0;
    margin-right: 0;
    clip-path: none;
  }

  .split-card--blue-right .split-card__panel::after,
  .split-card--yellow-left .split-card__panel::after{
    display: none;
  }

  .split-card--blue-right .split-card__panel-inner,
  .split-card--yellow-left .split-card__panel-inner{
    padding: 22px 20px;
  }

  .split-card__icon{
    width: 74px;
    height: 74px;
  }
}

@media (max-width: 1024px){
  .split-card{
    grid-template-columns: 1fr;
    height: auto;

  }

  .split-card__photo{
    height: 240px;
  }

  .split-card--blue-right .split-card__panel,
  .split-card--yellow-left .split-card__panel{
    margin-left: 0;
    margin-right: 0;
    clip-path: none;
  }

  .split-card--blue-right .split-card__panel::after,
  .split-card--yellow-left .split-card__panel::after{
    display: none;
  }

  .split-card--blue-right .split-card__panel-inner,
  .split-card--yellow-left .split-card__panel-inner{
    padding: 22px 20px;
    text-align: center;
  }


  .split-card__icon{
    width: 74px;
    height: 74px;
  }
}

@media (min-width: 640px) {
  .hero {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  .info-grid {
    gap: 1.4rem;
  }

  .hero-logo{
    margin-top: 0;
  }

  .ticket-cta{
    margin-top: 0;
  }

.hero-btn{
  margin-left: 20%;
}

  
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 3rem 2rem;
  }

  .info-item {
    aspect-ratio: 3 / 2;
  }

  .info-item-content {
    padding: 2rem;
  }

}

@media (min-width: 1024px) {
  .info-grid {
    gap: 7rem;
    padding: 4rem 3rem;
  }

  .info-item {
    aspect-ratio: 16 / 11;
  }

  .info-item:hover .info-item-inner {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
  }

  .info-item-content {
    padding: 2.5rem 3rem;
  }

  .landing-split-cards {
    padding: 4rem 3rem;
  }

  /* keep logo BIG on desktop */
  .hero-brand{
    width: min(78vw, 1400px);
  }

  
}

@media (min-width: 1280px) {
  .info-grid {
    padding: 5rem 4rem;
  }

  .info-item {
    aspect-ratio: 3 / 2;
  }

  /* keep logo BIG on very large screens */
  .hero-brand{
    width: min(72vw, 1500px);
  }
}

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-ticket-card,
  .btn {
    transition: none;
  }
}

/* ===================================
   UNIFORM WRAPPER FOR BOTH SECTIONS
   =================================== */

.home-sections{
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 1rem;   /* one consistent gutter system */
  display: grid;
  gap: 28px;            /* same spacing between “rows” */
}

/* Let each section use the same wrapper width */
.info-grid-section{
  width: auto;
  margin-left: 0;
  padding: 0;
}

/* ===================================
   INFO GRID: keep your styling, fix sizing
   =================================== */

.info-grid{
  width: 100%;
  max-width: none;      /* wrapper controls max width now */
  margin: 0;
  padding: 0;           /* wrapper controls padding now */
}

/* IMPORTANT: remove the 520px cap so the two cards match the grid width */
.info-item{
  max-width: none;
  margin: 0;
}

/* keep your existing inner styles as-is */
.info-item-inner{
  width: 100%;
}

/* ===================================
   SPLIT CARDS: keep styling, match wrapper
   =================================== */

.landing-split-cards{
  padding: 0;
}

.landing-split-cards .container{
  max-width: none;
  margin: 0;
  padding: 0;
}

/* ===================================
   LAYOUT BEHAVIOUR YOU ASKED FOR
   - 2 cards side-by-side on large
   - split cards full width
   - stack on smaller screens
   =================================== */

@media (min-width: 768px){
  .info-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 28px; /* match home-sections gap */
  }
}

/* keep split cards full-width always (they already are) */
.split-card{
  width: 100%;
}