/* GENERAL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background: #f8f5ee;
  color: #1a1a1a;
  line-height: 1.6;
}

/* HERO FONT (Sansumi for LIMINAL) */
@font-face {
  font-family: "Sansumi";
  src: url("../fonts/Sansumi-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* NAVBAR */
header.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 10;
  border-bottom: none;
  flex-wrap: wrap;
}

/* NAVBAR original
header.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 3rem;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  z-index: 10;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}
*/

header.nav .logo {
  margin-bottom: 0rem;
}

header.nav img {
  height: 40px;
}

nav.nav-links {
  display: none;
  flex-direction: column;
  width: 100%;
  text-align: center;
}

nav.nav-links.show {
  display: flex;
}

nav.nav-links a {
  margin: 0.5rem 0;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 1.1rem;
}

.hamburger {
  position: absolute;
  right: 2rem;
  top: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 15;
}

.hamburger span {
  height: 3px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 0;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.hero-title {
  font-family: "Sansumi", sans-serif;
  font-size: 5rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 0;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

.btn:hover {
  background: #222;
}

/* FEATURED IMAGES */
.featured-images {
  text-align: center;
  padding: 3rem 1rem;
}

.image-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.image-grid img {
  width: 23%;
  border-radius: 0;
}

/* Extend view portfolio button */
.view-portfolio-btn {
  display: block;
  width: calc(23% * 4 + 3rem); /* 4 images + 3 gaps */
  height: calc(23% / 16); /* single image width / 16 */
  margin: 1rem auto 0 auto;
  font-size: 1rem;
  line-height: normal;
}

/* MASONRY GRID FOR PORTFOLIO */
.masonry-grid {
  column-count: 3;
  column-gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.masonry-grid img {
  width: 100%;
  display: block;
  margin-bottom: 1rem;
  break-inside: avoid;
  border-radius: 12px;
}

/* ABOUT PAGE */
.about-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 0 0 500px;
  font-family: "Inter";
  font-size: 1rem;
  line-height: 1.8;
}

/* old 
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 2rem;
  max-width: 500px;
  margin: 0 auto;
  gap: 2rem;
}
*/

.about-content img {
  max-width: 600px;
  width: 100%;
  padding: 5rem 2rem;
  height: auto;
  object-fit: cover;
}

/* CONTACT PAGE */
.contact {
  max-width: 600px;
  margin: 3rem auto;
  padding: 0 1rem;
  font-family: "Inter", sans-serif;
}

.contact h1 {
  font-weight: bold;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.contact label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  font-family: "Inter", sans-serif;
}

.contact button {
  width: 100%;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  color: #777;
}

footer .footer-logo {
  max-width: 500px;
  margin-bottom: 1rem;
}

/* MEDIA QUERIES */
@media (max-width: 900px) {
  .masonry-grid {
    column-count: 2;
  }

  .image-grid img {
    width: 48%;
  }

  .view-portfolio-btn {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .masonry-grid {
    column-count: 1;
  }

  .image-grid img {
    width: 100%;
  }
}
