/* ------------------------------------------*/
/* ELLIOTT STONE CSS FILE 						 */
/* ------------------------------------------*/


body {
	font-family: articulat-cf, sans-serif;
	font-style: normal;
	xfont-weight: 100;
	margin: 0;
    padding: 0;
	font-size-adjust: 0.5;   /* helps fallbacks match Articulat CF’s proportions */
}



html, body { xoverflow-x: hidden; } 


body { padding-top: 100px; }            /* match your navbar height */
@media (max-width: 991.98px){ body { padding-top: 80px; } }
/* ------------------------------------------*/
/* MAIN SECTION                              */
/* ------------------------------------------*/

.page-section {
	padding-top: 40px;
	padding-bottom: 40px;
	text-align: start;
}
@media (min-width: 800px) {
.page-section {
	padding-top: 40px;
	padding-bottom: 40px;
}
}
@media (min-width: 1200px) {
.page-section {
	padding-top: 40px;
	padding-bottom: 40px;
	padding-left: 80px;
	padding-right: 80px;
}
}
@media (min-width: 1400px) {
.page-section {
	padding-top: 40px;
	padding-bottom: 40px;
}
}


/* ---------- BASE COLOURS ---------- */

/* White background (pure white) 
   BG HEX: #FFFFFF / RGBA: rgba(255, 255, 255, 1) 
   Text: #3C322F (Dark Brown / Charcoal) */
.bg-white {
  /* background: #FFFFFF; */
  background: rgba(255, 255, 255, 1);
  xcolor: #3C322F;
  xcolor: #717171;
  color: #4D636A;
}


/* Pale background (warm beige) 
   BG HEX: #D2CBC7 / RGBA: rgba(210, 203, 199, 1) 
   Text: #3C322F (Dark Brown / Charcoal) */
.bg-pale {
  /* background: #D2CBC7; */
  background: rgba(210, 203, 199, 1);
  color: #3C322F;
}

/* Very Light Brown background (taupe brown) 
   BG HEX: #807470 / RGBA: rgba(128, 116, 112, 1) 
   Text: #FFFFFF (White) */
.bg-very-light-brown {
  /* background: #807470; */
  background: rgba(128, 116, 112, 1);
  color: #FFFFFF;
}

/* Light Brown background (taupe brown, lighter text version) 
   BG HEX: #807470 / RGBA: rgba(128, 116, 112, 1) 
   Text: #3C322F (Dark Brown / Charcoal) */
.bg-light-brown {
  /* background: #807470; */
  background: rgba(128, 116, 112, 1);
  xcolor: #3C322F;
  color: #FFFFFF;
}

/* Medium Brown background (neutral grey-brown) 
   BG HEX: #707070 / RGBA: rgba(112, 112, 112, 1) 
   Text: #FFFFFF (White) */
.bg-medium-brown {
  /* background: #707070; */
  background: rgba(112, 112, 112, 1);
  color: #FFFFFF;
}

/* Dark Brown background (charcoal brown) 
   BG HEX: #3C322F / RGBA: rgba(60, 50, 47, 1) 
   Text: #FFFFFF (White) */
.bg-dark-brown {
  /* background: #3C322F; */
  background: rgba(60, 50, 47, 1);
  color: #FFFFFF;
}

/* ---------- BLUES ---------- */

/* Very Light Blue background (cool grey-blue, 33% opacity) 
   BG HEX: #98A4AB / RGBA: rgba(152, 164, 171, 0.33) 
   Text: #707070 (Medium Grey) */
.bg-very-light-blue {
  /* background: #98A4AB; */
  background: rgba(152, 164, 171, 0.33);
  color: #707070;
}

/* Light Blue background (pale blue) 
   BG HEX: #BECBD1 / RGBA: rgba(190, 203, 209, 1) 
   Text: #3C322F (Dark Brown / Charcoal) */
.bg-light-blue {
  /* background: #BECBD1; */
  background: rgba(190, 203, 209, 1);
  color: #3C322F;
}

/* Medium Blue background (muted blue-grey) 
   BG HEX: #98A4AB / RGBA: rgba(152, 164, 171, 1) 
   Text: #3C322F (Dark Brown / Charcoal) */
