@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,700&family=DM+Sans:wght@300;400;500&family=Cormorant+Garamond:ital,wght@0,300;1,300&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #faf7f2;
  --white: #ffffff;
  --red: #c8102e;
  --red-light: #f5e0e4;
  --gold: #b8933a;
  --ink: #1a1008;
  --ink2: #3d2e1e;
  --muted: #8a7560;
  --border: #e8ddd0;
  --shadow: 0 4px 32px rgba(26,16,8,0.08);
  --shadow-lg: 0 16px 64px rgba(26,16,8,0.14);
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-italic: 'Cormorant Garamond', serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body { background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.7; overflow-x: hidden; max-width: 100%; }

/* ─── NEEDLE & THREAD CURSOR ─── */
body { cursor: none; }
#needle-cursor {
  position: fixed; top: 0; left: 0; width: 40px; height: 40px;
  pointer-events: none; z-index: 9999;
  transform-origin: top left;
  transform: translate(-4px,-4px) rotate(-45deg);
  transition: transform .12s ease, filter .2s;
  filter: drop-shadow(0 2px 5px rgba(200,16,46,0.35));
}
#needle-cursor.hovering {
  transform: translate(-4px,-4px) rotate(-45deg) scale(1.25);
  filter: drop-shadow(0 4px 12px rgba(200,16,46,0.65));
}
#thread-canvas {
  position: fixed; inset: 0; pointer-events: none; z-index: 9997;
}

/* ─── NAVBAR ─── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 76px; padding: 0 60px; display: flex; align-items: center; justify-content: space-between; background: rgba(250,247,242,0.9); backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: border-color .4s, box-shadow .4s, height .3s; }
nav.scrolled { border-color: var(--border); box-shadow: 0 2px 24px rgba(26,16,8,0.07); height: 66px; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo span { color: var(--red); font-style: italic; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-decoration: none; position: relative; transition: color .3s; }
.nav-links a.active, .nav-links a:hover { color: var(--ink); }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 1.5px; background: var(--red); transform: scaleX(0); transition: transform .35s cubic-bezier(.76,0,.24,1); transform-origin: left; }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-book { font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; padding: 11px 28px; background: var(--red); color: white; border: none; cursor: none; text-decoration: none; transition: background .3s, transform .2s; border-radius: 2px; }
.nav-book:hover { background: #a00d24; transform: translateY(-1px); }

/* ─── HAMBURGER ─── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: none; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 1.5px; background: var(--ink); transition: transform .35s, opacity .35s; display: block; }

/* ─── MOBILE MENU — slides from RIGHT ─── */
.mob-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw);
  background: white; z-index: 999;
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center; gap: 8px;
  padding: 40px 40px;
  transform: translateX(100%);
  transition: transform .5s cubic-bezier(.76,0,.24,1);
  box-shadow: -8px 0 40px rgba(26,16,8,0.12);
}
.mob-menu.open { transform: translateX(0); }
.mob-menu a { font-family: var(--font-display); font-size: 32px; color: var(--ink); text-decoration: none; transition: color .3s; padding: 8px 0; border-bottom: 1px solid var(--border); width: 100%; }
.mob-menu a:hover { color: var(--red); }
.mob-overlay { position: fixed; inset: 0; background: rgba(26,16,8,0.4); z-index: 998; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.mob-overlay.show { opacity: 1; visibility: visible; }

/* ─── BACK TO TOP (animated scroll progress) ─── */
#btt {
  position: fixed; bottom: 36px; right: 36px; z-index: 500;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; cursor: none;
  opacity: 0; transform: translateY(20px);
  transition: opacity .4s, transform .4s;
  color: white;
}
#btt.show { opacity: 1; transform: translateY(0); }
#btt svg.progress-ring { position: absolute; top: 0; left: 0; transform: rotate(-90deg); }
#btt svg.progress-ring circle.track { fill: none; stroke: rgba(200,16,46,0.15); stroke-width: 3; }
#btt svg.progress-ring circle.fill { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 148; stroke-dashoffset: 148; transition: stroke-dashoffset .1s linear; }
#btt-inner { width: 40px; height: 40px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; transition: background .3s; z-index: 1; }
#btt:hover #btt-inner { background: #a00d24; }

