/* =========================================
   Lee Cambu Portfolio — style.css
   Swap image src attributes in index.html to
   change photos. No build step needed.
   ========================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@400;500;600&display=swap');

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  background: #ffffff;
  color: #000000;
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}


/* =========================================
   NAVIGATION
   ========================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 52px;
}

.nav__wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: 0.05em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.nav__links a:hover {
  opacity: 0.5;
}

/* Hamburger — mobile only */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
}

.nav__hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #000;
  transition: transform 0.2s, opacity 0.2s;
  transform-origin: center;
}

.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

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

.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}


/* =========================================
   MOBILE OVERLAY NAV
   ========================================= */

.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: #e8e7e6;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.nav__overlay.is-open {
  display: flex;
}

.nav__overlay a {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.nav__overlay a:hover {
  opacity: 0.5;
}


/* =========================================
   PAGE WRAPPER
   ========================================= */

.page-content {
  padding-top: 52px;
}


/* =========================================
   PHOTO GRID
   CSS columns — images display at their natural
   proportions, columns fill independently.
   To change column count, edit column-count below.
   ========================================= */

.grid {
  column-count: 3;
  column-gap: 2rem;
  padding: 2rem;
}

.grid__item {
  break-inside: avoid;
  margin-bottom: 2rem;
  cursor: pointer;
}

.grid__item img {
  width: 85%;
  height: auto;
  display: block;
  transition: opacity 0.2s;
}

.grid__item:hover img {
  opacity: 0.6;
}

/* Tablet */
@media (min-width: 768px) {
  .grid {
    column-count: 3;
  }
}

/* Desktop */
@media (min-width: 1280px) {
  .grid {
    column-count: 5;
  }
}


/* =========================================
   LIGHTBOX
   ========================================= */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox__close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.lightbox__close:hover {
  opacity: 0.6;
}

.lightbox__prev,
.lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.8rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.lightbox__prev {
  left: 12px;
}

.lightbox__next {
  right: 12px;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  opacity: 0.6;
}

.lightbox__counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Barlow', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}


/* =========================================
   ABOUT PAGE
   ========================================= */

.about__hero {
  width: 100%;
  height: 55vh;
  min-height: 300px;
  overflow: hidden;
}

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

.about__body {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 24px 120px;
}

.about__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

.about__bio {
  font-size: 1rem;
  line-height: 1.75;
}

.about__bio p+p {
  margin-top: 20px;
}


/* =========================================
   CONTACT PAGE
   ========================================= */

.contact__wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 72px 24px 120px;
}

.contact__heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
  margin-bottom: 48px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.form__input,
.form__textarea {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: #000;
  background: transparent;
  border: 1px solid #000;
  padding: 12px 14px;
  outline: none;
  border-radius: 0;
  appearance: none;
  min-height: 44px;
  width: 100%;
  transition: opacity 0.2s;
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__input:focus,
.form__textarea:focus {
  opacity: 0.6;
}

.form__submit {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  background: #000;
  border: 1px solid #000;
  padding: 14px 32px;
  cursor: pointer;
  min-height: 44px;
  align-self: flex-start;
  transition: opacity 0.2s;
}

.form__submit:hover {
  opacity: 0.6;
}

.contact__social {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.contact__social a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: opacity 0.2s;
}

.contact__social a:hover {
  opacity: 0.5;
}

.contact__social svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}


/* =========================================
   MOBILE NAV TOGGLE
   ========================================= */

@media (max-width: 767px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }
}


/* =========================================
   EVENTS PAGE — album card grid
   ========================================= */

.events__header {
  padding: 40px 24px 28px;
}

.events__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.06em;
}

/* 1 col mobile → 2 tablet → 3 desktop */
.albums {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 24px 80px;
}

@media (min-width: 768px) {
  .albums {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .albums {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Individual card — entire element is a link */
.album-card {
  display: block;
  cursor: pointer;
}

.album-card__cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.album-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.album-card:hover .album-card__cover img {
  opacity: 0.75;
}

.album-card__title {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 12px;
}


/* =========================================
   ALBUM PAGE — title + back link
   ========================================= */

.album__header {
  padding: 36px 24px 20px;
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}

.album__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.06em;
}

.album__back {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.album__back:hover {
  opacity: 0.5;
}


/* =========================================
   ABOUT PAGE — CV / INFO SECTION
   Two-column layout below the bio.
   Collapses to single column on mobile.
   ========================================= */

.about__cv {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 120px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cv__note {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.4);
  margin-bottom: 40px;
}

.cv__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
}

.cv__section {
  margin-bottom: 40px;
}

.cv__label {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.cv__entries {
  list-style: none;
  padding-left: 1.5rem;
}

.cv__entries li {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: #000000;
}

.cv__year {
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 0.25rem;
  margin-left: -1.5rem;
}

.cv__entries a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cv__entries a:hover {
  opacity: 0.5;
}

@media (max-width: 767px) {
  .cv__cols {
    grid-template-columns: 1fr;
  }
}