/* Main Style CSS for Portfolio - Semih Arslan */

body { 
  font-family: 'JetBrains Mono', monospace;
  scroll-behavior: smooth;
  background-color: #0f172a;
  color: #f1f5f9;
}

/* Text Gradients */
.gradient-text {
  background: linear-gradient(to right, #4ade80, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Terminal Design */
.terminal-header {
  background: #1e293b;
  border-radius: 8px 8px 0 0;
  padding: 8px 16px;
  display: flex;
  align-items: center;
}

.terminal-circle {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  margin-right: 6px;
}

.terminal-body {
  background: #0f172a;
  border-radius: 0 0 8px 8px;
  padding: 24px;
  border: 1px solid #1e293b;
}

/* Background Hexagon Design */
.hex-container {
  position: absolute;
  height: 100%;
  width: 100%;
  overflow: hidden;
  opacity: 0.2;
}

.hex {
  position: absolute;
  width: 20px;
  height: 35px;
  background-color: #4ade80;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: transform 1s ease-in-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4ade80;
}

/* Cursor Blink Animation */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 24px;
  background: #4ade80;
  margin-left: 5px;
  animation: blink 1s infinite;
}

/* Navigation Design */
.nav-item {
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #4ade80;
  transition: width 0.3s ease;
}

.nav-item:hover::after {
  width: 100%;
}

/* Card Animations */
.tilt-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tilt-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Skill Bars */
.skill-bar {
  height: 8px;
  background: #1e293b;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 15px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.skill-progress {
  height: 100%;
  background: linear-gradient(to right, #4ade80, #22d3ee);
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.26, 0.86, 0.44, 0.98);
  position: relative;
  box-shadow: 0 1px 3px rgba(74, 222, 128, 0.4);
}

/* Skill Progress Animation */
.skill-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.3) 50%, 
    rgba(255, 255, 255, 0) 100%);
  width: 50%;
  height: 100%;
  animation: shimmer 1.7s infinite;
  transform: skewX(-20deg);
}

@keyframes shimmer {
  0% { transform: translateX(-100%) skewX(-20deg); }
  100% { transform: translateX(200%) skewX(-20deg); }
}

.skill-percentage {
  transition: all 0.5s ease;
  font-weight: 500;
  color: #4ade80;
}

/* Skill category heading */
.bg-dark .text-primary.mb-6 {
  border-left: 3px solid #4ade80;
  padding-left: 10px;
  transform: translateX(-10px);
}

/* Header Animation */
header {
  transition: all 0.3s ease;
}

header.scrolled {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Contact Form Elements */
input, textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
  border-color: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2);
  outline: none;
}

/* Button Hover Effects */
.btn-primary {
  background-color: #22c55e;
  color: white;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #16a34a;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid #22c55e;
  color: #22c55e;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
  background-color: rgba(34, 197, 94, 0.1);
}

/* Social Media Icons */
.social-icon {
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  color: #4ade80;
}

/* Advanced Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Section Transitions */
.section-hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (max-width: 768px) {
  .terminal-header {
    padding: 6px 12px;
  }
  
  .terminal-body {
    padding: 16px;
  }
  
  .skill-bar {
    height: 6px;
  }
}

@media (max-width: 640px) {
  .terminal-header {
    padding: 4px 8px;
  }
  
  .terminal-circle {
    height: 8px;
    width: 8px;
  }
} 