<style>
:root{
–ffh-blue:#1f3f7f;
–ffh-green:#8cc63f;
}
*{box-sizing:border-box}
body{
margin:0;
font-family:Arial, Helvetica, sans-serif;
}
/* OVERLAY WITH SUBTLE FLAG + STARS */
.overlay{
position:fixed;
inset:0;
display:none;
align-items:center;
justify-content:center;
padding:20px;
z-index:9999;
background:
radial-gradient(circle at 20px 20px, rgba(255,255,255,.35) 2px, transparent 3px) 0 0/60px 60px,
radial-gradient(circle at 40px 40px, rgba(255,255,255,.25) 2px, transparent 3px) 0 0/60px 60px,
linear-gradient(rgba(0,0,0,.75),rgba(0,0,0,.75)),
repeating-linear-gradient(
to bottom,
rgba(178,34,52,.18) 0px,
rgba(178,34,52,.18) 40px,
rgba(255,255,255,.15) 40px,
rgba(255,255,255,.15) 80px
);
}
.popup{
background:#ffffff;
width:100%;
max-width:620px;
border-radius:14px;
padding:28px 26px 30px 26px;
text-align:center;
box-shadow:0 25px 60px rgba(0,0,0,.35);
position:relative;
border-top:8px solid var(–ffh-green);
animation:pop .35s ease;
}
@keyframes pop{
from{transform:scale(.9);opacity:0}
to{transform:scale(1);opacity:1}
}
.logo{
width:100%;
max-width:240px;
margin:0 auto 10px auto;
display:block;
}
h2{
color:var(–ffh-blue);
margin:10px 0 14px 0;
font-size:26px;
}
.highlight{
font-weight:bold;
font-size:20px;
color:var(–ffh-blue);
}
p{
margin:10px 0;
line-height:1.5;
font-size:16px;
}
.phone{
font-size:18px;
font-weight:bold;
color:var(–ffh-blue);
}
.cta{
margin-top:10px;
font-weight:bold;
color:var(–ffh-green);
font-size:17px;
}
.map{
margin-top:14px;
border-radius:10px;
overflow:hidden;
cursor:pointer;
transition:.3s;
}
.map iframe{
width:100%;
height:200px;
border:0;
pointer-events:none;
}
.map.expanded iframe{
height:350px;
pointer-events:auto;
}
.button-row{
margin-top:20px;
display:flex;
gap:12px;
justify-content:center;
flex-wrap:wrap;
}
.btn{
padding:12px 18px;
border-radius:8px;
text-decoration:none;
font-weight:bold;
font-size:15px;
border:none;
cursor:pointer;
}
.btn-directions{
background:var(–ffh-green);
color:white;
}
.btn-call{
background:#0d6efd;
color:white;
}
.btn-close{
background:var(–ffh-blue);
color:white;
}
.close-x{
position:absolute;
top:10px;
right:12px;
border:none;
background:none;
font-size:22px;
font-weight:bold;
color:var(–ffh-blue);
cursor:pointer;
}
/* MOBILE FULLSCREEN */
@media (max-width:600px){
.overlay{padding:0}
.popup{
height:100vh;
max-width:none;
border-radius:0;
overflow-y:auto;
}
.button-row{flex-direction:column}
.btn{width:100%}
.map iframe{height:220px}
.map.expanded iframe{height:420px}
}
</style>
<div class=”overlay” id=”popup”>
<div class=”popup”>
<button class=”close-x” onclick=”closePopup()”>✕</button>
<img class=”logo” src=”/images/ffh-logo.png” alt=”Force Flex Hose Logo” />
<h2>New FFH Distributor Now Open!</h2>
<p class=”highlight”>The Doit Hose & Fitting Center</p>
<p>
📍 450 Main Street<br>
Bunn, NC 27508
</p>
<p class=”phone”>📞 Office (919) 340-0710</p>
<p>🔧 <strong>Specializing in Hydraulic Hose Repair!</strong></p>
<p class=”cta”>
Grand Opening BBQ Launch Party Coming Soon!
</p>
<div class=”map” id=”mapBox” onclick=”expandMap()”>
<iframe
loading=”lazy”
src=” https://www.google.com/maps?q=450+Main+Street+Bunn+NC+27508&output=embed”>
</iframe>
</div>
<div class=”button-row”>
<a class=”btn btn-directions”
target=”_blank”
href=” https://www.google.com/maps/search/?api=1&query=450+Main+Street+Bunn+NC+27508″>
Get Directions
</a>
<a class=”btn btn-call” href=”tel:19193400710″>
Tap to Call
</a>
<button class=”btn btn-close” onclick=”closePopup()”>
Close
</button>
</div>
</div>
</div>
<script>
function closePopup(){
const popup=document.getElementById(‘popup’);
if(popup){popup.style.display=’none’}
}
function expandMap(){
const map=document.getElementById(‘mapBox’);
map.classList.toggle(‘expanded’);
}
window.addEventListener(‘load’,function(){
const seen = localStorage.getItem(‘ffh_popup_seen’);
if(seen){return;}
setTimeout(function(){
const popup=document.getElementById(‘popup’);
if(popup){
popup.style.display=’flex’;
localStorage.setItem(‘ffh_popup_seen’,’true’);
}
},3000);
});
</script>