:root{
  --ink:#0f172a; --ink2:#1f2937; --muted:#4b5563; --border:#e5e7eb;
  --gold:#b8892a; --gold2:#e6d29a; --shadow:0 16px 48px rgba(0,0,0,.08);
}
*{box-sizing:border-box} html,body{margin:0;padding:0}
body.white{font-family:Poppins,Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:#fff}
.container{width:min(1120px,92%);margin-inline:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:1rem 0}
.brand{display:flex;align-items:center;gap:.6rem;color:var(--ink);text-decoration:none}
.brand-text{font-weight:800}
.brand-text em{font-family:'Playfair Display',serif;font-weight:700;margin-right:.25rem;color:var(--ink2)}
.logo-mark{width:28px;height:28px;border-radius:999px;background:linear-gradient(145deg,var(--gold2),var(--gold));box-shadow:0 0 14px rgba(184,137,42,.25)}
.nav-links{display:flex;gap:1rem;list-style:none;margin:0;padding:0}
.nav-links a{color:var(--muted);text-decoration:none;font-weight:600}
.nav-links a:hover{color:var(--ink)}
.nav-toggle{display:none;background:transparent;border:0;color:var(--ink);font-size:1.4rem}
/* Hero slideshow */
.hero{position:relative;min-height:68svh;display:flex;align-items:center;justify-content:center}
.bg-slides{position:absolute;inset:0;overflow:hidden}
.bg-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity .9s ease}
.bg-slide.active{opacity:1}
.hero-inner{position:relative;width:100%;padding:4rem 0;display:grid;place-items:center}
.hero-content{max-width:740px;background:#ffffffcc;border:1px solid var(--border);border-radius:14px;padding:1rem;box-shadow:var(--shadow) transform:scale(.75); transform-origin:center; text-align:center; }
.serif{font-family:'Cormorant Garamond',serif;font-weight:700;color:var(--ink2);letter-spacing:.2px;}
.lede{color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;margin-top:.8rem;padding:.75rem 1rem;border-radius:999px;border:1px solid var(--border);text-decoration:none;color:#111;font-weight:700}


.section{padding:4rem 0}
.section.alt{background:#fafafa}
.service-list{margin:0;padding-left:1.1rem;color:var(--ink)}
blockquote{background:#fff;border:1px solid var(--border);border-radius:14px;padding:1rem;box-shadow:var(--shadow)}
.site-footer{text-align:center;border-top:1px solid var(--border);padding:2rem 0;color:var(--muted)}
@media (max-width: 960px){
  .nav-toggle{display:block}
  .nav-links{position:absolute;right:1rem;top:76px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:.9rem 1rem;display:none;flex-direction:column;width:min(260px,86vw);box-shadow:var(--shadow)}
  .nav-links.show{display:flex}
}

/* Brand logo */

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Actual-size slideshow */
.slides-actual{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden}
.slide{position:absolute;inset:0;display:grid;place-items:center;opacity:0;transition:opacity .8s ease}
.slide.active{opacity:1}
.slide-img{max-height:62svh;max-width:100%;height:auto;width:auto;object-fit:contain;display:block;margin:auto;background:#fff}
/* Simple bottom caption */

/* Booking form */
.grid{display:grid;gap:1rem}
.grid.two{grid-template-columns:1fr 1fr}
.booking-form{margin-top:1rem;display:grid;gap:1rem;background:#fff;border:1px solid var(--border);border-radius:14px;padding:1rem;box-shadow:var(--shadow)}
.booking-form input,.booking-form select,.booking-form textarea{width:100%;padding:.8rem;border-radius:10px;border:1px solid var(--border)}
.booking-form input:focus,.booking-form select:focus,.booking-form textarea:focus{outline:2px solid rgba(184,137,42,.35);border-color:transparent}
.disclaimer{color:var(--muted);margin-top:.6rem}
@media (max-width: 960px){ .grid.two{grid-template-columns:1fr} .slide-img{max-height:56svh}  }

/* Services grid */
.svc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.svc-card{background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);padding:0 0 1rem;overflow:hidden}
.svc-card figure{margin:0}
.svc-card img{display:block;width:100%;height:200px;object-fit:cover}
.svc-card h3{margin:.75rem 1rem .25rem;font-size:1.05rem;color:var(--ink2)}
.svc-card p{margin:0 1rem;color:var(--muted)}
@media (max-width: 960px){
  .svc-grid{grid-template-columns:1fr 1fr}
  .svc-card img{height:180px}
}
@media (max-width: 560px){
  .svc-grid{grid-template-columns:1fr}
  .svc-card img{height:200px}
}


@media (max-width: 960px){  }
@media (max-width: 560px){  }

.brand-logo{height:88px;width:auto;display:block}

/* Gallery */
#gallery{padding:4rem 0}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.gallery-grid img{width:100%;height:260px;object-fit:cover;border-radius:12px;border:1px solid var(--border);box-shadow:var(--shadow)}
@media (max-width: 960px){ .gallery-grid{grid-template-columns:1fr 1fr} .gallery-grid img{height:220px} }
@media (max-width: 560px){ .gallery-grid{grid-template-columns:1fr} .gallery-grid img{height:240px} }

.slide-caption{
  position:absolute;
  top:60px;
  left:50%;
  transform:translateX(-50%);
  color:#ffffff;
  font-weight:400; /* unbold */
  font-style:italic;
  font-size:2.5rem;
  padding:0 .75rem;
  text-align:center;
  text-shadow:0 2px 2px rgba(0,0,0,.55), 0 0 2px rgba(0,0,0,.35);
  line-height:1.1;font-family:"Courier New", Courier, monospace;text-shadow:#000
}
@media (max-width: 960px){ .slide-caption{font-size:2rem} }
@media (max-width: 560px){ .slide-caption{font-size:1.4rem} }

/* Global paragraph tweaks */
p{margin:10px 0;font-size:0.875rem;line-height:1.7}

/* Universal image hover */
img{transition:transform .35s ease, box-shadow .35s ease}
img:hover{transform:translateY(-2px) scale(1.02); box-shadow:0 14px 38px rgba(0,0,0,.15)}

/* Reveal animation */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s ease, transform .7s ease}
.reveal.visible{opacity:1;transform:none}

@media (max-width: 720px){
  .hero{min-height:64svh}
  .hero-content{transform:scale(.72)}
  .container{width:min(1040px,94%)}
}

/* Section backgrounds */
#about .container, #about .svc-grid, #about blockquote{background:#ffffffeb;border:1px solid var(--border);border-radius:14px;padding:1rem;box-shadow:var(--shadow)}
#mld .container, #mld .svc-grid, #mld blockquote{background:#ffffffeb;border:1px solid var(--border);border-radius:14px;padding:1rem;box-shadow:var(--shadow)}
#postop .container, #postop .svc-grid, #postop blockquote{background:#ffffffeb;border:1px solid var(--border);border-radius:14px;padding:1rem;box-shadow:var(--shadow)}
#services .container, #services .svc-grid, #services blockquote{background:#ffffffeb;border:1px solid var(--border);border-radius:14px;padding:1rem;box-shadow:var(--shadow)}
#importance .container, #importance .svc-grid, #importance blockquote{background:#ffffffeb;border:1px solid var(--border);border-radius:14px;padding:1rem;box-shadow:var(--shadow)}
#testimonials .container, #testimonials .svc-grid, #testimonials blockquote{background:#ffffffeb;border:1px solid var(--border);border-radius:14px;padding:1rem;box-shadow:var(--shadow)}

:root{--gold:#b7932a;--gold2:#efdca9}

.svc-card h3{display:flex;align-items:center;gap:.4rem}
.svc-card h3 svg{width:18px;height:18px;fill:none;stroke:var(--gold);stroke-width:1.8}

/* Directional reveal animations */
.reveal-left{opacity:0;transform:translateX(-28px);}
.reveal-right{opacity:0;transform:translateX(28px);}
.reveal-left.visible,.reveal-right.visible{opacity:1;transform:none;transition:opacity .8s ease, transform .8s ease}



/* Photo backgrounds with 50% translucent white overlay for readability */
/* Header/hero reveal tuning */
.site-header.reveal-left,.brand.reveal-left,.nav-links.reveal-right,.slides-actual.reveal-left,.bg-slides.reveal-left{will-change:transform,opacity}

.reveal-left, .reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: none;
}

.btn.primary {
  background: linear-gradient(135deg, #007BFF, #ffffff);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  transition: all 0.3s ease;
}
.btn.primary:hover {
  background: linear-gradient(135deg, #0066cc, #ffffff);
  color: #000;
}


/* Themed SVG backgrounds with ~50% transparency */









#about,#mld,#postop,#services,#importance,#testimonials,#contact{min-height: 40vh animation: bg-pan-d 60s linear infinite;  background-repeat: repeat;  background-size: auto;  background-position: 0 0; }

.btn.primary {
  background-color: #007BFF;
  color: #fff;
  border: none;
  font-weight: 700;
  transition: all 0.3s ease;
}
.btn.primary:hover {
  background-color: #0056b3;
  color: #fff;
}

#about{background-image:url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27320%27%20height%3D%27240%27%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20fill%3D%27white%27/%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27rgba%28183%2C147%2C42%2C0.8%29%27%20stroke-width%3D%271.6%27%3E%3Cpath%20d%3D%27M0%2060%20Q160%200%20320%2060%27/%3E%3Cpath%20d%3D%27M0%20140%20Q160%2080%20320%20140%27/%3E%3Cpath%20d%3D%27M0%20220%20Q160%20160%20320%20220%27/%3E%3C/g%3E%3C/svg%3E');background-size:auto;background-repeat:repeat animation: bg-pan-h 60s linear infinite;  background-position: 0 0; }
#mld{background-image:url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27240%27%20height%3D%27240%27%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20fill%3D%27white%27/%3E%3Cg%20fill%3D%27rgba%28183%2C147%2C42%2C0.8%29%27%3E%3Cpath%20d%3D%27M120%2020c-20%2030-20%2060%200%20100c20-40%2020-70%200-100z%27/%3E%3Ccircle%20cx%3D%2760%27%20cy%3D%27180%27%20r%3D%277%27/%3E%3Ccircle%20cx%3D%27180%27%20cy%3D%27120%27%20r%3D%277%27/%3E%3C/g%3E%3C/svg%3E');background-size:auto;background-repeat:repeat animation: bg-pan-v 60s linear infinite;  background-position: 0 0; }
#postop{background-image:url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27280%27%20height%3D%27200%27%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20fill%3D%27white%27/%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27rgba%28183%2C147%2C42%2C0.8%29%27%20stroke-dasharray%3D%276%206%27%20stroke-width%3D%271.2%27%3E%3Crect%20x%3D%2720%27%20y%3D%2720%27%20width%3D%27240%27%20height%3D%27120%27%20rx%3D%2718%27/%3E%3Cpath%20d%3D%27M20%20170%20C80%20150%20200%20210%20260%20190%27/%3E%3C/g%3E%3C/svg%3E');background-size:auto;background-repeat:repeat animation: bg-pan-d 60s linear infinite;  background-position: 0 0; }
#services{background-image:url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27220%27%20height%3D%27220%27%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20fill%3D%27white%27/%3E%3Cg%20stroke%3D%27rgba%28183%2C147%2C42%2C0.8%29%27%20stroke-width%3D%271%27%3E%3Cpath%20d%3D%27M0%200%20L220%20220%27/%3E%3Cpath%20d%3D%27M0%20110%20L110%20220%27/%3E%3Cpath%20d%3D%27M110%200%20L220%20110%27/%3E%3Cpath%20d%3D%27M0%20220%20L220%200%27/%3E%3C/g%3E%3C/svg%3E');background-size:auto;background-repeat:repeat animation: bg-pan-r 60s linear infinite;  background-position: 0 0; }
#importance{background-image:url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27360%27%20height%3D%27180%27%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20fill%3D%27white%27/%3E%3Cpath%20d%3D%27M0%2090%20C60%2060%20120%20120%20180%2090%20C240%2060%20300%20120%20360%2090%27%20stroke%3D%27rgba%28183%2C147%2C42%2C0.8%29%27%20stroke-width%3D%271.6%27%20fill%3D%27none%27/%3E%3C/svg%3E');background-size:auto;background-repeat:repeat animation: bg-pan-h 60s linear infinite;  background-position: 0 0; }
#testimonials{background-image:url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27200%27%20height%3D%27200%27%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20fill%3D%27white%27/%3E%3Ctext%20x%3D%2718%27%20y%3D%2770%27%20font-size%3D%2780%27%20fill%3D%27rgba%28183%2C147%2C42%2C0.8%29%27%3E%E2%80%9C%3C/text%3E%3Ctext%20x%3D%27132%27%20y%3D%27150%27%20font-size%3D%2780%27%20fill%3D%27rgba%28183%2C147%2C42%2C0.8%29%27%20transform%3D%27rotate%28180%20132%2C150%29%27%3E%E2%80%9C%3C/text%3E%3C/svg%3E');background-size:auto;background-repeat:repeat animation: bg-pan-v 60s linear infinite;  background-position: 0 0; }
#contact{background-image:url('contact.jpg');background-size:auto;background-repeat:repeat animation: bg-pan-d 60s linear infinite;  background-position: 0 0;}

/* Subtle animated pan for patterned SVG backgrounds */
@keyframes bg-pan {
  0%   { background-position: 0 0; }
  50%  { background-position: 60px 30px; }
  100% { background-position: 0 0; }
}

@keyframes bg-pan-h { 0% {background-position: 0 0;} 50% {background-position: 60px 0;} 100% {background-position: 0 0;} }
@keyframes bg-pan-v { 0% {background-position: 0 0;} 50% {background-position: 0 40px;} 100% {background-position: 0 0;} }
@keyframes bg-pan-d { 0% {background-position: 0 0;} 50% {background-position: 50px 30px;} 100% {background-position: 0 0;} }
@keyframes bg-pan-r { 0% {background-position: 0 0;} 50% {background-position: 100px 10px;} 100% {background-position: 0 0;} }
