/* Shared Header Styles for All Pages - Belgear Oil
 * Unified header design across the entire website
 * Version: 2.0 - Enhanced & Beautiful
 */

/* CSS Variables for Header - Transparent Design like About Page */
:root {
  --header-height: 70px;
  --header-bg: rgba(0, 0, 0, 0.2);
  --header-bg-scrolled: rgba(0, 0, 0, 0.3);
  --header-gold: #d4af37;
  --header-gold-hover: #f4e4a6;
  --header-text: #ffffff;
  --header-text-hover: #d4af37;
  --header-blur: blur(10px);
  --header-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --header-border-radius: 0 0 18px 18px;
  --header-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header Base Styles */
header {
  background: transparent ;
  background-color: rgba(0, 0, 0, 0.2) ;
  color: var(--header-text);
  padding: 0;
  position: fixed;
  width: 100vw;
  height: var(--header-height);
  min-width: 100vw;
  left: 0;
  top: 0;
  z-index: 1000;
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: var(--header-transition);
}

/* Header scroll effect - Keep transparent */
header.scrolled {
  background: rgba(0, 0, 0, 0.3) !important;
  background-color: rgba(0, 0, 0, 0.3) !important;
  box-shadow: var(--header-shadow);
  height: calc(var(--header-height) - 5px);
}

/* Force transparency on all header states */
header,
header.scrolled,
header.scrolling-down,
header.scrolling-up {
  background: rgba(0, 0, 0, 0.2) !important;
  background-color: rgba(0, 0, 0, 0.2) !important;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.3) !important;
  background-color: rgba(0, 0, 0, 0.3) !important;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  min-width: 100vw;
  margin: 0;
  padding: 0;
  background: transparent;
  position: relative;
  height: var(--header-height);
  transition: var(--header-transition);
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-width: 320px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
  position: relative;
  height: 100%;
}

nav ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  line-height: 1;
  position: relative;
}

nav ul li.logo-placeholder {
  flex: 0 0 120px;
  margin: 0 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

nav ul li:not(.logo-placeholder) {
  min-width: 100px;
  text-align: center;
  position: relative;
}

/* Logo Design - Simple and Clean like About Page */
nav .logo {
  height: 35px;
  min-height: 30px;
  max-height: 40px;
  padding: 1px 1px;
  transition: var(--header-transition);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  background: transparent;
  border: none;
  box-shadow: none;
}

nav .logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Navigation Links - Simple and Clean like About Page */
nav ul li a {
  color: var(--header-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85em;
  transition: var(--header-transition);
  padding: 10px 14px;
  border-radius: 6px;
  display: inline-block;
  line-height: 1.2;
  margin: 0;
  vertical-align: top;
  height: auto;
  min-height: 40px;
  max-height: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
  background: transparent;
  border: 2px solid transparent;
}

/* No underline effects */

nav ul li a:hover,
nav ul li a:focus,
nav ul li a.active {
  color: var(--header-text-hover) !important;
  text-decoration: none !important;
}

/* Burger Menu - Simple Design */
.burger-menu {
  display: none;
  background: none;
  border: none;
  font-size: 2.2em;
  color: var(--header-gold);
  cursor: pointer;
  position: absolute;
  left: 18px;
  top: 12px;
  z-index: 1002;
  transition: var(--header-transition);
  width: 50px;
  height: 50px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}

.burger-menu:hover {
  color: #fff;
  transform: scale(1.1);
}

.burger-menu:active {
  transform: scale(0.95);
}

/* Enhanced Sidebar Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1002;
  transition: var(--header-transition);
  opacity: 0;
  visibility: hidden;
}

.sidebar-overlay.show {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Enhanced Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 1003;
  transition: var(--header-transition);
  padding: 90px 0 0 0;
  overflow-y: auto;
  border-right: 3px solid var(--header-gold);
}

.mobile-sidebar.show {
  left: 0;
}

/* Sidebar scrollbar styling */
.mobile-sidebar::-webkit-scrollbar {
  width: 6px;
}

.mobile-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.mobile-sidebar::-webkit-scrollbar-thumb {
  background: var(--header-gold);
  border-radius: 3px;
}

.mobile-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--header-gold-hover);
}

