/* Header Styles */
header {
    background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px var(--shadow-color);
}

.header-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
header a {
  text-decoration: none;
  color: inherit;
}

header img {
  display: block;
  height: 80px;
  width: auto;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.nav-links a.active {
  color: var(--accent-color);
}

.nav-links a.active:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* Theme Switcher */
.theme-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: all 0.3s ease;
  margin-left: 20px;
}

.theme-switcher:hover {
  background: var(--bg-primary);
  transform: translateY(-1px);
}

.theme-switcher i {
  font-size: 1.2rem;
}

.theme-switcher span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Contact Info */
.contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  position: relative;
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.contact a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact a:hover {
  color: var(--accent-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .header-container {
    padding: 0 20px;
  }

  .nav-links {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .nav-links {
    gap: 20px;
  }

  header img {
    height: 60px;
  }
  
  .theme-switcher span {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    box-shadow: 0 4px 12px var(--shadow-color);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px 20px;
    display: block;
  }

  .nav-links a.active:after {
    display: none;
  }

  .nav-links a.active {
    background: var(--bg-primary);
  }

  .contact {
    display: none;
  }
  
  .theme-switcher {
    margin-left: 0;
    padding: 8px;
  }
}

/* Phone icon animation */
@keyframes ring {
  0% {
    transform: scale(1) rotate(0);
  }
  2% {
    transform: scale(1.1) rotate(3deg);
  }
  4% {
    transform: scale(1.1) rotate(-3deg);
  }
  6% {
    transform: scale(1.1) rotate(3deg);
  }
  8% {
    transform: scale(1.1) rotate(-3deg);
  }
  10% {
    transform: scale(1.1) rotate(0);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.3);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

.phone-icon i {
  animation: ring 3s ease infinite;
  transform-origin: 50% 50%;
}

/* Pause animation on hover */
.phone-icon:hover {
  animation-play-state: paused;
}

.phone-icon:hover i {
  animation-play-state: paused;
} 