/* Base Styles */
:root {
  --primary-color: #e63946;
  --text-light: #ffffff;
  --text-muted: #a6a99c;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

html {
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body {
  overflow-x: hidden;
}

/* Hide scrollbar */
::-webkit-scrollbar {
  display: none;
}

.body-general-background {
  background: url("/static/img/bg-1-1920x1600.jpg") top/cover no-repeat fixed;
  min-height: 100vh;
  color: var(--text-light);
  position: relative;
}

/* Particles and Overlay */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.gradient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 2;
}

/* Content Wrapper */
.navbar, .hero-section, .requirements-section, .setup-section, .footer-modern {
  position: relative;
  z-index: 3;
}

/* Modern Navbar */
.navbar-modern {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  margin: 20px auto;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-logo {
  background: url("/static/img/tahiti_white.png") center/contain no-repeat;
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.hover-underline {
  position: relative;
  padding-bottom: 5px;
}

.hover-underline::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.hover-underline:hover::after {
  width: 100%;
}

.hover-float {
  transition: transform 0.3s ease;
}

.hover-float:hover {
  transform: translateY(-5px);
}

/* Glowing Text Effect */
.glow-text {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Pulsing Button */
.pulse-button {
  position: relative;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
      box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4);
  }
  70% {
      box-shadow: 0 0 0 10px rgba(230, 57, 70, 0);
  }
  100% {
      box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
  }
}

/* Glass Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}
/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

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

/* Requirements Section */
.requirements-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

/* Setup Section */
.setup-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    margin-top: 50px;
}

.section-title {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.section-divider {
    height: 50px;
    width: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.2), transparent);
}

/* Footer */
.footer-modern {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  padding: 20px 0;
  margin-top: 50px;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 15px;
}

.footer-content a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.footer-content a:hover {
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-text {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
  padding: 10px 0;
  letter-spacing: 0.3px;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-section h1 {
      font-size: 3rem;
  }
  
  .section-title {
      font-size: 2rem;
  }
  
  .glass-card {
      padding: 1.5rem;
  }
}
@media (max-width: 768px) {
  .navbar-collapse {
      text-align: right;
      padding-top: 1rem;
  }
  
  .navbar-nav {
      align-items: flex-end;
      gap: 1rem;
  }
  
  .dropdown-menu.glass-dropdown {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    position: relative;
    text-align: right;
    z-index: 10000;
    pointer-events: auto;
    min-width: 200px;
    display: none;
  }

  .dropdown-menu.glass-dropdown.show {
    display: inline-block;
    width: auto;
    min-width: 150px;
    max-width: 150px;
    position: relative;
    margin-bottom: -6rem;
  }
  .nav-item {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
  }

  .dropdown {
    display: flex;
    justify-content: flex-end;
    width: 100%;
  }


  .dropdown-item {
    padding: 0.5rem 1rem;
    text-align: right;
  } 

  .particles-js-canvas-el {
      opacity: 0.5;
  }

  .navbar-modern {
      margin: 10px;
  }
  
  .glass-card {
      margin-bottom: 30px;
  }
  
  .hero-section h1 {
      font-size: 2.5rem;
  }
  
  .hero-section .lead {
      font-size: 1.1rem;
  }
}
@media (max-width: 576px) {
  .hero-section h1 {
      font-size: 2rem;
  }
  
  .glass-card {
      padding: 1.25rem;
  }
  
  .glass-card li {
      font-size: 1rem;
  }
  
  .footer-content {
      flex-direction: column;
      align-items: center;
      gap: 15px;
  }
  
  .pulse-button {
      animation: none;
  }
}

/* Dropdown Styling */
.navbar-nav .dropdown {
    position: relative;
}

.dropdown-menu.glass-dropdown {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    position: absolute;
    left: 0;
    z-index: 10000;
    pointer-events: auto;
    min-width: 100%;
}
.glass-dropdown .dropdown-item {
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10001;
}

.glass-dropdown .dropdown-item:hover,
.glass-dropdown .dropdown-item:focus {
    background: rgba(230, 57, 70, 0.2);
    color: var(--primary-color);
}

.navbar {
    position: relative;
    z-index: 9999;
}
.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: middle;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary-color);
    z-index: 9999;
    transition: width 0.2s ease;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 500;
}

.quick-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.quick-nav-item {
    display: block;
    width: 12px;
    height: 12px;
    background: var(--glass-bg);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.quick-nav-item:hover,
.quick-nav-item.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out;
}

.loader {
    width: 600px;
    height: 600px;
    background: url("/static/img/logo.webp") center/contain no-repeat;
    animation: pulse-fade 2s infinite;
}

@keyframes pulse-fade {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Floating Elements Animation */
.float-element {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Micro-animations for buttons */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Background color shifts */
.color-shift {
    background: linear-gradient(45deg, #0066cc, #e63946, #2ecc71);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