.bg-medium-blue {
  /* background: #98A4AB; */
  background: rgba(152, 164, 171, 1);
  color: #3C322F;
}

/* Dark Blue background (slate blue-grey) 
   BG HEX: #4D636A / RGBA: rgba(77, 99, 106, 1) 
   Text: #FFFFFF (White) */
.bg-dark-blue {
  /* background: #4D636A; */
  background: rgba(77, 99, 106, 1);
  color: #FFFFFF;
}



.text-medium-brown{color:#707070;}
.text-brown{color:#807470;}
.text-dark-brown{color: #3C322F;}
.text-dark-blue { color: #4D636A;}
.text-grey{color: #717171;}

.btn {
  font-weight: 400;
  border: none;
  padding-left: 0px;  
  letter-spacing: 1.5px;
  font-size: .75rem;             
  line-height: 1.5;
  border-radius: 0;      
  text-decoration: none;
  text-align: center;
  padding: 0.25rem 0.7rem;
  display: inline-block;
}

.btn-dark-blue,
.btn-dark-blue:visited {
  color: #fff;
  font-weight: 300;
  background-color: #516268;
  border-color: #516268;

}

.btn-dark-blue:hover,
.btn-dark-blue:focus {
  color: #fff;
  background-color: #3C322F;
  border-color: #3C322F;
}

.btn-white,
.btn-white:visited {
  background-color: #ffffff;
  color: #4D636A;
  border: none;
  font-weight: 400;
  padding: 0.25rem 0.5rem;
  text-decoration: none;
  display: inline-block;
  border-radius: 0;
}

.btn-white:hover,
.btn-white:focus {
  background:#BFCBCF; 
  color:#8C9390;
  text-decoration: none;
}

.btn-transparent-brown,
.btn-transparent-brown:visited {
  background-color: transparent;
  color: #8C9390;
  border: 1px solid #8C9390;
  font-weight: 400;
  padding: 0.25rem 1.5rem;
  text-decoration: none;
  display: inline-block;
  border-radius: 0;
}

.btn-transparent-brown:hover,
.btn-transparent-brown:focus {
  background-color: #807470;
  color: #fff;
  border-color: #8C9390;
}
 
 .btn-contact,
.btn-contact:visited {
  background-color: #4D636A;
  color: #FFFFFF;
  border: 1px solid #4D636A;
  font-weight: 400;
  padding: 0.5rem 1.5rem;
  text-decoration: none;
  display: inline-block;
  border-radius: 0;
}

.btn-contact:hover,
.btn-contact:focus {
  background-color: #807470;
  color: #fff;
  text-decoration: none;
  border-color: #8C9390;
}

/* ------------------------------------------*/
/* TEXT                                      */
/* ------------------------------------------*/


h1,h2,h3,h4,h5,h6{
	font-family: bodoni-std, sans-serif;
	font-style: normal;
 	letter-spacing: 0.02em;         /* Slight tracking */
  	font-feature-settings: "liga", "kern";  /* Enable kerning and ligatures */
  	-webkit-font-smoothing: antialiased;    /* Smoother rendering on webkit */
  	text-rendering: optimizeLegibility;     /* Improves kerning/ligatures */
	font-size-adjust: 0.5;   /* helps fallbacks match Bodoni Std’s proportions */
}


h1 {
  font-size: 3.5rem;        
  font-weight: 400;         
  margin-bottom: 1rem;     
}


h2 {
  	font-size: 2rem;     
  	font-weight: 200;        
  	line-height: 1.6;
  	margin-bottom: 1rem;   
	color: #4D636A;
 	
}



h3 {
	font-size: 1.8rem;     
	font-weight: 200;        
  	line-height: 1.2;
  	margin-bottom: 1rem;  
		  color: #4D636A;
	
}

h4 {
 	font-size: 1.8rem;     
	font-weight: 100;        
  	line-height: 1.2;
  	margin-bottom: 1rem;    
	  color: #4D636A;

}

h5 {
	font-size: 1.4rem;     
	font-weight: 100;        
  	line-height: 1.2;
  	margin-bottom: 1rem;    
	color: #707070;

	
	
}

h6 {
	font-size: 1.2rem;
	font-weight: 100;
	letter-spacing: 1px;
}

/* P sizing also used by nav-phone/email and contact form css */
p {
	font-size: 14px;
	font-weight: 200;
	letter-spacing: 1px;
	line-height: 2;
}

.lead { 
	font-size: 1.05rem;
	font-weight:200
}
.small {
	xfont-size: .675em;
	font-size: .85rem;
}

footer p,
footer a {
  color: white;
  font-weight: 200;
  font-size: 0.7rem;
  line-height: 1.5;
  text-decoration: none;
}
.footer-copywrite {
  color: rgba(255, 255, 255, 0.5); /* 50% white */
  text-decoration: none;           /* optional: remove underline */
  font-weight: 300;                /* optional: make lighter */
}

.footer-copywrite:hover {
  color: rgba(255, 255, 255, 0.8); /* brighten slightly on hover */
}

.text-bold{
	font-weight: 400;
}

/* Stone type why box has tighter spacing */
.why-text p {
  line-height: 1.5;
}

/* Replace all default list bullets with dashes */
ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;   /* no padding on the UL itself */
}

ul li {
  position: relative;
  padding-left: 1.2em;   /* space for dash before text */
}

ul li::before {
  content: "–";
  position: absolute;
  left: 0;               /* dash sits right at the left margin */
  color: inherit;
}

li{
		font-size: 15px;
	font-weight: 200;
	letter-spacing: 1px;
	line-height: 2;
	color: #717171;

}


section a,
section a:visited,
section a:active {
  color: inherit;
  text-decoration: none;
  filter: none;   /* no dimming by default */
}

section a:hover,
section a:focus {
  filter: brightness(0.85); /* darken slightly on hover */
  color: #807470;           /* keep your hover colour */
  text-decoration: underline;
}


 

/* -----------------*/
/* HOME BACKGROUND IMAGES      	*/
/* -----------------*/



.map-section {
  background-image: url('../images-elliott-stone/map.png'); /* Replace with map image if not using iframe */
  background-size: cover;
  background-position: center;
  height: 300px; /* mobile fallback */
}

@media (min-width: 768px) {
  .map-section {
    height: auto;
    min-height: 500px;
  }
}


/****************************/
/*         NAVIGATION       */
/****************************/

.navbar-nav .nav-link {
    text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.5px;
}

/* Tweak spacing and size for screens ≥1200px */
@media (min-width: 1200px) {
  .navbar-nav .nav-link {
    font-size: 13px;
    margin-left: 0.9rem;
    margin-right: 0.9rem;
  }
}

@media (min-width: 1400px) {
  .navbar-nav .nav-link {
    font-size: 13px;
    margin-left: 1.2rem;
    margin-right: 1.2rem;
  }
}

@media (min-width: 1700px) {
  .navbar-nav .nav-link {
    font-size: 13px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
}

/* Disable dash bullets inside the navbar and dropdowns */
.navbar-nav li::before,
.dropdown-menu li::before {
  content: none !important;
  position: static !important;
}

/* Force all dropdowns with .dropdown-menu-dark to be dark brown */
.dropdown-menu-dark {
  background-color: #3C322F !important;  /* your dark brown */
  border: none !important;
}

.dropdown-menu-dark .dropdown-item {
  color: #FFFFFF !important;             /* white text */
}

.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus {
  background-color: #3C322F !important;  /* keep dark brown on hover */
  color: #FFFFFF !important;
}
/* Match dropdown font to main nav */
.dropdown-menu-dark .dropdown-item {
  text-transform: uppercase;   /* same as nav */
  font-size: 13px;             /* match base nav size */
  letter-spacing: 0.5px;       /* match spacing */
  font-weight: 200;            /* optional: same weight as nav */
}
@media (min-width: 1200px) {
  .dropdown-menu-dark .dropdown-item {
    font-size: 13px;
  }
}

/* Match submenu items to top-level nav links */
.dropdown-menu .dropdown-item {
  padding-left: 0.5rem !important; /* same as nav-link */
}
/* Tweak spacing and size for screens ≥1200px */
@media (min-width: 1200px) {
  .navbar-nav .nav-link {
  padding-left: 0.9rem !important; /* same as nav-link */
  }
}

@media (min-width: 1400px) {
  .navbar-nav .nav-link {
  padding-left: 1.2rem !important; /* same as nav-link */
  }
}

@media (min-width: 1700px) {
  .navbar-nav .nav-link {
  padding-left: 1.5rem !important; /* same as nav-link */
  }
}

/* Custom focus style for clicked top level menu item */
.navbar .nav-link:focus,
.navbar .nav-link.dropdown-toggle:focus {
  outline: none !important;
  box-shadow: none !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 12px;                 /* push line a bit lower */
  text-decoration-color: rgba(255,255,255,0.4); /* faint white */
}


.nav-call-label {
  font-size: 14px;
  font-weight: 200;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-phone-number {
  font-size: 13px;
  font-weight: 200;
  letter-spacing: 1px;
  padding-left: 27px;
}
.navbar .nav-link.active,
.navbar .dropdown-item.active,
.navbar .dropdown-item:hover {
  color: #FFFFFF !important;
}

/****************************/
/*         MAP       */
/****************************/
.map-column {
  position: relative;
  min-height: 100%;
}

/* Default for small screens */
.map-wrapper {
  position: relative;
  width: 100%;
  height: 300px; /* Or whatever you like on mobile */
}

/* For medium and up, restore the current full-height setup */
@media (min-width: 768px) {
  .map-wrapper {
    height: 100%;
    min-height: 100%;
  }
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/****************************/
/*   IMAGES ON BLOCKS       */
/****************************/

/* ---------------------------------*/ 
/* Used to make block image look like background so alt text visible ---*/
/* ---------------------------------*/ 

.background-block-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* same visual result as background-size: cover */
  object-position: center;
  min-height: 600px;      /* keep your current minimum height on md+ */
}

@media (max-width: 767.98px){
  .background-block-image { min-height: 300px; } /* optional mobile fallback */
}

		
/* ---------------------------------*/
/* Same heights for BOTH columns ---*/
/* ---------------------------------*/

/* Ideally 55vh but between 380 and 700 */
.fixed-height-section {
  --section-h: clamp(380px, 55vh, 700px);
}

@media (min-width: 768px) {
  /* Make both columns the same fixed height */
  .fixed-height-section .col-md-4,
  .fixed-height-section .col-md-5,
  .fixed-height-section .col-md-6,
  .fixed-height-section .col-md-7,
  .fixed-height-section .col-md-8 {
    height: var(--section-h);
    overflow: hidden;            /* crop if anything tries to exceed the height */
  }

  /* Make the image behave like a background: cover + crop */
  .fixed-height-section .background-block-image {
    display: block;
    width: 100%;
    height: 100%;                /* fill the fixed-height column */
    object-fit: cover;           /* crop like background-size: cover */
    object-position: center;
  }
}

/* Mobile: let things flow naturally, but give the image a reasonable height */
@media (max-width: 767.98px){
  .fixed-height-section .background-block-image {
    height: 300px;
  }
}


/* Gallery --*/

	.mfp-cap-credit {
        font-size: 0.75rem;
        padding-left: 5px;
        font-style: italic;
      }

    .image-container {
      height: 100%;
      overflow: hidden;
      display: flex;
    }

    .image-container img.equal-height {
      width: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }

    /* Desktop/tablet: force equal heights */
    @media (min-width: 768px) {
      .image-container {
        height: 100%;
      }
      .image-container img.equal-height {
        height: 100%;
      }
    }

    /* Mobile: let each image size naturally */
    @media (max-width: 767.98px) {
      .image-container {
        height: auto;            /* important: remove the fixed container height */
        display: block;          /* no flex forcing */
        overflow: visible;
      }
      .image-container img.equal-height {
        height: auto;            /* let aspect ratio drive height */
        max-width: 100%;
      }
    }
