:root {
  --red: #e83857;
  --teal: #03a8a8;
  --black: #000000;
  --white: #ffffff;
  --gold: #f2c778;
  --green: #178c38;
  --pink: #f2bacf;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", Arial, sans-serif;
  color: var(--black);
  overflow-x: hidden;
}

a {
  color: inherit;
}

h1,
h2,
h3,
.nav-link,
.btn {
  font-family: "Luckiest Guy", cursive;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: color 0.2s ease;
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-btn-gold {
  background: var(--gold);
  color: var(--black) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  corner-shape: superellipse(2);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.nav-btn-gold:hover {
  background: #e5b85a;
  color: var(--black) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s ease;
}

.section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ===== HERO ===== */
.hero {
  background: var(--red);
  color: var(--white);
  text-align: center;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-logotype {
  width: min(70vw, 550px);
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.15));
}

.hero-date {
  font-family: "Luckiest Guy", cursive;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  color: var(--white);
  position: relative;
  z-index: 2;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  opacity: 0.9;
}

.hero-cta {
  margin-top: 1rem;
  position: relative;
  z-index: 2;
}

.hero-illustration-right {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30vw;
  max-width: 380px;
  z-index: 1;
  pointer-events: none;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 50px;
  corner-shape: superellipse(2);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.btn-white {
  background: var(--white);
  color: var(--red);
}

.btn:disabled {
  background: #ccc;
  color: #888;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== ABOUT ===== */
.about {
  background: var(--teal);
  color: var(--white);
}

.about-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.about-text {
  max-width: 600px;
}

.about-text h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  opacity: 0.95;
}

.about-text p + p {
  margin-top: 1rem;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Carousel */
.carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  border-radius: 20px;
  corner-shape: superellipse(2);
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-track img {
  width: 100%;
  max-width: none;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: none;
  pointer-events: none;
  user-select: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 3;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
  left: 0.5rem;
}

.carousel-next {
  right: 0.5rem;
}

.carousel-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 3;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.carousel-dot.active {
  background: var(--white);
}

/* ===== PROGRAM ===== */
.program {
  background: var(--white);
  color: var(--black);
  /* align-items: flex-start; */
}

.program-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

.program-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--red);
}

.program-grid {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.program-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: flex-start;
}

.program-location {
  font-family: "Luckiest Guy", cursive;
  font-size: 1.3rem;
  color: var(--teal);
  padding: 0.75rem 1rem;
  background: var(--black);
  color: var(--white);
  border-radius: 14px;
  corner-shape: superellipse(2);
  text-align: center;
  letter-spacing: 1px;
}

.program-card {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 20px;
  corner-shape: superellipse(2);
  padding: 2rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--black);
}

.program-card-time {
  font-family: "Luckiest Guy", cursive;
  font-size: 1rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.program-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--red);
}

.program-card-header {
  display: flex;
  flex-direction: column;
}

.program-card-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    margin-top 0.3s ease;
  margin-top: 0;
}

.program-card.active .program-card-body {
  max-height: 200px;
  margin-top: 0.75rem;
}

.program-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

.program-card-host {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 700;
  margin-top: 0.5rem;
}

.program-card-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: "Luckiest Guy", cursive;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  corner-shape: superellipse(2);
  letter-spacing: 1px;
  white-space: nowrap;
}

.program-illustration {
  position: absolute;
  right: 2%;
  bottom: 2%;
  width: 25vw;
  max-width: 300px;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

/* ===== EXHIBITORS ===== */
.dealers {
  background: var(--red);
  color: var(--white);
  /* align-items: flex-start; */
}

.dealers-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

.dealers-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  margin-bottom: 1rem;
}

.dealers-grid {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.dealers-grid .program-card {
  background: var(--white);
  color: var(--black);
}

.dealers-grid .program-card h3 {
  text-align: center;
}

/* ===== TICKETS ===== */
.tickets {
  background: var(--teal);
  color: var(--white);
}

.tickets-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

.tickets-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  margin-bottom: 1rem;
}

.tickets-subtitle {
  text-align: center;
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 3rem;
}

.tickets-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.ticket-card {
  flex: 0 1 320px;
  background: var(--white);
  color: var(--black);
  border-radius: 24px;
  corner-shape: superellipse(2);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.ticket-card .btn {
  margin-top: auto;
}

.ticket-card:hover {
  transform: translateY(-6px);
}

.ticket-card.featured {
  border: 4px solid var(--gold);
  transform: scale(1.03);
}

.ticket-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.ticket-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  color: var(--black);
  font-family: "Luckiest Guy", cursive;
  font-size: 0.75rem;
  padding: 0.4rem 1.2rem;
  border-radius: 0 20px 0 16px;
  corner-shape: superellipse(2);
  letter-spacing: 1px;
}

.ticket-card h3 {
  font-size: 1.6rem;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.ticket-price {
  font-family: "Luckiest Guy", cursive;
  font-size: 2.8rem;
  color: var(--teal);
  margin: 1rem 0;
}

.ticket-price span {
  font-size: 1rem;
  color: #888;
}

.ticket-features {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.ticket-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
}

.ticket-features li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}

.tickets-doodle {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30vw;
  max-width: 380px;
  z-index: 1;
  pointer-events: none;
  transform: scaleX(-1);
}

/* ===== FAQ ===== */
.faq {
  background: var(--white);
  color: var(--black);
}

.faq-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 2rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

.faq-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  margin-bottom: 3rem;
}

.faq-item {
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.faq-question {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Luckiest Guy", cursive;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.faq-question::after {
  content: "+";
  font-size: 1.8rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  font-size: 1.05rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-illustration {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 25vw;
  max-width: 300px;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--black);
  color: var(--white);
}

.contact-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.contact-content > p {
  font-size: 1.15rem;
  opacity: 0.8;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-socials a {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.6rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  corner-shape: superellipse(2);
  transition: 0.2s ease;
  font-family: "Luckiest Guy", cursive;
  letter-spacing: 1px;
}

.contact-socials a:hover {
  background: var(--red);
  border-color: var(--red);
}

.footer {
  text-align: center;
  padding: 2rem;
  background: var(--black);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer img {
  height: 24px;
  margin-bottom: 0.5rem;
  opacity: 0.4;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .program-grid {
    flex-direction: column;
  }

  .program-column {
    width: 100%;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.96);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: right 0.3s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero-illustration-right {
    width: 45vw;
    right: 0;
    bottom: 0;
  }

  .ticket-card.featured {
    transform: scale(1);
  }

  .ticket-card.featured:hover {
    transform: translateY(-6px);
  }

  .contact-socials {
    flex-wrap: wrap;
  }

  .dealers-grid {
    flex-direction: column;
  }

  .faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
  }
}
