/* Lakeview Storage — styles */
:root{
  --navy:#1d2430;
  --taupe:#b6a68c;
  --gray:#a9b7b8;
  --text:#1c1f24;
  --bg:#ffffff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,sans-serif;color:var(--text);background:var(--bg)}
img{max-width:100%;display:block}
.container{width:min(1100px,92vw);margin:0 auto}
.lead{font-size:1.125rem}
.muted{color:#5f6b7a}
.small{font-size:.9rem}

/* Header */
.site-header{position:sticky;top:0;z-index:20;background:rgba(29,36,48,.96);backdrop-filter:saturate(140%) blur(6px);border-bottom:2px solid var(--taupe)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:.7rem 0}
.brand{display:flex;align-items:center;gap:.6rem;color:#fff;text-decoration:none}
.brand-logo{height:36px;width:auto}
.brand-text{font-weight:700;font-size:1.1rem;letter-spacing:.5px}
.nav{display:flex;gap:1rem;align-items:center}
.nav a{color:#eaf0f4;text-decoration:none;padding:.35rem .6rem;border-radius:.6rem}
.nav a:hover{background:rgba(255,255,255,.08)}
.nav .btn{background:var(--taupe);color:#000;font-weight:600}

/* Hero */
.hero{background:linear-gradient(180deg,rgba(29,36,48,1) 0%,rgba(29,36,48,.92) 40%,rgba(29,36,48,0) 100%);padding-top:4.5rem}
.hero-inner{display:grid;gap:1.5rem;grid-template-columns:1.1fr 1fr;align-items:center;padding:2rem 0 1rem}
.hero-copy h1{color:#fff;font-size:2.1rem;margin:.2rem 0 1rem}
.hero-copy p{color:#d7dee6}
.hero-ctas{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:.8rem}
.hero .hero-media{border-radius:1rem;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.2)}

/* Buttons */
.btn{display:inline-block;background:#2b87ff;color:#fff;text-decoration:none;padding:.7rem 1rem;border-radius:.7rem;font-weight:600;border:2px solid transparent}
.btn:hover{opacity:.95}
.btn.outline{background:transparent;border-color:var(--taupe);color:var(--bg)}
.btn.ghost{background:transparent;border-color:transparent;color:#fff}

/* Sections */
.section{padding:3rem 0}
.section.alt{background:#f7f8fa}

/* Cards */
.cards{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-top:1rem}
.card{border:1px solid #e3e6ea;border-radius:1rem;padding:1rem;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.04)}
.card h3{margin-top:0}

/* Features */
.feature-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));}
.feature h3{margin:.2rem 0}

/* Location */
.location-layout{display:grid;gap:1rem;grid-template-columns:1.3fr .7fr;align-items:start}
.location-map iframe{width:100%;height:320px;border:0;border-radius:.75rem;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.thumb{margin:0}
.thumb img{border:1px solid #e3e6ea;border-radius:.75rem}

/* Form */
.grid-2{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.field{display:flex;flex-direction:column;gap:.35rem}
label{font-weight:600}
input[type=text],input[type=email],input[type=tel],input[type=file],textarea{
  width:100%;padding:.7rem .8rem;border:1px solid #cfd6df;border-radius:.6rem;background:#fff
}
textarea{resize:vertical}
.hp{position:absolute;left:-10000px;opacity:0}

/* Footer */
.site-footer{border-top:1px solid #e3e6ea;background:#fbfcfd}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0;flex-wrap:wrap}
.footer-nav a{margin-right:.8rem;color:#4b5563;text-decoration:none}
.footer-nav a:hover{text-decoration:underline}

@media (max-width: 900px){
  .hero-inner{grid-template-columns:1fr}
  .location-layout{grid-template-columns:1fr}
}


/* Big hero logo above headline */
.hero-logo-big{
  width:min(360px, 60vw);
  height:auto;
  display:block;
  margin:0 0 .6rem 0;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.2));
}
@media (max-width: 600px){
  .hero-logo-big{ width:min(260px, 70vw); }
}


/* Footer credit */
.footer-credit{
  text-align:center;
  font-size:.85rem;
  color:#6b7280;
  padding:.5rem 0 1rem;
}
.footer-credit a{
  color:#6b7280;
  text-decoration:none;
}
.footer-credit a:hover{
  text-decoration:underline;
}


/* Improved hero readability */
.hero {
  background: linear-gradient(180deg, rgba(29,36,48,0.95) 0%, rgba(29,36,48,0.85) 40%, rgba(29,36,48,0.4) 100%);
  color: #fff;
}
.hero-copy h1 {
  color: #ffffff;
  font-size: 2.3rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.hero-copy p {
  color: #e4e8ec;
  font-size: 1.1rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}


/* ===== Readability Fix v2 ===== */
/* Dark panel behind hero text to guarantee contrast on all images */
.hero-inner{
  grid-template-columns: 1.1fr 1fr;
}
.hero-copy{
  background: rgba(29,36,48,0.78);
  border: 1px solid var(--taupe);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.hero-copy h1{
  color:#ffffff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
}
.hero-copy p{
  color:#f1f5f9 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,.45);
}
@media (max-width: 900px){
  .hero-copy{ padding: .9rem 1rem; }
}

/* Ensure buttons remain readable on any backdrop */
.hero-ctas .btn{ box-shadow: 0 2px 8px rgba(0,0,0,.25); }


/* === Light Hero Version (black text except primary blue button) === */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%) !important;
  color: #000000;
}
.hero-copy h1 {
  color: #000000 !important;
  text-shadow: none !important;
}
.hero-copy p {
  color: #333333 !important;
  text-shadow: none !important;
}
.hero-ctas .btn {
  color: #ffffff !important;
  background: #2b87ff !important; /* primary */
  border-color: #2b87ff !important;
}
.hero-ctas .btn.outline {
  background: transparent !important;
  color: #000000 !important;
  border-color: #b6a68c !important;
}
.hero-ctas .btn.ghost {
  background: transparent !important;
  color: #000000 !important;
  border-color: transparent !important;
}

/* Map button text black */
.location-map .btn.outline {
  color: #000000 !important;
  border-color: #b6a68c !important;
  background: #ffffff !important;
}
.location-map .btn.outline:hover {
  background: #f3f3f3 !important;
  color: #000000 !important;
}


/* ===== Hero Readability Fix (wide screens) ===== */
@media (min-width: 900px) {
  .hero-inner {
    position: relative;
    isolation: isolate;
  }
  .hero-copy {
    position: relative;
    z-index: 1;
  }
  .hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    left: -5%;
    width: 65%;
    background: linear-gradient(90deg, rgba(29,36,48,0.85) 0%, rgba(29,36,48,0.1) 100%);
    z-index: -1;
    border-radius: 1rem;
  }
  .hero-copy h1,
  .hero-copy p {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  }
}


/* ===== Mobile layout fixes ===== */
@media (max-width: 900px){
  .site-header{padding-top: env(safe-area-inset-top);}
  .header-inner{flex-wrap: wrap; row-gap: .25rem; padding:.5rem 0;}
  .brand-text{font-size:1rem}
  .nav{width:100%; justify-content:space-between; flex-wrap:wrap; gap:.35rem .5rem}
  .nav a{padding:.4rem .55rem; font-size:.95rem}
  .hero{padding-top:4rem}
  .hero-inner{grid-template-columns:1fr}
  .hero-copy{background:transparent !important; border:none !important; box-shadow:none !important; padding:0 !important}
  .hero-copy::before{display:none !important}
  .hero-copy h1{font-size:1.9rem; line-height:1.15; margin:.2rem 0 .7rem}
  .hero-copy p{font-size:1rem; color:#333 !important; text-shadow:none !important}
  .hero-logo-big{width:min(220px,60vw); margin:0 0 .4rem}
  .hero-ctas{gap:.5rem}
}

/* Slightly larger phones / small tablets */
@media (min-width: 901px) and (max-width: 1100px){
  .hero-copy h1{font-size:2.1rem}
}
