/* ----------------------------------------------------
   PREMIUM DEVOPS & CLOUD ENGINEER PORTFOLIO
   Theme: Deep Dark Navy (#050814) + Ocean Blue (#00d2ff) + Neon Purple (#9d4edd)
   ---------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #050814;
  --bg-secondary: #0b1021;
  --bg-tertiary: #121930;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --color-ocean: #00d2ff;
  --color-blue: #0066ff;
  --color-purple: #9d4edd;
  --color-violet: #6c5ce7;
  --color-emerald: #10b981;
  
  --grad-ocean: linear-gradient(135deg, #00d2ff 0%, #0066ff 100%);
  --grad-purple: linear-gradient(135deg, #9d4edd 0%, #6c5ce7 100%);
  --grad-mixed: linear-gradient(135deg, #00d2ff 0%, #9d4edd 100%);
  --grad-glow: linear-gradient(135deg, rgba(0, 210, 255, 0.2) 0%, rgba(157, 78, 221, 0.2) 100%);

  --glass-bg: rgba(11, 16, 33, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(0, 210, 255, 0.3);
  --glass-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
  --glass-blur: blur(18px);

  --font-sans: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Base Reset & Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(157, 78, 221, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-ocean);
}

/* Background Blobs & Grid Pattern */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.18;
  animation: float-blob 22s infinite alternate ease-in-out;
}

.blob-1 {
  width: 45vw;
  height: 45vw;
  background: var(--color-ocean);
  top: -15vw;
  right: -10vw;
}

.blob-2 {
  width: 40vw;
  height: 40vw;
  background: var(--color-purple);
  bottom: -10vw;
  left: -10vw;
  animation-duration: 28s;
}

.blob-3 {
  width: 32vw;
  height: 32vw;
  background: var(--color-blue);
  top: 40vh;
  left: 35vw;
  animation-duration: 20s;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, 6%) scale(1.1); }
  100% { transform: translate(-3%, -4%) scale(0.95); }
}

/* Typography & Utility Classes */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.025em;
}

.gradient-text {
  background: var(--grad-mixed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--grad-mixed);
  margin-top: 10px;
  border-radius: 2px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Glassmorphism System */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 16px;
  padding: 2.2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 45px -10px rgba(0, 210, 255, 0.15), var(--glass-shadow);
}

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 8, 20, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 0.6rem 0;
  background: rgba(5, 8, 20, 0.95);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  background: var(--grad-mixed);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-mixed);
  transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  margin-bottom: 5px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

/* Primary & Secondary Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.7rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--grad-mixed);
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-ocean) 100%);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  border-color: var(--color-ocean);
  background: rgba(0, 210, 255, 0.08);
  transform: translateY(-2px);
}

/* Recruiter Role Pills & Badges */
.roles-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.role-badge {
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  color: var(--color-ocean);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.role-badge:hover {
  background: var(--grad-mixed);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

/* Footer Section */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem 0;
  margin-top: 6rem;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo { flex: 1; min-width: 250px; }
.footer-logo p {
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 380px;
  font-size: 0.9rem;
}

.footer-links { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-col h4 { font-size: 1.05rem; margin-bottom: 1.2rem; color: var(--text-primary); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: var(--text-secondary); font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--color-ocean); padding-left: 5px; }

.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}
.social-icon:hover {
  background: var(--grad-mixed);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 210, 255, 0.3);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Animations */
.animate-fade-in { opacity: 0; animation: fadeIn 1s forwards ease-out; }
.animate-slide-up { opacity: 0; transform: translateY(30px); animation: slideUp 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1); }

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* Mobile Responsiveness */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .hamburger { display: block; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-primary);
    border-top: 1px solid var(--glass-border);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transition: 0.4s ease;
    z-index: 99;
  }
  .nav-links.active { left: 0; }
  .footer-content { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; gap: 3rem; }
  .footer-logo p { margin: 1rem auto 0 auto; }
}
