/*
Theme Name: Inspira Event
Theme URI: https://example.com/inspira-event
Author: Ricardo Campos
Author URI: https://example.com
Description: A bold event and conference WordPress theme inspired by modern HR event landing pages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inspira-event
Tags: event, conference, landing-page, custom-menu, featured-images, block-styles, wide-blocks
*/

:root {
  --bg: #181818;
  --bg-soft: #222222;
  --surface: #ffffff;
  --text: #ffffff;
  --ink: #161616;
  --muted: #cfc8dd;
  --line: rgba(255, 255, 255, 0.18);
  --purple: #8d5fdb;
  --pink: #ea3ea5;
  --orange: #f7b65b;
  --yellow: #f4c35c;
  --radius: 8px;
  --content: 1160px;
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  height: auto;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  background: var(--surface);
  color: var(--ink);
  left: 1rem;
  padding: 0.5rem 0.75rem;
  position: absolute;
  top: -100px;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

.container,
.site-header__inner,
.site-footer__inner {
  margin: 0 auto;
  max-width: var(--content);
  padding: 0 1.35rem;
}

.pattern-strip {
  background:
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.05) 18px 19px),
    linear-gradient(90deg, var(--pink), var(--purple), var(--yellow), var(--pink));
  height: 28px;
  position: relative;
  overflow: hidden;
}

.pattern-strip::before {
  color: var(--bg);
  content: "✳ ≋ ▦ ✳ ≋ ▦ ✳ ≋ ▦ ✳ ≋ ▦ ✳ ≋ ▦ ✳ ≋ ▦ ✳ ≋ ▦ ✳ ≋ ▦";
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 14px;
  line-height: 28px;
  opacity: 0.8;
  white-space: nowrap;
}

.site-header {
  background: rgba(24, 24, 24, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.site-header__inner {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  min-height: 88px;
}

.site-branding {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 0.75rem;
}

.custom-logo-link img {
  max-height: 54px;
  width: auto;
}

.site-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-style: italic;
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0;
  text-transform: uppercase;
}

.site-title a {
  text-decoration: none;
}

.site-description {
  display: none;
}

.main-navigation ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: var(--text);
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.main-navigation a:hover,
.main-navigation a:focus {
  color: var(--orange);
}

.button,
.read-more,
.wp-block-button__link,
input[type="submit"],
.waitlist-form button {
  background: linear-gradient(100deg, var(--pink), var(--orange));
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 900;
  justify-content: center;
  line-height: 1;
  padding: 1rem 1.45rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover,
.button:focus,
.read-more:hover,
.read-more:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.waitlist-form button:hover,
.waitlist-form button:focus {
  color: #fff;
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.site-header .button {
  max-width: 190px;
}

.hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(141, 95, 219, 0.28), transparent 28%),
    var(--bg);
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
  min-height: calc(100vh - 116px);
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  position: relative;
}

.hero__inner {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.event-date {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.65rem);
  text-transform: uppercase;
}

.hero h1,
.brand-wordmark {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 18vw, 14rem);
  font-style: italic;
  letter-spacing: 0;
  line-height: 0.82;
  margin: 0;
  max-width: 980px;
  text-transform: uppercase;
}

.brand-wordmark span {
  display: inline-block;
}

.brand-wordmark .slash {
  color: var(--text);
  font-size: 0.8em;
  margin-left: 0.08em;
}

.hero__bubble {
  border: 3px solid var(--text);
  height: 62px;
  position: absolute;
  right: max(8vw, 2rem);
  top: 34%;
  width: 62px;
}

.hero__bubble::after {
  border-color: var(--text) transparent transparent var(--text);
  border-style: solid;
  border-width: 14px 0 0 14px;
  bottom: -15px;
  content: "";
  height: 18px;
  position: absolute;
  right: 12px;
  width: 16px;
}

.hero__copy {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 680px;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section--purple {
  background: var(--purple);
}

.section--light {
  background: var(--surface);
  color: var(--ink);
}

.section-kicker,
.entry-meta,
.entry-footer {
  color: var(--orange);
  font-family: var(--font-display);
  text-transform: uppercase;
}

.section-title,
.page-title,
.entry-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 6rem);
  line-height: 0.9;
  margin: 0 0 1.35rem;
  text-transform: uppercase;
}

.section-intro {
  color: inherit;
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 760px;
}

.waitlist {
  margin: 0 auto;
  max-width: 560px;
  text-align: center;
}

.waitlist .section-title {
  font-size: clamp(2rem, 6vw, 4.4rem);
}

.waitlist-form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.waitlist-form input[type="text"],
.waitlist-form input[type="email"],
.waitlist-form input[type="tel"] {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  color: #fff;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  text-align: center;
  text-transform: uppercase;
}

.waitlist-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.checkbox-line {
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  font-size: 0.78rem;
  gap: 0.55rem;
  justify-content: center;
}

.stats-grid,
.audience-grid,
.speaker-grid,
.reasons-grid,
.sponsor-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.stat {
  border: 2px solid var(--text);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.85;
}

.stat span {
  color: var(--orange);
  font-family: var(--font-display);
  text-transform: uppercase;
}

.audience-grid,
.reasons-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.audience-card,
.reason-card,
.speaker-card,
.ticket-card,
.faq-item,
.post-card,
.entry-content-wrap,
.widget,
.comments-area {
  border-radius: var(--radius);
}

