/* Simcoe Muskoka Building — Luxury Theme */
:root{
  --maroon:#7a1f2b;
  --maroon2:#5e1520;
  --ink:#0f1115;
  --char:#1b1f27;
  --paper:#ffffff;
  --mist:#f5f5f7;
  --line:rgba(15,17,21,.10);
  --muted:rgba(15,17,21,.72);
  --shadow: 0 18px 50px rgba(0,0,0,.12);
  --radius: 18px;
  --max: 1160px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto}
.small{font-size:.95rem; color:var(--muted)}
.kicker{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:.78rem;
  color:rgba(255,255,255,.82);
}
.kicker.dark{color:rgba(15,17,21,.68)}
h1,h2,h3{margin:0 0 .55rem 0; line-height:1.15}
h1{font-size:clamp(2.2rem, 4vw, 3.3rem); font-weight:700}
h2{font-size:clamp(1.6rem, 2.4vw, 2.15rem); font-weight:700}
h3{font-size:1.2rem; font-weight:700}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:.5rem;
  padding:.95rem 1.15rem;
  border-radius:999px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight:650;
  border:1px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  cursor:pointer;
}
.btn:active{transform:translateY(1px)}
.btn.primary{background:var(--maroon); color:#fff; box-shadow:0 14px 34px rgba(122,31,43,.28)}
.btn.primary:hover{background:var(--maroon2); box-shadow:0 18px 44px rgba(122,31,43,.32)}
.btn.ghost{background:transparent; color:#fff; border-color:rgba(255,255,255,.28)}
.btn.ghost:hover{border-color:rgba(255,255,255,.55)}
.btn.dark{background:var(--ink); color:#fff}
.btn.dark:hover{background:#090b10}
.btn.outline{background:transparent; color:var(--ink); border-color:rgba(15,17,21,.22)}
.btn.outline:hover{border-color:rgba(15,17,21,.38); box-shadow:0 12px 30px rgba(0,0,0,.08)}

.pills{display:flex; flex-wrap:wrap; gap:.6rem}
.pill{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size:.88rem;
  padding:.55rem .8rem;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  color:#fff;
  background:rgba(255,255,255,.06);
}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(1.2) blur(10px);
  background:rgba(255,255,255,.75);
  border-bottom:1px solid rgba(0,0,0,.06);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:.8rem;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.logo{
  height:60px;
  width:auto;
  display:block;
}

/* Slightly smaller on mobile */
@media (max-width:700px){
  .logo{
    height:45px;
  }
}

.mark{
  width:40px; height:40px; border-radius:12px;
  background:linear-gradient(135deg, var(--maroon), var(--maroon2));
  box-shadow:0 12px 28px rgba(122,31,43,.25);
}
.brand strong{letter-spacing:.02em}
.brand span{display:block; font-size:.85rem; color:rgba(15,17,21,.65)}
.links{
  display:flex; align-items:center; gap:1.1rem;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.links a{
  position:relative;
  font-weight:600;
  color:rgba(15,17,21,.82);
  padding:.4rem .2rem;
}
.links a:hover{color:rgba(15,17,21,1)}
.links a.active{color:var(--maroon)}
.links a.active::after{
  content:"";
  position:absolute; left:.2rem; right:.2rem; bottom:-8px;
  height:2px; border-radius:2px;
  background:var(--maroon);
}
.nav-cta{display:flex; align-items:center; gap:.65rem}

.hero{
  background:
    radial-gradient(1200px 420px at 15% 10%, rgba(255,255,255,.18), transparent 55%),
    radial-gradient(900px 420px at 90% 30%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(135deg, #2a0b10 0%, var(--maroon) 45%, #1a0d12 100%);
  color:#fff;
  padding:72px 0 56px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:28px;
  align-items:stretch;
}
.hero-card{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:0 18px 60px rgba(0,0,0,.18);
}
.hero-card .meta{
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
  margin-top:18px;
}
.hero-card .meta div{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  min-width:160px;
}
.hero-card .meta b{
  display:block;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.hero-visual{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0)),
    radial-gradient(900px 420px at 25% 10%, rgba(255,255,255,.18), transparent 55%),
    url("https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1400&q=80");
  background-size:cover;
  background-position:center;
  box-shadow:0 20px 70px rgba(0,0,0,.26);
  min-height:340px;
  position:relative;
}
.hero-visual::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(15,17,21,.08) 0%, rgba(15,17,21,.38) 100%);
}
.hero-visual .badge{
  position:absolute; left:18px; bottom:18px; z-index:2;
  padding:14px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  max-width:320px;
}
.hero-visual .badge b{
  display:block;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.section{padding:64px 0}
.section.alt{background:var(--mist); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:22px; margin-bottom:22px;
}
.section-head p{margin:0; max-width:62ch}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:0 14px 34px rgba(0,0,0,.06);
}
.card .icon{
  width:44px; height:44px; border-radius:14px;
  background:linear-gradient(135deg, rgba(122,31,43,.15), rgba(122,31,43,.05));
  border:1px solid rgba(122,31,43,.18);
  display:grid; place-items:center;
  margin-bottom:12px;
  color:var(--maroon);
  font-weight:800;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:22px;
  align-items:start;
}
.panel{
  border-radius:var(--radius);
  border:1px solid var(--line);
  overflow:hidden;
  box-shadow:var(--shadow);
  background:#fff;
}
.panel .img{
  height:280px;
  background:
    linear-gradient(180deg, rgba(15,17,21,.10), rgba(15,17,21,.30)),
    url("https://images.unsplash.com/photo-1501183638710-841dd1904471?auto=format&fit=crop&w=1400&q=80");
  background-size:cover;
  background-position:center;
}
.panel .body{padding:22px}

.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.tile{
  grid-column: span 4;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 14px 34px rgba(0,0,0,.06);
}
.tile .photo{
  height:210px;
  background-size:cover;
  background-position:center;
}
.tile .cap{padding:14px 16px}
.tile .cap b{
  display:block;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.tile .cap span{color:var(--muted); font-size:.95rem}

.quote{
  border-left:4px solid var(--maroon);
  padding-left:16px;
  margin:0;
  color:rgba(15,17,21,.82);
}

.review{
  display:flex; flex-direction:column; gap:10px;
}
.stars{
  letter-spacing:.2em;
  color:var(--maroon);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.review .who{
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:rgba(15,17,21,.78);
}
.review .who b{color:var(--ink)}

.form{
  display:grid;
  gap:12px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.field{display:grid; gap:8px}
label{font-weight:650; color:rgba(15,17,21,.86)}
input, textarea{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(15,17,21,.18);
  outline:none;
  font:inherit;
  background:#fff;
}
input:focus, textarea:focus{
  border-color: rgba(122,31,43,.55);
  box-shadow:0 0 0 4px rgba(122,31,43,.14);
}
textarea{min-height:140px; resize:vertical}

.footer{
  background:linear-gradient(135deg, #12080a, #1a0d12, #0f1115);
  color:rgba(255,255,255,.86);
  padding:44px 0;
  margin-top:40px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap:18px;
}
.footer a{color:rgba(255,255,255,.82)}
.footer a:hover{color:#fff}
.footer .muted{color:rgba(255,255,255,.68)}
.footer .mini{
  margin-top:16px;
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:16px;
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size:.92rem;
}

/* Page header (non-home) */
.page-hero{
  background:
    radial-gradient(900px 420px at 15% 10%, rgba(122,31,43,.16), transparent 55%),
    radial-gradient(700px 320px at 85% 20%, rgba(15,17,21,.10), transparent 60%),
    linear-gradient(180deg, #fff 0%, #fff 40%, var(--mist) 100%);
  padding:52px 0 26px;
  border-bottom:1px solid var(--line);
}
.page-hero .crumb{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:rgba(15,17,21,.62);
  font-size:.95rem;
}



  /* FOR BEFORE AND AFTER SLIDER */
/* Before / After Slider */
/* ===== BEFORE & AFTER SLIDER ===== */

.ba-wrap{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.10);
}

.ba{
  position: relative;
  height: 420px;
  background: #0b0d12;
}

.ba .img{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.ba .after{
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
}

.ba .divider{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  z-index: 3;
}

.ba .knob{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 44px rgba(0,0,0,.25);
  z-index: 4;
}

.ba .knob span{
  font-weight: bold;
  color: var(--maroon);
}

.ba-label{
  position: absolute;
  top: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .8rem;
}

.ba-label.before{ left: 15px; }
.ba-label.after{ right: 15px; }

.ba-range{
  width: 100%;
  appearance: none;
  height: 40px;
  background: linear-gradient(90deg, rgba(122,31,43,.12), rgba(15,17,21,.08));
  border-top: 1px solid var(--line);
}

.ba-range::-webkit-slider-thumb{
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--maroon);
  border-radius: 50%;
  cursor: pointer;
}

@media (max-width: 768px){
  .ba{ height: 320px; }
}





/* ===== Mobile Menu ===== */
.menu-btn{
  display:none;
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid rgba(15,17,21,.12);
  background:#fff;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
  cursor:pointer;
  position:relative;
}

.menu-btn span{
  position:absolute;
  left:11px; right:11px;
  height:2px;
  background:rgba(15,17,21,.85);
  border-radius:2px;
  transition:transform .2s ease, top .2s ease, opacity .2s ease;
}

.menu-btn span:nth-child(1){ top:14px; }
.menu-btn span:nth-child(2){ top:21px; }
.menu-btn span:nth-child(3){ top:28px; }

/* Turn into X when open */
.menu-btn.is-open span:nth-child(1){ top:21px; transform:rotate(45deg); }
.menu-btn.is-open span:nth-child(2){ opacity:0; }
.menu-btn.is-open span:nth-child(3){ top:21px; transform:rotate(-45deg); }

.mobile-menu{
  display:none;
  position:absolute;
  right:20px;
  top:70px;
  width:min(320px, calc(100% - 40px));
  background:#fff;
  border:1px solid rgba(15,17,21,.12);
  border-radius:16px;
  box-shadow:0 18px 50px rgba(0,0,0,.12);
  overflow:hidden;
  z-index:999;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.mobile-menu a{
  display:block;
  padding:14px 16px;
  border-bottom:1px solid rgba(15,17,21,.08);
  font-weight:700;
  color:rgba(15,17,21,.90);
}

.mobile-menu a:last-child{ border-bottom:none; }
.mobile-menu a.active{ color: var(--maroon); }

.mobile-menu.show{ display:block; }

/* On mobile: hide desktop links and show hamburger */
@media (max-width: 980px){
  .links{ display:none; }
  .menu-btn{ display:inline-block; }
  .nav{ position:relative; } /* so dropdown positions correctly */
}



/* ===== MOBILE OVERFLOW / CROPPING FIXES ===== */

/* Prevent any horizontal scroll/cropping */
html, body { overflow-x: hidden; }

/* Header: allow wrapping + prevent brand from pushing off-screen */
.nav { flex-wrap: wrap; gap: 10px; }
.brand { min-width: 0; }
.brand div { min-width: 0; }
.brand strong, .brand span { white-space: normal; }

/* On small screens, hide the right-side CTA buttons (they cause overflow) */
@media (max-width: 700px){
  .nav-cta { display: none; }
}

/* Reviews page: the name/location row can push wide */
@media (max-width: 700px){
  .review .who{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* About page / any split sections: ensure cards/panels never exceed viewport */
.split, .grid-3, .footer-grid, .gallery {
  min-width: 0;
}
.card, .panel, .tile {
  min-width: 0;
}
