/* ============================================================
   SIGMA ENTERPRISES - EVENTS & EXHIBITIONS
   DEVELOPER HANDOFF / FULL STANDALONE PROTOTYPE CSS
   ------------------------------------------------------------
   LEGEND:
   [NEW - ADD TO STAGING] = Events-only code required for new pages.
   [PROTOTYPE ONLY - DO NOT PORT] = standalone header/footer/global
   emulation used only so this static prototype works independently.
   [REUSES SEP GLOBAL] = relies on classes/libraries already in SEP.

   IMPORTANT:
   For staging, use developer-handoff/events.staging.css instead of
   copying this complete prototype stylesheet.
   ============================================================ */

/* [PROTOTYPE ONLY - DO NOT PORT] Global overflow guard for standalone QA. */
html, body {
  overflow-x: hidden;
}

/* ========================================================================== 
   [NEW - ADD TO STAGING] 01. EVENTS LISTING + DETAIL HERO SYSTEM
   Image source is supplied in each HTML/Blade page, not in CSS.
   Desktop/tablet: full 1200x400 artwork. Mobile: crop with object-fit: cover.
   ========================================================================== */
.events-hero,
.event-detail-hero {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  min-height: 0;
  overflow: hidden;
  background-color: #0c152b;
}

.events-hero {
  color: #fff;
  border-bottom: 4px solid #ec3a34;
}

.events-hero__image,
.event-detail-hero__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 0;
}

.events-hero__overlay,
.event-detail-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.events-hero__overlay,
.event-detail-hero__overlay {
  background: linear-gradient(135deg, rgba(12, 21, 43, 0.92), rgba(12, 21, 43, 0.70));
}

.events-hero__container,
.event-detail-hero__container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
}

.events-hero-content {
  width: 100%;
  max-width: 560px;
  color: #fff;
  padding-top: 4px;
}

.events-hero h1 {
  font-family: "Whitney-Semibold", sans-serif;
  font-size: 48px;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
  max-width: 520px;
  margin: 0 0 18px;
}

.events-hero h2 {
  font-family: "Whitney-Medium", sans-serif;
  font-size: 27px;
  line-height: 1.25;
  color: #fff;
  max-width: 520px;
  margin: 0 0 16px;
}

.events-hero p {
  color: #fff;
  max-width: 480px;
  margin: 0 0 14px;
}

/* ============================================================
   EVENT ACCESS CODE TEXT - NEW
   ============================================================ */
.events-access-code {
  font-family: "Whitney-Medium", sans-serif;
  color: #fff;
  margin: 22px 0 0;
}

/* ========================================================================== 
   [NEW - ADD TO STAGING] 02. EVENTS LISTING + EVENT CARDS
   [REUSES SEP GLOBAL] .sub-heading and .btn.btn-primary
   ========================================================================== */
.events-listing {
  padding: 32px 0 58px;
}

.events-listing .sub-heading {
  margin-bottom: 10px;
}

.events-listing-intro {
  margin-bottom: 35px;
}

.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e0e4e8;
  box-shadow: 0 2px 8px rgba(12, 21, 43, 0.05);
}

.event-card-image {
  position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-card-image img {
  display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.event-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px 17px 16px;
  
}

.event-card h3 {
  font-family: "Whitney-Medium", sans-serif;
  font-size: 22px;
  line-height: 1.2;
  color: #0c152b;
  margin: 0 0 13px;
}

.event-card h3 a {
  color: inherit;
  text-decoration: none;
}

.event-card h3 a:hover {
  color: #ec3a34;
}

.event-card p {
  color: #26344c;
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 19px;
}
.event-detail-overview__cta h2{
  font-size: 2rem !important;
  line-height: 1.2 !important;
}
/* Smaller on tablets and phones */
@media (max-width: 991px) {
    .event-detail-overview__cta h2 { font-size: 2.25rem !important; }
}
@media (max-width: 575px) {
    .event-detail-overview__cta h2 { font-size: 1.75rem !important; }
}
.event-card-content a, .event-detail-overview__cta a {
  font-weight: bolder;
}
.event-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ========================================================================== 
   [NEW - ADD TO STAGING] 03. EVENT DETAIL HERO EXTENSION
   [REUSES SEP GLOBAL] .inner-banner / .inner-heading
   ========================================================================== */
.event-detail-hero {
  padding: 0;
  color: #fff;
}

.event-detail-hero__container {
  align-items: flex-end;
  padding-bottom: 42px;
}

.event-detail-hero-content {
  width: 100%;
  max-width: 560px;
  color: #fff;
}

.event-detail-hero .inner-heading {
  margin-bottom: 0;
  color: #fff;
  text-transform: uppercase;
}

/* ========================================================================== 
   [NEW - ADD TO STAGING] 04. EVENT DETAIL OVERVIEW (CTA + ABOUT)
   ========================================================================== */
.event-detail-overview {
  padding: 25px 0 0;
}

.event-detail-overview__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 50px;
  align-items: start;
  padding-bottom: 35px;
  border-bottom: 1px solid #d9d9d9;
}

