:root {
  /* Brand Colors */
  --orange: #fe713a;
  --gold: #efc48b;
  --purple: #863fce;
  --brick: #dc4f7b;
  --lightCrimson: #fdf2f5;
  --creamYellow: #f9d56e;
  --color-just-black: #0e100f;
  --warmGrey: #989a98;
    /* Semi-transparent versions (alpha = 0.8) */
  --orange-transparent: rgba(254, 113, 58, 0.8);
  --gold-transparent: rgba(239, 196, 139, 0.8);
  --purple-transparent: rgba(50, 4, 97, 0.8);
  --purple-transparent2: rgba(50, 4, 97, 0.6);
  --brick-transparent: rgba(220, 79, 123, 0.8);
  --black-transparent: rgba(45, 45, 45, 0.111);

  /* Text Colors */
  --text-on-dark: #ffffff;
  --text-on-light: var(--purple-transparent);
}

@font-face {
  font-family: 'NowRegular';
  src: ('/fonts/Now-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NowBold';
  src: ('/fonts/Now-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

body {
  background: #eef4ff;
  font-family: "NowRegular", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  margin: 0;
}

/* Reset link styles */
a,
a:link,
a:visited {
  color: inherit;
  text-decoration: none;
}

.spacer {
  width: 100%;
  height: 100vh;
  opacity: 1;
}

.video-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
}

.video {
  /*     display: cover; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) brightness(0.6) contrast(1.2);
  z-index: -1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: radial-gradient(circle at center,
      transparent 0%,
      rgba(253, 242, 245, 0.6) 100%);
  pointer-events: none;
}

.headline {
  /*   background: #2d4e86; */
  /*   color: white; */
  border-radius: 6px;
  height: 4em;
  width: 100%;
  align-items: content;
  font-size: 1.3rem;
  line-height: 1.4;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease;
}

.text {
  margin: 0.8em 0 0 0;
  background: #2d4e86;
  /*   color: white; */
  border-radius: 6px;
  height: 1em;
  width: 100%;
}

.gallery {
  display: flex;
  /*   outline: 1px solid red; */
  opacity: 0;
}

/* Optional: Very subtle fade when entering */
.gallery .headline {
  animation: gentleReveal 0.8s ease forwards;
}

@keyframes gentleReveal {
  0% {
    opacity: 0.8;
    transform: translateY(5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.right {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-content: flex-start;
}

.detailsWrapper {
  margin: auto;
  width: 80%;
}

.details {
  min-height:40vh;
    /* outline: 1px solid green; */
  display: flex;
  flex-direction: column;
  justify-content: center;
    font-size: 2rem;
  line-height: 1.4;
}

.left {
  /*   outline: 1px solid purple; */
  width: 40%;
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-content: flex-start;
}

.photos {
  display: flex;
  margin: 10px;
  font-size: 2rem;
  line-height: 1.4;
  justify-content: inherit;
  align-content: center;
}

/* Base gallery text - will be overridden by variations */
.gallery .headline,
.gallery .photos,
.gallery p,
.gallery .text {
  transition: color 0.3s ease;
}

/* ===== GALLERY VARIATIONS - MASTER CONTROL ===== */
.gallery.orange {
  background: var(--orange-transparent);
  color: var(--text-on-dark);
}

.gallery.purple {
  background: var(--purple-transparent);
  color: var(--text-on-dark);
}

.gallery.brick {
  background: var(--brick-transparent);
  color: var(--text-on-dark);
}

.gallery.lightCrimson {
  background: var(--lightCrimson);
  color: var(--text-on-light);
}

.gallery.creamYellow {
  background: var(--creamYellow);
  color: var(--text-on-dark);
}

/* Ensure all child elements inherit the color */
.gallery.orange *,
.gallery.purple *,
.gallery.brick *,
.gallery.lightCrimson *,
.gallery.creamYellow * {
  color: inherit;
}

/* Special exceptions if needed (like links behaving differently) */
.gallery.lightCrimson a:hover {
  color: var(--orange-transparent);
}

/* --- Menu items CSS objects */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
  pointer-events: none;
  mix-blend-mode: normal;
  vertical-align: center;
  box-sizing: border-box;
  /* opacity: 0.2; */
}

.pfc-logo {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.2;
  display: block;
  z-index: 10001;
  /* background-color: var(--color-just-black); */
  pointer-events: auto;
}

.pfc-logo a {
  display: block;
  pointer-events: auto;
  cursor: pointer;
}

.pfc-logo img {
  width: 100%;
  height: auto;
  max-width: 120px;
  background-color: var(--purple-transparent2);
  backdrop-filter: grayscale(80%);
  border-radius: 8px;
  pointer-events: none;
}

.menu-icon {
  position: fixed;
  top: 3rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--purple-transparent2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  pointer-events: auto;
  z-index: 10001;
}

.menu-icon .bar {
  width: 30px;
  height: 3px;
  background: var(--text-on-dark);
  border-radius: 3px;
  transition: 0.3s;
}

.menu-icon.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-icon.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-icon.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.menu-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #fe713a, #dc4f7b, #863fce);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  z-index: auto;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem 2rem;
  text-align: center;
}

.menu-item {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  /*   text-transform: uppercase; */
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
}

.menu-item a {
  color: white;
  text-decoration: none;
  font-size: inherit;
  font-weight: inherit;
  display: block;
  padding: 0.5rem 2rem;
  pointer-events: auto;
}

/* Optional hover effect */
.menu-item a:hover {
  color: #fdf2f5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Events Section */
.events-wrapper {
  grid-column-start: 6;
  grid-row-start: 1;
  grid-column-end: span 3;
  grid-row-end: span 1;
  background-color: var(--warmGrey);
  grid-template-columns: repeat(12, [col-start] 1fr);
  grid-template-rows: auto;
  display: grid;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  color: var(--text-on-dark);
}

.events-table {
  grid-column-start: 1;
  grid-row-start: 2;
  grid-column-end: span 12;
  grid-row-end: span NaN;
}

.events-title {
  grid-column-start: 1;
  grid-row-start: 1;
  grid-column-end: span 12;
  grid-row-end: span 1;
  align-self: start;
  z-index: 7;
  /*   text-transform: uppercase; */
  letter-spacing: 1px;
  /*   text-align: center; */
  display: block;
  padding: 10px;
  font-size: 2rem;
  line-height: 1.4;
}

@media (max-width: 640px) {
  html .events-title {
    grid-column-start: 1;
    grid-row-start: auto;
    grid-column-end: -1;
    grid-row-end: auto;
    padding-bottom: 5px;
  }
}

.events-title h2 {
  text-align: center;
}

.event-month {
  font-size: 10vw;
  text-align: right;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-style: solid solid none none;
  border-width: 1px;
  position: sticky;
  top: 0px;
  line-height: 0.75;
  grid-row-start: 1;
  grid-row-end: span 99;
}

@media (max-width: 960px) {
  .event-month {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media (max-width: 640px) {
  html .event-month {
    grid-column-end: span 2;
    text-align: left;
    border-style: solid none none none;
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

.event-container {
  display: grid;
  grid-template-columns: repeat(2, [col-start] 1fr);
}

.events {
  display: block;
  grid-template-columns: repeat(2, [col-start] 1fr);
  grid-column-end: -1;
  grid-row-end: span 1;
  width: 100%;
  column-gap: 0px;
  row-gap: 0px;
  border-style: none none solid none;
  border-width: 1px;
}

.event-date {
  min-width: 110px;
}

.event-month-container {
  display: grid;
  grid-template-columns: repeat(2, [col-start] 1fr);
  column-gap: 0px;
  row-gap: 0px;
  grid-column-end: -1;
  grid-column-start: 1;
}

.block_event {
  grid-column-end: span 1;
  grid-row-end: span 1;
  grid-row-start: auto;
  grid-column-start: 2;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  border-style: solid none none none;
  border-width: 1px;
}

@media (max-width: 640px) {
  html .block_event {
    grid-column-end: -1;
    grid-row-end: auto;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

.event-text {
  color: var(--text-on-dark);
}

.bg-layer {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin-top: -100vh;
}

.event-content {
  max-width: 500px;
}

.date {
  color: var(--text-on-dark);
}

.logo-collection {
  background: var(--brick-transparent);
  /* padding-top: 2%;
  padding-bottom: 6%; */
}

.section-title {
  /*   text-align: center; */
  display: block;
  padding: 10px;
  font-size: 2rem;
  line-height: 1.4;
  /*   align-content: left; */
  color: var(--text-on-dark);
  width: minmax(800px, auto);
}

.logo-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
    gap: 2% 3.6%;
  padding-top: 1rem;
  padding-bottom: 2rem;
  padding-right: 1rem;
  padding-left: 20%;
  background: var(--brick-transparent);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: var(--lightCrimson);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo i {
  font-size: 3rem;
  /* Controls icon size */
  color: var(--brick-transparent);
  margin-bottom: 1rem;
}

.logo .name {
  font-size: 1rem;
  color: var(--brick-transparent);
  margin: 0;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 900px) {
  .logo-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .logo-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .logo-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Our company */
img {
  width: 198px;
  height: 198px;
  object-fit: cover;
}

.app-wrapper {
  background: var(--brick-transparent);
  /* padding-top: 2%; */
  /* padding-bottom: 2%; */
  width: 100%;
}

.app {
  display: grid;
  align-items: center;
  justify-items: center;
  background: var(--brick-transparent);
  font-size: 14px;
  position: relative;
  overflow: auto;

  /* Hide the app on load */
  visibility: hidden;
  padding-bottom: 8%;
  padding-left: 18%;
  /* color: white; */
}

.company {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2% 3.6%;
  padding: 10px;
  overflow: visible;
  height: auto;
  grid-auto-rows: minmax(200px, auto);
  background: var(--brick-transparent);
  color: var(--text-on-dark);
}

.company-item {
  /* grid-column: 2 / -1; */
  cursor: pointer;
  font-size: 0;
}

.company-item h2 {
  font-size: 1rem;
  align-items: center;
}

.company-detail {
  position: fixed;
  /*     top: 10px; */
  left: 50%;
  width: 90.1vmin;
  cursor: pointer;
  font-size: 0;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  max-height: 100%;
  color: var(--text-on-dark);
}

.company-detail>img {
  position: relative;
  z-index: 1;
}

.company-detail .company-content {
  background: #232323;
  padding: 2rem 1.5rem;
  font-size: 1rem;
  box-sizing: border-box;
  flex-grow: 1;
}

.company-detail .company-content>* {
  margin-bottom: 1rem;
}

.company-detail .company-title {
  font-size: 2rem;
  text-transform: uppercase;
}

.company-detail .company-secondary {
  font-size: 1.2rem;
  color: var(--text-on-dark);
}

.company-detail .company-description {
  line-height: 1.5;
}