/* ===== RESET & BASE STYLES ===== */
:root {
  --color-primary: #4682B4;       /* Bleu acier (couleur principale) */
  --primary-color: #4682B4;       /* Bleu acier (couleur principale) */
  --secondary-color: #5F9EA0;    /* Bleu turquoise (accent) */
  --light-color: #F0F8FF;         /* Blanc azuré (fond) */
  --dark-color: #2F4F4F;          /* Gris-bleu foncé (texte) */
  --accent-color: #87CEEB;        /* Bleu ciel (surlignage) */
  --highlight-color: #40E0D0;    /* Turquoise (pour les boutons) */
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --font-main: 'Playfair Display', serif;  /* Police élégante pour les titres */
  --font-secondary: 'Open Sans', sans-serif;  /* Police lisible pour le texte */
}

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

body {
  font-family: var(--font-secondary);
  background-color: var(--light-color);
  color: var(--dark-color);
  line-height: 1.8;
}

/* ===== LAYOUT & CONTAINERS ===== */
.row-fluid {
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

.App {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* ===== HEADER (inspiré par le ciel et la mer) ===== */
.header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.footer {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}
#nav-menu-container {
  float: right;
  margin: 0 0 0 0;
}

/* ===== MAIN CONTENT ===== */
.mainContent {
  min-height: calc(100vh - 120px);
  padding: 40px 0;
}

/* ===== FULL-WIDTH CONTAINERS (tons bleus naturels) ===== */
.full-first {
  background-color: white;
  padding: 50px 30px;
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent-color);
}

.full-seco {
  background-color: var(--light-color);
  padding: 50px 30px;
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--secondary-color);
}

.full-terc {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 50px 30px;
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--accent-color);
}

/* ===== BLOCKS (style épuré et naturel) ===== */
.block-first {
  background-color: white;
  padding: 30px;
  margin-bottom: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-color);
}

.block-seco {
  background-color: var(--light-color);
  padding: 30px;
  margin-bottom: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent-color);
}

.block-terc {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px;
  margin-bottom: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px dashed var(--secondary-color);
}

/* ===== GRID STYLE (pour les articles ou galeries) ===== */
.grid {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 16px;
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: white;
}

.grid th {
  background: linear-gradient(var(--primary-color), var(--secondary-color));
  color: white;
  padding: 15px;
  text-align: center;
  font-family: var(--font-main);
  font-weight: 600;
}

.grid td {
  padding: 15px;
  border-bottom: 1px solid rgba(70, 130, 180, 0.1);
  text-align: center;
}

.grid tr:nth-child(even) {
  background-color: rgba(95, 158, 160, 0.05);
}

.grid tr:hover {
  background-color: rgba(95, 158, 160, 0.1);
}

/* ===== DIALOG STYLE (fenêtre modale) ===== */
#dialog {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
}

#dialog.show {
  display: flex;
}

#dialog .dialog-content {
  background-color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-top: 5px solid var(--primary-color);
}

#dialog .close-dialog {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark-color);
}

/* ===== BUTTONS (style naturel et apaisant) ===== */
.button {
  display: inline-block;
  background: linear-gradient(var(--primary-color), var(--highlight-color));
  color: white;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-secondary);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.button:hover {
  background: linear-gradient(var(--highlight-color), var(--secondary-color));
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* ===== TYPOGRAPHY (style élégant et naturel) ===== */
h1, h2, h3, h4 {
  font-family: var(--font-main);
  color: var(--primary-color);
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
}

h2 {
  font-size: 2rem;
  color: var(--secondary-color);
}

h3 {
  font-size: 1.5rem;
  color: var(--highlight-color);
}

p {
  margin-bottom: 20px;
  font-family: var(--font-secondary);
  line-height: 1.8;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .full-first, .full-seco, .full-terc {
    padding: 30px 20px;
  }

  .block-first, .block-seco, .block-terc {
    padding: 20px;
  }

  #dialog .dialog-content {
    width: 95%;
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 15px 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .button {
    padding: 10px 20px;
    font-size: 14px;
  }
}
