﻿  /* Clifton Village Website - Local Styles /*

/* Colour Palette

#00FFE1
#009DFF *base*
#001EFF

cvra-blue		#009DFF
cvra-light-blue	#80ceff
cvra-blue-wash	#e6f5ff

*/

/* CSS variables - examples */
:root {
	--cvra-h1: purple;
}
.cvra-h1 {
	color: var(--cvra-h1);  
}

/* body - set light background & top padding to push body below fixed top navbar 
body {
	background-color: rgba(247, 252, 255, 0.2);
	padding-top: 100px;
	}
*/	
	
/* ChatGPT suggested */	
body {
  background-color: #f7f5f0;
	padding-top: 100px;
}

/* add top margin on any anchor tags */
.anchor-tag {
  scroll-margin-top: 100px;
}

/* Card-border -- */
.cvra-card-border {
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* indent bullet lists */
.cvra-indent-2 {
	margin-left: 40px;
}
.cvra-indent-4 {
	margin-left: 80px;
}

/* miscellaneous colors */
.pdf-red {
	color: #F40F02;
}
.police-blue {
	color: #2a6eb8;
}
/* back to top styling - needs editing */

html {
	scroll-behavior: smooth;
}

.back-to-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #dc143c;
	border-radius: 0.5rem;
	padding: 0.5rem;
	text-decoration: none;
	transition: 0.2s ease-out;
}

.back-to-top span {
	color: #fff;
	font-size: 3rem;
	transition: 0.2s ease-out;
}

.back-to-top:hover {
	background-color: #be1a3b;
}
.back-to-top:hover span {
	transform: translateY(-4px);
}

/* drafting note styles */
.dn {color: purple;
	margin: 1.0em;
	padding: 1,0em;
	font-style:italic;
	
}
.dn-border {
	border: 1px purple solid;
}

/* soft horizontal line */
/* Option 1 - Slightly stronger version (same style, just more visible) */
hr.soften-cvra {
  border: none;
  height: 2px;
  background: linear-gradient(to right,
    rgba(79, 143, 222, 0),
    rgba(79, 143, 222, 0.8) 40%,
    rgba(79, 143, 222, 0.8) 60%,
    rgba(79, 143, 222, 0)
  );
}
hr.soften-cvra_1 {
  border: none;
  height: 2px;
  background: linear-gradient(to right,
    rgba(79, 143, 222, 0),
    rgba(79, 143, 222, 0.8) 40%,
    rgba(79, 143, 222, 0.8) 60%,
    rgba(79, 143, 222, 0)
  );
}



/* card or box border */
.cvra-border-light-blue {
	border: 1px #80ceff solid
}

/* modified lead class - The "Gradient Text" (Modern/Bold) */
.cvra-lead {
    font-weight: 500;
    background: linear-gradient(90deg, #004a99, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* hanging-indent */
.cvra-indent-left {
	margin-left: 0.8em;
}

/* Customising BS5 for a subtle CTA */
/* A soft sage background for the notice box */
.bg-light-green {
    background-color: #f1f8f4; 
    border-radius: 12px;
}

/* The 'Village-Soft' Button style */
.btn-village-soft {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    color: #166534;
    border: 1px solid #c3e6cb;
	padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-village-soft:hover {
    background-color: #166534;
    color: #ffffff;
    border-color: #166534;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.community-card {
    transition: transform 0.2s ease;
}

/*
.community-card:hover {
    transform: scale(1.01); /* Very subtle lift on hover */
}
*/

/* Local Services styling - needs editing */
/* Base card */
.service-card {
  border: none;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,.08);
}

/* ===== Category colour variables ===== */

.service-gp {
  --service-color: #0d6efd;       /* Bootstrap primary */
  --service-bg: #e9f2ff;
}

.service-pharmacy {
  --service-color: #198754;       /* Bootstrap success */
  --service-bg: #e8f6ef;
}

.service-bank {
  --service-color: #6f42c1;       /* Bootstrap purple */
  --service-bg: #f1ecfb;
}

.service-post {
  --service-color: #DA202A;       /* Post office Red */
  --service-bg: #FCE9EA;
}

.service-pets {
  --service-color: #CC5500;       /* Deep Orange */
  --service-bg: #FFF0E6;
}

.service-community {
  --service-color: #167057;       /* Robin Hood Green */
  --service-bg: #EAFBF6;
}

/* ===== Icon badge ===== */

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--service-bg);
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon i {
  font-size: 1.4rem;
  color: var(--service-color);
}

/* ===== Title accent ===== */

.service-card .card-title {
  position: relative;
  padding-left: 0.6rem;
}

.service-card .card-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 4px;
  border-radius: 2px;
  background: var(--service-color);
}

/* ===== Info rows ===== */

.info-row {
  font-size: 0.95rem;
  color: #555;
}

.info-row i {
  width: 18px;
  margin-right: 6px;
  color: #6c757d;
}

/* ===== Links ===== */

.service-card a {
  text-decoration: none;
}

.service-card a:hover {
  text-decoration: underline;
}

/* ===== Notes ===== */

.service-notes {
  border-top: 1px dashed #e5e5e5;
  padding-top: 0.4rem;
  color: #6c757d;
}
