/* Modern, Dark, Tech-Focused Design */

/* Reset e configurações globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-card: #1e1e1e;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #666666;
  --accent-primary: #00d4ff;
  --accent-secondary: #0099cc;
  --accent-hover: #00b8e6;
  --border-color: #333333;
  --success: #00ff88;
  --warning: #ffaa00;
  --shadow-light: rgba(0, 212, 255, 0.1);
  --shadow-medium: rgba(0, 212, 255, 0.2);
  --shadow-heavy: rgba(0, 0, 0, 0.8);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navegação */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 153, 204, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.highlight {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text h2 {
  font-size: 1.5rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: var(--bg-primary);
  box-shadow: 0 4px 15px var(--shadow-light);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.profile-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 40px var(--shadow-heavy);
  backdrop-filter: blur(10px);
}

.profile-avatar {
  margin-bottom: 1.5rem;
}

.avatar-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--accent-primary);
  box-shadow: 0 0 20px var(--shadow-light);
}

.profile-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.profile-card h4 {
  color: var(--accent-primary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.profile-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Sections */
section {
  padding: 100px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 2px;
}

/* About Section */
.about {
  background: var(--bg-secondary);
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-heavy);
  border-color: var(--accent-primary);
}

.stat i {
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.stat h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.stat p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Skills Section */
.skills {
  background: var(--bg-primary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-heavy);
  border-color: var(--accent-primary);
}

.skill-category h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-category i {
  color: var(--accent-primary);
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-item:last-child {
  margin-bottom: 0;
}

.skill-item span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.skill-bar {
  background: var(--bg-secondary);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--shadow-light);
}

/* Soft Skills Section */
.soft-skills-section {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.soft-skills-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.soft-skills-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 2px;
}

.soft-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.soft-skill-item {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.soft-skill-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.05), transparent);
  transition: left 0.6s ease;
}

.soft-skill-item:hover::before {
  left: 100%;
}

.soft-skill-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: 0 12px 35px rgba(0, 212, 255, 0.15);
}

.soft-skill-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.soft-skill-item:hover .soft-skill-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.soft-skill-icon i {
  font-size: 1.8rem;
  color: var(--bg-primary);
}

.soft-skill-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.soft-skill-item:hover h4 {
  color: var(--accent-primary);
}

.soft-skill-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Projects Section */
.projects {
  background: var(--bg-secondary);
}

.project-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  max-width: 900px;
  margin: 0 auto;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-heavy);
  border-color: var(--accent-primary);
}