/* ─── WHATSAPP FLOAT (left side) ─── */
#wa-float {
  position: fixed; bottom: 36px; left: 36px; z-index: 500;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none; cursor: none;
  animation: waBounce 3s ease-in-out infinite;
  transition: transform .3s, box-shadow .3s;
}
#wa-float:hover { animation: none; transform: scale(1.12); box-shadow: 0 8px 32px rgba(37,211,102,0.55); }
@keyframes waBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ─── BUTTONS ─── */
.btn-red { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; padding: 15px 44px; background: var(--red); color: white; text-decoration: none; border: none; cursor: none; transition: background .3s, transform .25s, box-shadow .3s; border-radius: 2px; }
.btn-red:hover { background: #a00d24; transform: translateY(-3px); box-shadow: 0 8px 28px rgba(200,16,46,0.35); }
.btn-outline { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; padding: 14px 44px; background: transparent; color: var(--ink); border: 1.5px solid var(--ink); text-decoration: none; cursor: none; transition: background .3s, color .3s, transform .25s; border-radius: 2px; }
.btn-outline:hover { background: var(--ink); color: white; transform: translateY(-3px); }

/* ─── SECTION LABELS ─── */
.label { font-size: 11px; font-weight: 500; letter-spacing: 0.4em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.label::before { content: ''; width: 32px; height: 1.5px; background: var(--red); flex-shrink: 0; }
.sec-title { font-family: var(--font-display); font-size: clamp(34px, 4.5vw, 60px); line-height: 1.1; color: var(--ink); margin-bottom: 20px; }
.sec-title em { color: var(--red); font-style: italic; }
.sec-sub { font-family: var(--font-italic); font-size: 19px; font-weight: 300; font-style: italic; color: var(--muted); max-width: 540px; }

/* ─── REVEAL ─── */
.rev { opacity: 0; transform: translateY(48px); transition: opacity .85s cubic-bezier(.22,1,.36,1), transform .85s cubic-bezier(.22,1,.36,1); }
.rev.on { opacity: 1; transform: translateY(0); }
.rev-l { opacity: 0; transform: translateX(-60px); transition: opacity .85s cubic-bezier(.22,1,.36,1), transform .85s cubic-bezier(.22,1,.36,1); }
.rev-l.on { opacity: 1; transform: translateX(0); }
.rev-r { opacity: 0; transform: translateX(60px); transition: opacity .85s cubic-bezier(.22,1,.36,1), transform .85s cubic-bezier(.22,1,.36,1); }
.rev-r.on { opacity: 1; transform: translateX(0); }

/* ─── MARQUEE ─── */
.marquee-wrap { overflow: hidden; padding: 18px 0; background: var(--red); }
.marquee-track { display: flex; width: max-content; animation: mq 20s linear infinite; }
.marquee-item { font-family: var(--font-display); font-size: 14px; font-style: italic; color: rgba(255,255,255,0.85); padding: 0 36px; white-space: nowrap; display: flex; align-items: center; gap: 36px; }
.marquee-item::after { content: '✦'; font-style: normal; font-size: 10px; opacity: 0.6; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ─── LOADER ─── */
#loader { position: fixed; inset: 0; background: var(--cream); z-index: 10000; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px; transition: opacity .8s ease, visibility .8s; }
#loader.hide { opacity: 0; visibility: hidden; }
.ld-logo { display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
/* .ld-logo span replaced by image */
.ld-bar { width: 200px; height: 2px; background: var(--border); overflow: hidden; }
.ld-fill { height: 100%; background: var(--red); animation: ldFill 1.6s ease forwards; width: 0; }
@keyframes ldFill { to { width: 100%; } }
.ld-text { font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--muted); opacity: 0; animation: fdIn .6s ease forwards 1.2s; }
@keyframes fdIn { to { opacity: 1; } }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero { padding: 160px 60px 100px; background: linear-gradient(135deg, var(--cream) 60%, var(--red-light) 100%); position: relative; overflow: hidden; }
.page-hero::after { content: attr(data-text); position: absolute; right: -20px; bottom: -40px; font-family: var(--font-display); font-size: 170px; font-weight: 700; font-style: italic; color: rgba(200,16,46,0.05); line-height: 1; pointer-events: none; }
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(48px,7vw,88px); line-height: 1; color: var(--ink); }
.page-hero h1 em { color: var(--red); font-style: italic; }
.breadcrumb { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a { color: var(--red); text-decoration: none; }

/* ─── FOOTER ─── */
footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 80px 60px 36px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 56px; }
.foot-logo { display: flex; align-items: center; margin-bottom: 0px; }
/* .foot-logo span replaced by image */
.foot-p { font-size: 14px; line-height: 1.8; max-width: 260px; }
.foot-col h4 { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 22px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-col ul a { font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color .3s; }
.foot-col ul a:hover { color: white; }
.foot-socials { display: flex; gap: 10px; margin-top: 24px; }
.soc { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); text-decoration: none; transition: border-color .3s, color .3s; cursor: none; }
.soc:hover { border-color: var(--red); color: var(--red); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.foot-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ─── PAGE TRANSITION ─── */
.page-trans { position: fixed; inset: 0; background: var(--red); z-index: 9000; transform: translateY(-100%); transition: transform .48s cubic-bezier(.76,0,.24,1); pointer-events: none; }

/* ─── RESPONSIVE ─── */
@media(max-width:900px){
  nav { padding: 0 24px; }
  .nav-links, .nav-book { display: none; }
  .hamburger { display: flex; }
  footer { padding: 60px 24px 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  #cur, #cur-r { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
  #btt { bottom: 90px; right: 20px; }
  #wa-float { bottom: 20px; left: 20px; width: 46px; height: 46px; }
  .page-hero { padding: 120px 24px 70px; }
  .page-hero::after { display: none; }
  .page-hero h1 { font-size: clamp(40px,12vw,64px); word-break: break-word; }
  .sec-title { font-size: clamp(30px,9vw,44px); }
}

/* ─── LOGO IMAGE STYLES ─── */
.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity .3s;
}
.nav-logo-img:hover { opacity: 0.85; }

.foot-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
  opacity: 0.92;
}

/* ─── SERVICE CARD IMAGE (moderate size, suit visible) ─── */
.srv-card-img {
  height: 280px !important;
  overflow: hidden;
  background: var(--cream);
  display: block;
}
.srv-card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
}
.srv-card:hover .srv-card-img img { transform: scale(1.05); }

/* Services page big image fix - show full image */
.srv-item-img {
  min-height: unset !important;
  height: auto !important;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
}
.srv-item-img img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  position: relative !important;
  top: unset; left: unset;
}

@media(max-width:900px){
  .nav-logo-img { height: 42px; }
  .srv-card-img { height: 220px !important; }
  .srv-item-img { min-height: unset !important; }
}

.nav-logo-img { height: 52px; width: auto; object-fit: contain; display: block; }
.foot-logo-img { height: 60px; width: auto; object-fit: contain; display: block; margin-bottom: 16px; }
