/* ============================================================
   CUSTOM OVERRIDES FOR CABINET VÉTÉRINAIRE CHAMPEL
   Safe, modular, non-destructive
   ============================================================ */


/* ------------------------------------------------------------
   1. HIDE ORIGINAL HYPERSPACE DEMO SECTIONS
   ------------------------------------------------------------ */

#intro,
#one,
#two,
#three {
  display: none !important;
}


/* ------------------------------------------------------------
   2. SIDEBAR HEADER (CLINIC NAME + PHONE)
   ------------------------------------------------------------ */

#sidebar .clinic-header {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1rem;
  line-height: 1.4;
  color: #fff;
}

#sidebar .clinic-header a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}


/* ------------------------------------------------------------
   3. GLOBAL TYPOGRAPHY & COLORS
   ------------------------------------------------------------ */

body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #222;
}

h1, h2, h3 {
  letter-spacing: -0.5px;
  font-weight: 700;
}

h1 {
  font-size: 2.6rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

/* Calm medical palette */
:root {
  --primary: #2a7fa8;
  --primary-light: #e8f4f8;
  --accent: #1f5f7d;
}

.button.primary {
  background: var(--primary);
  border-color: var(--primary);
}

.button.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}


/* ------------------------------------------------------------
   4. HERO SECTION
   ------------------------------------------------------------ */

#intro-custom h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

#intro-custom p {
  font-size: 1.2rem;
  max-width: 600px;
}

#intro-custom .split {
  margin-top: 2.5rem;
}

#intro-custom .features li {
  padding: 4px 0;
  font-size: 1.05rem;
}


/* ------------------------------------------------------------
   5. ABOUT SECTION
   ------------------------------------------------------------ */

#about-custom .inner {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

#about-custom ul {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

#about-custom ul li {
  padding: 4px 0;
}


/* ------------------------------------------------------------
   6. SERVICES GRID
   ------------------------------------------------------------ */

#services-custom .features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

#services-custom .features section {
  background: #fff;
  padding: 1.8rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#services-custom .features section:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

#services-custom img {
  border-radius: 10px;
  margin-top: 1rem;
}


/* ------------------------------------------------------------
   7. TESTIMONIALS
   ------------------------------------------------------------ */

#testimonials-custom .features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

#testimonials-custom section {
  background: var(--primary-light);
  padding: 1.6rem;
  border-radius: 12px;
  font-style: italic;
  border-left: 4px solid var(--primary);
}


/* ------------------------------------------------------------
   8. CONTACT SECTION
   ------------------------------------------------------------ */

#contact-custom .split section {
  background: #fff;
  padding: 1.8rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

#contact-custom img {
  border-radius: 10px;
  margin-top: 1rem;
}


/* ------------------------------------------------------------
   9. MAP & FULL-WIDTH PHOTOS
   ------------------------------------------------------------ */

#map-custom iframe {
  border-radius: 12px;
  overflow: hidden;
}

#photo-full-custom img,
#photo-intro-custom img {
  border-radius: 12px;
}


/* ------------------------------------------------------------
   10. IMAGE PLACEHOLDERS (with filename overlay)
   ------------------------------------------------------------ */

.placeholder {
  position: relative;
  display: block;
}

.placeholder img {
  border: 3px dashed #999;
  opacity: 0.4;
}

.placeholder::after {
  content: attr(data-name);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
}


/* ------------------------------------------------------------
   11. GENERIC GREY BOX PLACEHOLDER (for maps, etc.)
   ------------------------------------------------------------ */

.img-placeholder {
  background: #ddd;
  border: 2px dashed #aaa;
  padding: 40px;
  text-align: center;
  font-size: 1rem;
  color: #555;
  border-radius: 10px;
}


/* ------------------------------------------------------------
   12. MOBILE TWEAKS
   ------------------------------------------------------------ */

@media (max-width: 600px) {
  h1 {
    font-size: 2.1rem;
  }

  #intro-custom p {
    font-size: 1.05rem;
  }

  #services-custom .features,
  #testimonials-custom .features {
    grid-template-columns: 1fr;
  }
}
