/* Import additional fonts for futuristic look */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* CSS Variables for consistent theming */
:root {
  --primary-color: #ff0040;
  --secondary-color: #00ffff;
  --accent-color: #ff6b35;
  --dark-bg: #0a0a0a;
  --darker-bg: #050505;
  --light-text: #ffffff;
  --gray-text: #b0b0b0;
  --gradient-primary: linear-gradient(135deg, #ff0040, #ff6b35);
  --gradient-secondary: linear-gradient(135deg, #00ffff, #0080ff);
  --gradient-dark: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  --neon-glow: 0 0 20px rgba(255, 0, 64, 0.5);
  --cyber-glow: 0 0 30px rgba(0, 255, 255, 0.3);
  --success-color: #00ff88;
  --error-color: #ff4444;
  --block-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-bg);
  color: var(--light-text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 0, 64, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
  z-index: -1;
  animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(-20px) translateY(-10px); }
  50% { transform: translateX(20px) translateY(10px); }
  75% { transform: translateX(-10px) translateY(20px); }
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  position: relative;
}

.preloader-logo {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  animation: logoGlow 2s ease-in-out infinite alternate;
  text-transform: uppercase;
  letter-spacing: 3px;
}

@keyframes logoGlow {
  0% { filter: drop-shadow(0 0 10px rgba(255, 0, 64, 0.5)); }
  100% { filter: drop-shadow(0 0 30px rgba(255, 0, 64, 0.8)); }
}

.spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--primary-color);
  margin: 0 auto;
  animation: spin 1s linear infinite;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Main Content */
#main-content {
  opacity: 0;
  transition: opacity 0.5s ease;
}

#main-content.loaded {
  opacity: 1;
}

/* Navigation Styles */
.navbar {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 0, 64, 0.2);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 1.8rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: var(--neon-glow);
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(255, 0, 64, 0.8));
}

.nav-link {
  color: var(--light-text) !important;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  margin: 0 0.5rem;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-color) !important;
  text-shadow: var(--neon-glow);
}

.btn-book {
  background: var(--gradient-primary);
  border: none;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
}

.btn-book::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-book:hover::before {
  left: 100%;
}

.btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 0, 64, 0.4);
  color: white;
}

/* Dropdown Menu */
.dropdown-menu {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 0, 64, 0.2);
  padding: 0.5rem 0;
}

.dropdown-item {
  color: var(--light-text);
  transition: all 0.3s ease;
  padding: 0.7rem 1.5rem;
}

.dropdown-item:hover {
  background: rgba(255, 0, 64, 0.1);
  color: var(--primary-color);
}

/* Hero Slider */
#hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.8) 0%,
    rgba(255, 0, 64, 0.3) 50%,
    rgba(0, 255, 255, 0.2) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  padding: 2rem;
}

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: 4.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: heroGlow 3s ease-in-out infinite alternate;
  text-transform: uppercase;
  letter-spacing: 4px;
}

@keyframes heroGlow {
  0% { filter: drop-shadow(0 0 20px rgba(255, 0, 64, 0.5)); }
  100% { filter: drop-shadow(0 0 40px rgba(255, 0, 64, 0.8)); }
}

.hero-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  text-shadow: var(--cyber-glow);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-description {
  font-size: 1.3rem;
  color: var(--gray-text);
  margin-bottom: 3rem;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Button Styles */
.btn-primary-block {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Rajdhani', sans-serif;
  text-decoration: none;
  display: inline-block;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.btn-primary-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary-block:hover::before {
  left: 100%;
}

.btn-primary-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 0, 64, 0.4);
  color: white;
  text-decoration: none;
}

.btn-outline-block {
  background: transparent;
  color: var(--secondary-color);
  padding: 1rem 2.5rem;
  border: 2px solid var(--secondary-color);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Rajdhani', sans-serif;
  text-decoration: none;
  display: inline-block;
  backdrop-filter: blur(10px);
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.btn-outline-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-outline-block:hover::before {
  left: 0;
}

.btn-outline-block:hover {
  color: white;
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 255, 255, 0.4);
  text-decoration: none;
}

.btn-lg {
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 3;
}

.slider-btn {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 0, 64, 0.5);
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.slider-btn:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary-color);
  transform: scale(1.1);
  box-shadow: var(--neon-glow);
}

/* Slider Indicators */
.slider-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 3;
}

.indicator {
  width: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, calc(100% - 3px) 0, 100% 3px, 100% 100%, 3px 100%, 0 calc(100% - 3px));
}

.indicator.active,
.indicator:hover {
  background: var(--primary-color);
  box-shadow: var(--neon-glow);
  transform: scale(1.2);
}

/* Stats Block */
.stats-block {
  padding: 4rem 0;
  background: var(--gradient-dark);
  position: relative;
  margin-top: -1px;
}

.stats-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 0, 64, 0.2);
  border-bottom: 6px solid var(--primary-color);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--block-shadow);
  margin-bottom: 1rem;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, rgba(255, 0, 64, 0.3), transparent);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  transition: all 0.3s ease;
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 25px;
  background: linear-gradient(135deg, transparent, rgba(0, 255, 255, 0.3));
  clip-path: polygon(0 100%, 0 0, 100% 100%);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--secondary-color);
  box-shadow: 
    var(--block-shadow),
    0 0 30px rgba(255, 0, 64, 0.2);
}

.stat-item:hover::before {
  width: 50px;
  height: 50px;
}

.stat-item:hover::after {
  width: 45px;
  height: 45px;
}

.stat-number {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  animation: statPulse 2s ease-in-out infinite alternate;
}

@keyframes statPulse {
  0% { filter: drop-shadow(0 0 10px rgba(255, 0, 64, 0.3)); }
  100% { filter: drop-shadow(0 0 20px rgba(255, 0, 64, 0.6)); }
}