.mobile-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-sidebar ul li {
  margin: 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
}

.mobile-sidebar ul li a {
  display: block;
  padding: 22px 35px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  transition: var(--header-transition);
  border-left: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Mobile sidebar link hover effect */
.mobile-sidebar ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: var(--header-transition);
}

.mobile-sidebar ul li a:hover::before {
  left: 100%;
}

.mobile-sidebar ul li a:hover,
.mobile-sidebar ul li a.active {
  color: var(--header-gold);
}

.mobile-sidebar .logo {
  display: flex;
  justify-content: center;
  padding: 25px 20px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.2);
  margin-bottom: 25px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(244, 228, 166, 0.05));
}

.mobile-sidebar .logo img {
  height: 55px;
  transition: var(--header-transition);
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

.mobile-sidebar .logo img:hover {
  transform: scale(1.05);
}

/* Enhanced Close Button */
.close-sidebar {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(212, 175, 55, 0.1);
  border: 2px solid var(--header-gold);
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--header-gold);
  cursor: pointer;
  padding: 12px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--header-transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.close-sidebar:hover {
  background: var(--header-gold);
  color: #000;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.close-sidebar:active {
  transform: scale(0.95) rotate(90deg);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  :root {
    --header-height: 65px;
  }
  
  .burger-menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1) !important;
    border: 2px solid var(--header-gold) !important;
    border-radius: 8px !important;
    width: 50px !important;
    height: 50px !important;
  }
  
  nav ul#mainNav {
    display: none !important;
  }

  .mobile-sidebar ul li a {
    padding: 20px 30px;
    font-size: 1.1rem;
  }
  
  nav ul {
    min-width: 280px;
    padding: 0 20px;
  }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
  /* إظهار أيقونة الهمبرغر في الشاشات المتوسطة */
  .burger-menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1) !important;
    border: 2px solid var(--header-gold) !important;
    border-radius: 8px !important;
  }
  
  /* إخفاء القائمة العادية في الشاشات المتوسطة */
  nav ul {
    display: none !important;
  }
  
  nav ul {
    max-width: 1000px;
    padding: 0 25px;
  }
  
  nav ul li:not(.logo-placeholder) {
    min-width: 85px;
  }
  
  nav ul li a {
    font-size: 1em;
    padding: 10px 14px;
  }
}

/* Desktop - إخفاء أيقونة الهمبرغر وإظهار القائمة العادية */
@media (min-width: 1025px) {
  .burger-menu {
    display: none !important;
  }
  
  nav ul {
    display: flex !important;
  }
}

/* إصلاح إضافي لضمان ظهور أيقونة الهمبرغر على جميع الشاشات الصغيرة */
@media (max-width: 1024px) {
  .burger-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(212, 175, 55, 0.1) !important;
    border: 2px solid var(--header-gold) !important;
    border-radius: 8px !important;
    width: 50px !important;
    height: 50px !important;
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1002 !important;
  }
  
  nav ul#mainNav {
    display: none !important;
  }
}

/* Small phones refinements */
@media (max-width: 480px) {
  :root {
    --header-height: 60px;
  }

  nav ul li a {
    font-size: 0.95em;
    padding: 8px 12px;
    min-height: 40px;
  }

  .burger-menu {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.6em !important;
    left: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(212, 175, 55, 0.1) !important;
    border: 2px solid var(--header-gold) !important;
    border-radius: 8px !important;
  }

  nav .logo {
    height: 15px;
    padding: 1px 2px;
  }

  .mobile-sidebar {
    width: 100vw;
    left: -100vw;
  }

  .mobile-sidebar ul li a {
    padding: 18px 25px;
    font-size: 1.05rem;
  }
  
  .mobile-sidebar .logo img {
    height: 50px;
  }
  
  .close-sidebar {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    top: 20px;
    right: 20px;
  }
}

/* Ultra-small devices */
@media (max-width: 360px) {
  :root {
    --header-height: 55px;
  }
  
  nav ul li a {
    font-size: 0.9em;
    padding: 6px 10px;
    min-height: 36px;
  }

  .burger-menu {
    width: 40px;
    height: 40px;
    font-size: 1.4em;
    left: 12px;
  }

  nav .logo {
    height: 15px;
    padding: 1px 2px;
  }
  
  .mobile-sidebar ul li a {
    padding: 16px 20px;
    font-size: 1rem;
  }
  
  .mobile-sidebar .logo img {
    height: 45px;
  }
  
  .close-sidebar {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
    top: 15px;
    right: 15px;
  }
}

