/* ============================================
   MAC 2026 - Section-Specific Styles
   ============================================ */

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-navbar);
  padding: var(--space-md) 0;
  background: transparent;
}

.navbar--scrolled {
  background: rgba(27, 58, 75, 0.92);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(213, 164, 59, 0.1);
}

.navbar__logo-img {
  height: 50px;
  width: auto;
  transition: height var(--transition-medium);
}

.navbar--scrolled .navbar__logo-img {
  height: 40px;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.navbar__link {
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-cream);
  text-decoration: none;
  position: relative;
  transition: color var(--transition-fast);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-medium), left var(--transition-medium);
}

.navbar__link:hover,
.navbar__link--active {
  color: var(--color-gold);
}

.navbar__link:hover::after,
.navbar__link--active::after {
  width: 70%;
  left: 15%;
}

.navbar__cta {
  display: none;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: calc(var(--z-navbar) + 10);
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-cream);
  transition: all var(--transition-fast);
  transform-origin: center;
}

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

.navbar__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__sparks {
  position: absolute;
  inset: 0;
  z-index: var(--z-particles);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 10;
  padding: var(--space-5xl) var(--space-lg);
  width: 100%;
  max-width: var(--container-wide);
}

.hero__layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
}

.hero__logo-col {
  flex-shrink: 0;
}

.hero__logo-img {
  width: clamp(200px, 22vw, 320px);
  height: auto;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.5))
          drop-shadow(0 0 40px rgba(213, 164, 59, 0.15));
  animation: heroLogoIn 1s var(--ease-out) 0.1s both;
}

@keyframes heroLogoIn {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.hero__text-col {
  text-align: left;
  max-width: 600px;
}

.hero__badge {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.25em;
  color: var(--color-gold);
  background: rgba(92, 58, 33, 0.25);
  border: 1px solid rgba(213, 164, 59, 0.4);
  padding: var(--space-xs) var(--space-xl);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-xl);
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-lg);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero__tagline {
  font-size: var(--fs-xl);
  font-weight: var(--fw-light);
  color: var(--color-cream);
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--fs-md);
  color: var(--color-cream);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.hero__info i {
  color: var(--color-gold);
  margin-right: var(--space-2xs);
}

.hero__info-divider {
  color: var(--color-steel);
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--color-gold);
  font-size: var(--fs-xl);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.scroll-indicator:hover {
  opacity: 1;
  color: var(--color-gold);
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
}

.about__text .section__title {
  text-align: left;
}

.about__text p {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--color-steel-light);
}

.about__text p strong {
  color: var(--color-white);
}

.about__image {
  position: relative;
}

.about__image .img-zoom {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about__organizer-card {
  position: absolute;
  bottom: -40px;
  left: -30px;
  right: 30px;
  padding: var(--space-lg);
  z-index: 2;
}

.about__organizer-info {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.about__organizer-photo {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 3px solid var(--color-gold);
  box-shadow: 0 0 20px rgba(213, 164, 59, 0.3);
}

.about__organizer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

/* ---- CRAFT / EL ARTE ---- */
.section--craft {
  position: relative;
  padding: var(--space-section) 0;
}

.craft-cards {
  margin-bottom: var(--space-3xl);
}

.craft-extra {
  margin-top: var(--space-xl);
}

.craft-extra__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.craft-extra__item {
  text-align: center;
  padding: var(--space-xl);
}

.craft-extra__item i {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-md);
  display: block;
}

.craft-extra__item h4 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.craft-extra__item p {
  font-size: var(--fs-sm);
  color: var(--color-steel-light);
  line-height: var(--lh-relaxed);
}

/* ---- DESAFÍO SOBRE FUEGO ---- */
.section--desafio {
  position: relative;
  padding: var(--space-section) 0;
}

.desafio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.desafio__content .section__title {
  text-align: left;
}

.desafio__content p {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--color-steel-light);
}

.desafio__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.desafio__highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.desafio__highlight i {
  font-size: var(--fs-2xl);
}

.desafio__highlight span {
  font-size: var(--fs-sm);
  color: var(--color-cream);
  line-height: var(--lh-snug);
}

.desafio__card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  text-align: center;
}

.desafio__icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(196, 74, 28, 0.25), rgba(213, 164, 59, 0.1));
  color: var(--color-ember);
  animation: emberGlow 3s ease-in-out infinite;
}

.desafio__card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-md);
}

.desafio__card p {
  color: var(--color-steel-light);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}

/* ---- TICKETS ---- */
.section--tickets {
  background: linear-gradient(135deg, var(--color-deep-blue), var(--color-charcoal));
  position: relative;
}

.section--tickets::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top center, rgba(213, 164, 59, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.ticket-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ticket-card__header {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  padding: var(--space-xl) var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ticket-card__header h3 {
  color: var(--color-deep-blue);
  margin: 0;
  font-size: var(--fs-xl);
}

.ticket-card__badge {
  background: var(--color-deep-blue);
  color: var(--color-gold);
  padding: var(--space-2xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ticket-card__body {
  padding: var(--space-2xl);
}

.ticket-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.ticket-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-base);
  color: var(--color-cream);
}

.ticket-card__features li i {
  font-size: var(--fs-sm);
}

.ticket-card__footer {
  padding: var(--space-lg) var(--space-2xl) var(--space-2xl);
  text-align: center;
}

.ticket-card__note {
  margin-top: var(--space-md);
  font-size: var(--fs-sm);
  color: var(--color-steel);
}

/* ---- VENUE ---- */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.venue__detail {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  align-items: flex-start;
}

.venue__detail > i {
  font-size: var(--fs-xl);
  min-width: 28px;
  text-align: center;
  margin-top: 4px;
}

.venue__detail h4 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--color-gold);
  margin-bottom: var(--space-2xs);
}

