/* General Reset */
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}

/* Header */
header {
  z-index: 1000;
}
.logo {
  height: 50px;
}

/* Slider (Full Screen) */
.slider {
  position: relative;
  width: 100%;
  height: 100vh; /* penuh skrin */
  overflow: hidden;
  margin-top: 70px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(70%);
}

/* Overlay text */
.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}
.overlay h1 {
  font-size: 4rem;
  font-weight: 700;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}
.overlay p {
  font-size: 1.5rem;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.5);
}

/* Dots navigation */
.dot-container {
  position: absolute;
  bottom: 40px;
  width: 100%;
  text-align: center;
  z-index: 5;
}
.dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.active-dot {
  background-color: #007bff;
}

/* Footer */
footer {
  font-size: 0.9rem;
}
.social-icon {
  width: 24px;
  height: 24px;
}

/* Responsif */
@media (max-width: 768px) {
  .overlay h1 { font-size: 2.5rem; }
  .overlay p { font-size: 1rem; }
}

/* Footer Custom */
.footer-custom {
  background-color: #f2f2f2; /* Kelabu cair */
  color: #333;
  border-top: 1px solid #ddd;
}

.footer-custom a {
  color: #333;
  transition: color 0.3s ease;
}

.footer-custom a:hover {
  color: #007bff;
}

.social-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.15);
}

section {
  scroll-margin-top: 60px;
}

html {
  scroll-behavior: smooth;
}
