/* ==== Base ==== */
body {
  background-color: #fdf5e6;
  color: #3e2f27;
  font-family: 'Playfair Display', serif;
  margin: 0;
}

a {
  color: #f17c58;
  text-decoration: none;
}

a:hover {
  color: #da6d45;
  text-decoration: underline;
}

/* ==== Navbar ==== */
.navbar {
  background-color: #fff8ee;
  border-bottom: 1px solid #f0e6da;
}

.navbar .nav-link {
  color: #5c3b28 !important;
  font-weight: 500;
}

.navbar .nav-link:hover {
  color: #da6d45 !important;
}

/* ==== Boutons ==== */
.btn-primary,
.btn-outline-primary:hover {
  background-color: #f17c58;
  color: white;
  border: none;
}

.btn-outline-primary {
  border: 1px solid #f17c58;
  color: #f17c58;
}

/* ==== Hero Banners ==== */
.hero-banner,
.category-hero,
.quote-hero {
  background-size: cover;
  background-position: center;
}

.hero-banner {
  height: 450px;
  position: relative;
}

.quote-hero {
  height: 350px;
  position: relative;
}

.hero-banner .overlay {
  background-color: rgba(255, 248, 240, 0.85);
  position: absolute;
  inset: 0;
}

.hero-banner .z-2 {
  z-index: 2;
  position: relative;
  padding: 3rem;
}

.quote-hero h1,
.quote-hero p {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.category-hero {
  background-color: #fff4ec;
}

.category-hero img {
  border-radius: 1rem;
  object-fit: cover;
}

/* ==== Texte dégradé ==== */
.text-gradient {
  background: linear-gradient(to right, #f2709c, #ff9472);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==== Cartes unifiées ==== */
.quotety-card,
.category-card,
.quote-card,
.author-card {
  border-radius: 1rem;
  background-color: #ffeede;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.quotety-card:hover,
.category-card:hover,
.quote-card:hover,
.author-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

/* ==== Cartes catégories ==== */
.category-card {
  position: relative;
  aspect-ratio: 1 / 1;
  display: block;
  background-color: #fff;
}

.category-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  display: block;
}

.category-card:hover .category-img {
  transform: scale(1.08);
}

.card-img-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 80%);
  border-radius: 0 0 1rem 1rem;
}

.card-img-overlay h3 {
  font-size: 1.1rem;
  font-weight: bold;
}

/* ==== Quote cards ==== */
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

.quote-icon {
  font-size: 2rem;
  color: #f87171;
  margin-bottom: 0.5rem;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #333;
  line-height: 1.6;
  text-align: center;
}

.quote-author {
  font-family: 'Dancing Script', cursive;
  font-size: 1.1rem;
  color: #444;
  margin-top: 0.5rem;
}

.quote-footer {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ==== Citation stylisée ==== */
.styled-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  position: relative;
  padding: 0 1rem;
  text-align: center;
}

.styled-quote::before {
  content: "«";
  font-size: 2rem;
  color: #ff5722;
  position: absolute;
  top: -10px;
  left: -10px;
}

.styled-quote::after {
  content: "»";
  font-size: 2rem;
  color: #ff5722;
  position: absolute;
  bottom: -10px;
  right: -10px;
}

/* ==== Footer ==== */
.site-footer {
  background-color: #ffeede;
  color: #3e2f27;
  border-top: 1px solid #f3d8c2;
  font-family: 'Playfair Display', serif;
}

.site-footer a {
  color: #3e2f27;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #da6d45;
  text-decoration: underline;
}

.footer-icon i {
  font-size: 1.2rem;
  color: #3e2f27;
}

.footer-icon:hover i {
  color: #da6d45;
}

/* ==== Divers ==== */
.section-light-orange {
  background: linear-gradient(to bottom right, #fff3e3, #fde3d0);
}

img.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.quotety-logo {
  color: #C87F4F !important; /* remplace par la couleur pastel de ta charte */
  font-family: 'Playfair Display', serif; /* optionnel si tu veux un style particulier */
  font-size: 1.5rem; /* ajuste selon ton besoin */
  text-decoration: none;
}
