:root{
  --rose:#948680;          /* brand rose */
  --rose-strong:#F4D7CE;   /* brighter rose for headings on tinted bg */
  --sage:#AFCBC1;
  --paper:#F6F1EB;
  --ink:#2F2F2F;
}

.font-display{font-family:"Cinzel", serif;}
.font-body{font-family:"Crimson Text", serif;}
.text-rose{color:var(--rose);}
.text-sage{color:var(--sage);}
.bg-paper{background:var(--paper);}
.bg-rose{background:var(--rose);}
.bg-rose-strong{background:var(--rose-strong);}
.bg-sage{background:var(--sage);}
.bg-ink{background:var(--ink);}
.text-ink{color:var(--ink);}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:0.75rem 1.25rem; border-radius:9999px;
  border:1px solid var(--sage); font-weight:600;
  transition:transform .15s ease, box-shadow .2s ease, filter .2s ease, opacity .2s ease;
}
.btn-rose{
  color:#fff;
  background: linear-gradient(180deg, #D8A69B, #C88E83);
  border-color:#B77A6F;
  box-shadow: 0 6px 16px rgba(200,142,131,.25);
}
.btn-rose:hover{ filter:brightness(0.98); transform:translateY(-1px); }
.btn-rose:active{ transform:translateY(0); }

.btn-ghost{ color:var(--sage); background:transparent; }
.ring-sage{ box-shadow:0 0 0 3px rgba(141,157,145,.25); }

.section-title{ font-family:"Cinzel", serif; font-size:1.875rem; color:var(--rose); }
.card{ border:1px solid rgba(141,157,145,.25); border-radius:1rem; background:rgba(255,255,255,0.5); padding:1.5rem; }
.card-title{ font-family:"Cinzel", serif; font-size:1.25rem; color:var(--sage); }
.info-card{ border:1px solid rgba(141,157,145,.25); border-radius:1rem; background:rgba(255,255,255,0.5); padding:1.5rem; font-size:0.95rem; }
.info-title{ font-weight:600; color:var(--sage); }
.card-quote{ font-size:1.125rem; line-height:1.6; } .card-author{ margin-top:.75rem; font-size:.9rem; color:#64748b; }

/* ========================= Hero background (JPG only) ====================== */
.hero-bg {
  opacity:1;
  filter: brightness(1) contrast(1) drop-shadow(0 10px 15px rgba(0, 0, 0, 0.25));
  position: relative;
  background-color: var(--paper);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url('hero/2_cropped_border.png');
  min-height: 270px;
}
@media (max-width: 500px) {
  .hero-bg {
    background-size: contain;
    min-height: 240px; /* adjust for mobile */
  }
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0); /* lighter overlay so image shows */
}
.hero-content{ position:relative; z-index:1; }
/* Mobile image */
@media (max-width: 50px){
  .hero-bg{ background-image: url('hero/cabin-1024.jpg'); }
}

/* ========================= Sticky header visuals ========================== */
.site-header{
  background: rgba(246,241,235,0.95);
  border-bottom: 1px solid rgba(141,157,145,.25);
  backdrop-filter: saturate(180%) blur(6px);
  -webkit-backdrop-filter: saturate(180%) blur(6px);
}
section[id]{ scroll-margin-top:80px; }
.site-header.is-scrolled{ box-shadow:0 2px 10px rgba(0,0,0,0.05); }

/* ========================= Hero “paper glass” card ======================== */
/* .hero-card{
  position: relative;
  background: rgba(246,241,235,0.35);
  border: 1px solid rgba(141,157,145,.30);
  border-radius: 1rem;
  padding: 1.25rem 1.25rem 1.5rem;
  backdrop-filter: blur(10px) saturate(115%);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
  box-shadow: 0 14px 40px rgba(0,0,0,.20);
  max-width: 42rem;
}
@media (min-width:768px){ .hero-card{ padding:1.75rem 2rem 2rem; } }
.hero-card::after{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background: radial-gradient(120% 100% at 30% 20%,
              rgba(246,241,235,.35), rgba(246,241,235,.18) 60%, rgba(246,241,235,0) 100%);
} */

/* Brighter text inside the card */
/* .hero-card h1{
  color: var(--rose-strong);
  text-shadow: 0 2px 8px rgba(0,0,0,.30);
}
.hero-card p{
  color:#FFFFFF;
  text-shadow: 0 1px 4px rgba(0,0,0,.28);
} */

/* High-contrast buttons inside the hero card */
/* .hero-card .btn-ghost{
  color:#FFFFFF;
  border-color:rgba(255,255,255,.55);
  background: rgba(255,255,255,.06);
}
.hero-card .btn-ghost:hover{ background: rgba(255,255,255,.12); }
.hero-card .btn-rose{
  background: linear-gradient(180deg, #E0B2A7, #C88E83);
  border-color:#B97E73;
  box-shadow: 0 8px 22px rgba(200,142,131,.32);
} */

/* ========================= Ghosted round logo ============================= */
/* .ghost-badge{
  opacity:1;
  filter: brightness(.9) contrast(1) drop-shadow(0 10px 15px rgba(0, 0, 0, 0.25));
}
@media (max-width:900px){ .ghost-badge{ opacity:.60; } }
@supports (mix-blend-mode: screen){
  .ghost-badge.blend-screen{ mix-blend-mode: screen; opacity:.90; filter:none; }
} */

.services-section {
  background: var(--paper) url('assets/bg-texture.png') repeat;
}

.service-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--sage);
  background: transparent;
  font-family: "Cinzel", serif;
  font-weight: 600;
  color: var(--sage);
  transition: all 0.3s ease;
}
.service-tab.active,
.service-tab:hover {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  cursor: pointer;
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: var(--paper);
}

