/*
Theme Name: AboutMe Professional Profile
Description: A professional LinkedIn-style profile theme for showcasing personal portfolios, work experience, education, and skills. Perfect for professionals, developers, and consultants who want to create a comprehensive online presence.
Author: Attila Badi
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aboutme-profile
Tags: portfolio, professional, profile, resume, cv, business, one-page, responsive, green, clean, modern
*/

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f3f2ef;
}

/* Header Styles */
.site-header {
  background: white;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.site-logo {
  font-size: 28px;
  font-weight: bold;
  color: #16a34a;
  text-decoration: none;
}

.site-logo .logo-highlight {
  background: #16a34a;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 2px;
}

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #333;
}

.header-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 8px 16px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-block;
}

.btn-outline {
  color: #666;
  border: 1px solid #666;
  background: transparent;
}

.btn-outline:hover {
  background: #f8f9fa;
}

.btn-primary {
  background: #16a34a;
  color: white;
  border: 1px solid #16a34a;
}

.btn-primary:hover {
  background: #15803d;
}

/* Main Content Layout */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
}

/* Card Styles */
.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-bottom: 24px;
}

.card-header {
  padding: 20px 20px 0;
}

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

/* Profile Card */
.profile-card {
  position: relative;
}

.profile-banner {
  height: 80px;
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.profile-info {
  text-align: center;
  position: relative;
  padding-top: 0;
  padding-bottom: 24px;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid white;
  margin: -60px auto 16px;
  display: block;
  object-fit: cover;
}

.profile-name {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.profile-title {
  color: #666;
  font-size: 16px;
  margin-bottom: 8px;
}

.profile-location {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}

.profile-connections {
  color: #16a34a;
  font-size: 14px;
  font-weight: 500;
}

/* Contact Section */
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.contact-icon {
  width: 16px;
  height: 16px;
  color: #666;
}

.contact-link {
  color: #16a34a;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Skills Section */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-badge {
  background: #f3f4f6;
  color: #374151;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
}

/* Languages Section */
.language-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.language-name {
  font-weight: 500;
  color: #333;
}

.language-level {
  color: #666;
  font-size: 14px;
}

/* About Section */
.about-text {
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.see-more-btn {
  background: none;
  border: none;
  color: #16a34a;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-size: 14px;
}

.see-more-btn:hover {
  color: #15803d;
  text-decoration: underline;
}

/* Experience Section */
.experience-item {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 24px;
}

.experience-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.experience-icon {
  width: 48px;
  height: 48px;
  background: #dcfce7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.experience-icon svg {
  width: 24px;
  height: 24px;
  color: #16a34a;
}

.experience-details h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.experience-company {
  color: #16a34a;
  font-weight: 600;
  margin-bottom: 4px;
}

.experience-duration {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}

.experience-description {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* Education Section */
.education-item {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 24px;
}

.education-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.education-icon {
  width: 48px;
  height: 48px;
  background: #dcfce7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.education-icon svg {
  width: 24px;
  height: 24px;
  color: #16a34a;
}

.education-details h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.education-degree {
  color: #666;
  font-weight: 500;
  margin-bottom: 4px;
}

.education-field {
  color: #666;
  font-size: 14px;
  margin-bottom: 4px;
}

.education-duration {
  color: #666;
  font-size: 14px;
}

/* Certifications Section */
.certification-item {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.certification-icon {
  width: 48px;
  height: 48px;
  background: #dcfce7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.certification-icon svg {
  width: 24px;
  height: 24px;
  color: #16a34a;
}

.certification-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* Show More Button */
.show-more-btn {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid #16a34a;
  color: #16a34a;
  border-radius: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.show-more-btn:hover {
  background: #dcfce7;
}

/* Footer */
.site-footer {
  background: white;
  border-top: 1px solid #e5e5e5;
  padding: 24px 0;
  margin-top: 48px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #333;
}

.footer-copyright {
  color: #999;
  font-size: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .header-container {
    padding: 0 16px;
  }
  
  .main-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    height: auto;
    padding: 16px;
    gap: 16px;
  }
  
  .header-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .main-content {
    padding: 20px 16px;
  }
  
  .profile-name {
    font-size: 20px;
  }
  
  .card-content {
    padding: 16px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* Utility Classes */
.hidden {
  display: none;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
