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

body {
  font-family: basic-sans, sans-serif;
  background-color: rgb(32, 32, 32);
}
body::-webkit-scrollbar{
  display: none;
}

/* NAVIGATION BAR */

.header {
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.24),rgba(0,0,0,10)), url(/assets/wallpaper.jpg);
  box-shadow: 0 0 30px black;
  background-size: cover;
  background-position: center;
  position: relative;
  font-family: basic-sans, sans-serif;
  color: white;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #000000aa;
  padding: 0 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 45px;
  width: 100%;
}

nav img {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  margin: 0;
  color: white;
  cursor: pointer;
}

nav ul {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  list-style: none;
  margin: 0;
}

nav ul li {
  margin: 0 10px;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

nav ul li a:hover {
  color: rgb(88, 150, 166);
  transition: 0.3s;
}

/* INTRO SECTION */

.title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  filter: drop-shadow(7px 5px 2px #0000007b);
  font-size: 40px;
}

/* ABOUT ME SECTION */

.showcase {
  background-color: rgb(235, 235, 235);
  filter: drop-shadow(0px 0px 6px #000000bb);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  min-height: 100vh;
}

.row1 {
  display: flex;
  width: 100%;
  max-width: 1200px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
}

.img-col {
  flex-basis: 50%;
  position: relative;
  z-index: 1;
  text-align: center;
}
.img-col img {
  width: 100%;
  margin: auto;
  border-radius: 20px; 
  filter: drop-shadow(0px 0px 6px #000000bb);
  transition: all .2s ease-in-out; 
}
.img-col img:hover {
  transform: scale(1.5); 
}

/* GALLERY SECTION */

.gallery {
  padding: 50px 20px;
  background-color: rgb(32, 32, 32);
  filter: drop-shadow(0px 0px 6px #000000bb);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.gallery h2 {
  color: rgb(88, 150, 166);
  font-size: 40px;
  filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.395));
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 20px;
}
.gallery p {
  color: rgb(255, 255, 255);
  font-size: 20px;
  filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.395));
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  width: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  filter: drop-shadow(0px 0px 6px #000000bb);
  transition: all .2s ease-in-out;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  transition: all .2s ease-in-out;
}

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

.gallery-item p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.72);
  color: white;
  padding: 10px 8px;
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  line-height: 1.3;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  text-align: center;
}

/* RESPONSIVE DESIGN */

@media (max-width: 768px) {
  nav {
    height: auto;
    flex-direction: column;
    align-items: center;
  }
  nav ul {
    flex-direction: column;
    position: static;
    transform: none;
    left: auto;
    background-color: transparent;
    width: 100%;
    padding: 10px 0;
  }

  nav ul li {
    margin: 5px 0;
  }

  .title h1 {
    font-size: 30px;
  }

  .gallery h2 {
    font-size: 30px;
  }

  .gallery p {
    font-size: 18px;
  }

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

  .gallery-item img {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .title h1 {
    font-size: 25px;
  }

  .gallery h2 {
    font-size: 25px;
  }

  .gallery p {
    font-size: 16px;
  }

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

  .gallery-item img {
    height: 120px;
  }

  .gallery-item p {
    font-size: 14px;
    padding: 8px 10px;
  }
}