body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #f1f1f1;
    color: #ffffff;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    background-color: #111;
    position: relative;
}

.name-and-profession h1 {
    margin: 0;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 3px;
}

.name-and-profession p {
    margin: 5px 0 0;
    font-size: 18px;
    color: #ccc;
}

.navbar a {
    margin-left: 30px;
    text-decoration: none;
    color: #ccc;
    font-size: 18px;
    position: relative;
}

.navbar a:hover, a:active {
    color: #fff;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 1px;
    background: #fff;
    transition: 0.3s;
}

.container {
    max-width: 1230px;
    margin: 0 auto;
    padding: 24px;
}

.hero video {
    width: 100%;
    height: auto;
    display: block;
}

.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
    position: relative;
    overflow:hidden;
    cursor:pointer;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-top: 20px;
}

.card h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 1);
    letter-spacing: 1px;
    white-space: nowrap;
    text-align: center;
    padding: 0 16px;
  

    color: white;
    font-size: clamp(18px, 1.8vw, 26px);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 3vw; 
}


.card:hover img {
    inset: 0;
    filter: brightness(80%);
    transition: 0.3s;
    transition: 0.4s ease;
    }

.footer {
    background-color: #111;
    padding: 40px 60px;
    color: white;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
}

.footer-left p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #ccc;
}

.footer-right {
    display: flex;
    gap: 20px;
}

.footer-right img {
    width: 28px;
    height: 28px;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}


.footer-right img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.sketches, .concept-art, .illustrations {
  padding: 60px;
}
 
.sketches h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: black;
}

.concept-art h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: black;
}

.illustrations h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: black;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ddd;
}

.grid img.wide {
  grid-column: span 2;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;            
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  opacity: 0;                
  visibility: hidden;         
  transition: opacity 0.3s ease, visibility 0.3s ease;

  z-index: 1000;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}


.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  object-fit: contain;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}


.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}


.grid img {
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
}

.about-section {
  padding: 80px 60px;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}


.about-image img {
  width: 300px;
  height: 300px;
  border-radius: 50%; 
  object-fit: cover;
  background: black; 
}

.about-text {
  max-width: 500px;
  color: black;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-text p {
  line-height: 1.6;
  margin-bottom: 15px;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; 
}

.email {
    color: inherit;
    text-decoration: underline;
}


.hamburger {
  display: none;
}


@media (max-width: 768px) {

 .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2000;
  }

  .hamburger span {
    width: 30px;
    height: 2px;
    background: white;
    display: block;
  }


  .site-header {
    padding: 24px;
    position: relative;
  }

  .navbar {
    display: none;
  }

  .navbar.active {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 100%;
  right: 24px;
  background: #111;
  padding: 20px;
  gap: 16px;
  z-index: 1000;
}

  .navbar.active a {
    margin-left: 0;
    white-space: nowrap;
  }


  .categories {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    position: relative;
    height: clamp(350px, 70vw, 550px);
    overflow: hidden;
  }

  .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 0;
  }
  .card h2 {
    font-size: clamp(32px, 8vw, 48px);
    transform: translate(-50%, -105%);
  }


  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .grid img.wide {
    grid-column: span 2;
  }


}



