:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #000;
}

/* Container */
.hf-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Contact Links */
.hf-contact-links {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}

.hf-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s;
}

.hf-contact-link:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.hf-contact-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.hf-contact-link[href*="linkedin.com"] .hf-contact-icon {
  fill: #2866BC;
}

.hf-contact-link[href*="github.com"] .hf-contact-icon {
  width: 18px;
  height: 18px;
}

/* Hero */
.hf-hero {
  display: flex;
  align-items: center;
  padding: 10rem 0 8rem;
}

.hf-hero-content {
  display: flex;
  gap: 4rem;
  width: 100%;
}

.hf-hero-text {
  max-width: 60%;
}

.hf-hero-experiences {
  flex: 0 0 40%;
  max-width: 40%;
}

.hf-hero-title {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
}

.hf-hero-title .hf-name {
  font-size: 2.5rem;
  font-weight: 500;
  display: block;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: #000;
}

.hf-hero-title .hf-tagline {
  font-size: 1.5rem;
  font-weight: 400;
  color: #4b5563;
  display: block;
}

@media (max-width: 768px) {
  .hf-hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hf-hero-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .hf-hero-text {
    flex: none;
    max-width: none;
  }
  
  .hf-hero-experiences {
    flex: none;
    max-width: none;
  }
  
  .hf-hero-title {
    font-size: 2rem;
  }
}

/* Section Base */
.hf-section {
  padding: 4rem 0;
}

.hf-section-title {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: #000;
  margin: 0 0 2rem;
}

/* List Items (Experiences & Projects) */
.hf-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hf-list-item {
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.hf-list-item:last-child {
  border-bottom: none;
}

.hf-hero-experiences .hf-list-item {
  padding: 0.75rem 0;
}

.hf-hero-experiences .hf-list-item-header {
  margin-bottom: 0;
}

.hf-list-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  width: 100%;
}
.hf-hero-experiences .hf-list-item-header .hf-list-item-meta {
  margin-left: auto;
  text-align: right;
}

.hf-company-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 4px;
}

.hf-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hf-company-logo svg {
  width: 100%;
  height: 100%;
  fill: #000;
}

/* Project link styling */
.hf-list-item:has(.hf-project-link) {
  padding: 0;
  border-bottom: 1px solid #e5e7eb;
}

.hf-project-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 2.5rem 1.5rem;
  margin: 0 -1.5rem;
  transition: background 0.2s;
}

.hf-project-link:hover {
  background: #fafafa;
}

.hf-project-link .hf-list-item-header {
  cursor: pointer;
}

.hf-project-link .hf-company-logo {
  margin-left: auto;
}

.hf-list-item-title {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #6b7280;
}

.hf-list-item-meta {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}

.hf-list-item-description {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* Company link with tooltip */
.hf-company-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.hf-company-link:hover {
  opacity: 0.7;
}

.hf-company-name {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #000;
}

.hf-company-description {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0.5rem 0 0 0;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.2s, max-height 0.2s;
}

.hf-list-item:hover .hf-company-description {
  visibility: visible;
  opacity: 1;
  max-height: 200px;
}

/* Footer */
.hf-footer {
  padding: 3rem 0;
  border-top: 1px solid #e5e7eb;
}

.hf-footer-text {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1264px) {
  .hf-contact-links {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hf-hero-title .hf-name {
    font-size: 2.5rem;
  }
  .hf-hero-title .hf-tagline {
    font-size: 1.25rem;
  }
  
  .hf-hero-experiences .hf-list-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .hf-hero-experiences .hf-list-item-header .hf-list-item-meta {
    margin-left: 0;
    text-align: left;
  }
}

@media (max-width: 1024px) {
  .hf-list-item:hover .hf-company-description {
    visibility: hidden !important;
    opacity: 0 !important;
    max-height: 0 !important;
  }
}
