/* ========== GENERAL STYLES ========== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: url("./picture/background.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  height: 100vh; /* full-screen height */
  overflow: hidden; /* disables scrolling */
}

/* ========== NAVIGATION BAR ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(20, 20, 25, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 25px; /* reduced height (was 15px 30px) */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

li {
  list-style: none;
}

a {
  color: white;
  text-decoration: none;
}

.navbar {
  min-height: 45px; /* reduced height */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px; /* slightly reduced spacing */
}

.logo img {
  height: 35px; /* smaller logo height */
  width: auto;
  display: block;
}

.nav-link {
  transition: 0.7s ease;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: #ffffff;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 45px; /* adjusted for smaller header */
    gap: 0;
    flex-direction: column;
    background-color: #000000;
    width: 250px;
    text-align: center;
    transition: 0.3s;
    align-items: center;
  }
}

.nav-item {
  margin: 6px 0;
}

.nav-menu.active {
  left: 0;
}

/* Logo container */
.logo {
  margin-right: 40px;
}

/* Nav Menu */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding: 5px 0;
  position: relative;
}

/* Hover Effect */
nav ul li a:hover {
  color: #00bcd4;
}

/* Underline Animation */
nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #00bcd4;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* HERO BACKGROUND */
.hero-background {
  position: relative;
  width: 100%;
  height: 100vh; /* full viewport height */
  overflow: hidden;
  background: url("./picture/website\ background\ final\ 2.jpg") no-repeat center center;
  background-size: cover;
  filter: brightness(60%);
}






/* ======== FIXED FOOTER ======== */
.home-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-icons a {
  color: #fff;
  margin: 0 8px;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-icons a:hover {
  color: #ffb400;
}
/* ===== HERO TEXT ANIMATION + RESPONSIVE DESIGN ===== */
.hero-text {
  position: absolute;
  top: 38%;
  left: 0;
  transform: translateY(-50%);
  max-width: 55%;
  padding: 30px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 100;

  /* ANIMATION - box slides in first */
  opacity: 0;
  transform: translate(-100px, -50%);
  animation: boxSlideIn 1.2s ease-out forwards;
}

@keyframes boxSlideIn {
  0% {
    opacity: 0;
    transform: translate(-150px, -50%);
  }
  100% {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

/* Text Animation - comes after box */
.hero-text h1,
.hero-text p {
  opacity: 0;
  position: relative;
  z-index: 101;
  animation: textSlideIn 1s ease-out forwards;
  animation-delay: 1s;
}

@keyframes textSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* TEXT STYLING */
.hero-text h1 {
  font-size: 1.5rem;
  color: #ffb400;
  margin-bottom: 15px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-text p {
  font-size: 1rem;
  color: #fff;
  line-height: 1.6;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Tablets */
@media (max-width: 1024px) {
  .hero-text {
    max-width: 60%;
    padding: 25px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

/* Large Phones */
@media (max-width: 768px) {
  .hero-text {
    top: 45%;
    max-width: 75%;
    padding: 20px;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .hero-text {
    top: 45%;
    max-width: 85%;
    padding: 18px;
    border-top-right-radius: 120px;
  }

  .hero-text h1 {
    font-size: 1.3rem;
  }

  .hero-text p {
    font-size: 0.85rem;
  }
}


/* ====== Page Fade-in / Brightness Animation ====== */
body {
  opacity: 0;
  filter: brightness(0.5);
  animation: pageFadeIn 1.5s forwards;
}

@keyframes pageFadeIn {
  0% {
    opacity: 0;
    filter: brightness(0.5);
  }
  100% {
    opacity: 1;
    filter: brightness(1);
  }
}