.service-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover img {
  transform: scale(1.05);
}
.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.15));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
  transition: background 0.4s ease, opacity 0.4s ease;
}

.service-title {
  font-family: "Cinzel", serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.service-desc {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Hover effects */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.15);
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-card:hover .service-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.25));
}

#service-modal {
  animation: fadeIn 0.3s ease forwards;
}
#service-modal .bg-paper {
  animation: slideUp 0.35s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ========================= Before-After Card Styles ======================= */
.ba-container {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1rem;
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(175,203,193,0.9); /* sage tone */
  box-shadow: 0 0 6px rgba(0,0,0,0.25); /* subtle glow */
  pointer-events: none;
}
.ba-img {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ba-img img {
  width: 100%;
  display: block;
}

.after-wrap {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 50%;              /* default split */
  overflow: hidden;
}

.after-wrap img {
  transition: transform 0.3s ease, filter 0.3s ease;
  border-right: 3px solid #F6F1EB;
  border-bottom: 3px solid #F6F1EB; /* your paper background */
  box-shadow: 6px 0 10px rgba(0,0,0,0.15);
}

.ba-container:hover .after-wrap img {
  transform: scale(1.02);
  filter: brightness(1.05) contrast(1.05);
}

.after-wrap::after {
  display: none;  /* turn OFF gradient since JS makes the line */
}

/* Slider bar below image */
.ba-slider {
  width: 90%;
  margin: 0.75rem 0;
  -webkit-appearance: none;
  height: 6px;
  background: #E0DDD9;
  border-radius: 5px;
  cursor: pointer;
}

.ba-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: #AFCBC1; /* sage */
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #7A6B66;
}

.ba-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #AFCBC1;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #7A6B66;
}

.ba-label {
  text-align: center;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #7A6B66;
}

#gallery .ba-container {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;  
}

#gallery .ba-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;   /* smaller & balanced, instead of 4/5 */
  overflow: hidden;
}

/* Pricing */
/* === Flip Card Pricing === */
.flip-card {
  background: transparent;
  width: 100%;
  height: 240px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card:active .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.flip-card-front {
  background: #fff;
  color: #7A6B66;
}

.flip-card-front h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.flip-card-front p {
  font-size: 0.9rem;
  color: #8D9D91;
}

.flip-card-back {
  background: #AFCBC1; /* sage */
  color: #fff;
  transform: rotateY(180deg);
  text-align: left;
}

.flip-card-back h4 {
  margin-bottom: 0.5rem;
  font-family: 'Cinzel', serif;
}

.flip-card-back ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* About */
/* === Hours Card === */
.hours-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border: 1px solid rgba(141,157,145,.25); /* sage tint */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hours-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* Portrait hover effect already in HTML class */

/* About devider */
/* === Leaf Divider === */
.leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.leaf-divider::before,
.leaf-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(175,203,193,0.6); /* sage tone */
  margin: 0 1rem;
}

.leaf-icon {
  font-size: 1.5rem;
  color: #AFCBC1; /* sage */
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* Section fade gradient for smooth flow */
.section-fade {
  position: relative;
}

.section-fade::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #F6F1EB);
  pointer-events: none;
}


/* Concierge Widget */

.quick-replies {
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
}

.quick-replies button {
  margin: 4px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid #ccc;
  background: #f7f7f7;
  cursor: pointer;
  font-size: 14px;
}

.quick-replies button:hover {
  background: #eee;
}
