@font-face {
  font-family: 'Clothe';
  src: url('fonts/Clothe-Regular.woff2') format('woff2'),
       url('fonts/Clothe-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Clothe';
  src: url('fonts/Clothe-Light.woff2') format('woff2'),
       url('fonts/Clothe-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: 'Clothe', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  background-color: #ffffff; /* ← BACKGROUND COLOR */
  color: #1a1a1a; /* ← BODY FONT COLOR (applies to all text unless overridden below) */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ——— HEADER ——— */

header {
  padding: 32px 48px 0;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.logo-img {
  height: 120px;
  width: auto;
  display: block;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid #e0e0e0;
}

nav a {
  position: relative;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 300;
  white-space: nowrap;
}

nav a:not(.nav-instagram)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: #1a1a1a;
  transition: width 0.3s ease;
}

nav a:not(.nav-instagram):hover::after,
nav a.active::after {
  width: 100%;
}

.nav-instagram {
  display: flex;
  align-items: center;
  line-height: 0;
}

.nav-instagram svg {
  width: 19px;
  height: 19px;
  transition: opacity 0.2s ease;
}

.nav-instagram:hover svg {
  opacity: 0.4;
}

/* ——— MAIN / GALLERY ——— */

main {
  flex: 1;
  padding: 32px 48px 64px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.gallery-item {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.gallery-item-inner {
  position: relative;
  overflow: hidden;
  background-color: #f5f5f5;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-item:hover .gallery-item-inner img {
  transform: scale(1.04);
}

.item-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.52);
  color: #ffffff;
  padding: 10px 8px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover .item-title-overlay {
  opacity: 1;
}

/* Sketches: no link, no title */
.gallery-item-nolink {
  display: block;
  overflow: hidden;
  background-color: #f5f5f5;
}

.gallery-item-nolink img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* ——— ABOUT PAGE ——— */

.about-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}

.about-right {
  display: flex;
  justify-content: flex-end;
}

.about-left h1 {
  font-size: 3.5rem;
  font-weight: 400; /* ← TITLE FONT WEIGHT (400 = Regular, 300 = Light) */
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  line-height: 1;
  /* color: #1a1a1a; ← ADD THIS LINE to change the "Hi There!" title color */
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #333; /* ← ABOUT PAGE BODY TEXT COLOR */
  max-width: 480px;
}

.about-photo {
  width: 100%;
  display: block;
  object-fit: cover;
}

.about-cta {
  padding: 72px 48px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.about-cta p {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  margin-bottom: 36px;
}

.about-cta a {
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
}

.about-cta a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— IMAGE DETAIL PAGE ——— */

.image-detail {
  max-width: 900px;
  margin: 0 auto;
}

.image-detail-title {
  font-size: 2.5rem;
  font-weight: 400; /* ← TITLE FONT WEIGHT (400 = Regular, 300 = Light) */
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: 0.02em;
  /* color: #1a1a1a; ← ADD THIS LINE to change the image title color */
}

.image-detail-main {
  width: 100%;
  display: block;
  object-fit: contain;
}

.image-detail-additional {
  margin-top: 56px;
}

.additional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.additional-grid img {
  width: 100%;
  display: block;
  object-fit: contain;
  background-color: #f5f5f5;
}

/* ——— FOOTER ——— */

footer {
  padding: 36px 48px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

footer a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— NOT FOUND ——— */

.not-found {
  text-align: center;
  padding: 80px 0;
  color: #888;
}

.not-found p {
  margin-bottom: 12px;
}

.not-found a {
  color: #1a1a1a;
  text-decoration: underline;
}

/* ——— RESPONSIVE ——— */

/* Tablet: 2-column gallery */
@media (max-width: 900px) {
  header {
    padding: 24px 28px 0;
  }

  main {
    padding: 24px 28px 48px;
  }

  footer {
    padding: 28px 28px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-img {
    height: 90px;
  }

  .about-content {
    grid-template-columns: 1fr 240px;
    gap: 40px;
  }

  .about-cta {
    padding: 28px;
  }

  .image-detail {
    max-width: 100%;
  }
}

/* Mobile: 1-column gallery, stacked about */
@media (max-width: 580px) {
  header {
    padding: 20px 16px 0;
  }

  main {
    padding: 16px 16px 40px;
  }

  footer {
    padding: 24px 16px;
  }

  .logo-img {
    height: 72px;
  }

  nav {
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  nav a {
    font-size: 0.75rem;
    letter-spacing: 0.07em;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-right {
    max-width: 280px;
  }

  .about-left h1 {
    font-size: 2.5rem;
  }

  .image-detail-title {
    font-size: 1.75rem;
  }

  .about-cta {
    padding: 24px 16px;
  }
}
