/* =========================
   GLOBAL RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #000; /* black background */
  color: #fff;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: #A6882B;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   HEADER / NAVIGATION
========================= */
header {
  background: #000;
  border-bottom: 1px solid #A6882B;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-50px);
  animation: fadeDown 1s forwards;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 45px;
  animation: rotateIn 1s ease forwards;
}

.company-name {
  font-size: 15px;
  font-weight: bold;
  color: #A6882B;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 1s forwards;
  animation-delay: 0.3s;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  font-size: 15px;
  transition: 0.3s;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeUp 0.8s forwards;
}

.nav-links a:nth-child(1) { animation-delay: 0.5s; }
.nav-links a:nth-child(2) { animation-delay: 0.6s; }
.nav-links a:nth-child(3) { animation-delay: 0.7s; }
.nav-links a:nth-child(4) { animation-delay: 0.8s; }

.nav-links a:hover {
  color: #A6882B;
}

/* =========================
   HEADER BUTTONS (Login / Sign Up)
========================= */
.auth-buttons a {
  display: inline-block;
  min-width: 120px;
  text-align: center;
  background: #A6882B;   /* gold background for both */
  color: #000;           /* black text */
  padding: 9px 20px;
  border-radius: 25px;
  font-weight: bold;
  transition: 0.3s;
  border: none;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeUp 1s forwards;
}

.auth-buttons a:nth-child(1) { animation-delay: 0.9s; }
.auth-buttons a:nth-child(2) { animation-delay: 1s; }

.auth-buttons a:hover {
  opacity: 0.9;
  transform: translateY(-3px);
  background: #B59539;   /* slightly brighter gold on hover */
  animation: pulse 0.6s infinite;
}

/* =========================
   PAGE HEADER
========================= */
.page-header {
  text-align: center;
  padding: 120px 20px 50px 20px;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeUp 1s forwards;
  animation-delay: 1.1s;
}

.page-header h1 {
  font-size: 36px;
  color: #A6882B;
  margin-bottom: 15px;
  animation: slideInLeft 1s forwards;
}

.page-header p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
  animation: slideInRight 1s forwards;
  animation-delay: 1.2s;
}

/* =========================
   LOGIN / SIGNUP SECTION
========================= */
.login-signup-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  padding: 50px 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeUp 1s forwards;
  animation-delay: 1.3s;
}

.login-signup-container form {
  background: #111;
  padding: 30px 25px;
  border: 1px solid #A6882B;
  border-radius: 12px;
  max-width: 350px;
  width: 100%;
  text-align: center;
  transform: scale(0.9);
  animation: popIn 0.8s forwards;
}

.login-signup-container form:nth-child(1) { animation-delay: 1.4s; }
.login-signup-container form:nth-child(2) { animation-delay: 1.6s; }

.login-signup-container form h3 {
  font-size: 24px;
  color: #A6882B;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 1s forwards;
}

.login-signup-container input,
.login-signup-container textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #A6882B;
  border-radius: 8px;
  background: #000;
  color: #fff;
  font-size: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s forwards;
}

.login-signup-container input:nth-child(2),
.login-signup-container textarea:nth-child(3) { animation-delay: 1.5s; }

.login-signup-container button {
  width: 100%;
  padding: 12px;
  border-radius: 25px;
  border: none;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  transform: scale(0.95);
  animation: popIn 0.6s forwards;
}

.login-signup-container button.btn,
.login-signup-container button.btn-outline {
  background: #A6882B;
  color: #000;
}

.login-signup-container button.btn:hover,
.login-signup-container button.btn-outline:hover {
  transform: scale(1.05) translateY(-2px);
  opacity: 0.9;
  background: #B59539;
  animation: pulse 0.6s infinite;
}

/* =========================
   FOOTER
========================= */
footer {
  border-top: 1px solid #A6882B;
  padding: 25px;
  text-align: center;
  font-size: 14px;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeUp 1s forwards;
  animation-delay: 1.7s;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes rotateIn {
  0% { transform: rotate(-180deg) scale(0); opacity: 0; }
  100% { transform: rotate(0deg) scale(1); opacity: 1; }
}

@keyframes wobble {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .header-wrapper {
    flex-wrap: wrap;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .login-signup-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .page-header p {
    font-size: 16px;
  }
}
