/* Custom styles for portfolio website */

/* Base styles */
body {
  font-family: 'Inter', sans-serif;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

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

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #c7d2fe;
  border-radius: 4px;
}

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

/* Animation for project cards */
.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Active navigation link */
.nav-link.active {
  color: #ec1337;
  font-weight: 600;
}

/* Theme toggle button (if you want to add a theme switcher) */
.theme-toggle {
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.theme-toggle:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.dark .theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Form focus states */
input:focus, 
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(236, 19, 55, 0.3);
}

/* Button hover effects */
.btn-hover {
  transition: all 0.3s ease;
}

.btn-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mobile-menu-open {
    display: block !important;
  }

  .section-padding {
    padding: 1rem;
  }

  /* Mobile navigation adjustments */
  .mobile-nav-bg {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
  }

  .dark .mobile-nav-bg {
    background-color: rgba(34, 16, 19, 0.95);
  }
}

/* Hamburger menu animation */
.hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 24px;
  height: 24px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #4b5563;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger span:nth-child(2) {
  margin: 6px 0;
}

.hamburger.active span:first-child {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:last-child {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu slide animation */
.slide-enter-active,
.slide-leave-active {
  transition: all 0.3s ease;
}

.slide-enter-from {
  opacity: 0;
  transform: translateY(-20px);
}

.slide-leave-to {
  opacity: 0;
  transform: translateY(-20px);
}

/* Loading animation */
.loading {
  animation: loading-pulse 1.5s ease-in-out infinite;
}

@keyframes loading-pulse {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

/* Skill bar styles (if you want to add animated skill bars) */
.skill-bar {
  height: 8px;
  background-color: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}

.skill-level {
  height: 100%;
  background-color: #ec1337;
  border-radius: 4px;
  width: 0;
  transition: width 1.5s ease-in-out;
}

/* Print styles */
@media print {
  nav, footer {
    display: none;
  }

  body {
    padding: 0;
    margin: 0;
  }
}

/* Hide projects section */
#projects {
    display: none;
}