/* Enhanced Focus and Accessibility */
nav ul li a:focus {
  outline: 2px solid var(--header-gold) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2) !important;
}

.burger-menu:focus {
  outline: 2px solid var(--header-gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.close-sidebar:focus {
  outline: 2px solid var(--header-gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

/* Ultimate Override for Consistency */
header {
  background: var(--header-bg) !important;
  color: var(--header-text) !important;
  padding: 0 !important;
  position: fixed !important;
  width: 100vw !important;
  height: var(--header-height) !important;
  min-width: 100vw !important;
  left: 0 !important;
  top: 0 !important;
  z-index: 1000 !important;
  margin: 0 !important;
  border: none !important;
  backdrop-filter: var(--header-blur) !important;
  -webkit-backdrop-filter: var(--header-blur) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1) !important;
  transition: var(--header-transition) !important;
}

header.scrolled {
  background: var(--header-bg-scrolled) !important;
  box-shadow: var(--header-shadow) !important;
  height: calc(var(--header-height) - 5px) !important;
}

nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100vw !important;
  min-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  position: relative !important;
  height: var(--header-height) !important;
  transition: var(--header-transition) !important;
}

nav ul {
  list-style: none !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-width: 320px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 30px !important;
  width: 100% !important;
  position: relative !important;
  height: 100% !important;
}

nav ul li {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  position: relative !important;
}

nav ul li.logo-placeholder {
  flex: 0 0 120px !important;
  margin: 0 25px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 2 !important;
}

nav ul li:not(.logo-placeholder) {
  min-width: 100px !important;
  text-align: center !important;
  position: relative !important;
}

nav .logo {
  height: 35px !important;
  min-height: 30px !important;
  max-height: 40px !important;
  padding: 1px 1px !important;
  transition: var(--header-transition) !important;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3)) !important;
}

nav ul li a {
  color: var(--header-text) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 1.05em !important;
  transition: var(--header-transition) !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  display: inline-block !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  vertical-align: top !important;
  height: auto !important;
  min-height: 44px !important;
  max-height: none !important;
  border: none !important;
  background: none !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
  letter-spacing: 0.5px !important;
}

/* nav ul li a::before {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, var(--header-gold), var(--header-gold-hover)) !important;
  transition: var(--header-transition) !important;
  transform: translateX(-50%) !important;
  border-radius: 1px !important;
} */

nav ul li a:hover::before,
nav ul li a:focus::before,
nav ul li a.active::before {
  width: 80% !important;
}

nav ul li a:hover,
nav ul li a:focus,
nav ul li a.active {
  color: var(--header-text-hover) !important;
  background: rgba(212, 175, 55, 0.1) !important;
  outline: 2px solid var(--header-gold) !important;
  outline-offset: 2px !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2) !important;
}

/* Enhanced High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --header-bg: rgba(0, 0, 0, 0.95);
    --header-bg-scrolled: rgba(0, 0, 0, 0.98);
  }
  
  header {
    border: 2px solid var(--header-gold) !important;
  }
  
  nav ul li a {
    border: 1px solid transparent !important;
  }
  
  nav ul li a:hover,
  nav ul li a:focus,
  nav ul li a.active {
    border-color: var(--header-gold) !important;
    background: rgba(212, 175, 55, 0.3) !important;
  }
  
  .burger-menu {
    border: 3px solid var(--header-gold) !important;
  }
  
  .mobile-sidebar {
    border-right: 4px solid var(--header-gold) !important;
  }
}

/* Enhanced Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  /* nav ul li a::before {
    transition: none !important;
  } */
  
  .mobile-sidebar ul li a::before {
    transition: none !important;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --header-bg: rgba(0, 0, 0, 0.98);
    --header-bg-scrolled: rgba(0, 0, 0, 0.99);
  }
  
  .mobile-sidebar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    color: #ffffff !important;
  }
  
  .mobile-sidebar ul li a {
    color: #ffffff !important;
  }
  
  .mobile-sidebar ul li a:hover,
  .mobile-sidebar ul li a.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(244, 228, 166, 0.1)) !important;
  }
}

