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

body {
  font-family: 'Sora', sans-serif;
  /*background: #f7f4ee;*/
  background: #000;
  color: #fff;
  line-height: 1.6;
  padding: 0 1rem;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  margin: 3rem auto;
  align-items: center;
  max-width: 1250px;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: max-height 0.3s ease-in-out;
}

nav a {
  font-size: 1rem;
  font-weight: 400;
  color: #929292;
  text-decoration: none;
}

nav a:hover {
  color: #fff;
}

nav a.active {
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around; /* evenly space bars */
  align-items: center;
  width: 24px;
  height: 24px; /* total height can scale, spacing adjusts automatically */
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1px; /* set thickness */
  background: #fff;
  transition: 0.3s;
}

/* Hide hamburger on desktop */
@media (min-width: 768px) {
  .hamburger {
    display: none !important;
  }
}

@media (max-width: 767px) {
  header {
  margin-top: 2rem;
  margin-bottom: -1rem;
  }

  .hamburger {
    display: flex;
    z-index: 1001; /* keep above menu */
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: #000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
  }

  nav a {
    font-size: 1.2rem;
    color: #929292;
  }

  nav.open {
    opacity: 1;
    visibility: visible;
  }
}

nav .start-project {
  padding: 0.4rem 1rem;
  border: 1px solid #1a1a1a;
  border-radius: 9999px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;            /* enable flex so text + dot align */
  align-items: center;
  gap: 0.5rem;              /* spacing between dot and text */
}

nav .start-project::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff6a;      /* green dot */
}

nav .start-project:hover {
  background-color: #1a1a1a80;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1250px;
  margin: auto;
  margin-top: 7rem;
  margin-bottom: 7rem;
}

.hero-left h1.line1 {
  font-size: 6.5rem;
  font-family: 'Bebas Neue', sans-serif;
  line-height: 0.7;
  font-weight: 400;
  padding-bottom: 1rem;
}

.hero-left h1.line2 {
  font-size: 6.5rem;
  font-family: 'Bebas Neue', sans-serif;
  line-height: 0.7;
  font-weight: 400;
}

.hero-right {
  max-width: 500px;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  color: #fff;
  padding-right: 3rem;
  padding-left: 3rem;
}

.asterisk {
  display: inline-block;
  width: 0.5em;   /* scale with text */
  height: 0.5em;
  margin-left: 8px;
  vertical-align: top;
  animation: spin 4s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Responsive breakpoints */
@media (max-width: 1024px) and (min-width: 768px) {
.hero-left h1.line1 {
font-size: 9vw;
line-height: 0.7;
padding-bottom: 1rem;
}

.hero-left h1.line2 {
  font-size: 9vw;
  line-height: 0.7;
}

.hero-right {
  font-size: 0.8rem;
  line-height: 1.6;
  padding-right: 1rem;
  padding-left: 3rem;
}

.asterisk {
  display: inline-block;
  width: 0.5em;   /* scale with text */
  height: 0.5em;
  margin-left: 8px;
}
}

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

.asterisk {
  display: inline-block;
  width: 8vw;   /* scale with text */
  height: vw;
  margin-left: 4px;
}

}


/* Projects gallery */
.gallery {
      column-count: 3;       /* masonry effect */
      column-gap: 20px;
      max-width: 1250px;
      margin: 0 auto;
    }

    .gallery-item {
      display: inline-block;
      margin-bottom: 20px;
      width: 100%;
    }

    .image-wrapper {
      position: relative;
      width: 100%;
      overflow: hidden;
      cursor: pointer;
    }

    .image-wrapper img {
      display: block;
      width: 100%;
      height: auto; /* respects intrinsic aspect ratio */
      transition: opacity 0.4s ease;
    }

    .image-wrapper img.hover-img {
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
    }

    .image-wrapper:hover img.hover-img {
      opacity: 1;
    }

    .title {
      font-family: 'Sora', sans-serif;
      font-size: 1.1rem;
      margin-top: 16px;
      font-weight: 400;
      color: #fff;
    }

    .subtitle {
      font-size: 1.1rem;
      color: #999;
      margin-bottom: 16px;
    }

    @media (max-width: 767px) {
  .gallery {
    column-count: 1;
    margin: 3rem auto;
    column-gap: 16px;     /* space between columns */
  }

  .gallery-item {
    margin-bottom: 10px;
  }

}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  margin: 3rem auto;
  align-items: center;
  padding-top: 2rem;
  padding-right: 0rem;
  padding-left: 0rem;
  max-width: 1250px;
  font-size: 1rem;
  border-top: 1px solid #1a1a1a;
}

footer a {
  color: #fff;
}

footer .copyright {
  text-align: right;
}










/* Project Page*/
.project-page {
  max-width: 1250px;
  margin: 3rem auto;
}

.project-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 7rem;
  margin-bottom: 3rem;
  gap: 3rem;
  flex-wrap: wrap; /* allows stacking on small screens */
}

.project-hero-left {
  font-size: 1.6rem;
  line-height: 0.7;
  font-weight: 400;
}

.project-hero-right {
  max-width: 50%;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.6;
  margin-top: -0.6rem;
  color: #fff;
  margin-left: auto;
}

.project-hero-services {
  padding-top: 1rem;
  color: #929292;
}

/* Gallery rows */
.project-gallery {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.gallery-row.single img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.gallery-row.double {
  display: flex;
  gap: 2rem;
}

.gallery-row.double-hero {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.gallery-row.double img {
  width: calc(50% - 1rem); /* half width minus half the gap */
  display: block;
  object-fit: cover;
}

.gallery-row.double div {
  width: calc(50% - 1rem); /* half width minus half the gap */
  display: block;
  object-fit: cover;
}

/* Responsive gallery */
@media (max-width: 767px) {
  .gallery-row.double {
    flex-direction: column;
  }

  .gallery-row.double img {
    width: 100%;
  }

  .gallery-row.double div {
    width: 100%;
  }

  .project-gallery {
  gap: 1rem;
  }

  .gallery-row.double {
  gap: 1rem;
  }

  .gallery-row.double-hero {
    flex-direction: column;
    gap: 2rem;
  }

  .project-hero-left {
  font-size: 1.5rem;
  }

  .project-hero-right {
    max-width: 100%;
    font-size: 1.1rem;
  }
}










/* About Page */
.about-hero-divider {
border-top: 1px solid #1a1a1a;
}

.about-page {
  max-width: 1250px;
  margin: 3rem auto;
}

.project-gallery {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (max-width: 767px) {
.project-gallery {
  gap: 1rem;
  }
}

.about-left {
  font-size: 1.5rem;
  line-height: 0.7;
  font-weight: 400;
  color: #fff;
}

.about-right {
  max-width: 50%;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  margin-top: -0.6rem;
  color: #fff;
  margin-left: auto;
}

.gallery-row.double-about {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

@media (max-width: 767px) {
  .gallery-row.double-about {
    flex-direction: column;
    gap: 2rem;
  }

  .about-right {
    max-width: 100%;
  }
}
