/* ==========================================
   OUTATUNE MASTER CSS
   Current benchmark version
========================================== */

/* ==========================================
   BASE TYPOGRAPHY + COLORS
========================================== */

body {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  background: #000000;
  color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Courier Prime", monospace;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 20px 0;
}

.hero-title {
  font-size: 48px;
  letter-spacing: 3px;
  line-height: 1.1;
}

.hero-subtext {
  font-size: 18px;
  line-height: 1.6;
  color: #cccccc;
}

a {
  color: #ff5e00;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==========================================
   BUTTONS
========================================== */

.elementor-button {
  background-color: transparent !important;
  border: 1px solid #ffffff !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  font-family: "Courier Prime", monospace !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: none !important;
}

.elementor-button:hover {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

/* ==========================================
   SECTION SPACING
========================================== */

section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.archive-list {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 1px;
}

/* ==========================================
   PROJECT CARD ROWS
========================================== */

.projects-row {
  display: flex;
  align-items: stretch;
  gap: 30px;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-title-wrap {
  min-height: 96px;
}

.project-text-wrap {
  min-height: 120px;
}

.button-wrap {
  margin-top: auto;
}

/* ==========================================
   OUTATUNE LABEL / HEADING SYSTEM
========================================== */

/* Use on heading widget OR container around a heading */
.outatune-heading {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  font-family: "Courier Prime", monospace;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 10px;
  line-height: 1;
  margin: 0 0 18px 0;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.outatune-heading .elementor-heading-title,
.outatune-heading h1,
.outatune-heading h2,
.outatune-heading h3,
.outatune-heading h4 {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: inherit !important;
  line-height: 1 !important;
}

/* Slightly larger version if needed */
.outatune-heading--large {
  font-size: 16px;
  padding: 8px 12px;
}

/* ==========================================
   HERO SYSTEM
========================================== */

/* Use on the OUTER hero container */
.outatune-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Use on the INNER content wrapper inside the hero */
.outatune-hero-content {
  width: min(92vw, 520px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Label stays left within the content block and moves naturally */
.outatune-hero-content .outatune-heading {
  align-self: flex-start;
}

/* ==========================================
   2 x 2 PHOTO BOOTH HERO GRID
========================================== */

/* Use on the container that holds the 4 image widgets */
.booth-hero-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: min(92vw, 420px);
  margin: 0 auto 28px auto;
}

/* Each image widget block */
.booth-hero-grid > .elementor-element {
  width: calc(50% - 6px);
  max-width: calc(50% - 6px);
  position: relative;
  z-index: 1;
}

/* Actual images */
.booth-hero-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  border: 3px solid #000000;
  background: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Subtle individual rotations */
.booth-hero-grid > .elementor-element:nth-child(1) img {
  transform: rotate(-0.35deg);
}
.booth-hero-grid > .elementor-element:nth-child(2) img {
  transform: rotate(0.25deg);
}
.booth-hero-grid > .elementor-element:nth-child(3) img {
  transform: rotate(0.20deg);
}
.booth-hero-grid > .elementor-element:nth-child(4) img {
  transform: rotate(-0.30deg);
}

/* Hover */
.booth-hero-grid > .elementor-element:hover {
  z-index: 5;
}

.booth-hero-grid > .elementor-element:nth-child(1):hover img {
  transform: rotate(-0.35deg) scale(1.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.booth-hero-grid > .elementor-element:nth-child(2):hover img {
  transform: rotate(0.25deg) scale(1.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.booth-hero-grid > .elementor-element:nth-child(3):hover img {
  transform: rotate(0.20deg) scale(1.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.booth-hero-grid > .elementor-element:nth-child(4):hover img {
  transform: rotate(-0.30deg) scale(1.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* Contributor name + role under the grid */
.booth-hero-name {
  font-family: "Courier Prime", monospace;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.2;
  margin: 0 0 10px 0;
  text-align: center;
  color: #000000;
}

.booth-hero-role {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: #222222;
  margin: 0;
}

/* ==========================================
   OUTATUNE CONTRIBUTOR WALL
========================================== */

/* Use on outer wall section */
.contributors-wall .contributor-row {
  gap: 14px;
  margin-bottom: 18px;
}

.contributors-wall .contributor-row > .elementor-element {
  opacity: 0;
  animation: boothFadeIn 0.8s ease forwards;
}

.contributors-wall .contributor-row > .elementor-element:nth-child(1) { animation-delay: 0.05s; }
.contributors-wall .contributor-row > .elementor-element:nth-child(2) { animation-delay: 0.10s; }
.contributors-wall .contributor-row > .elementor-element:nth-child(3) { animation-delay: 0.15s; }
.contributors-wall .contributor-row > .elementor-element:nth-child(4) { animation-delay: 0.20s; }
.contributors-wall .contributor-row > .elementor-element:nth-child(5) { animation-delay: 0.25s; }
.contributors-wall .contributor-row > .elementor-element:nth-child(6) { animation-delay: 0.30s; }
.contributors-wall .contributor-row > .elementor-element:nth-child(7) { animation-delay: 0.35s; }
.contributors-wall .contributor-row > .elementor-element:nth-child(8) { animation-delay: 0.40s; }
.contributors-wall .contributor-row > .elementor-element:nth-child(9) { animation-delay: 0.45s; }

.contributors-wall .contributor-row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  border: 3px solid #ffffff;
  background: #000000;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.contributors-wall .contributor-row > .elementor-element:nth-child(odd) img {
  transform: rotate(-0.6deg);
}

.contributors-wall .contributor-row > .elementor-element:nth-child(even) img {
  transform: rotate(0.6deg);
}

.contributors-wall .contributor-row img:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

@keyframes boothFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
========================================== */

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .hero-title {
    font-size: 34px;
    letter-spacing: 2px;
  }

  .hero-subtext {
    font-size: 16px;
  }

  .outatune-heading {
    font-size: 12px;
    padding: 5px 8px;
    margin-bottom: 14px;
  }

  .booth-hero-grid {
    width: min(92vw, 360px);
    gap: 10px;
  }

  .booth-hero-grid > .elementor-element {
    width: calc(50% - 5px);
    max-width: calc(50% - 5px);
  }

  .booth-hero-name {
    font-size: 22px;
  }

  .booth-hero-role {
    font-size: 15px;
  }

  .contributors-wall .contributor-row img {
    border-width: 2px;
  }
}