@import url("https://fonts.googleapis.com/css2?family=Nata+Sans:wght@100..900&display=swap");

:root {
  --primary-color: #ffffff;
  --secondary-color: #cccccc;
  --accent-color: #dc2626;
  --dark-bg: #000000;
  --darker-bg: #000000;
  --card-bg: #111111;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #888888;
  --border-color: #333333;
  --hover-color: #ffffff;
  --gradient-primary: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
  --gradient-secondary: linear-gradient(135deg, #ffffff 0%, #888888 100%);
  --gradient-bg: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl:
    0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --glow-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

html {
  background: var(--gradient-bg);
  min-height: 100vh;
  height: 100%;
}

body {
  font-family: "Nata Sans", sans-serif;
  background: var(--gradient-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.navbar {
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: 80px;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.navbar-collapse {
  flex-grow: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 1002;
  position: relative;
}

.nav-link {
  position: relative;
  font-weight: 500;
  transition:
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
  border-radius: 8px;
  margin: 0 4px;
  padding: 8px 16px;
  border: 1px solid transparent;
}

.nav-link:hover,
.nav-link:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.18);
  transform: none;
}

.nav-link.active,
.nav-link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--text-primary) !important;
  transform: none;
}

.nav-link:active {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.18);
  transform: none;
}

@media (max-width: 991px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .navbar-collapse.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar-collapse.collapsing {
    opacity: 0.3;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    width: 100%;
    max-width: 300px;
    padding: 2rem;
    margin: 0 auto;
    animation: slideInUp 0.6s ease-out 0.1s both;
  }

  .nav-item {
    width: 100%;
    margin: 0;
  }

  .nav-link {
    font-size: 1.3rem;
    padding: 1.2rem 2rem;
    margin: 0;
    width: 100%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    text-align: center;
  }

  .navbar-toggler {
    border: none;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6L24 24M24 6L6 24'/%3e%3c/svg%3e");
  }
}

.content-section {
  padding: 6rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
  box-shadow: var(--shadow-md);
}

.card:hover {
  box-shadow: var(--shadow-xl), var(--glow-shadow);
  border-color: var(--primary-color);
}

.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.card-text {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

footer {
  background: rgba(0, 0, 0, 0.7);
  border-top: 1px solid var(--border-color);
  text-align: center;
  padding: 15px 0;
  margin-top: auto;
  position: relative;
  bottom: 0;
  width: 100%;
  backdrop-filter: blur(10px);
}

footer p.text-muted {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  opacity: 1 !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes avatarFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: var(--gradient-primary);
}

.glass-effect {
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

@media (max-width: 768px) {
  html,
  body {
    height: 100vh;
    min-height: 100vh;
    background: var(--gradient-bg);
    background-attachment: fixed;
  }

  .section-title {
    font-size: 2rem;
  }

  .content-section {
    padding: 4rem 1rem 2rem;
  }
}

@media (max-width: 480px) {
  html,
  body {
    height: 100vh;
    min-height: 100vh;
    background: var(--gradient-bg);
    background-attachment: fixed;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.page-transition.active {
  opacity: 1;
  visibility: visible;
}

.page-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.page-content.loaded {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.1s;
}
.stagger-2 {
  transition-delay: 0.2s;
}
.stagger-3 {
  transition-delay: 0.3s;
}
.stagger-4 {
  transition-delay: 0.4s;
}
.stagger-5 {
  transition-delay: 0.5s;
}

@keyframes pageEntrance {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-entrance {
  animation: pageEntrance 0.6s ease-out forwards;
}

body {
  opacity: 1;
  transition: opacity 0.3s ease;
}

body.page-transitioning {
  opacity: 0.8;
}

.page-transitioning .content-section,
.page-transitioning .hero-content {
  transform: translateY(0) !important;
  opacity: 1 !important;
}
