/* =====================================================================
   LANDING PAGE NAV & HERO STYLES (nav.css)
   ---------------------------------------------------------------------
   Used by `index.html` for the marketing / public landing experience.
   Contains the top navigation bar + responsive mobile menu and the
   initial hero container blocks (.container1, .container2, etc.).

   FUTURE IMPROVEMENTS (OPTIONAL):
     - Extract color palette to CSS variables for theming.
     - Unify button styles with those in login.css or a shared base file.
     - Add prefers-reduced-motion adjustments for hover transitions.
   ===================================================================== */
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #15262c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #333;
}

/* Sticky-ish header that can later gain scroll shrink effects */
.navbar {
  position: relative;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  width: 100vw;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #c1af93;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 0;
}

/* Animated underline grows from center outwards */
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: linear-gradient(135deg, #ffffff, #ffffff);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.auth-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.btn {
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-signin {
  color: #667eea;
  background: transparent;
  border: 2px solid #667eea;
}

.btn-signin:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-create {
  border: 1px solid #004743;
  background-color: #004743;
  color: white;
  border: none;
}

.btn-create:hover {
  transform: scale(0.95);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}

.mobile-search {
  width: 100%;
}

.mobile-auth {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 768px) {
  .nav-links,
  .search-container,
  .auth-buttons {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu.active {
    display: flex;
  }

  .search-bar {
    width: 100%;
  }
}

.content {
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.content p {
  font-size: 1.2rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

.container1 {
  max-height: 700px;
  height: calc(100vh - 70px);
  width: 100%;
  background: transparent;
  position: relative;
  text-align: center;
}

.container1 .body {
  height: 90%;
  width: 90%;
  margin: auto;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: #132123;
  border-radius: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background: url("../images/header.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-position: center;
}

.container2,
.container3,
.container4 {
  height: 200px;
  background: transparent;
}

.container2 ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 0;
  margin: 0;
  height: 100%;
  width: 90%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.container2 ul li {
  color: white;
  background: #132123;
  border-radius: 20px;
  font-size: 1.5rem;
  height: 90%;
  width: 90%;
  transition: transform 0.3s ease, color 0.3s ease;
}
