:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --accent-color: #17a2b8;
  --text-color: #495057;
  --bg-color: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Global Styles */
body {
  font-family: 'Muli', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  padding-top: 56px; /* Espaço para o navbar fixo */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Saira Extra Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark-color);
}

section {
  padding: 80px 0;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

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

.bg-primary {
  background-color: var(--primary-color) !important;
}

/* Navigation */
.navbar {
  box-shadow: var(--shadow);
}

.navbar-brand {
  font-weight: 700;
}

.navbar-nav .nav-link {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color);
}

/* About Section */
#about {
  background-color: var(--light-color);
}

.profile-img {
  max-width: 200px;
  border: 0.5rem solid rgba(0, 0, 0, 0.1);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--dark-color);
  color: white !important;
  border-radius: 100%;
  font-size: 1.5rem;
  margin-right: 1.5rem;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Experience & Education */
.timeline {
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: var(--primary-color);
}

.timeline-date {
  color: var(--primary-color);
  font-weight: 600;
}

/* Skills */
.skills-icons {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.skills-icons .list-inline-item {
  margin-right: 2rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.skills-icons .list-inline-item:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

.skills-list {
  margin-left: 2.5rem;
}

.skills-list li {
  margin-bottom: 0.5rem;
}

/* Projects Section */
.project-card {
  height: 100%;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 1rem;
}

/* Certificates */
.certificate-item {
  margin-bottom: 1rem;
}

.certificate-item i {
  color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-color);
  color: white;
}

/* Responsive */
@media (max-width: 992px) {
  section {
    padding: 60px 0;
  }
  
  .profile-img {
    max-width: 150px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }
  
  .timeline {
    padding-left: 1rem;
  }
  
  .skills-icons {
    font-size: 2.5rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}
.project-mockup {
  position: relative;
  width: 100%;
  max-width: 400px; /* você pode ajustar o tamanho aqui */
  margin: 0 auto;
}

.mockup-frame {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.mockup-screen {
  position: absolute;
  top: 10.5%;
  left: 12.5%;
  width: 75%;
  height: 52%;
  z-index: 1;
  overflow: hidden;
  border-radius: 5px;
}

.project-image-inside {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Projects Section */
.projects-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.project-slide {
    display: none;
    transition: all 0.5s ease;
}

.project-slide.active {
    display: block;
}

.project-mockup {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.mockup-frame {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.mockup-screen {
    position: absolute;
    top: 10.5%;
    left: 12.5%;
    width: 75%;
    height: 52%;
    z-index: 1;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-image-inside {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-tech .badge {
    margin-right: 5px;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.8rem;
}

.project-links .btn {
    min-width: 140px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.carousel-control:hover {
    background-color: var(--primary-color);
    color: white;
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .project-slide .row {
        flex-direction: column;
    }
    
    .project-slide .col-lg-6:first-child {
        margin-bottom: 30px;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
/* Adicione estas regras ao seu styles.css */
.projects-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    perspective: 1000px;
}

.project-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
    transform: translateX(100%);
}

.project-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.project-slide.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

.project-slide.slide-out-right {
    transform: translateX(100%);
    opacity: 0;
}

/* Adicione esta media query para melhorar em mobile */
@media (max-width: 768px) {
    .project-slide {
        transition: all 0.4s ease;
    }
}
/* Estilo para os dropdowns de repositórios */
.btn-group .dropdown-menu {
    min-width: 180px;
}

/* Estilo para os ícones de frontend/backend */
.fa-desktop, .fa-server {
    font-size: 0.9em;
}

/* Ajuste para mobile */
@media (max-width: 576px) {
    .project-links .btn {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .btn-group {
        width: 100%;
    }
}