/* === EPIC BRASOV.TATTOO HEADER - MOST INSANE DESIGN EVER CREATED === */
/* 🔥 macOS 14 + iOS 18 + ULTRA GLASSMORPHISM + MIND-BLOWING ANIMATIONS 🔥 */

/* ======================================================================================== */
/* 🛡️ DUPLICATE PREVENTION - Ultra Clean */
/* ======================================================================================== */

.header-section:not(:first-of-type) {
  display: none !important;
}

.main-nav:not(:first-of-type) {
  display: none !important;
}

/* ======================================================================================== */
/* 🌟 EPIC HEADER BASE - Next Level Glassmorphism */
/* ======================================================================================== */

.header-section {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 100px;
  width: 100%;
  
  /* 🔥 EPIC GLASSMORPHISM - NEVER SEEN BEFORE */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(40px) saturate(200%) brightness(120%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  
  /* 🌟 INSANE SHADOW SYSTEM */
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  
  /* 🎨 EPIC GRADIENT OVERLAY */
  background-image: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.05) 50%,
      rgba(255, 255, 255, 0.1) 100%
    );
}

/* ⚡ EPIC SCROLL EFFECT */
.header-section.scrolled {
  height: 90px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(50px) saturate(250%) brightness(130%);
  border-bottom-color: rgba(0, 212, 255, 0.3);
  
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 12px 48px rgba(0, 0, 0, 0.18),
    0 0 80px rgba(0, 212, 255, 0.15),
    0 0 0 1px rgba(0, 212, 255, 0.1);
  
  transform: translateY(0) scale(1.001);
}

/* 🌪️ EPIC HIDE ANIMATION */
.header-section.hidden {
  transform: translateY(-100%) rotateX(15deg);
  opacity: 0.7;
}

/* ======================================================================================== */
/* 🎯 NAVIGATION CONTAINER - REDESIGNED: Logo Center + Social Left + Hamburger Right */
/* ======================================================================================== */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ======================================================================================== */
/* 🎨 LOGO & BRANDING - REDESIGNED: CENTER + DOUBLE SIZE + NO CONTAINER */
/* ======================================================================================== */

.nav-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
}

.nav-brand .logo {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 2.2rem; /* DOUBLE SIZE */
  color: #ffffff;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 1rem 0;
  position: relative;
  
  /* 🔥 EPIC GLOW EFFECT - NO CONTAINER */
  text-shadow: 
    0 0 25px rgba(255, 255, 255, 0.6),
    0 0 50px rgba(0, 212, 255, 0.4),
    0 0 75px rgba(212, 175, 55, 0.3);
}

/* 🌟 LOGO HOVER - EVEN MORE EPIC */
.nav-brand .logo:hover {
  color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  
  text-shadow: 
    0 0 35px rgba(255, 255, 255, 0.9),
    0 0 70px rgba(0, 212, 255, 0.7),
    0 0 105px rgba(212, 175, 55, 0.5),
    0 0 140px rgba(175, 82, 222, 0.4);
  
  filter: brightness(1.3) saturate(1.4);
}

/* ⚡ REMOVED: Epic logo background effect (no container needed) */

/* 🎯 LOGO IMAGE - BIGGER & MORE EPIC */
.logo-image {
  height: 80px; /* DOUBLE SIZE */
  width: auto;
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  filter: 
    brightness(1.2) 
    contrast(1.3) 
    saturate(1.4) 
    drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
  
  /* 🌟 SUBTLE BORDER - NO CONTAINER */
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 0 0 1px rgba(0, 212, 255, 0.2),
    0 10px 40px rgba(0, 0, 0, 0.2);
}

.logo-image:hover {
  transform: scale(1.1) rotateY(5deg);
  filter: 
    brightness(1.4) 
    contrast(1.5) 
    saturate(1.6) 
    drop-shadow(0 0 50px rgba(0, 212, 255, 0.6));
  
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 
    0 0 0 3px rgba(0, 212, 255, 0.3),
    0 15px 60px rgba(0, 212, 255, 0.4);
}

/* 🔥 LOGO TEXT - BIGGER & MORE EPIC */
.logo-text {
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f0f9ff 25%,
    #e0f2fe 50%,
    #bae6fd 75%,
    #7dd3fc 100%
  );
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: logoTextShimmer 4s ease-in-out infinite;
  
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

@keyframes logoTextShimmer {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 100% 25%; }
  50% { background-position: 200% 50%; }
  75% { background-position: 100% 75%; }
}

/* ======================================================================================== */
/* 📱 SOCIAL LINKS - LEFT SIDE - ULTRA PREMIUM DESIGN */
/* ======================================================================================== */

.nav-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1001;
  position: absolute;
  left: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  
  /* 🔥 EPIC GLASSMORPHISM */
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.15);
}

.social-link:hover {
  transform: translateY(-4px) scale(1.1) rotateZ(5deg);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(35px) saturate(220%) brightness(130%);
  border-color: rgba(0, 212, 255, 0.5);
  
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 12px 40px rgba(0, 212, 255, 0.4),
    0 0 60px rgba(0, 212, 255, 0.3);
}

