/* Reset et base 
    Il s'agit du fichier css qui contient les styles communs à tous les pages.
    Le css est réutilisé pour les pages dj.html, photo.html, rdv-dj.html, rdv-photo.html, dj-tarifs.html, photo-tarifs.html, photo-portfolio.html, photo-presentation.html.
    Le css propre à chaque page est dans le dossier css de chaque page.
*/

body{
  font-family: Arial, sans-serif;
  color: #fff;
}

/* Container commun */
.container{ 
  width: 90%; 
  max-width: 1200px; 
  margin: 0 auto; 
}

/* Header et Brand */
header{ 
  padding: 18px 0 10px; 
}

.brand{
  font-weight: 800;
  background: #fff;
  color: #111;
  padding: 8px 14px;
  border-radius: 10px;
  display: inline-block;
}

/* Navigation */
.nav{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav a{
  color: #f0d27a;
  text-decoration: none;
  font-weight: bold;
}

.nav a:hover{ 
  opacity: .75; 
}

/* Top bar */
.top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Actions et boutons */
.actions{ 
  display: flex; 
  gap: 10px; 
  flex-wrap: wrap; 
}

.btn{
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: .25s;
  border: 1px solid rgba(240,210,122,.75);
  color: #f0d27a;
}

.btn:hover{ 
  opacity: .85; 
}

.btn.primary{
  background: #d4af37;
  color: #111;
  border-color: #d4af37;
}

/* Card */
.card{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 0 22px rgba(0,0,0,.25);
}

/* Typography */
h1{ 
  margin: 0 0 10px; 
  color: #f0d27a; 
  font-size: 34px; 
}

h2{ 
  margin: 0 0 8px; 
  color: #f0d27a; 
  font-size: 24px; 
}

p{ 
  margin: 0 0 14px; 
  color: rgba(255,255,255,.92); 
  line-height: 1.55; 
}

.muted{ 
  color: rgba(255,255,255,.75); 
  opacity: .75;
}

/* Footer */
footer{
  text-align: center;
  padding: 18px 10px;
  color: #d4af37;
  font-size: 14px;
  opacity: .9;
}

/* Formulaires - Styles de base (peuvent être surchargés par les styles spécifiques) */
form{ 
  display: block; 
}

label{ 
  font-weight: 700; 
  color: rgba(255,255,255,.9); 
  display: block;
  margin-bottom: 8px;
}

input, select, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.25);
  color: #fff;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}

textarea{ 
  min-height: 120px; 
  resize: vertical; 
}

/* Mobile-first : une colonne par défaut */
.row{ 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 12px; 
  margin-bottom: 16px;
}

.btn-form{
  margin-top: 6px;
  background: #d4af37;
  color: #111;
  border: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.btn-form:hover{ 
  opacity: .9; 
}

/* Responsive - Mobile First */
/* Tablette (768px et plus) */
@media (min-width: 768px){
  .row{ 
    grid-template-columns: 1fr 1fr; 
  }
  
  .container{ 
    width: 85%; 
  }
  
  h1{ 
    font-size: 36px; 
  }
  
  h2{ 
    font-size: 26px; 
  }
  
  .card{ 
    padding: 28px; 
  }
}

/* Desktop (1024px et plus) */
@media (min-width: 1024px){
  .container{ 
    width: 90%; 
    max-width: 1200px; 
  }
  
  h1{ 
    font-size: 40px; 
  }
  
  h2{ 
    font-size: 28px; 
  }
  
  .card{ 
    padding: 32px; 
  }
}

/* Mobile spécifique (moins de 480px) */
@media (max-width: 480px){
  h1{ 
    font-size: 26px; 
  }
  
  .card{ 
    padding: 16px; 
  }
  
  .container{ 
    width: 95%; 
  }
}

