/* ==========================================================
   Makeover Magic Studio — site-wide styles
   Colors, fonts and spacing driven from Tailwind config in
   includes/header.php. This file holds everything Tailwind's
   utility classes don't cover.
   ========================================================== */

html{scroll-behavior:smooth;}
body{font-family:'Manrope',sans-serif;color:#3B2C25;background:#FFF9F4;}
h1,h2,h3,.font-serif{font-family:'Cormorant Garamond',serif;}
.btn-font{font-family:'Poppins',sans-serif;}

/* Fixed header spacer — prevents page content/hero from sitting under the fixed nav */
.header-spacer{ height:73px; }

/* Anchor jump targets — keeps the fixed header from covering section titles */
section[id]{ scroll-margin-top:90px; }

/* Logo */
.site-logo{ height:80px; width:auto; display:block; }
.site-logo-fallback{ display:none; }

/* Signature: golden thread stitch divider */
.thread-divider{width:100%;height:60px;overflow:hidden;position:relative;}
.thread-divider svg{width:100%;height:100%;}
.thread-path{stroke-dasharray:6 10;stroke-linecap:round;animation:stitch-move 6s linear infinite;}
@keyframes stitch-move{ to { stroke-dashoffset:-160; } }

.gold-underline{position:relative;}
.gold-underline::after{content:'';position:absolute;left:0;bottom:-6px;height:2px;width:0;background:#C8A14B;transition:width .45s ease;}
.gold-underline:hover::after{width:100%;}

.glass{background:rgba(255,255,255,.55);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(233,218,199,.7);}
::selection{background:#C8A14B;color:#fff;}
.counter{font-family:'Cormorant Garamond',serif;}

.masonry{column-count:1;column-gap:1rem;}
@media(min-width:640px){ .masonry{column-count:2;} }
@media(min-width:1024px){ .masonry{column-count:3;} }
.masonry-item{break-inside:avoid;margin-bottom:1rem;}

.filter-btn.active{background:#C8A14B;color:#fff;}

.cursor-ring{position:fixed;width:26px;height:26px;border:1px solid #C8A14B;border-radius:50%;pointer-events:none;z-index:9999;transform:translate(-50%,-50%);transition:width .25s,height .25s,opacity .25s;opacity:0;mix-blend-mode:multiply;}
@media(max-width:768px){ .cursor-ring{display:none;} }

.testi-track{scroll-snap-type:x mandatory;}
.testi-card{scroll-snap-align:start;}

input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible{outline:2px solid #C8A14B;outline-offset:2px;}

.page-hero{
  background:linear-gradient(180deg, rgba(30,26,23,.55) 0%, rgba(30,26,23,.35) 100%), var(--hero-img);
  background-size:cover; background-position:center;
}

.hero-bg{
  --hero-img: url('../img/hero-section-992-661.jpg');
  background: linear-gradient(180deg, rgba(30,26,23,.35) 0%, rgba(30,26,23,.55) 55%, rgba(255,249,244,1) 100%), var(--hero-img);
  background-size: cover; background-position: center 25%;
}
.particle{
  position:absolute; border-radius:50%; background:radial-gradient(circle, #F3D57A 0%, transparent 70%);
  opacity:.55; animation: float-up linear infinite;
}
@keyframes float-up{
  0%{ transform: translateY(0) translateX(0); opacity:0; }
  10%{ opacity:.6; }
  100%{ transform: translateY(-420px) translateX(20px); opacity:0; }
}
.cat-card img{ transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.cat-card:hover img{ transform: scale(1.08); }

/* Video gallery */
.video-card{
  position:relative; border-radius:1rem; overflow:hidden; aspect-ratio:3/4; display:block;
}
.video-card img{ width:100%; height:100%; object-fit:cover; transition:transform .7s ease; }
.video-card:hover img{ transform:scale(1.06); }
.video-card::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(30,26,23,0) 40%, rgba(30,26,23,.65) 100%);
}
.video-play{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:56px; height:56px; border-radius:50%;
  background:rgba(255,255,255,.25); backdrop-filter:blur(4px);
  border:1.5px solid rgba(255,255,255,.8);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:18px; z-index:2;
  transition:transform .35s ease, background .35s ease;
}
.video-card:hover .video-play{ transform:translate(-50%,-50%) scale(1.1); background:rgba(200,161,75,.55); }
.video-duration{
  position:absolute; left:10px; bottom:10px; z-index:2;
  background:rgba(30,26,23,.6); color:#fff; font-size:11px;
  padding:3px 8px; border-radius:6px; display:flex; align-items:center; gap:4px;
}
