/* ILgames by Lajber Tours - Global Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@400;600;700;900&display=swap');

/* Reset and Variables */
:root {
  --bg-primary: #07040f;
  --bg-secondary: #0e0a1f;
  --bg-tertiary: #171133;
  --bg-glass: rgba(14, 10, 31, 0.65);
  --bg-glass-card: rgba(23, 17, 51, 0.45);
  
  --accent-purple: #9d4edd;
  --accent-purple-glow: rgba(157, 78, 237, 0.6);
  --accent-cyan: #00f5d4;
  --accent-cyan-glow: rgba(0, 245, 212, 0.6);
  --accent-magenta: #f72585;
  --accent-magenta-glow: rgba(247, 37, 133, 0.6);
  
  --text-main: #ffffff;
  --text-muted: #9f9cb2;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(157, 78, 237, 0.25);
  
  --font-header: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --shadow-glow: 0 0 15px var(--accent-purple-glow);
  --shadow-cyan-glow: 0 0 15px var(--accent-cyan-glow);
  --shadow-magenta-glow: 0 0 15px var(--accent-magenta-glow);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
  box-shadow: var(--shadow-glow);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  letter-spacing: 1px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 30%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-magenta), var(--accent-cyan));
  margin: 15px auto 0;
  border-radius: 2px;
  box-shadow: var(--shadow-cyan-glow);
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 15px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-header);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-magenta));
  color: #fff;
  box-shadow: 0 4px 15px rgba(247, 37, 133, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 37, 133, 0.6), var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 4px 15px rgba(0, 245, 212, 0.1);
}

.btn-secondary:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 245, 212, 0.4), var(--shadow-cyan-glow);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: #fff;
}

.btn-outline:hover {
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: var(--transition-normal);
}

.header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: var(--font-header);
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
  letter-spacing: 0;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-header);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-cyan-glow);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-normal);
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  transition: all var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(157, 78, 237, 0.05);
  transform: translateY(-5px);
}

/* Footer styling */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), var(--accent-cyan), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-info p {
  color: var(--text-muted);
  margin-top: 20px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all var(--transition-normal);
}

.social-icon:hover {
  background: var(--accent-purple);
  color: #fff;
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  text-transform: uppercase;
  position: relative;
}

.footer-links h3::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent-cyan);
  margin-top: 8px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 5px;
}

.footer-newsletter h3 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  text-transform: uppercase;
  position: relative;
}

.footer-newsletter h3::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent-magenta);
  margin-top: 8px;
}

.footer-newsletter p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-right: none;
  padding: 12px 15px;
  color: #fff;
  font-family: var(--font-body);
  border-radius: 4px 0 0 4px;
  outline: none;
  transition: var(--transition-normal);
}

.newsletter-form input:focus {
  border-color: var(--accent-purple);
  box-shadow: inset 0 0 5px rgba(157, 78, 237, 0.1);
}

.newsletter-form button {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-magenta));
  color: #fff;
  border: none;
  padding: 0 20px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-family: var(--font-header);
  font-weight: 600;
  transition: var(--transition-normal);
}

.newsletter-form button:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-glow);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animated Particles background */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.animated-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes pulse-neon {
  0% { box-shadow: 0 0 10px rgba(157, 78, 237, 0.4); }
  50% { box-shadow: 0 0 25px rgba(157, 78, 237, 0.8), 0 0 10px rgba(0, 245, 212, 0.4); }
  100% { box-shadow: 0 0 10px rgba(157, 78, 237, 0.4); }
}

.pulse-neon-border {
  animation: pulse-neon 3s infinite;
}

/* Fade-In Observer styling */
.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: var(--transition-normal);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  /* hamburger morph into X */
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Toast notifications styling */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.toast {
  background: var(--bg-tertiary);
  border: 1px solid var(--accent-cyan);
  border-left: 4px solid var(--accent-cyan);
  color: #fff;
  padding: 15px 25px;
  margin-top: 10px;
  border-radius: 4px;
  font-family: var(--font-header);
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4), var(--shadow-cyan-glow);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-success {
  border-color: var(--accent-cyan);
  border-left-color: var(--accent-cyan);
}

.toast-error {
  border-color: var(--accent-magenta);
  border-left-color: var(--accent-magenta);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4), var(--shadow-magenta-glow);
}

/* Team Avatar Placeholders for Corporate Branding */
.team-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-header);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-shadow: var(--shadow-cyan-glow);
  border-bottom: 1px solid var(--border-color);
  min-height: 250px;
}
