/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */



/* =====================================================================
   Les Délices du Cèdre — polish layer
   Paste into  Appearance ▸ Additional CSS  (or Divi ▸ Theme Options ▸ CSS).
   The layout works without this; it only adds hover motion & finishing.
   Palette: gold #E3B23C · black #0D0D0C · cream #F3ECDD
   ===================================================================== */

/* Smooth scroll for the #commander / #contact CTA anchors */
html { scroll-behavior: smooth; }

/* --- Cards (dietary / menu text / practical params / reheat / infos) --- */
.dc-card {
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.dc-card:hover {
  transform: translateY(-6px);
  border-color: #E3B23C !important;
  box-shadow: 0 18px 40px -24px rgba(227,178,60,.55);
}

/* --- Image slots: obvious "add photo here" state, elegant once filled --- */
.dc-shot .et_pb_image_wrap,
.dc-shot .et_pb_module_inner { width: 100%; }

.dc-shot img { width: 100%; height: 100%; object-fit: cover; }

/* placeholder styling while no image is set */
.dc-shot:not(:has(img)) {
  min-height: 360px;
  border: 1px dashed #3a362f;
  border-radius: 4px;
  background:
    repeating-linear-gradient(45deg,#141310,#141310 14px,#171613 14px,#171613 28px);
}

/* subtle zoom on hover once a real photo is in place */
.dc-shot { overflow: hidden; border-radius: 4px; }
.dc-shot img { transition: transform .6s ease; }
.dc-shot:hover img { transform: scale(1.05); }

/* --- Hero slider controls in gold --- */
.et_pb_slider .et-pb-arrow-prev,
.et_pb_slider .et-pb-arrow-next { color: #E3B23C; }
.et_pb_slider .et-pb-controllers a.et-pb-active-control { background-color: #E3B23C; }
.et_pb_slider .et-pb-controllers a { background-color: rgba(243,236,221,.35); }

/* keep hero text readable on tall phones */
@media (max-width: 767px){
  .et_pb_slide_description { padding-left: 6%; padding-right: 6%; }
}

/* --- Buttons: gentle lift --- */
.et_pb_button { transition: transform .25s ease, background-color .25s ease !important; }
.et_pb_button:hover { transform: translateY(-2px); }

/* honour reduced-motion preferences */
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  .dc-card, .dc-shot img, .et_pb_button { transition: none !important; }
  .dc-card:hover, .et_pb_button:hover { transform: none; }
  .dc-shot:hover img { transform: none; }
}