.venue__detail p {
  font-size: var(--fs-sm);
  color: var(--color-steel-light);
  margin-bottom: 0;
  line-height: var(--lh-relaxed);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--color-black);
}

.footer__top {
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
}

.footer__logo {
  height: 45px;
  width: auto;
  margin-bottom: var(--space-lg);
}

.footer__brand p {
  font-size: var(--fs-sm);
  color: var(--color-steel);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-cream);
  font-size: var(--fs-md);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--color-gold);
  color: var(--color-charcoal);
  transform: translateY(-3px);
}

.footer__links h4,
.footer__contact h4 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: var(--fs-sm);
  color: var(--color-steel);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-gold);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--fs-sm);
  color: var(--color-steel);
}

.footer__contact-item i {
  margin-top: 3px;
  min-width: 16px;
}

.footer__contact-item a {
  color: var(--color-steel);
}

.footer__contact-item a:hover {
  color: var(--color-gold);
}

.footer__bottom {
  padding: var(--space-lg) 0;
}

.footer__bottom p {
  font-size: var(--fs-xs);
  color: var(--color-steel-dark);
  margin: 0;
}

.footer__credits i {
  margin: 0 2px;
}

.footer__tomoki {
  color: var(--color-gold);
  font-weight: var(--fw-semibold);
  transition: color var(--transition-fast);
}

.footer__tomoki:hover {
  color: var(--color-gold-light);
}

/* ============================================
   TEXTURES & BRAND VISUAL ELEMENTS
   ============================================ */

/* Leather texture - subtle CSS-generated pattern */
.texture-leather {
  position: relative;
}

.texture-leather::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(92, 58, 33, 0.03) 2px,
      rgba(92, 58, 33, 0.03) 4px
    );
  pointer-events: none;
  z-index: 0;
}

/* Metal mesh texture - inspired by the brand's graphic elements */
.texture-metal {
  position: relative;
}

.texture-metal::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(138, 141, 143, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

/* Forge glow - radial accent */
.texture-forge-glow::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(196, 74, 28, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Deep blue sections with subtle gold corner accents */
.section--dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(213, 164, 59, 0.3), transparent);
  z-index: 1;
}

/* Card border glow on brand sections */
.card {
  border-color: rgba(213, 164, 59, 0.12);
}

.card:hover {
  border-color: rgba(213, 164, 59, 0.4);
}

/* Exhibitor card with real photo */
.exhibitor-card__avatar--photo {
  overflow: hidden;
}

.exhibitor-card__avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* Logo in navbar - slightly bigger for the detailed logo */
.navbar__logo-img {
  height: 55px;
}

.navbar--scrolled .navbar__logo-img {
  height: 44px;
}

/* Footer logo larger */
.footer__logo {
  height: 70px;
}

/* Hero badge with mahogany accent */
.hero__badge {
  background: rgba(92, 58, 33, 0.25);
  border-color: rgba(213, 164, 59, 0.4);
}

/* Section subtitle with leather color accent */
.section__subtitle {
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* About section divider line - leather brown */
.about-grid {
  position: relative;
}

/* Category cards - deep blue glass */
.category-card {
  background: rgba(27, 58, 75, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.category-card:hover {
  background: rgba(27, 58, 75, 0.7);
}

/* Exhibitor cards - mahogany accent bottom border */
.exhibitor-card {
  border-bottom: 3px solid transparent;
  transition: all var(--transition-medium);
}

.exhibitor-card:hover {
  border-bottom-color: var(--color-gold);
}

/* Desafio card - mahogany glass */
.desafio__card {
  background: rgba(27, 58, 75, 0.7);
  border-color: rgba(213, 164, 59, 0.15);
}

/* Venue details - leather-inspired card dividers */
.venue__detail {
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(211, 184, 140, 0.1);
}

.venue__detail:last-of-type {
  border-bottom: none;
}

/* Countdown numbers - gold gradient text */
.countdown__number {
  background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Country badges - leather warmth */
.country-badge {
  background: rgba(92, 58, 33, 0.2);
  border-color: rgba(211, 184, 140, 0.2);
}

/* Sponsor slots - steel border */
.sponsor-slot {
  border-color: rgba(138, 141, 143, 0.2);
}

/* Footer - darker than deep blue */
.footer {
  background: linear-gradient(180deg, var(--color-charcoal) 0%, #0A0A0A 100%);
}

.footer__top {
  border-bottom-color: rgba(213, 164, 59, 0.08);
}

/* Section title underline - gold to mahogany */
.section__title::after {
  background: linear-gradient(90deg, var(--color-gold), var(--color-mahogany));
}

/* Scrollbar matches brand */
::-webkit-scrollbar-track {
  background: var(--color-deep-blue);
}

/* Gallery on light bg - mahogany overlay */
.section--light .gallery-item::after {
  background: linear-gradient(180deg, transparent 40%, rgba(92, 58, 33, 0.7) 100%);
}

/* Timeline dots - gold with deep blue border */
.timeline-item::before {
  border-color: var(--color-cream);
  box-shadow: 0 0 12px rgba(213, 164, 59, 0.5);
}