.event-detail-overview__cta {
  padding: 28px 30px;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
}

.event-detail-overview__cta h2 {
  margin: 0 0 8px;
  font-family: "Whitney-Semibold", sans-serif;
  font-size: 24px;
  line-height: 1.25;
  color: #0c152b;
}

.event-detail-overview__cta p {
  margin: 0 0 18px;
}

.event-detail-overview__about {
  text-align: left;
}

.event-detail-overview__about .sub-heading {
  margin-bottom: 20px;
}

.event-detail-overview__about p {
  max-width: 900px;
  margin: 0;
}

/* ========================================================================== 
   [NEW - ADD TO STAGING] 05. PARTICIPATING PARTNERS
   [REUSES SEP GLOBAL] Slick engine/styles; Events JS controls finite/static state.
   ========================================================================== */
.event-partners {
  padding: 35px 0 55px;
  background: #fff;
  overflow: hidden;
}

.event-partners .sub-heading {
  margin-bottom: 35px;
}

.event-partners-slider {
  margin: 0;
}

.event-partners-slider.is-static {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.event-partners-slider .slick-track {
  margin-left: auto;
  margin-right: auto;
}

.event-partners-slider .slick-dots {
  display: flex;
  justify-content: center;
  text-align: center;
}

.event-partners-slider.is-static .event-partner-slide {
  flex: 0 1 190px;
  max-width: 190px;
  min-width: 0;
}

.event-partner-slide {
  height: 132px;
  padding: 0 20px;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px 0;
  color: #0c152b;
  text-decoration: none;
}

.partner-card:hover {
  color: #ec3a34;
  text-decoration: none;
}

.partner-card:focus {
  outline: 2px solid #ec3a34;
  outline-offset: 3px;
}

.event-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 80px;
}

.event-partner-logo img,
.partner-card img {
  display: block;
  width: 150px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto;
}

.partner-placeholder {
  font-family: "Whitney-Medium", sans-serif;
  font-size: 20px;
  line-height: 1.2;
  color: #0c152b;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

.partner-card:hover .partner-placeholder {
  color: #ec3a34;
}

/* ========================================================================== 
   [PROTOTYPE ONLY - DO NOT PORT] 06. STATIC HEADER / MOBILE NAV EMULATION
   Real staging already uses _menu.blade.php, style.css and mobile-nav.js.
   ========================================================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.mobile-nav-toggle {
  position: fixed;
  right: 12px;
  top: 0;
  z-index: 9998;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 0;
  background: none;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.mobile-nav-toggle i {
  margin: 0;
  line-height: 1;
}

header.sticky .mobile-nav-toggle {
  height: 56px;
}

header.sticky .mobile-nav-toggle i {
  color: #000;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff !important;
}

.mobile-nav-toggle:focus {
  outline: 2px solid #fff !important;
  outline-offset: 3px;
}

/* ========================================================================== 
   07. RESPONSIVE RULES
   Mixed file: Events rules are NEW; header/nav rules below are PROTOTYPE ONLY.
   Clean staging-only version is in developer-handoff/events.staging.css.
   ========================================================================== */
@media (max-width: 1600px) {
  .event-partner-logo img,
  .partner-card img {
    width: 110px;
    height: 70px;
  }
}

/* [PROTOTYPE ONLY - DO NOT PORT] Header/nav tablet-desktop tuning. */
@media (max-width: 1399px) and (min-width: 992px) {
  .main-nav > ul {
    gap: 0;
  }
  .main-nav a {
    margin: 18px 0 0 10px;
    font-size: 14px;
  }
  .header-actions .btn {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/* [PROTOTYPE ONLY - DO NOT PORT] Header/nav tuning. */
@media (max-width: 1199px) and (min-width: 992px) {
  .logo img {
    max-width: 105px;
    height: auto;
  }
  .main-nav a {
    margin: 18px 0 0 7px;
    font-size: 12px;
  }
  .header-actions {
    gap: 6px;
    margin-left: auto;
  }
  .header-actions .btn {
    padding: 5px 9px;
    font-size: 12px;
  }
}

@media (max-width: 991px) {
  /* [PROTOTYPE ONLY - DO NOT PORT] Header/nav rules begin */
  .navigation {
    padding-right: 48px !important;
  }
  .header-actions {
    margin-left: auto;
    margin-right: 0;
    gap: 8px;
  }
  .header-actions .btn {
    font-size: 13px;
    padding: 6px 12px;
  }
  /* [NEW - ADD TO STAGING] Events responsive rules */
  .event-detail-overview__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 767px) {
  /* [PROTOTYPE ONLY - DO NOT PORT] Header/nav rules begin */
  .navigation {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding-right: 42px !important;
  }
  .logo img {
    max-width: 90px;
    height: auto;
  }
  .header-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 0;
    gap: 6px;
  }
  .header-actions .btn {
    font-size: 12px;
    padding: 5px 9px;
    line-height: 1.2;
    white-space: nowrap;
  }
  /* [NEW - ADD TO STAGING] Events responsive rules */
  .events-hero {
    display: block;
    height: 280px;
    aspect-ratio: auto;
    min-height: 0;
  }
  .events-hero__container {
    position: relative;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 0 15px;
    align-items: center;
    z-index: 2;
  }
  .events-hero__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
  }
  .events-hero__overlay {
    display: block;
  }
  .events-hero-content,
  .event-detail-hero-content {
    max-width: 100%;
  }
  .events-hero h1 {
    font-size: 25px;
    line-height: 1.15;
    margin-bottom: 10px;
  }
  .events-hero h2 {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 9px;
  }
  .events-hero p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 8px;
  }
  .events-hero .events-access-code {
    margin-top: 12px;
    margin-bottom: 0;
  }
  .event-detail-hero {
    height: 230px;
    min-height: 0;
    aspect-ratio: auto;
  }
  .event-detail-hero__image {
    object-fit: cover;
    object-position: center;
  }
  .event-detail-hero .inner-heading {
    font-size: 30px;
    line-height: 1.15;
  }
  .events-listing {
    padding: 50px 0 35px;
  }
  .event-card-content {
    padding: 22px 17px 16px;
  }
  .events-listing-intro,
  .event-card p,
  .event-detail-overview__cta p,
  .event-detail-overview__about p {
    font-size: 16px;
    line-height: 24px;
  }
  .event-detail-overview {
    padding-top: 22px;
  }
  .event-detail-overview__grid {
    padding-bottom: 30px;
  }
  .event-detail-overview__cta {
    padding: 24px 20px;
  }
  .event-detail-overview__cta h2 {
    font-size: 22px;
  }
  .event-detail-overview__cta .btn {
    width: 100%;
    text-align: center;
  }
  .event-partners {
    padding: 30px 0 40px;
  }
  .event-partners-slider {
    margin: 0;
  }
  .event-partners-slider.is-static .event-partner-slide {
    flex-basis: 150px;
    max-width: 150px;
  }
  .event-partner-slide {
    height: 100px;
    padding: 0 10px;
  }
  .event-partner-logo {
    min-height: 60px;
  }
  .event-partner-logo img,
  .partner-card img {
    width: 90px;
    height: 60px;
  }
  .partner-placeholder {
    font-size: 16px;
  }
}