/* Print Styles */
@media print {
  header {
    position: static !important;
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  
  .burger-menu,
  .mobile-sidebar,
  .sidebar-overlay {
    display: none !important;
  }
}

/* Performance Optimizations */
header,
nav,
nav ul,
nav ul li,
nav ul li a {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Smooth Scrolling Enhancement */
html {
  scroll-behavior: smooth;
}

/* Loading State */
header.loading {
  opacity: 0.8;
  pointer-events: none;
}

/* Success State */
header.success {
  border-bottom-color: #27ae60;
}

/* Error State */
header.error {
  border-bottom-color: #e74c3c;
}

/* Hidden State */
header.hidden {
  transform: translateY(-100%) !important;
}

/* Enhanced Animations */
@keyframes headerSlideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes headerSlideOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
  }
  50% {
    filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.6));
  }
}

@keyframes navLinkPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Logo Animation */
nav .logo:hover {
  animation: logoGlow 2s ease-in-out infinite;
}

/* Navigation Link Pulse Animation */
nav ul li a.active {
  animation: navLinkPulse 2s ease-in-out infinite;
}

/* Mobile Sidebar Animations */
@keyframes sidebarSlideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes sidebarSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

.mobile-sidebar.show {
  animation: sidebarSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.mobile-sidebar:not(.show) {
  animation: sidebarSlideOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Overlay Animations */
@keyframes overlayFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
}

@keyframes overlayFadeOut {
  from {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
  to {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
}

.sidebar-overlay.show {
  animation: overlayFadeIn 0.3s ease-out forwards;
}

.sidebar-overlay:not(.show) {
  animation: overlayFadeOut 0.3s ease-out forwards;
}

/* Burger Menu Animation */
@keyframes burgerRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(90deg);
  }
}

.burger-menu.active {
  animation: burgerRotate 0.3s ease-out forwards;
}

/* Close Button Animation */
@keyframes closeRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(180deg);
  }
}

.close-sidebar:hover {
  animation: closeRotate 0.3s ease-out forwards;
}

/* Enhanced Mobile Sidebar Link Animations */
.mobile-sidebar ul li {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInFromLeft 0.4s ease-out forwards;
}

.mobile-sidebar ul li:nth-child(1) { animation-delay: 0.1s; }
.mobile-sidebar ul li:nth-child(2) { animation-delay: 0.15s; }
.mobile-sidebar ul li:nth-child(3) { animation-delay: 0.2s; }
.mobile-sidebar ul li:nth-child(4) { animation-delay: 0.25s; }
.mobile-sidebar ul li:nth-child(5) { animation-delay: 0.3s; }
.mobile-sidebar ul li:nth-child(6) { animation-delay: 0.35s; }
.mobile-sidebar ul li:nth-child(7) { animation-delay: 0.4s; }

@keyframes slideInFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Loading Spinner for Header */
@keyframes headerSpinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

header.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-top: 2px solid var(--header-gold);
  border-radius: 50%;
  animation: headerSpinner 1s linear infinite;
  transform: translateY(-50%);
}

/* Success Checkmark */
@keyframes checkmarkDraw {
  0% {
    stroke-dashoffset: 100;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

header.success::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2327ae60" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20,6 9,17 4,12"></polyline></svg>') no-repeat center;
  background-size: contain;
  transform: translateY(-50%);
  animation: checkmarkDraw 0.5s ease-out forwards;
}

/* Error X Mark */
@keyframes errorDraw {
  0% {
    stroke-dashoffset: 100;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

header.error::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23e74c3c" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>') no-repeat center;
  background-size: contain;
  transform: translateY(-50%);
  animation: errorDraw 0.5s ease-out forwards;
}

/* Enhanced Focus Indicators */
nav ul li a:focus-visible {
  outline: 3px solid var(--header-gold) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.3) !important;
  border-radius: 8px !important;
}

.burger-menu:focus-visible {
  outline: 3px solid var(--header-gold) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.3) !important;
}

