/* HeliaCode Website Styles */

/* Custom Properties */
:root {
  --primary-color: #2d3092;
  --accent-color: #f7921e;
  --dark-color: #121212;
  --dark-secondary-color: #1e1e1e;
  --text-light: #ffffff;
  --text-gray: #d1d5db;
  --text-gray-dark: #9ca3af;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-gray);
  background-color: var(--dark-color);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Language Switch */
.language-switch {
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.language-switch:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 48, 146, 0.3);
}

/* Navigation */
nav {
  transition: all 0.3s ease;
}

.nav-link {
  position: relative;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary-color) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(45, 48, 146, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(247, 146, 30, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Background image overlay */
.hero-section .absolute {
  z-index: 0;
}

.hero-section .relative.z-10 {
  z-index: 10;
}

/* Logo Styles */
.logo {
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Service Cards */
.service-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.service-card i {
  transition: all 0.3s ease;
}

.service-card:hover i {
  transform: scale(1.1);
  color: var(--accent-color);
}

/* Team Cards */
.team-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.team-card img {
  transition: all 0.3s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-color) 0%, #e67e22 100%);
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(247, 146, 30, 0.4);
}

/* Contact Cards */
.contact-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-card i {
  transition: all 0.3s ease;
}

.contact-card:hover i {
  transform: scale(1.1);
  color: var(--accent-color);
}

/* Contact Section */
.contact-item {
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
}

.contact-item i {
  transition: all 0.3s ease;
}

.contact-item:hover i {
  color: var(--accent-color);
  transform: scale(1.1);
}

/* Email Reveal */
#emailReveal {
  transition: all 0.3s ease;
  user-select: none;
}

#emailReveal:hover {
  color: var(--accent-color);
  cursor: pointer;
}

/* Mobile Menu */
#mobileMenu {
  transition: all 0.3s ease;
  transform: translateY(-10px);
  opacity: 0;
}

#mobileMenu.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section p {
    font-size: 1.1rem;
  }
  
  .service-card,
  .team-card {
    margin-bottom: 1rem;
  }
}

/* Loading Animation */
.loading {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1000;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-glow {
  box-shadow: 0 0 20px rgba(45, 48, 146, 0.3);
}

.shadow-glow-accent {
  box-shadow: 0 0 20px rgba(247, 146, 30, 0.3);
}
