/* Custom CSS for CV Resume Format */

/* Neutral Color Palette (Pastel/Sandy tones) */
:root {
  --cv-accent: #b8a07e;
  --cv-accent-light: #d4c4a8;
  --cv-accent-dark: #9a8464;
  --cv-gray: #898989;
  --cv-gray-light: #e8e6e3;
  --cv-gray-dark: #777777;
}

/* Header sitename - reduce font size */
.header .sitename {
  font-size: 1.5rem !important;
}

@media (max-width: 768px) {
  .header .sitename {
    font-size: 1.25rem !important;
  }
}

.bg-accent {
  background-color: var(--cv-accent) !important;
  color: #fff !important;
}

.text-accent {
  color: var(--cv-accent) !important;
}

.border-accent {
  border-color: var(--cv-accent) !important;
}

.btn-accent {
  background-color: var(--cv-accent);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background-color: var(--cv-accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

/* Achievement Cards */
.achievement-card {
  transition: all 0.3s ease;
  background: #fff;
}

.achievement-card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.achievement-icon {
  text-align: center;
}

/* Skill Category */
.skill-category {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.3s ease;
}

.skill-category:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.skills-list .badge {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
}

/* Experience Section */
.experience-item {
  position: relative;
}

.experience-bullets {
  list-style: none;
  padding-left: 0;
}

.experience-bullets li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.experience-bullets li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.tech-stack {
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

/* Project Cards */
.project-card {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.project-card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.project-card .project-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card ul {
  list-style: none;
  padding-left: 0;
}

.project-card ul li {
  margin-bottom: 0.5rem;
}

.project-card .badge {
  font-size: 0.75rem;
}

/* Contact Section */
.info-box {
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
}

.contact-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid #dee2e6;
}

.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-item h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item p {
  margin-bottom: 0;
  color: #6c757d;
}

.contact-item a {
  color: var(--accent-color);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.availability-notice {
  border-left: 4px solid var(--cv-accent);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .language-switcher {
    margin-top: 1rem;
    margin-left: 0 !important;
  }
  
  .summary-box {
    padding: 1.5rem !important;
  }
  
  .experience-item .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
  }
  
  .experience-item .badge {
    margin-top: 0.5rem;
  }
}

/* Print styles for PDF export */
@media print {
  .header,
  .footer,
  .scroll-top,
  #preloader,
  .language-switcher {
    display: none !important;
  }
  
  .main {
    margin-top: 0 !important;
  }
  
  .section {
    page-break-inside: avoid;
  }
  
  .achievement-card,
  .project-card {
    page-break-inside: avoid;
  }
}
