/* =========================================================================
   style.css — feuille de style consolidée
   Lyon Photographe Professionnel — pages "mariage/photos/*"
   Reprend à l'identique le rendu visuel des anciennes règles (texture lin
   en fond, titres gris avec ombre, liens noirs, séparateurs étoile, cartes
   arrondies, zoom au survol des photos) dans une seule feuille propre.
   ========================================================================= */

:root {
  --ink: #111111;
  --muted: #333333;
  --soft-gray: #979797;
  --accent: #4CAF50;
  --hover-bg: #f0f4f8;
  --border: #e0e0e0;
  --footer-link: #999999;
}

/* ---- Base ---- */
body {
  margin: 0;
  padding: 20px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background-color: #FFFFFF;
  background-image: url("100.jpg");
  background-attachment: fixed;
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* ---- Titres ---- */
h1 {
  font-size: 22px;
  color: var(--soft-gray);
  font-family: Helvetica, Verdana, Arial, sans-serif;
  text-shadow: 2px 2px 5px #000000;
}

h2 {
  font-size: 16px;
  color: var(--ink);
}

h3 {
  font-size: 14px;
  color: var(--ink);
}

.content-card h2 {
  color: #2c3e50;
  padding-bottom: 8px;
}

.content-card h3 {
  color: var(--accent);
  text-align: left;
  margin-top: 30px;
  font-size: 17px;
}

/* ---- Texte utilitaire (classes historiques conservées pour compat) ---- */
.textreg { font-size: 18px; color: var(--ink); }
.textsm  { font-size: 20px; color: #fff; text-shadow: 3px 3px 6px #FFFFFF; }
.textbg  { font-size: 16px; color: var(--ink); }

/* ---- Liens ---- */
a {
  color: #222222;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-links,
.links-block {
  margin: 15px 0;
  line-height: 2;
}

.links-block a {
  margin: 0 5px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.links-block a:hover {
  background-color: var(--hover-bg);
}

.footer-links a {
  color: var(--footer-link);
  text-decoration: underline;
}

.footer-links a:hover {
  color: var(--muted);
}

/* ---- Étoile de séparation dans la nav ---- */
.icon-star {
  vertical-align: middle;
  width: 12px;
  height: 12px;
  display: inline-block;
  transition: transform 0.3s ease;
}

a:hover .icon-star {
  transform: rotate(180deg);
}

/* ---- Photos ---- */
.img-wrapper {
  display: inline-block;
  overflow: hidden;
  border-radius: 14px;
  margin: 10px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              filter 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, filter, box-shadow;
}

.img-wrapper:hover img {
  transform: scale(1.03);
}

img:hover {
  transform: translateY(-3px) scale(1.04);
  filter: contrast(1.04);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
  z-index: 5;
}

@media (max-width: 768px) {
  img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  img, img:hover, .img-wrapper, .img-wrapper:hover img {
    transition: none;
    transform: none;
  }
}

/* ---- Bloc navigation secondaire ---- */
.nav-box {
  border: 2px solid var(--border);
  background: #fafafa;
  border-radius: 8px;
  padding: 15px;
  display: inline-block;
  margin: 20px 0;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

.nav-box:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* ---- Carte de contenu (présentation, avis, article SEO) ---- */
.content-card {
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: var(--muted);
  margin: 30px auto;
  max-width: 900px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.content-card p,
.content-card ul {
  text-align: left;
  line-height: 1.7;
}

.content-card ul {
  padding-left: 20px;
}

.content-card li {
  margin-bottom: 8px;
  transition: transform 0.2s ease;
}

.content-card li:hover {
  transform: translateX(5px);
}

.seo-photo-noir-blanc {
  text-align: left;
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.seo-photo-noir-blanc h2 {
  color: #2c3e50;
  margin-top: 25px;
}
