/* ==========================================================================
   CV PAGE STYLES
   ========================================================================== */

.cv-container {
  max-width: 950px;
  margin: 0 auto;
  padding: 120px 20px 60px;
  min-height: 85vh;
}

/* Action Bar */
.cv-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 24px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-btn.primary {
  background: #00f2fe;
  color: #0d1117;
  border: none;
}

.action-btn.primary:hover {
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
  transform: translateY(-2px);
}

.action-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Header Section */
.cv-header {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 30px;
}

.cv-profile-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.cv-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00f2fe;
}

.cv-name {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 4px;
}

.cv-role {
  color: #00f2fe;
  font-weight: 600;
  font-size: 1rem;
}

.cv-contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.cv-contact-grid a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease;
}

.cv-contact-grid a:hover {
  color: #00f2fe;
}

.cv-contact-grid i {
  color: #00f2fe;
}

/* Layout Grid */
.cv-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.cv-block {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.cv-section-title {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cv-section-title i {
  color: #00f2fe;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 2px solid rgba(0, 242, 254, 0.3);
  padding-left: 16px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00f2fe;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
}

.timeline-header h3 {
  font-size: 1rem;
  color: #fff;
}

.timeline-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.timeline-sub {
  display: block;
  font-size: 0.85rem;
  color: #00f2fe;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* Sidebar Elements */
.skills-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-badge {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: #00f2fe;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 6px;
}

.cv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.cv-list strong {
  color: #fff;
}

/* Page Load Animations */
.animate-onload {
  opacity: 0;
  animation: pageLoadFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }

@keyframes pageLoadFadeIn {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Print Rules */
@media print {
  #topbar, #footer, .cv-actions, #cmd-palette-placeholder {
    display: none !important;
  }
  .cv-container {
    padding: 0;
    margin: 0;
    max-width: 100%;
  }
  .cv-header, .cv-block {
    background: none !important;
    border: 1px solid #ddd !important;
    color: #000 !important;
  }
  .cv-name, .cv-section-title, .timeline-header h3 {
    color: #000 !important;
  }
  .cv-role, .timeline-sub, .skill-badge {
    color: #333 !important;
  }
}

/* Responsive Breakdown */
@media (max-width: 768px) {
  .cv-grid {
    grid-template-columns: 1fr;
  }
}