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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #fafafa;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2rem;
}
@media (min-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
}

h2 {
  font-size: 1.5rem;
}
@media (min-width: 768px) {
  h2 {
    font-size: 1.75rem;
  }
}

p {
  margin-bottom: 1rem;
}

.text-center {
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

.main {
  min-height: calc(100vh - 160px);
  padding: 1rem 0;
}
@media (min-width: 768px) {
  .main {
    padding: 2rem 0;
  }
}

.section {
  padding: 2rem 0;
}
@media (min-width: 768px) {
  .section {
    padding: 4rem 0;
  }
}

.header {
  padding: 1.5rem 0;
  border-bottom: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

.nav__logo {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .nav__logo {
    margin-bottom: 1rem;
  }
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  padding: 0;
  cursor: pointer;
  background: none;
  border: none;
}
@media (min-width: 768px) {
  .nav__toggle {
    display: none;
  }
}

.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: #1a1a1a;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav--open .nav__toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav--open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav--open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav__menu {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
}
.nav__menu.is-open {
  display: flex;
}
@media (min-width: 768px) {
  .nav__menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2rem;
    width: auto;
    padding: 0;
  }
}

.nav__item {
  margin: 0;
}

.nav__link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #1a1a1a;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}
.nav__link:hover, .nav__link:focus {
  color: #666;
}

.footer {
  border-top: 1px solid #e0e0e0;
  padding: 1.5rem 0;
  margin-top: 4rem;
}

.footer__content {
  text-align: center;
}

.footer__back-to-top {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  transition: color 0.3s ease;
}
.footer__back-to-top:hover, .footer__back-to-top:focus {
  color: #1a1a1a;
}

.gallery {
  padding: 1.5rem 0;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery__item {
  aspect-ratio: 1;
  overflow: hidden;
  background-color: #e0e0e0;
}

.gallery__link {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}
.gallery__link:hover, .gallery__link:focus {
  transform: scale(1.05);
}

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

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: color 0.3s ease;
}
.lightbox__close:hover, .lightbox__close:focus {
  color: #666;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: color 0.3s ease, transform 0.3s ease;
}
.lightbox__prev:hover, .lightbox__prev:focus,
.lightbox__next:hover,
.lightbox__next:focus {
  color: #666;
  transform: translateY(-50%) scale(1.1);
}
@media (min-width: 768px) {
  .lightbox__prev,
  .lightbox__next {
    width: 60px;
    font-size: 4rem;
  }
}

.lightbox__prev {
  left: 0.5rem;
}
@media (min-width: 768px) {
  .lightbox__prev {
    left: 1.5rem;
  }
}

.lightbox__next {
  right: 0.5rem;
}
@media (min-width: 768px) {
  .lightbox__next {
    right: 1.5rem;
  }
}

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

.lightbox__image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.home-categories {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.home-category {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #1a1a1a;
  transition: color 0.3s ease;
}
.home-category:hover, .home-category:focus {
  color: #666;
}

.project-card {
  position: relative;
  overflow: hidden;
  background-color: #f5f5f5;
}

.project-card__image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.project-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  transform: translateY(0);
  transition: transform 0.3s ease;
}
@media (hover: hover) {
  .project-card__overlay {
    transform: translateY(100%);
  }
}
@media (min-width: 768px) {
  .project-card__overlay {
    padding: 2rem;
  }
}

.project-card__title {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (min-width: 768px) {
  .project-card__title {
    font-size: 1.25rem;
  }
}

.project-card__year {
  font-size: 0.75rem;
  opacity: 0.8;
  letter-spacing: 0.05em;
}

.project-card__link {
  display: block;
}

.project-card:hover .project-card__image,
.project-card:focus-within .project-card__image {
  transform: scale(1.05);
}

@media (hover: hover) {
  .project-card:hover .project-card__overlay,
  .project-card:focus-within .project-card__overlay {
    transform: translateY(0);
  }
}
.work-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.work-detail__header {
  text-align: center;
  margin-bottom: 4rem;
}

.work-detail__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .work-detail__title {
    font-size: 2.5rem;
  }
}

.work-detail__year {
  color: #666;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.work-detail__image-wrapper {
  margin: 0 0 4rem;
}

.work-detail__image {
  width: 100%;
  height: auto;
  display: block;
}

.work-detail__content {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 4rem;
}
.work-detail__content p {
  margin-bottom: 1.5rem;
}
.work-detail__content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
}

.work-detail__footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

.work-detail__back {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  transition: color 0.3s ease;
}
.work-detail__back:hover, .work-detail__back:focus {
  color: #1a1a1a;
}

/*# sourceMappingURL=main.css.map */
