/* === GENERAL === */
body {
  margin: 0;
  font-family: 'Inter';
}
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}

/* === HEADER === */
header {
  background-color: #121212; /* Slightly softer than pure black */
  color: #F5F5F5;
  padding: 12px 30px;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-name {
  font-size: 1.5em;
  font-weight: bold;
  color: #F5F5F5;
}

.header-right {
  display: flex;
  align-items: center;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
}

/* === NAVIGATION === */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2px;
}

nav ul li a {
  text-decoration: none;
  font-size: 1.1em;
  color: #F5F5F5;
  transition: color 0.2s;
}

/* Auth Buttons */
.auth-item a {
  display: inline-block;
  color: #F5F5F5;
  font-size: 1em;
  padding: 12px 0;
  width: 100px;
  text-align: center;
  border: 1px solid #444;
  border-radius: 10px;
  font-weight: 600;
  margin: 0 5px;
  box-sizing: border-box;
  transition: transform 0.3s, color 0.2s, border-color 0.2s;
}

.auth-item a:hover {
  color: #ffdd99;
  border-color: #777;
}

.nav-ele a {
  display: inline-block;
  color: #F5F5F5;
  font-size: 1em;
  padding: 10px 10px;
  margin-top: 2px;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-ele a:hover {
  color: #ffdd99;
}

.contact-us a {
  margin-right: 15px;
}

/* Sidebar Toggle Buttons */
#open-sidebar,
#close-sidebar {
  display: none;
}

/* === MOBILE NAVIGATION === */
@media screen and (max-width: 830px) {
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(15em, 100%);
    z-index: 10;
    border-left: 1px solid #444;
    background-color: #121212;
    transition: right 0.3s ease-in-out;
  }

  nav ul {
    width: 100%;
    flex-direction: column;
  }

  .show {
    right: 0;
  }

  .auth-item a {
    width: 95%;
    border: 1px solid #555;
    margin-left: 5px;
    margin-top: 10px;
    border-radius: 8px;
  }

  .auth-item a:hover {
    color: #F5F5F5;
    border-color: #888;
  }

  .nav-ele a {
    width: 85%;
    margin-left: 6px;
    text-align: center;
    color: #ffdd99;
    margin-top: 4px;
  }

  .nav-ele a:hover {
    color: #F5F5F5;
  }

  header {
    padding: 1px 10px;
  }

  #open-sidebar,
  #close-sidebar {
    display: block;
    background: none;
    border: none;
    padding: 1em;
    cursor: pointer;
  }
}


/* === FOOTER === */
.site-footer {
  background-color: #121212;
  color: #cccccc;
  font-family: 'Inter';
  padding: 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1 1 250px;
  min-width: 220px;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.3em;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
}

.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.footer-section h3 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.footer-section p,
.footer-section li {
  font-size: 0.95em;
  line-height: 1.6;
  color: #cccccc;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin: 6px 0;
}

.footer-section a {
  text-decoration: none;
  color: #cccccc;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #ffdd99;
}

.brand {
  padding-top: 10px;
}

/* === SOCIAL ICONS === */
.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #cccccc;
  font-size: 1.2em;
  transition: color 0.2s;
}

.social-icons a:hover {
  color: #ffdd99;
}

/* === NEWSLETTER === */
.newsletter {
  background-color: #1c1c1c;
  padding: 15px 20px;
  border-radius: 8px;
  margin-left: 10px;
  margin-top: 10px;
}

.newsletter-form {
  margin-top: 10px;
  display: flex;
  max-width: 300px;
  margin-bottom: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  background-color: #2a2a2a;
  color: #ffffff;
}

.newsletter-form button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.2s;
}

.newsletter-form button:hover {
  background-color: #0056b3;
}

/* === BOTTOM SECTION === */
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9em;
  color: #aaaaaa;
}

.footer-policies {
  margin-top: 10px;
}

.footer-policies a {
  margin: 0 10px;
  color: #aaaaaa;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-policies a:hover {
  color: #ffdd99;
}