.stat-label {
  font-size: 1rem;
  color: var(--gray-text);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Rajdhani', sans-serif;
}

/* Featured Projects */
.featured-projects {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title-block {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title-block::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 auto;
}

.project-block {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(0, 255, 255, 0.2);
  border-left: 6px solid var(--secondary-color);
  overflow: hidden;
  transition: all 0.5s ease;
  position: relative;
  box-shadow: var(--block-shadow);
  height: 100%;
}

.project-block::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), transparent);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  transition: all 0.3s ease;
  z-index: 2;
}

.project-block::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, transparent, rgba(255, 0, 64, 0.2));
  clip-path: polygon(0 100%, 0 0, 100% 100%);
  transition: all 0.3s ease;
  z-index: 2;
}

.project-block:hover {
  transform: translateY(-10px);
  border-left-color: var(--primary-color);
  box-shadow: 
    var(--block-shadow),
    0 0 40px rgba(0, 255, 255, 0.2);
}

.project-block:hover::before {
  width: 70px;
  height: 70px;
}

.project-block:hover::after {
  width: 60px;
  height: 60px;
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.project-block:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 255, 0.9) 0%,
    rgba(255, 0, 64, 0.8) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.project-block:hover .project-overlay {
  opacity: 1;
}

.project-link {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.project-link:hover {
  background: white;
  color: var(--primary-color);
  transform: scale(1.1);
}

.project-content {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.project-content h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-content p {
  color: var(--gray-text);
  line-height: 1.6;
  margin: 0;
}

/* Call to Action Block */
.cta-block {
  background: var(--gradient-dark);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(255, 0, 64, 0.1) 50%, transparent 70%),
    linear-gradient(-45deg, transparent 30%, rgba(0, 255, 255, 0.1) 50%, transparent 70%);
  animation: ctaPattern 20s linear infinite;
}

@keyframes ctaPattern {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.cta-title {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cta-description {
  font-size: 1.2rem;
  color: var(--gray-text);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* Footer */
footer {
  background: var(--darker-bg);
  padding: 4rem 0 2rem;
  border-top: 2px solid rgba(255, 0, 64, 0.2);
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-family: 'Orbitron', monospace;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  text-shadow: var(--neon-glow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p,
.footer-section a {
  color: var(--gray-text);
  text-decoration: none;
  line-height: 2;
  transition: all 0.3s ease;
  display: block;
}

.footer-section a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  transition: all 0.3s ease;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.social-icon:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
  box-shadow: var(--neon-glow);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-text);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .btn-primary-block,
  .btn-outline-block {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .section-title-block {
    font-size: 2rem;
  }
  
  .featured-projects {
    padding: 60px 0;
  }
  
  .project-block {
    margin-bottom: 2rem;
  }
  
  .project-image {
    height: 200px;
  }
  
  .slider-controls {
    padding: 0 1rem;
  }
  
  .slider-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .stat-item {
    margin-bottom: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title-block {
    font-size: 1.8rem;
  }
  
  .project-content {
    padding: 1.5rem;
  }
  
  .stat-item {
    padding: 1.5rem 1rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .cta-title {
    font-size: 1.8rem;
  }
  
  .preloader-logo {
    font-size: 2rem;
  }
  
  .slider-indicators {
    bottom: 1rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.featured-projects,
.stats-block,
.cta-block {
  animation: fadeInUp 1s ease-out;
}

/* Focus Accessibility */
.btn-primary-block:focus,
.btn-outline-block:focus,
.slider-btn:focus,
.project-link:focus,
.social-icon:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Hover Effects for Touch Devices */
@media (hover: none) {
  .project-block:hover,
  .stat-item:hover {
    transform: none;
  }
  
  .project-overlay {
    opacity: 0.8;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Text Selection */
::selection {
  background: rgba(255, 0, 64, 0.3);
  color: var(--light-text);
}

::-moz-selection {
  background: rgba(255, 0, 64, 0.3);
  color: var(--light-text);
}

/* Slider JavaScript Support */
.slide[data-bg] {
  background-image: var(--bg-image);
}

/* Preloader Hide Animation */
.preloader-hide {
  animation: preloaderFadeOut 0.5s ease forwards;
}

@keyframes preloaderFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* 
JavaScript to add to your HTML file:

<script>
// Preloader functionality
window.addEventListener('load', function() {
    const preloader = document.getElementById('preloader');
    const mainContent = document.getElementById('main-content');
    
    // Hide preloader after 2 seconds (adjust as needed)
    setTimeout(function() {
        preloader.classList.add('hidden');
        mainContent.classList.add('loaded');
    }, 2000);
});

// Hero slider functionality
let currentSlide = 0;
const slides = document.querySelectorAll('.slide');
const indicators = document.querySelectorAll('.indicator');

function showSlide(index) {
    slides.forEach(slide => slide.classList.remove('active'));
    indicators.forEach(indicator => indicator.classList.remove('active'));
    
    slides[index].classList.add('active');
    indicators[index].classList.add('active');
    
    // Set background image
    const bgImage = slides[index].getAttribute('data-bg');
    slides[index].style.backgroundImage = `url(${bgImage})`;
}

function changeSlide(direction) {
    currentSlide += direction;
    if (currentSlide >= slides.length) currentSlide = 0;
    if (currentSlide < 0) currentSlide = slides.length - 1;
    showSlide(currentSlide);
}

function currentSlideFunc(index) {
    currentSlide = index - 1;
    showSlide(currentSlide);
}

// Auto-play slider (optional)
setInterval(() => {
    changeSlide(1);
}, 5000);

// Initialize first slide
document.addEventListener('DOMContentLoaded', function() {
    showSlide(0);
});
</script>
*/