/* [PROTOTYPE ONLY - DO NOT PORT] Small-phone header tuning. */
@media (max-width: 575px) {
  .navigation {
    padding-right: 36px !important;
  }
  .logo img {
    max-width: 75px;
  }
  .header-actions {
    gap: 4px;
  }
  .header-actions .btn {
    font-size: 11px;
    padding: 5px 7px;
  }
  .header-actions .btn i {
    font-size: 11px;
    margin-right: 2px;
  }
}

@media (max-width: 479px) {
  .events-hero {
    height: 270px;
  }
  .event-detail-hero .inner-heading {
    font-size: 26px;
  }
}

/* ========================================================================== 
   [PROTOTYPE ONLY - DO NOT PORT] 08. STATIC FOOTER REPLICA
   Reuse resources/views/layouts/frontend/partials/footer.blade.php in staging.
   ========================================================================== */
footer {
  background: #f7f7f7;
  color: #0c152b;
}

footer .footer-head {
  font-family: "Whitney-Medium", sans-serif;
  font-size: 22px;
  color: #0c152b;
  margin-bottom: 15px;
}

footer p,
footer a {
  color: #0c152b;
  font-size: 15px;
  line-height: 24px;
}

footer a:hover {
  color: #ec3a34;
  text-decoration: none;
}

footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .footer-links li {
  margin-bottom: 8px;
}

footer .btn-primary {
  font-size: 13px;
  padding: 6px 14px;
  color: #fff;
  background-color: #ec3a34;
  border-color: #ec3a34;
  border-radius: 0;
}

footer .footer-logo img {
  width: 120px;
  height: auto;
}

.sub-footer {
  border-top: 1px solid #e2e2e2;
  padding-top: 25px;
  margin-top: 25px;
  margin-bottom: 20px;
}

.sub-footer .footer-sub-head {
  font-family: "Whitney-Bold", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  color: #858586;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.sub-footer ul.social-media {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 14px;
}

.sub-footer ul.social-media li a {
  font-size: 22px;
  color: #0c152b;
  display: inline-block;
  transition: color 0.2s ease;
}

.sub-footer ul.social-media li a:hover {
  color: #ec3a34;
}

.copy-right {
  border-top: 1px solid #e2e2e2;
  padding: 20px 0;
}

.copy-right p,
.copy-right a {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.copy-right a:hover {
  color: #ec3a34;
}

@media (max-width: 767px) {
  .sub-footer > div {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .copy-right > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
