/* ===================================
   MOBILE MENU STYLES
   =================================== */

/* Hamburger Menu Icon */
.hamburger {
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Hamburger Animation when Active */
#mobile-menu-button.active .hamburger span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

#mobile-menu-button.active .hamburger span:nth-child(2) {
  opacity: 0;
}

#mobile-menu-button.active .hamburger span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Menu */
#mobile-menu {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s;
}

#mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* ===================================
   HEADER STYLES
   =================================== */

/* Header shadow on scroll */
#main-header.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* Navigation Links Hover Effect */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: #FF6649;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* Active Navigation Link */
.nav-link.active {
  color: #FF6649;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  border: 4px solid rgba(255, 102, 73, 0.1);
  border-top: 4px solid #FF6649;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===================================
   RESPONSIVE ADJUSTMENTS
   =================================== */

/* Mobile Optimizations */
@media (max-width: 768px) {
  /* Adjust font sizes for mobile */
  .text-5xl {
    font-size: 2.5rem;
  }
  
  .text-4xl {
    font-size: 2rem;
  }
  
  .text-3xl {
    font-size: 1.75rem;
  }
}

/* Tablet Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ===================================
   ANIMATIONS
   =================================== */

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseRed {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 102, 73, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 102, 73, 0);
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(255, 102, 73, 0.5),
                 0 0 20px rgba(255, 102, 73, 0.3);
  }
  to {
    text-shadow: 0 0 20px rgba(255, 102, 73, 0.8),
                 0 0 30px rgba(255, 102, 73, 0.5);
  }
}

/* ===================================
   CUSTOM SCROLLBAR
   =================================== */

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

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #FF6649;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff4d2e;
}