.close-sidebar:focus-visible {
  outline: 3px solid var(--header-gold) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.3) !important;
}

/* Enhanced Mobile Sidebar Focus */
.mobile-sidebar ul li a:focus-visible {
  outline: 3px solid var(--header-gold) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.3) !important;
  border-radius: 8px !important;
}

/* Smooth Transitions for All Interactive Elements */
nav ul li a,
.burger-menu,
.close-sidebar,
.mobile-sidebar ul li a {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Simple Hover Effects */
nav ul li a:hover {
  /* No hover effects */
}

.burger-menu:hover {
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4) !important;
}

.close-sidebar:hover {
  transform: scale(1.15) rotate(90deg) !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4) !important;
}

.mobile-sidebar ul li a:hover {
  /* No hover effects */
}

/* Simple Active States */
nav ul li a.active {
  /* No active effects */
}

.mobile-sidebar ul li a.active {
  /* No active effects */
}

/* Enhanced Logo Effects */
nav .logo {
  position: relative;
  overflow: hidden;
}

nav .logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
  transition: left 0.6s ease;
}

nav .logo:hover::before {
  left: 100%;
}

/* Enhanced Mobile Sidebar Logo */
.mobile-sidebar .logo {
  position: relative;
  overflow: hidden;
}

.mobile-sidebar .logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
  transition: left 0.6s ease;
}

.mobile-sidebar .logo:hover::before {
  left: 100%;
}

/* Enhanced Scrollbar for Mobile Sidebar */
.mobile-sidebar::-webkit-scrollbar {
  width: 8px;
}

.mobile-sidebar::-webkit-scrollbar-track {
  background: rgba(212, 175, 55, 0.1);
  border-radius: 4px;
}

.mobile-sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--header-gold), var(--header-gold-hover));
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mobile-sidebar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--header-gold-hover), var(--header-gold));
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Enhanced Mobile Sidebar Backdrop */
.sidebar-overlay {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  background: rgba(0, 0, 0, 0.8) !important;
}

/* Enhanced Mobile Sidebar Shadow */
.mobile-sidebar {
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.2) !important;
  border-right: 4px solid var(--header-gold) !important;
}

/* Enhanced Mobile Sidebar Header */
.mobile-sidebar .logo {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(244, 228, 166, 0.05)) !important;
  border-bottom: 3px solid rgba(212, 175, 55, 0.3) !important;
  margin-bottom: 30px !important;
  padding: 30px 20px !important;
}

/* Enhanced Mobile Sidebar Links */
.mobile-sidebar ul li a {
  border-left: 5px solid transparent !important;
  margin: 2px 0 !important;
  border-radius: 0 12px 12px 0 !important;
}

.mobile-sidebar ul li a:hover,
.mobile-sidebar ul li a.active {
  /* No hover effects */
}

/* Enhanced Close Button */
.close-sidebar {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(244, 228, 166, 0.05)) !important;
  border: 3px solid var(--header-gold) !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2) !important;
}

.close-sidebar:hover {
  background: linear-gradient(135deg, var(--header-gold), var(--header-gold-hover)) !important;
  color: #000 !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4) !important;
}

/* Enhanced Burger Menu */
.burger-menu {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(244, 228, 166, 0.05)) !important;
  border: 3px solid var(--header-gold) !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2) !important;
}

.burger-menu:hover {
  background: linear-gradient(135deg, var(--header-gold), var(--header-gold-hover)) !important;
  color: #000 !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4) !important;
}

/* Force header transparency fix for Hostinger */
header {
  background: rgba(0, 0, 0, 0.2) !important;
  background-color: rgba(0, 0, 0, 0.2) !important;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.3) !important;
  background-color: rgba(0, 0, 0, 0.3) !important;
}

/* Override any inline styles */
header[style*="background"] {
  background: rgba(0, 0, 0, 0.2) !important;
  background-color: rgba(0, 0, 0, 0.2) !important;
}

/* Enhanced Navigation Links */
/* nav ul li a {
  background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.05)) !important;
  border: 2px solid transparent !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
} */

nav ul li a:hover,
nav ul li a:focus,
nav ul li a.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(244, 228, 166, 0.1)) !important;
  border-color: var(--header-gold) !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3) !important;
}


