/* style.css - Custom Theme and Utilities */

:root {
  /* Core brand tokens mapping to Vuetify Dark Theme (Default) */
  --c-bg: #0A0A0B;
  --c-surface: #141416;
  --c-accent: #00E5FF;
  --c-accent-glow: rgba(0, 229, 255, 0.15);
  --c-text: #F3F4F6;
  --c-text-muted: #9CA3AF;
  --c-border: rgba(255, 255, 255, 0.08);
  /* Light border for dark mode */
  --c-nav-bg: rgba(10, 10, 11, 0.85);
  /* Dark navbar with opacity */

  --font-sans: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

body.v-theme--light {
  /* Core brand tokens mapping to Vuetify Light Theme */
  --c-bg: #FAFAFB;
  /* Off-white background */
  --c-surface: #FFFFFF;
  /* Pure white */
  --c-accent: #0ea5e9;
  /* Fancy electric blue/teal for light mode */
  --c-accent-glow: rgba(14, 165, 233, 0.15);
  --c-text: #111827;
  /* Near black text */
  --c-text-muted: #6B7280;
  /* Slate gray for muted text */
  --c-border: rgba(0, 0, 0, 0.08);
  /* Soft dark border for light mode */
  --c-nav-bg: rgba(250, 250, 251, 0.85);
  /* Light navbar with opacity */
}

/* Typography Overrides */
html,
body,
.v-application {
  font-family: var(--font-sans) !important;
  scroll-behavior: smooth;
  background-color: var(--c-bg);
  color: var(--c-text);
}

h1,
h2,
h3,
h4,
.text-h1,
.text-h2,
.text-h3,
.text-h4,
.text-h5,
.text-h6,
.brand-logo {
  font-family: var(--font-display) !important;
  letter-spacing: -0.02em !important;
}

.lh-tight {
  line-height: 1.1 !important;
}

.font-mono {
  font-family: monospace, monospace;
}

.track-wider {
  letter-spacing: 0.1em;
}

.max-w-600 {
  max-width: 600px;
}

.max-w-800 {
  max-width: 800px;
}

/* Base Styles */
a {
  text-decoration: none;
  color: inherit;
}

/* Layout Helpers */
.page-container {
  min-height: calc(100vh - 64px);
  width: 100%;
}

/* Header & Nav */
.v-app-bar.v-toolbar {
  background-color: var(--c-nav-bg) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border) !important;
}

.nav-btn {
  font-weight: 600;
  text-transform: none !important;
  letter-spacing: 0;
  color: var(--c-text) !important;
  /* increased visibility */
  transition: color 0.3s ease;
}

.nav-btn:hover {
  color: var(--c-accent) !important;
}

.lang-toggle .v-btn {
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  min-height: 85vh;
  position: relative;
  overflow: hidden;
}

/* Adding a very subtle radial gradient indicating 'glow' */
.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--c-accent-glow) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-title,
.hero-desc,
.subtitle {
  position: relative;
  z-index: 1;
}

/* Custom Components & Utilities */
.text-accent {
  color: var(--c-accent) !important;
}

.text-on-accent {
  color: #FFFFFF !important;
  /* White text on the bright blue button */
}

.bg-surface-glow {
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-surface) 100%);
}

.border-opacity-50 {
  border-color: var(--c-border) !important;
}

.border-l-accent {
  border-left: 2px solid var(--c-accent);
}

.border-l-2 {
  border-left: 1px solid var(--c-border);
}

.profile-photo {
  transition: transform 0.3s ease, border-color 0.3s ease;
  border-color: var(--c-border) !important;
}

.profile-photo:hover {
  transform: scale(1.05);
  border-color: var(--c-accent) !important;
}

/* Card & Interaction Animations */
.identity-card,
.project-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  border-color: var(--c-border) !important;
  background-color: var(--c-surface) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}

.identity-card:hover,
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.3) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Ensure all card titles are highly visible */
.identity-card h3,
.project-card h3 {
  color: var(--c-text);
  font-weight: 700 !important;
}

.project-icon {
  transition: transform 0.3s ease, color 0.3s ease;
}

.project-card:hover .project-icon {
  transform: translate(3px, -3px);
  color: var(--c-accent) !important;
}

/* Ensure project tags are highly visible in both themes */
.project-card .v-chip {
  color: var(--c-text) !important;
  border-color: var(--c-accent) !important;
  opacity: 0.85;
}

.project-card:hover .v-chip {
  opacity: 1;
  background: rgba(var(--v-theme-accent), 0.1);
}

/* Hover Accent overrides for chips/icons */
.hover-accent:hover {
  border-color: var(--c-accent) !important;
  color: var(--c-accent) !important;
}

.hover-accent-icon:hover {
  color: var(--c-accent) !important;
}

.pulse-hover {
  transition: all 0.3s ease;
}

.pulse-hover:hover {
  box-shadow: 0 0 20px var(--c-accent-glow);
  transform: scale(1.02);
}

.subtle-glow {
  box-shadow: 0 4px 14px var(--c-accent-glow) !important;
}

.subtle-glow:hover {
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25) !important;
}

/* Vue Transitions */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-enter-from {
  opacity: 0;
  transform: translateY(10px);
}

.fade-leave-to {
  opacity: 0;
  transform: translateY(-10px);
}

/* CV Timeline Specifics */
.cv-container {
  background-color: var(--c-bg);
}

.sticky-cv-sidebar {
  position: sticky;
  top: 100px;
}

/* Custom simple timeline approach to avoid layout issues */
.timeline-item {
  padding-left: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -21px;
  /* Center over the left border */
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--c-bg);
  border: 2px solid var(--c-accent);
  box-shadow: 0 0 0 4px var(--c-bg);
  /* Use background color to mask out the line behind it */
}

.custom-bullets li {
  position: relative;
  list-style-type: none;
}

.custom-bullets li::before {
  content: '▹';
  position: absolute;
  left: -16px;
  color: var(--c-accent);
}