  @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Background Exterior Image */
.hero-band {
  background-image: url("/images/exterior-color-2.jpg");
  background-color: rgba(255,255,255,.20); /* the “overlay” color */
  background-blend-mode: overlay;    /* try overlay/darken/soft-light too */
  background-position: top right;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Carousel */
#heroCarousel{
  border-radius: 0px;
  overflow: hidden;
  background:#243451;
  position: relative;
}

#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {  }

.hero-slide-wrapper { position: relative; }

.hero-img{
  display:block;
  width:100%;
  height:auto; 
}

#heroCarousel a.text-decoration-none { display:block; } /* (remove height:100%) */

.hero-slide-wrapper { position: relative; }

.hero-text-bar{
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 1rem; 
  color: #fff;
  z-index: 1;
  isolation: isolate;
}

.hero-text-bar::before{
  content: "";
  position: absolute;
  inset: -1px -1px 0 -1px; 
  background-color: rgba(0,0,0,.80);
  z-index: -1;
  pointer-events: none;
}

#heroCarousel h1.display-6{
  font-size: clamp(0.95rem, 0.9rem + 1.2vw, 1.5rem);
  line-height: 1.15;
  margin-bottom: .2rem !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
  max-width: 38ch;
}

#heroCarousel p{
  font-size: clamp(.95rem, .9rem + .3vw, 1.1rem);
  margin: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
  max-width: 42ch;
}


.carousel-control-prev,
.carousel-control-next { top: 40%; width: 5%; }
.carousel-control-prev-icon,
.carousel-control-next-icon { background-size: 100% 100%; color: #fff; text-shadow: 2px 2px 4px #000; }




/* --- TILE CORE --- */
/* --- TILE CORE --- */
.tile{
  position: relative;
  display: block;
  border-radius: .5rem;
  overflow: hidden;
  background: #0b2340;          /* fallback when img not loaded */
  color: #fff;
  isolation: isolate;
  aspect-ratio: 16 / 9;         /* gives tiles height */
  min-height: 180px;            /* guardrail for very narrow widths */
}

/* Fallback for older browsers without aspect-ratio */
@supports not (aspect-ratio: 1) {
  .tile::before{
    content:"";
    display:block;
    padding-top:56.25%;         /* 16:9 */
  }
  .tile > .img-side,
  .tile > .color-side{
    position:absolute;
    inset:0;
  }
}

.img-side{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform .6s ease;
  will-change: transform;
}

.color-side{
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;      /* centered copy */
  align-items: center;
  text-align: center;
  padding: 1.1rem;
  /* ALWAYS VISIBLE NOW */
  opacity: 1;
  transform: none;
  transition: opacity .22s ease, transform .22s ease;
}
.color-side::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background: var(--overlay-color, #0e2a52);
  opacity:.92;
  transition: opacity .22s ease;
}

/* Brand helpers (also set overlay color var) */
.bg-teal   { --overlay-color: rgba(27,141,138,.4); background: rgba(27,141,138,.4); }
.bg-navy   { --overlay-color: rgba(14,42,82,.4);   background: rgba(14,42,82,.4); }
.bg-indigo { --overlay-color: rgba(47,63,122,.4);  background: rgba(47,63,122,.4); }
.bg-lime   { --overlay-color: rgba(70,79,44,.4);   background: rgba(70,79,44,.4); }

/* Interaction polish: keep image lift, overlay already on */
.tile:hover .img-side,
.tile:focus .img-side,
.tile:active .img-side{
  transform: scale(1.08);
}
.tile:hover .color-side::before,
.tile:focus .color-side::before{
  opacity: .98; /* a hair brighter on intent */
}

/* Keyboard focus ring */
.tile:focus-visible{
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

/* Touch devices (redundant now but harmless) */
@media (hover: none) and (pointer: coarse){
  .color-side{ opacity:1; transform:none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .img-side,
  .color-side,
  .color-side::before{
    transition: none;
    transform: none !important;
  }
}

/* Optional: top-align text instead of center — add 'align-top' to .color-side */
.color-side.align-top{
  justify-content: flex-start;
  padding-top: 1.25rem;
}

/* Tweak headings inside overlay */
.color-side h3{
  margin: 0 0 .25rem 0;
  line-height: 1.2;
}




/* INSTAGRAM/FACEBOOK PANEL */

.insta-box {
	position: relative;
	width: 100%;
	padding-top: 125%; /* 4:5 aspect ratio (600 / 480 = 1.25) */
	overflow: hidden;
	border-radius: 0;
	box-shadow: 0 0 4px rgba(0,0,0,0.1);
	background-color: #eee;
	}

.insta-box img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
	}

/* POPPINS FONTS */

.text-panel-800{
  font-family:"Poppins", sans-serif;
  font-weight:800;
  color:#3B561A;
}
.text-panel-600{
  font-family:"Poppins", sans-serif;
  font-weight:600;
  color:#3B561A;
}
.text-panel-400{
  font-family:"Poppins", sans-serif;
  font-weight:400;
  color:black;
  line-height:1.05;
  font-size: clamp(1rem, 6vw, 4.5rem);
  text-wrap: balance;
}
.banner-split{
  font-family:"Poppins", sans-serif;
  font-weight:800;
  font-style:italic;
  color:yellow;
  line-height:1.05;
  font-size: clamp(1rem, 6vw, 4.5rem);
  text-wrap: balance;
}
.footer-social .btn-social{
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social .btn-social:focus-visible{
  outline: 2px solid #fff; 
  outline-offset: 3px;
}

.footer-social .btn-social:hover{
  opacity: .85;
}

@media (prefers-reduced-motion: reduce){
  .footer-social .btn-social{ transition: none; }
}


