/* PORTFOLIO THEME - MAIN CSS
 * Dark theme optimized styles
 */

body {
  color: rgba(255, 255, 255, 0.9); /* Texte clair pour fond sombre */
  background-color: #0a0a0a; /* Fond sombre */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  max-width: 100%;
  min-height: 100vh;
}

/* Conteneur principal */
.container {
  color: rgba(255, 255, 255, 0.9);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Paragraphes et texte */
p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Liens */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-secondary);
  text-decoration: underline;
}

/* Sections principales */
.main-content {
  color: rgba(255, 255, 255, 0.9);
  width: 100%;
}

/* Headers et footers */
header {
  border-bottom: 1px solid rgba(79, 209, 199, 0.3);
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design pour le conteneur principal */
@media (max-width: 1440px) {
  .container {
    max-width: 1200px;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }
}

/* ========================================
   TOP BAR BREADCRUMB NAVIGATION
   ======================================== */
.top-bar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 1rem;
  max-width: 400px;
  overflow: hidden;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.breadcrumb-item:hover,
.breadcrumb-link:hover {
  color: var(--accent);
  background: rgba(79, 209, 199, 0.1);
  transform: translateY(-1px);
}

.breadcrumb-home .breadcrumb-icon {
  color: var(--accent);
}

.breadcrumb-current {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(79, 209, 199, 0.15);
  border: 1px solid rgba(79, 209, 199, 0.2);
}

.breadcrumb-current .breadcrumb-icon {
  color: var(--accent);
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin: 0 0.2rem;
  opacity: 0.6;
}

.breadcrumb-icon {
  flex-shrink: 0;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.breadcrumb-text {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .top-bar-breadcrumb {
    font-size: 0.75rem;
    gap: 0.3rem;
    margin-left: 0.5rem;
    max-width: 250px;
  }
  
  .breadcrumb-text {
    max-width: 100px;
    font-size: 0.7rem;
  }
  
  .breadcrumb-item {
    padding: 0.2rem 0.4rem;
  }
  
  .breadcrumb-icon {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .top-bar-breadcrumb {
    font-size: 0.7rem;
    gap: 0.2rem;
    max-width: 180px;
  }
  
  .breadcrumb-text {
    max-width: 80px;
    font-size: 0.65rem;
  }
  
  .breadcrumb-separator {
    font-size: 0.7rem;
  }
}