.project-image {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image i {
  font-size: 4rem;
  color: var(--bg-primary);
}

.project-content {
  padding: 2.5rem;
}

.project-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.project-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.project-details h4,
.project-learning h4 {
  color: var(--accent-primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.project-details ul {
  color: var(--text-secondary);
  margin: 0.5rem 0 1.5rem 1rem;
}

.project-details li {
  margin-bottom: 0.3rem;
}

.project-learning p {
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tech-tag {
  background: var(--bg-secondary);
  color: var(--accent-primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--accent-primary);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

/* Compact Project Card */
.compact-project {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  max-width: 500px;
  margin: 0 auto;
}

.compact-project:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--shadow-heavy);
  border-color: var(--accent-primary);
}

.compact-project .project-image {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compact-project .project-image i {
  font-size: 2.5rem;
  color: var(--bg-primary);
}

.compact-project .project-content {
  padding: 1.5rem;
}

.compact-project .project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.compact-project .project-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.9rem;
}

.compact-project .project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.compact-project .tech-tag {
  background: var(--bg-secondary);
  color: var(--accent-primary);
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
}

.project-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.project-details-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 6px;
}

.project-actions .project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 2px solid var(--accent-primary);
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.project-actions .project-link:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

/* GitHub brand color for project actions */
.project-actions .project-link:has(.fa-github):hover {
  background: #6e5494;
  border-color: #6e5494;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(110, 84, 148, 0.3);
}

/* Project Modal */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  max-width: 800px;
  max-height: 90vh;
  width: 90%;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.project-modal.active .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.modal-header h2 {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.modal-body {
  padding: 2rem;
  max-height: calc(90vh - 100px);
  overflow-y: auto;
}

.project-image-modal {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  height: 150px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.project-image-modal i {
  font-size: 4rem;
  color: var(--bg-primary);
}

.project-description {
  margin-bottom: 2rem;
}

.project-description p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

.project-details-modal h4,
.project-learning-modal h4,
.project-tech-modal h4 {
  color: var(--accent-primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.project-details-modal {
  margin-bottom: 2rem;
}

.project-details-modal ul {
  color: var(--text-secondary);
  margin-left: 1rem;
  line-height: 1.6;
}

.project-details-modal li {
  margin-bottom: 0.5rem;
}

.project-learning-modal {
  margin-bottom: 2rem;
}

.project-learning-modal p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.project-tech-modal {
  margin-bottom: 2rem;
}

.tech-tags-modal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-links-modal {
  text-align: center;
}

.project-links-modal .project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--accent-primary);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.project-links-modal .project-link:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

/* GitHub brand color for modal links */
.project-links-modal .project-link:has(.fa-github):hover {
  background: #6e5494;
  border-color: #6e5494;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(110, 84, 148, 0.3);
}

/* Contact Section */
.contact {
  background: var(--bg-primary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-heavy);
  border-color: var(--accent-primary);
}

.contact-method i {
  font-size: 1.5rem;
  width: 30px;
  transition: color 0.3s ease;
}

/* Email icon color */
.contact-method:has(.fa-envelope) i {
  color: #ea8c35;
}

/* Phone icon color */
.contact-method:has(.fa-phone) i {
  color: #34a853;
}

/* Location icon color */
.contact-method:has(.fa-map-marker-alt) i {
  color: #4285f4;
}

.contact-method h4 {
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-method p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.95rem;
}

.contact-form {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: rgba(15, 23, 42, 0.9);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 4rem;
}

.social-link {
  width: 60px;
  height: 60px;
  background: var(--bg-card);
  color: var(--text-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.social-link:hover::before {
  left: 100%;
}

/* GitHub brand color for main social links */
.social-link:has(.fa-github):hover {
  background: #6e5494;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(110, 84, 148, 0.4);
  border-color: #6e5494;
}

/* LinkedIn brand color for main social links */
.social-link:has(.fa-linkedin):hover {
  background: #0077b5;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
  border-color: #0077b5;
}

/* Email brand color for main social links */
.social-link:has(.fa-envelope):hover {
  background: #ea8c35;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(234, 67, 53, 0.4);
  border-color: #ea8c35;
}

/* Add spacing for profile social buttons */
.profile-social {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 45px;
  height: 45px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

/* GitHub brand color */
.social-btn:has(.fa-github):hover {
  background: #6e5494;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(110, 84, 148, 0.3);
  border-color: #6e5494;
}

/* LinkedIn brand color */
.social-btn:has(.fa-linkedin):hover {
  background: #0077b5;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
  border-color: #0077b5;
}

/* Responsive for modal */
@media (max-width: 768px) {
  /* ...existing code... */
  
  .modal-content {
    width: 95%;
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 1rem 1.5rem;
  }
  
  .modal-header h2 {
    font-size: 1.2rem;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .project-image-modal {
    height: 120px;
  }
  
  .project-image-modal i {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  /* ...existing code... */
  
  .project-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  
  .project-actions .project-link,
  .project-details-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Footer */
.footer {
  background: #020617;
  color: #94a3b8;
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.footer p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer i {
  color: #ef4444;
  margin: 0 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .profile-card {
    padding: 2rem;
  }
  
  .profile-avatar {
    width: 120px;
    height: 120px;
    font-size: 3rem;
  }
  
  /* Responsive para projetos */
  .project-card.single-project {
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding-top: 100px;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text h2 {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .skill-category,
  .project-card {
    margin: 0 10px;
  }
  
  .social-links {
    gap: 1rem;
  }
  
  .social-link {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .contact-method {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .project-content {
    padding: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* Scrollbar customizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1e293b;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
}

/* Animações adicionais */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* Efeitos de hover melhorados */
.btn, .social-link, .project-card, .stat, .skill-category, .contact-method {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Melhorias de acessibilidade */
.btn:focus,
.nav-link:focus,
.project-link:focus,
.social-link:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Performance */
* {
  will-change: auto;
}

.project-card:hover,
.stat:hover,
.skill-category:hover {
  will-change: transform;
}
.contact-method .icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.contact-method h4 {
  color: #f1f5f9;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-method p {
  color: #94a3b8;
  margin: 0;
  font-size: 0.95rem;
}

.contact-form {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: rgba(15, 23, 42, 0.9);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 4rem;
}

.social-link {
  width: 60px;
  height: 60px;
  background: var(--bg-card);
  color: var(--text-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.social-link:hover::before {
  left: 100%;
}

/* GitHub brand color for main social links */
.social-link:has(.fa-github):hover {
  background: #6e5494;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(110, 84, 148, 0.4);
  border-color: #6e5494;
}

/* LinkedIn brand color for main social links */
.social-link:has(.fa-linkedin):hover {
  background: #0077b5;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
  border-color: #0077b5;
}

/* Email brand color for main social links */
.social-link:has(.fa-envelope):hover {
  background: #ea8c35;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(234, 67, 53, 0.4);
  border-color: #ea8c35;
}

/* Add spacing for profile social buttons */
.profile-social {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 45px;
  height: 45px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

/* GitHub brand color */
.social-btn:has(.fa-github):hover {
  background: #6e5494;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(110, 84, 148, 0.3);
  border-color: #6e5494;
}

/* LinkedIn brand color */
.social-btn:has(.fa-linkedin):hover {
  background: #0077b5;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
  border-color: #0077b5;
}

/* Contact Section */
.contact {
  background: var(--bg-primary);
}

.contact-content {
  display: flex;
  gap: 4rem;
  margin-bottom: 3rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-heavy);
  border-color: var(--accent-primary);
}

.contact-method i {
  font-size: 1.5rem;
  width: 30px;
  transition: color 0.3s ease;
}

/* Email icon color */
.contact-method:has(.fa-envelope) i {
  color: #ea8c35;
}

/* Phone icon color */
.contact-method:has(.fa-phone) i {
  color: #34a853;
}

/* Location icon color */
.contact-method:has(.fa-map-marker-alt) i {
  color: #4285f4;
}

.contact-method h4 {
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-method p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.95rem;
}

.contact-form {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: rgba(15, 23, 42, 0.9);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 4rem;
}

.social-link {
  width: 60px;
  height: 60px;
  background: var(--bg-card);
  color: var(--text-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.social-link:hover::before {
  left: 100%;
}

/* GitHub brand color for main social links */
.social-link:has(.fa-github):hover {
  background: #6e5494;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(110, 84, 148, 0.4);
  border-color: #6e5494;
}

/* LinkedIn brand color for main social links */
.social-link:has(.fa-linkedin):hover {
  background: #0077b5;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
  border-color: #0077b5;
}

/* Email brand color for main social links */
.social-link:has(.fa-envelope):hover {
  background: #ea8c35;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(234, 67, 53, 0.4);
  border-color: #ea8c35;
}

/* Add spacing for profile social buttons */
.profile-social {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 45px;
  height: 45px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

/* GitHub brand color */
.social-btn:has(.fa-github):hover {
  background: #6e5494;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(110, 84, 148, 0.3);
  border-color: #6e5494;
}

/* LinkedIn brand color */
.social-btn:has(.fa-linkedin):hover {
  background: #0077b5;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
  border-color: #0077b5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .profile-card {
    padding: 2rem;
  }
  
  .profile-avatar {
    width: 120px;
    height: 120px;
    font-size: 3rem;
  }
  
  /* Responsive para projetos */
  .project-card.single-project {
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding-top: 100px;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text h2 {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .skill-category,
  .project-card {
    margin: 0 10px;
  }
  
  .social-links {
    gap: 1rem;
  }
  
  .social-link {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .contact-method {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .project-content {
    padding: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* Scrollbar customizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1e293b;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
}

/* Animações adicionais */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* Efeitos de hover melhorados */
.btn, .social-link, .project-card, .stat, .skill-category, .contact-method {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Melhorias de acessibilidade */
.btn:focus,
.nav-link:focus,
.project-link:focus,
.social-link:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Performance */
* {
  will-change: auto;
}

.project-card:hover,
.stat:hover,
.skill-category:hover {
  will-change: transform;
}