.audience-card,
.reason-card {
  background: var(--bg);
  color: var(--text);
  min-height: 180px;
  padding: 1.35rem;
}

.audience-card h3,
.reason-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

.speaker-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.4rem;
}

.speaker-card {
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
}

.speaker-button {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: block;
  padding: 0;
  text-align: left;
  width: 100%;
}

.speaker-button:focus-visible {
  outline: 4px solid var(--orange);
  outline-offset: 4px;
}

.speaker-photo {
  align-items: center;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(234, 62, 165, 0.85), rgba(247, 182, 91, 0.9)),
    var(--purple);
  display: flex;
  justify-content: center;
}

.speaker-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.speaker-photo span {
  color: #fff;
  font-family: var(--font-display);
  font-size: 5rem;
}

.speaker-card__body {
  padding: 1rem;
}

.speaker-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 0.95;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.speaker-card p {
  color: #555;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
}

.modal-open {
  overflow: hidden;
}

.speaker-modal {
  display: none;
  inset: 0;
  padding: 1.25rem;
  position: fixed;
  z-index: 100;
}

.speaker-modal[aria-hidden="false"] {
  align-items: center;
  display: flex;
  justify-content: center;
}

.speaker-modal__overlay {
  background: rgba(0, 0, 0, 0.76);
  inset: 0;
  position: absolute;
}

.speaker-modal__dialog {
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--ink);
  max-height: min(820px, calc(100vh - 2.5rem));
  max-width: 980px;
  overflow: auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  position: relative;
  width: min(100%, 980px);
  z-index: 1;
}

.speaker-modal__close {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  font-size: 2rem;
  height: 46px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 46px;
}

.speaker-modal__grid {
  display: grid;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
}

.speaker-modal__image {
  align-items: center;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  border-radius: var(--radius);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.speaker-modal__image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.speaker-modal__image span {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 10rem);
}

.speaker-modal h3 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  line-height: 0.9;
  margin: 0.35rem 3rem 0.5rem 0;
  text-transform: uppercase;
}

.speaker-modal__company {
  color: #555;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.speaker-modal__bio {
  font-size: 1.05rem;
}

.schedule {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.schedule-day {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.schedule-day h3 {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0.9;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.schedule-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 82px 1fr;
  padding: 0.8rem 0;
}

.schedule-row time {
  color: var(--orange);
  font-family: var(--font-display);
}

.ticket-card {
  background: var(--surface);
  color: var(--ink);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto;
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.ticket-card h3,
.ticket-price {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 5rem);
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}

.ticket-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.sponsor-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.sponsor {
  align-items: center;
  background: #f2f2f2;
  border-radius: var(--radius);
  color: #555;
  display: flex;
  font-family: var(--font-display);
  justify-content: center;
  min-height: 108px;
  padding: 1rem;
  text-transform: uppercase;
}

.sponsor img {
  display: block;
  max-height: 72px;
  object-fit: contain;
  width: min(100%, 190px);
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  background: var(--bg);
  color: var(--text);
  padding: 1.2rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.faq-item p {
  color: var(--muted);
}

.site-main {
  padding: 3rem 0;
}

.content-area {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.post-card,
.entry-content-wrap,
.widget,
.comments-area {
  background: var(--surface);
  color: var(--ink);
  padding: 1.4rem;
}

.post-card {
  margin-bottom: 1.5rem;
}

.post-card .entry-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.entry-title a {
  color: var(--ink);
  text-decoration: none;
}

.entry-content a,
.post-card a:not(.read-more) {
  color: #7d3ec9;
}

.featured-image {
  border-radius: var(--radius);
  margin: 0 0 1.5rem;
  overflow: hidden;
}

.featured-image img {
  display: block;
  width: 100%;
}

.widget-area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.widget-title {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
  border: 1px solid #d8d8d8;
  border-radius: var(--radius);
  max-width: 100%;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

.site-footer {
  background: #111;
  border-top: 1px solid var(--line);
  color: var(--text);
  padding: 2.5rem 0;
}

.site-footer__inner {
  display: grid;
  gap: 1.5rem;
}

.footer-widgets {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-widgets .widget {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

@media (max-width: 980px) {
  .site-header__inner,
  .ticket-card {
    align-items: flex-start;
    display: grid;
    grid-template-columns: 1fr;
  }

  .speaker-grid,
  .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .speaker-modal__grid {
    grid-template-columns: 1fr;
  }

  .speaker-modal__image {
    max-height: 420px;
  }

  .content-area,
  .schedule,
  .stats-grid,
  .audience-grid,
  .reasons-grid,
  .footer-widgets {
    grid-template-columns: 1fr;
  }

  .hero__bubble {
    display: none;
  }
}

@media (max-width: 620px) {
  .main-navigation ul {
    gap: 0.85rem;
  }

  .site-header .button {
    max-width: none;
    width: 100%;
  }

  .speaker-grid,
  .sponsor-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .brand-wordmark {
    font-size: clamp(4rem, 24vw, 7rem);
  }

  .speaker-modal {
    padding: 0.75rem;
  }

  .speaker-modal__dialog {
    max-height: calc(100vh - 1.5rem);
  }

  .speaker-modal h3 {
    margin-right: 2.5rem;
  }
}