/* ⚡ EPIC SOCIAL ICON GLOW */
.social-icon {
  font-size: 1.3rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

.social-link:hover .social-icon {
  transform: scale(1.2) rotateY(360deg);
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
}

/* ======================================================================================== */
/* 🍔 HAMBURGER MENU - RIGHT SIDE - NEXT LEVEL iOS 18 DESIGN */
/* ======================================================================================== */

.nav-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  gap: 6px;
  z-index: 1002;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: absolute;
  right: 0;
  
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.15);
}

.nav-toggle:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(0, 212, 255, 0.3);
  
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 8px 32px rgba(0, 212, 255, 0.25);
}

.hamburger-line {
  width: 30px;
  height: 3px;
  background: linear-gradient(135deg, #ffffff, #e0f2fe);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
  
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.nav-toggle.active .hamburger-line {
  background: linear-gradient(135deg, #00d4ff, #0ea5e9);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(9px, 9px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(9px, -9px);
}

/* ======================================================================================== */
/* 🌟 NAVIGATION MENU - HIDDEN IN HAMBURGER - EPIC MOBILE STYLE */
/* ======================================================================================== */

.nav-menu {
  position: fixed;
  top: 100px;
  right: -100%;
  width: 380px;
  height: calc(100vh - 100px);
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
  padding: 3rem 2.5rem;
  
  /* 🔥 EPIC MOBILE GLASSMORPHISM */
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(50px) saturate(200%) brightness(120%);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  
  transition: right 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  overflow-y: auto;
  justify-content: flex-start;
  z-index: 1001;
  list-style: none;
  margin: 0;
  padding-top: 3rem;
  
  box-shadow: 
    -12px 0 48px rgba(0, 0, 0, 0.4),
    inset 1px 0 0 rgba(255, 255, 255, 0.1);
}

.nav-menu.active {
  right: 0;
  display: flex;
}

.nav-item {
  width: 100%;
  margin-bottom: 1rem;
}

/* 🔥 EPIC NAV LINKS - IN HAMBURGER MENU */
.nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 2rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  width: 100%;
  justify-content: flex-start;
  
  /* 🌟 EPIC GLASSMORPHISM BACKGROUND */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  
  /* ⚡ SUBTLE GLOW */
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 🚀 EPIC HOVER EFFECT IN MENU */
.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(0, 212, 255, 0.15);
  backdrop-filter: blur(40px) saturate(250%) brightness(130%);
  border-color: rgba(0, 212, 255, 0.4);
  
  transform: translateX(10px) scale(1.02);
  
  /* 🔥 INSANE GLOW SYSTEM */
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 8px 32px rgba(0, 212, 255, 0.25),
    0 0 60px rgba(0, 212, 255, 0.15);
  
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

/* 🎨 BUTTON STYLE LINKS - PREMIUM CTA */
.nav-button {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.9) 0%,
    rgba(0, 184, 255, 0.8) 50%,
    rgba(0, 156, 255, 0.9) 100%
  ) !important;
  color: #ffffff !important;
  font-weight: 700;
  padding: 1.4rem 2.2rem;
  margin-top: 1.5rem;
  border: 2px solid rgba(0, 212, 255, 0.3) !important;
  
  /* 🔥 EPIC GLOW */
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 8px 32px rgba(0, 212, 255, 0.4),
    0 0 60px rgba(0, 212, 255, 0.3) !important;
  
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.nav-button:hover {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.9) 0%,
    rgba(255, 195, 65, 0.8) 50%,
    rgba(255, 215, 85, 0.9) 100%
  ) !important;
  
  transform: translateX(10px) scale(1.02) !important;
  
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 12px 48px rgba(212, 175, 55, 0.5),
    0 0 80px rgba(212, 175, 55, 0.4) !important;
  
  border-color: rgba(212, 175, 55, 0.6) !important;
  color: #0a0a0a !important;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

/* 🎯 EPIC ICONS */
.nav-icon {
  font-size: 1.3rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0.9;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.nav-link:hover .nav-icon {
  transform: scale(1.2) rotateY(20deg);
  opacity: 1;
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
}

.nav-text {
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 0.95rem;
}

/* 🌟 EPIC MOBILE OVERLAY */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  z-index: 999;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ======================================================================================== */
/* 🔄 LOADING & ERROR STATES - EPIC DESIGN */
/* ======================================================================================== */

.nav-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(25px);
  border-radius: 16px;
  padding: 1rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.15);
}

.nav-loading::after {
  content: '...';
  animation: epicLoadingDots 2s infinite;
  margin-left: 0.3rem;
  color: #00d4ff;
  font-weight: 900;
}

@keyframes epicLoadingDots {
  0%, 20% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
  60% { opacity: 1; transform: translateY(0); }
  80%, 100% { opacity: 0; transform: translateY(3px); }
}

/* ======================================================================================== */
/* 📱 RESPONSIVE DESIGN - ULTRA PREMIUM MOBILE */
/* ======================================================================================== */

