* {
  box-sizing: border-box;
  margin: 0; padding: 0;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  color: #ffffff;
  background-color: #000;
  scroll-behavior: smooth;
  font-size: calc(15px + 0.390625vw);
}

header {
  position: fixed;
  top: 0; 
  width: 100%;
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 1rem 2rem; 
  background: rgba(0,0,0,0.8); 
  z-index: 1000;
  color: orange;
  font-family: 'Poppins', sans-serif;
}
header .logo {
  font-family: 'Playfair Display', serif;
}
 section h2 {
	font-family: 'Raleway', sans-serif;
    color: orange;
 }
  
nav a {
  color: orange; text-decoration: none;
  padding: 0.5rem;
}

nav a:hover, nav a.aktif {
  color: orange; 
}

main {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
}

.kategori {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100vh; text-align: center;
  scroll-snap-align: start;
  opacity: 0;
  transition: opacity 1s;
  padding: 80px 20px;
}

.kategori.aktif {
  opacity: 1;
}

.img-wrapper {
  position: relative;
  width: 90%; height: 60vh; margin: 1rem auto;
}

.img-wrapper img {
  position: absolute; 
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  max-width: 100%; max-height: 100%;
  object-fit: contain; 
  opacity: 0; transition: opacity .8s ease;
}

.img-wrapper img.aktif {
  opacity: 1;
}

#footer {
  padding: 1rem; text-align: center; font-size: 0.8rem;
  background: rgba(0,0,0,0.8);
}

#footer a {
  color: orange; text-decoration: none;
}

#footer a:hover { 
  text-decoration: underline; 
}

#footer a:visited {
    color: orange;
} 
 
@media(max-width: 768px){
  .img-wrapper {
    width: 95%; height: 45vh;
  }
  h1,h2,p {
    font-size: calc(12px + 1vw); 
  }
}