/* Minerba Outlook 2026 event page */
html {
  position: relative;
}

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

body {
  font-family: "DM Sans", sans-serif;
  color: #1a1a1a;
  min-height: 100vh;
  position: relative;
  background-color: #f7f5f0;
}

.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: url("../images/bg-hotel.jpg") center center / cover no-repeat;
  z-index: 0;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: linear-gradient(
    to bottom,
    rgba(10, 8, 5, 0.45) 0%,
    rgba(10, 8, 5, 0.3) 35%,
    rgba(247, 245, 240, 0.85) 70%,
    rgba(247, 245, 240, 1) 100%
  );
  z-index: 1;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.page {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Pull block up so “Minerba Outlook 2026” sits nearer vertical center */
  justify-content: flex-start;
  padding: max(4.75rem, calc(50vh - 12rem)) 1.5rem 0.75rem;
  text-align: center;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 40rem;
  margin-top: -0.5rem;
}

.below-fold {
  position: relative;
  z-index: 10;
  padding-top: 0.75rem;
  margin-top: -1rem;
}

.logo-area {
  margin-bottom: 0.35rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.logo-img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
}

.org-title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(1.05rem, 3.4vw, 1.75rem);
  font-weight: 400;
  line-height: 1.28;
  color: #1a1a1a;
  max-width: 36rem;
  margin: 0 auto 0.5rem;
  padding: 0 1rem;
  letter-spacing: 0.03em;
}

.company-name {
  font-family: "DM Serif Display", serif;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666;
  font-weight: 400;
}

.hero-presenter {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 400;
  color: #909090;
  letter-spacing: 0.06em;
  margin-top: 0.45rem;
}

.divider {
  width: 40px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #c8c3b8, transparent);
  margin: 0.35rem auto 0.65rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.headline {
  font-family: "DM Serif Display", serif;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.15;
  color: #1a1a1a;
  max-width: 480px;
  margin-bottom: 0.65rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards 0.5s;
}

.headline em {
  font-style: italic;
  color: #8a7e6e;
}

.subtext {
  font-size: 15px;
  font-weight: 300;
  color: #777;
  max-width: 340px;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards 0.65s;
}

.venue-block {
  margin-top: 0.35rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards 0.6s;
}

.venue-line1 {
  font-size: 14px;
  color: #888;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.venue-line2 {
  font-size: 12px;
  color: #aaa;
  font-weight: 300;
  margin-top: 4px;
  max-width: 360px;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}

@media (max-height: 720px) {
  .page {
    padding-top: 4.5rem;
  }

  .logo-img {
    width: 190px;
    height: 190px;
  }
}

/* News carousel */
.news-carousel {
  position: relative;
  z-index: 10;
  background: #fff;
  border: 1px solid #e8e4dd;
  border-radius: 12px;
  margin: 0 auto 64px;
  max-width: 860px;
  width: calc(100% - 48px);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.carousel-inner {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}

.carousel-img {
  grid-column: 1;
  grid-row: 1;
  aspect-ratio: 16 / 10;
  background: #e8e4dd center / cover no-repeat;
  position: relative;
}

.carousel-img--1 {
  background-image: url("../images/news-img1.jpg");
}

.carousel-img--2 {
  background-image: url("../images/news-img2.jpg");
}

.carousel-img--3 {
  background-image: url("../images/news-img3.jpg");
}

.carousel-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0ede8;
  color: #bbb;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carousel-img.is-loaded .carousel-img-placeholder {
  display: none;
}

.carousel-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #8a7e6e;
  color: #fff;
  padding: 3px 10px;
  border-radius: 100px;
}

.carousel-headlines {
  grid-column: 2;
  grid-row: 1;
  padding: 24px 24px 20px;
  border-left: 1px solid #f0ede8;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.carousel-headlines-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 14px;
}

.headline-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #f0ede8;
  cursor: pointer;
  transition: background 0.15s;
}

.headline-item:last-child {
  border-bottom: none;
}

.headline-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c8c3b8;
  flex-shrink: 0;
  margin-top: 5px;
}

.headline-item.active .headline-item-dot {
  background: #8a7e6e;
}

.headline-item-text {
  font-size: 13px;
  font-weight: 400;
  color: #555;
  line-height: 1.5;
}

.headline-item.active .headline-item-text {
  color: #1a1a1a;
  font-weight: 500;
}

.carousel-footer {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid #f0ede8;
  background: #faf9f7;
}

.carousel-title-area {
  flex: 1;
  min-width: 0;
}

.carousel-slide-title {
  font-family: "DM Serif Display", serif;
  font-size: 15px;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-slide-meta {
  font-size: 11px;
  color: #aaa;
  margin-top: 2px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 16px;
}

.carousel-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #e0ddd6;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: #666;
}

.carousel-btn:hover {
  border-color: #b5ae9f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.carousel-btn svg {
  width: 14px;
  height: 14px;
}

.carousel-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  line-height: 0;
  border-radius: 50%;
  background: #d5d0c8;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: #8a7e6e;
  transform: scale(1.25);
}

@media (max-width: 600px) {
  .carousel-slide {
    grid-template-columns: 1fr;
  }

  .carousel-headlines {
    grid-column: 1;
    grid-row: 2;
    border-left: none;
    border-top: 1px solid #f0ede8;
  }

  .carousel-footer {
    grid-row: 3;
  }
}

.event-description {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  text-align: center;
}

.event-description .intro {
  font-size: 15.5px;
  font-weight: 300;
  color: #555;
  line-height: 1.85;
  margin-bottom: 36px;
}

.intro-lead {
  color: #1a1a1a;
  font-weight: 500;
}

.theme-block {
  border-left: 3px solid #8a7e6e;
  margin: 0 auto 36px;
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0 8px 8px 0;
  text-align: left;
  max-width: 620px;
}

.theme-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 10px;
}

.theme-text {
  font-family: "DM Serif Display", serif;
  font-size: clamp(14px, 2vw, 17px);
  font-style: italic;
  color: #1a1a1a;
  line-height: 1.5;
}

.event-description .body-text {
  font-size: 15px;
  font-weight: 300;
  color: #555;
  line-height: 1.9;
  margin-bottom: 24px;
  text-align: left;
}

.event-description .closing {
  font-size: 15px;
  font-weight: 300;
  color: #555;
  line-height: 1.9;
  text-align: left;
}

.section-divider {
  width: 60px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #c8c3b8, transparent);
  margin: 0 auto 64px;
}

.contact-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1.5px solid #e0ddd6;
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 400;
  color: #444;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.contact-pill:hover {
  border-color: #b5ae9f;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.contact-pill svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
  flex-shrink: 0;
}

.contact-pill-icon--whatsapp {
  opacity: 0.85;
}

.footer-note {
  position: absolute;
  bottom: 20px;
  font-size: 11px;
  color: #ccc;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.registration-cta {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem 2rem;
  margin-top: 0.25rem;
}

.btn-registration {
  font-family: "DM Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: #8a7e6e;
  border: none;
  border-radius: 100px;
  padding: 0.9rem 2.5rem;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-registration:hover {
  background: #756a5d;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14);
}

.btn-registration:focus-visible {
  outline: 2px solid #8a7e6e;
  outline-offset: 3px;
}

.contact-footer-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
}

.footer-note--inline {
  position: relative;
  bottom: auto;
  margin-top: 32px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 18px 32px;
  gap: 28px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
  background: rgba(247, 245, 240, 0.85);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.nav-link:hover {
  background: #fff;
  color: #8a7e6e;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