/* All screen sizes - hamburger always visible */
@media (max-width: 9999px) {
  .nav-toggle {
    display: flex !important;
  }
}

/* Tablet and desktop adjustments */
@media (max-width: 968px) {
  .main-nav {
    padding: 0 2rem;
  }
  
  .nav-social {
    gap: 0.8rem;
  }
  
  .social-link {
    width: 44px;
    height: 44px;
  }
  
  .logo-image {
    height: 70px;
  }
  
  .nav-brand .logo {
    font-size: 2rem;
  }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .header-section {
    height: 90px;
  }
  
  .header-section.scrolled {
    height: 80px;
  }
  
  .main-nav {
    padding: 0 1.5rem;
  }

  .nav-menu {
    top: 90px;
    height: calc(100vh - 90px);
    width: 100vw;
    right: -100vw;
    border-left: none;
    padding: 2.5rem 2rem;
  }

  .nav-menu.active {
    right: 0;
    display: flex;
  }

  .logo-image {
    height: 60px;
  }
  
  .nav-brand .logo {
    font-size: 1.8rem;
    gap: 1.2rem;
  }

  .social-link {
    width: 42px;
    height: 42px;
  }
  
  .social-icon {
    font-size: 1.2rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .main-nav {
    padding: 0 1rem;
  }

  .nav-menu {
    padding: 2rem 1.5rem;
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo-image {
    height: 50px;
  }
  
  .nav-brand .logo {
    font-size: 1.6rem;
    gap: 1rem;
  }

  .nav-link {
    padding: 1.4rem 1.8rem;
    font-size: 1rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .social-icon {
    font-size: 1.1rem;
  }
  
  .nav-social {
    gap: 0.6rem;
  }
}

/* ======================================================================================== */
/* ♿ ACCESSIBILITY & PERFORMANCE OPTIMIZATIONS */
/* ======================================================================================== */

/* High contrast mode */
@media (prefers-contrast: high) {
  .header-section {
    background: rgba(0, 0, 0, 0.95) !important;
    border-bottom-color: #00d4ff !important;
  }

  .nav-link {
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.15) !important;
  }

  .nav-link:hover,
  .nav-link.active {
    border-color: #00d4ff !important;
    background: rgba(0, 212, 255, 0.3) !important;
  }

  .social-link {
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .header-section,
  .nav-link,
  .hamburger-line,
  .nav-menu,
  .nav-overlay,
  .social-link,
  .logo-image,
  .nav-brand .logo {
    transition: none !important;
    animation: none !important;
  }
  
  .nav-link::before,
  .nav-brand .logo::before {
    display: none !important;
  }
}

/* Focus indicators for accessibility */
.nav-link:focus,
.social-link:focus,
.nav-toggle:focus,
.logo:focus {
  outline: 3px solid #00d4ff !important;
  outline-offset: 3px !important;
  border-radius: 12px !important;
  box-shadow: 0 0 0 6px rgba(0, 212, 255, 0.3) !important;
}

/* ======================================================================================== */
/* 🚀 FINAL OPTIMIZATIONS & CLEANUP */
/* ======================================================================================== */

/* Performance optimizations */
.nav-link,
.social-link,
.logo-image,
.nav-brand .logo {
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* Force remove conflicting styles */
.nav-link {
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  user-select: none !important;
}

/* Ensure proper layout */
.nav-menu .nav-item {
  display: block !important;
}

.nav-menu .nav-link {
  display: flex !important;
  flex-direction: row !important;
}

/* Body adjustments */
body {
  margin-top: 90px;
}

@media (max-width: 768px) {
  body {
    margin-top: 80px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 90px;
}

@media (max-width: 768px) {
  section {
    scroll-margin-top: 80px;
  }
}

/* ======================================================================================== */
/* 🎆 FINAL EPIC TOUCHES - MICRO-ANIMATIONS */
/* ======================================================================================== */

/* Epic page load animation */
@keyframes headerEpicEntrance {
  0% {
    transform: translateY(-100%) rotateX(90deg);
    opacity: 0;
  }
  50% {
    transform: translateY(-20px) rotateX(45deg);
    opacity: 0.7;
  }
  100% {
    transform: translateY(0) rotateX(0deg);
    opacity: 1;
  }
}

.header-section {
  animation: headerEpicEntrance 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
}

/* Epic stagger animation for nav items */
.nav-item {
  animation: navItemSlideIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-item:nth-child(4) { animation-delay: 0.4s; }
.nav-item:nth-child(5) { animation-delay: 0.5s; }
.nav-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes navItemSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Epic social icons entrance */
.social-link {
  animation: socialIconPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

.social-link:nth-child(1) { animation-delay: 0.7s; }
.social-link:nth-child(2) { animation-delay: 0.8s; }
.social-link:nth-child(3) { animation-delay: 0.9s; }

@keyframes socialIconPop {
  0% {
    opacity: 0;
    transform: scale(0) rotate(180deg);
  }
  80% {
    transform: scale(1.1) rotate(-10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}