/* extremeTable project page styles */

:root {
  /* Hero Banner variables */
  --hero-padding: 4vw;
  --title-size: 4.67vw;
  --subtitle-size: 1.2vw;
  --subtitle-margin: 1vw;

  /* Image Section variables */
  --section-title-size: 1.8vw;
  --section-image-horizontal-padding: 8vw;
  --section-text-image-gap: 2vw;

  /* Whitespace Section variable */
  --whitespace-height: 6vw;

  /* Bottom Full Bleed Section variable */
  --bottom-section-height: 40vh;
  --bottom-section-text-width: 20vw;
}

body {
  margin: 0;
  padding: 0;
  background: #fff;
  font-family: 'LunchType Light', system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  overflow-x: hidden;
}

.site-wrap {
  display: flex;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* Nav positioning - fixed and translucent */
.side-nav {
  z-index: 2200;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  width: var(--nav-width);
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Nav collapsed state */
.side-nav.collapsed {
  width: calc(var(--nav-visible) * 2);
}

/* Collapsed label positioning */
.collapsed-label {
  z-index: 2250;
}

/* Main content area */
.project-content {
  flex: 1;
  padding: 0;
  margin-left: 0;
  transition: margin-left 260ms ease;
}

/* Hero Banner Section — full-bleed image with bottom-right text */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 70vh;
  max-height: 110vh;
  overflow: hidden;
}

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

.hero-text {
  position: absolute;
  bottom: 2vw;
  right: var(--hero-padding);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  max-width: 50vw;
}

.hero-title {
  font-family: 'LunchType Regular', system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  font-size: var(--title-size);
  font-weight: 400;
  color: #000;
  margin: 0 0 var(--subtitle-margin) 0;
  line-height: 1;
}

.hero-subtitle {
  font-family: 'LunchType Light', system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  font-size: var(--subtitle-size);
  font-weight: 300;
  color: #000;
  margin: 0 0 var(--subtitle-margin) 0;
  line-height: 1.5;
}

/* Image Section Component */
.image-section {
  background-color: white;
}

.section-description {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--section-image-horizontal-padding);
}

.section-title {
  font-family: 'LunchType Light', sans-serif;
  font-size: var(--section-title-size);
  font-weight: 300;
  color: #000;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

.section-subtitle {
  font-family: 'LunchType Light', sans-serif;
  font-size: calc(var(--section-title-size) * 0.75);
  font-weight: 300;
  color: #666;
  text-align: center;
  margin: 0.5vw 0 0 0;
  line-height: 1.4;
}

.section-image-wrapper {
  margin-top: var(--section-text-image-gap);
  padding: 0 var(--section-image-horizontal-padding);
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Full Bleed Image Section */
.full-bleed-section {
  position: relative;
  width: 100%;
  min-height: 110vh;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.full-bleed-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.full-bleed-title {
  position: relative;
  z-index: 10;
  font-family: 'LunchType Regular', sans-serif;
  font-size: calc(var(--section-title-size) * 3.5);
  font-weight: 400;
  color: #000000;
  text-align: center;
  margin: 0;
  line-height: 1.2;
}

/* Whitespace Section */
.whitespace-section {
  width: 100%;
  height: var(--whitespace-height);
  background-color: white;
}

/* Blackspace Section */
.blackspace-section {
  width: 100%;
  height: var(--whitespace-height);
  background-color: black;
}

/* Title Section - small centered title on black */
.title-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  padding: 2vw 0;
}

.title-section-text {
  font-family: 'LunchType Light', sans-serif;
  font-size: 3.6vw;
  font-weight: 300;
  color: #fff;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

/* Dual Full Bleed Image Section */
.dual-fullbleed-section {
  display: flex;
  width: 100%;
  min-height: 80vh;
  background-color: #000;
  gap: 1vw;
}

.dual-fullbleed-image {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dual-fullbleed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Triple Full Bleed Image Section */
.triple-fullbleed-section {
  display: flex;
  width: 100%;
  min-height: 70vh;
  background-color: #000;
  gap: 1vw;
}

.triple-fullbleed-image {
  flex: 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.triple-fullbleed-image:nth-child(2) {
  flex: 1;
}

.triple-fullbleed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
