/* ========================================= 
   RESET & BASE STYLES 
   ========================================= */

/* PAGE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

/* BODY */
body {
  font-family: Helvetica, Arial, sans-serif;
  background-color: #EEEDFF;
  line-height: 1.6;
  color: #333;
}

/* ============================================
   HEADER 
   ============================================ */

/* En-tête */
.header {
  background-color: #EEEDFF;
  padding: 0;
  margin-bottom: 0;
}

/* Conteneur interne du header */
.header-content {
  background-color: white;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

/* Section logo et nom */
.brand-section {
  margin-bottom: 1rem;
}

/* Logo image */
.logo {
  width: 90px;
  height: 90px;
  float: left;
  margin-right: 1rem;
  margin-top: 0;
}

/* Nom dans Header */
.header-name {
  font-size: 1.75rem;
  font-weight: bold;
  color: #141154;
  margin: 0;
  overflow: hidden;
  /* Aligner verticalement avec le logo */
  line-height: 90px;
  height: 90px;
  display: block;
}

/* ============================================
   NAVIGATION - Pleine largeur
   ============================================ */

/* Navigation pleine largeur */
.navigation {
  background-color: #9794D4;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Liste de navigation */
.nav-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  list-style: none;
  display: block;
}

/* Élément de liste navigation */
.nav-list li {
  margin: 0;
  padding: 0.5rem 0;
  display: block;
}

/* Lien de navigation */
.nav-list a {
  display: block;
  padding: 0.75rem 1rem;
  color: white;
  text-decoration: none;
  font-style: italic;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Lien hover et actif */
.nav-list a:hover,
.nav-list a.active {
  background-color: #605CAB;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

/* Contenu principal limité */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  background-color: white;
}

/* ============================================
   SECTIONS DE CONTENU
   ============================================ */

/* Section de contenu générique */
.content-section {
  padding: 2rem 0;
  background-color: white;
}

/* Titre h2 dans les sections */
.content-section h2 {
  font-size: 1.3rem;
  color: #141154;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

/* Paragraphes dans les sections */
.content-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #333;
}

/* Liens dans les sections */
.content-section a {
  color: #605CAB;
  text-decoration: underline;
}

/* Lien hover */
.content-section a:hover {
  color: #332F80;
}

/* Texte en gras */
strong {
  font-weight: bold;
  color: #141154;
}

/* Texte en italique */
em {
  font-style: italic;
  color: #605CAB;
}

/* ============================================
   DEUX COLONNES - Mobile first
   ============================================ */

/* Conteneur deux colonnes */
.two-column {
  margin-bottom: 2rem;
}

/* Colonne unique en mobile */
.column {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: white;
}

blockquote.citation {
  margin: 1rem 0;
  padding: 1.5rem;
  border-left: 4px solid #605CAB;
  background-color: #f9f9f9;
  font-style: italic;
  color: #333;
}

blockquote.citation p {
  margin: 0 0 0.5rem 0;
}

blockquote.citation footer {
  font-size: 0.85rem;
  color: #605CAB;
  font-style: normal;
  font-weight: bold;
}

/* ============================================
   HERO IMAGE
   ============================================ */

/* Section hero */
.hero {
  margin: 0;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

/* Image hero pleine largeur (Home) */
.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero mince (page) */
.hero-page {
  height: 150px;
}

/* Image dans hero mince */
.hero-page .hero-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* ============================================
   TEXTE AVEC IMAGE - Mobile first
   ============================================ */

/* Conteneur texte avec image */
.text-with-image {
  margin-bottom: 2rem;
}

/* Image intégrée */
.image-content {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
  border-radius: 16px;
}

/* Contenu texte */
.text-content {
  margin: 0;
}

/* ============================================
   SIDEBAR NAVIGATION - MOBILE FIRST
   ============================================ */

/* Barre latérale navigation */
.nav-sidebar {
  width: 100%;
  background-color: #EEEDFF;
  padding: 1rem;
  margin: 2rem 0;
  border-top: 3px solid #141154;
  box-sizing: border-box;
}

/* Liste sidebar */
.nav-sidebar ul {
  list-style: none;
  text-align: center;
}

/* Élément liste sidebar */
.nav-sidebar li {
  margin-bottom: 0.5rem;
  display: block;
}

/* Lien sidebar */
.nav-sidebar a {
  display: block;
  color: #040233;
  padding: 0.75rem 1rem;
  text-decoration: none;
  font-style: italic;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Lien sidebar hover */
.nav-sidebar a:hover,
.nav-sidebar a.active {
  background-color: #9794D4;
}

/* ============================================
   PUNCHLINE SECTION - Pleine largeur
   ============================================ */

/* Section punchline pleine largeur */
.punchline-section {
  background-color: #332F80;
  padding: 6rem 1rem;
  margin: 2rem 0;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  text-align: center;
}

/* Containeur punchline */
.punchline-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Texte punchline avec relief */
.punchline-text {
  display: inline-block;
  font-size: 1.5rem;
  color: white;
  font-weight: bold;
  background: linear-gradient(135deg, #605CAB 0%, #332F80 100%);
  padding: 2rem 3rem;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.punchline-text:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* ============================================
   TABLEAU HTML - Home
   ============================================ */

/* Tableau de données */
.skills-table {
    font-size: 0.75rem;
    border-collapse: collapse;
    border: none;
  }
  
/* Caption du tableau */
.skills-table caption {
  font-size: 0.9rem;
  color: #666;
  padding: 1rem 0;
  text-align: left;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Cellules */
.skills-table td {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-left: 4px solid transparent;
  text-align: center;
  color: #333;
}

.skills-table td:nth-child(1) { border-left-color: #605CAB; }
.skills-table td:nth-child(2) { border-left-color: #9794D4; }
.skills-table td:nth-child(3) { border-left-color: #332F80; }
.skills-table td:nth-child(4) { border-left-color: #141154; }
.skills-table td:nth-child(5) { border-left-color: #0052CC; }

/* ============================================
   DRAPEAU GREC EN TABLEAU HTML
   ============================================ */

/* Conteneur drapeau */
.greek-flag-container {
  margin: 2rem auto;
  text-align: center;
}

/* Tableau */
.greek-flag-table {
    
    font-size: 0.75rem;
    border-collapse: collapse;
    border: none;
  }

.col-2 {
  min-width: 32px;
}
.col-1, .col-3 {
  min-width: 64px;
}
  
/* Caption drapeau */
.greek-flag-table caption {
  font-size: 0.8rem;
  color: #666;
  padding: 1rem 0;
  text-align: center;
  font-style: italic;
}

/* ============================================
   FOOTER - Pleine largeur
   ============================================ */

/* Footer pleine largeur */
.footer {
  background-color: #040233;
  color: white;
  padding: 2rem 1rem;
  margin-top: 0;
  width: 100vw;
}

/* Containeur contenu footer */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Colonne footer */
.footer-column {
  padding: 1.5rem 0;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
}

/* Liste footer */
.footer-column ul {
  list-style: none;
  text-align: justify;
}

/* Élément liste footer */
.footer-column li {
  margin-bottom: 0.5rem;
}

/* Lien footer */
.footer-column a {
  color: white;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

/* Lien footer hover */
.footer-column a:hover {
  border-bottom-color: #9794D4;
}

/* ============================================
   MEDIA QUERIES - Desktop
   ============================================ */

/* À partir de 768px */
@media screen and (min-width: 768px) {

  /* Header desktop */
  .header-content {
    display: block;
  }

  /* Navigation desktop - horizontal */
  .nav-list {
    display: block;
    margin: 0 auto;
    text-align: right;
  }

  /* Lien navigation horizontal */
  .nav-list li {
    display: inline-block;
    margin-right: 2rem;
  }

  /* Lien navigation */
  .nav-list a {
    display: inline-block;
    padding: 0.75rem 0;
    border-bottom: none;
  }

  /* Lien hover */
  .nav-list a:hover,
  .nav-list a.active {
    background-color: transparent;
    border-bottom: 2px solid white;
  }

  /* Deux colonnes desktop - float */
  .two-column {
    position: relative;
    margin-bottom: 2rem;
  }

  /* Colonne float */
  .column {
    width: 48%;
    float: left;
    margin-right: 4%;
    margin-bottom: 0;
  }

  /* Dernière colonne */
  .column:last-child {
    margin-right: 0;
  }

  .skills-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background-color: white;
    font-size: 0.9rem;
}

  /* Texte avec image desktop - float */
  .text-with-image {
    float: left;
    width: 68%;
    margin-bottom: 2rem;
  }

  /* Image floatée à gauche */
  .image-content {
    float: left;
    width: 50%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
    margin-right: 1rem;
  }

  /* Contenu texte avec image */
  .text-content {
    margin: 0;
    padding-right: 0;
  }

  /* Barre latérale navigation */
.nav-sidebar {
    float: left;
    width: 28%;
    margin: 0;
    border-top: none;
    border-left: 4px solid #141154;
    border-right: none;
  }

  .nav-sidebar ul {
    text-align: right;
  }

  .nav-sidebar li {
    margin-bottom: 0.75rem;
  }

/* Tableau drapeau grec */
.greek-flag-table {
  width: 1024px;
  max-width: 100%;
  border-collapse: collapse;
  background-color: white;
  margin: 0 auto;
  display: block;
  table-layout: fixed;
}

/* Footer colonnes desktop - float */
.footer-column {
  width: 23%;
  float: left;
  margin-right: 2%;
  margin-bottom: 0;
}

  /* Dernière colonne footer */
  .footer-column:last-child {
    margin-right: 0;
  }

  /* Liste footer */
  .footer-column ul {
    text-align: left;
}

}

/* À partir de 1024px */
@media screen and (min-width: 1024px) {

  /* Augmenter font-size général */
  body {
    font-size: 1rem;
  }

}

/* ============================================
   CLEARFIX - Pour éviter débordements float
   ============================================ */

/* Effacer les floats */
.two-column::after,
.text-with-image::after,
.content-section::after,
.footer-content::after {
  content: "";
  display: table;
  clear: both;
}
