/* ============================================
   BASE.CSS - Global Styles & Layout
   ============================================ */

/* ===== Imports ===== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.cdnfonts.com/css/allenia");

/* ===== CSS Variables ===== */
:root {
  --width: min(1500px, 100%);
}

/* ===== Reset & Base Styles ===== */
* {
  list-style: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 70px;
  background-color: #000000;
  font-family: Poppins, sans-serif;
  color: #eee;
}

/* ===== Header & Navigation ===== */
header {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 8px 12px;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .container {
  width: 100%;
  max-width: var(--width);
  padding-right: 0%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 40px;
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

header nav ul li a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s;
}

header nav ul li a:hover,
header nav ul li a.active {
  color: #fff;
  border-bottom: 1px solid #eee8;
}

/* ===== Menu Toggle (Mobile) ===== */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
  color: #eee;
  transition: color 0.3s;
  position: relative;
}

.menu-toggle:hover {
  color: #fff;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
}

.menu-toggle .menu-icon {
  opacity: 1;
  transform: rotate(0deg);
}

.menu-toggle .close-icon {
  opacity: 0;
  transform: rotate(90deg);
}

.menu-toggle.active .menu-icon {
  opacity: 0;
  transform: rotate(-90deg);
}

.menu-toggle.active .close-icon {
  opacity: 1;
  transform: rotate(0deg);
}

/* ===== Buttons ===== */
.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  font-family: Poppins, sans-serif;
}

.btn-primary {
  background-color: #fff;
  color: #000;
}

.btn-primary:hover {
  background-color: #ddd;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: #000;
}

/* ===== Layout Utilities ===== */
.container {
  width: var(--width);
  margin: 0 auto;
  padding-inline: 20px;
}

.section {
  width: 100%;
  padding: 0;
  margin: 0;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-block: 0;
  gap: 0;
  position: relative;
}

main::after {
  width: 100%;
  height: 100px;
  content: "";
  position: absolute;
  z-index: 100;
  left: 0;
  bottom: 100%;
  background-image: linear-gradient(to top, #000, #0000);
}
