/* Make footer stick to bottom */
html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  transition: background-image 1s ease-in-out; /* smooth fade */
  background-color: #1d2327; /* fallback color */
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* dark overlay */
  z-index: -1;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  margin: 0;
  /* border-radius: 0px 0px 6px 6px; */
  background: transparent;
  opacity: 0.9;
  position: relative;
  min-height: 36px;
  top: 0;
  z-index: 1000;
}

/* Logo */
.logo {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

/* Menu */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
  transition: all 0.3s ease;
  margin-left: 12px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 330;
  font-size: 1rem;
  transition: color 0.3s, transform 0.2s;
}

nav ul li a:hover {
  color: #ff4c4c;
  transform: scale(1.1);
}

/* menu-icon */
.menu-icon {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 2000;
  margin-left: 12px;
}

.menu-icon div {
  width: 28px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
}

nav ul.mobile-active {
  background-color: #000;
  opacity: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 20px;
  margin-left: 0;
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 23px;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  display: none;
}

nav ul.mobile-active li a {
  font-size: 1.6rem;
}

nav ul.mobile-active .close-btn {
  display: block;
  /* show only when menu is active */
}

/* Responsive */
@media screen and (max-width: 768px) {
  nav ul:not(.mobile-active) {
    display: none;
    /* hide desktop menu */
  }

  .menu-icon {
    display: flex;
    /* show menu-icon */
  }
}

/* Main Content */
main.content {
  padding: 20px 40px;
  width: 100%;
  max-width: 900px;
  margin: auto;
  line-height: 1.6;
  position: relative;
  z-index: 2; /* keep above overlay */
  overflow-wrap: break-word; /* modern property for wrapping long words */
  word-break: break-word; /* ensures long words break if needed */
  box-sizing: border-box; /* includes padding in width */
}
main.content,
.hero {
  flex: 1; /* Push footer down */
} 

main a{
  color:#ccc;
}

/* Hero Section clearer image */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* move content to bottom */
  align-items: center;
  height: 90vh;
  text-align: center;
  padding: 40px 20px;
  z-index: 2; /* above overlay */
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero p {
  max-width: 700px;
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.hero a.button {
  background: #f00722;
  color: white;
  padding: 15px 40px;
  font-size: 1.5rem;
  border-radius: 8px;
  text-decoration: none;
}
.hero a.button:hover {
  background: #ff5722;
}

/* Footer */
footer {
  background: transparent; /* transparent footer */
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  position: relative;
  z-index: 2; /* above overlay */
}
footer a {
  color: #fafafa;
  text-decoration: none;
}
footer a:hover {
  color: #ff5722;
  text-decoration: none;
}
