/* =========================
   ARIA NAIL BAR — style.css
   Clean, responsive, luxury beige theme
   ========================= */

/* RESET */
*{margin:0;padding:0;box-sizing:border-box;}
img{max-width:100%;height:auto;display:block;}
a{color:inherit;}
iframe{display:block;}

/* THEME */
:root{
  --beige:#F5EFE6;
  --cream:#FBF8F1;
  --black:#111;
  --gold:#C8A25A;
  --border:rgba(17,17,17,.15);
}

/* BASE */
body{
  font-family:"Helvetica Neue", Arial, sans-serif;
  background:var(--beige);
  color:var(--black);
  line-height:1.6;
}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 22px;
}

/* TOP BAR */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(245,239,230,.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(17,17,17,.08);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 0;
  gap:12px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand img{
  height:28px;
  width:auto;
}

.navlinks{
  display:flex;
  gap:20px;
  align-items:center;
  flex-wrap:wrap;
}

.navlinks a{
  text-decoration:none;
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  opacity:.9;
  padding:4px 0;
}
.navlinks a:hover{opacity:.65;}

.social{
  display:flex;
  gap:10px;
  align-items:center;
}
.social a{
  text-decoration:none;
  font-size:12px;
  letter-spacing:1px;
  border:1px solid var(--black);
  padding:6px 10px;
  opacity:.9;
}
.social a:hover{opacity:.7;}

/* Mobile header layout */
@media (max-width:980px){
  .topbar-inner{flex-wrap:wrap;gap:10px;}
  .navlinks{width:100%;gap:14px;}
}

/* Mobile shrink-on-scroll state (JS adds .is-shrunk) */
@media (max-width:980px){
  .topbar{transition:background 200ms ease;}
  .topbar-inner,
  .brand img,
  .navlinks a{transition:all 200ms ease;}

  .topbar.is-shrunk .topbar-inner{padding:4px 0;}
  .topbar.is-shrunk .brand img{height:22px;}
  .topbar.is-shrunk .navlinks a{
    font-size:11px;
    letter-spacing:1.5px;
    padding:2px 0;
  }
}

/* BUTTONS */
.btn{
  display:inline-block;
  padding:12px 28px;
  border:1px solid var(--black);
  text-decoration:none;
  letter-spacing:2px;
  text-transform:uppercase;
  font-size:12px;
  transition:.25s;
}
.btn:hover{background:var(--black);color:#fff;}

.btn.gold{
  border-color:var(--gold);
  color:var(--cream);
  background:rgba(0,0,0,.55);
}
.btn.gold:hover{
  background:var(--black);
  border-color:var(--gold);
}

.btn.ghost{background:transparent;}
.btn.ghost:hover{background:var(--black);color:#fff;}

/* HERO */
.hero{
  position:relative;
  height:86vh;
  min-height:560px;
  overflow:hidden;
  background:#000;
}

.hero-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.04);
  transition:opacity 900ms ease, transform 1200ms ease;
}
.hero-slide.active{
  opacity:1;
  transform:scale(1);
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(800px 500px at 18% 50%, rgba(245,239,230,.95), rgba(245,239,230,.55), rgba(245,239,230,.18)),
    linear-gradient(90deg, rgba(245,239,230,.92) 0%, rgba(245,239,230,.55) 55%, rgba(245,239,230,.10) 100%);
  z-index:1;
}

.hero-content{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.hero-inner{max-width:1100px;}
.hero-eyebrow{
  letter-spacing:3px;
  text-transform:uppercase;
  font-size:12px;
  margin-bottom:10px;
  opacity:.9;
}
.hero h1{
  font-size:64px;
  line-height:1.05;
  margin-bottom:14px;
}
.hero-sub{
  font-size:16px;
  letter-spacing:1px;
  opacity:.95;
  margin-bottom:22px;
}
.hero-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:22px;
}

.hero-bar{
  margin-top:10px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.hero-pill{
  background:rgba(17,17,17,.78);
  color:var(--cream);
  border:1px solid rgba(200,162,90,.35);
  padding:10px 14px;
  border-radius:999px;
  font-size:12px;
  letter-spacing:1px;
}
.hero-pill strong{color:var(--gold);font-weight:600;}

.dots{
  position:absolute;
  z-index:3;
  left:22px;
  bottom:18px;
  display:flex;
  gap:10px;
}
.dot{
  width:10px;height:10px;
  border-radius:999px;
  border:1px solid var(--black);
  background:transparent;
  cursor:pointer;
  opacity:.85;
}
.dot.active{background:var(--black);opacity:1;}

@media (max-width:980px){
  .hero{min-height:620px;}
  .hero h1{font-size:44px;}
  .hero-sub{font-size:14px;}
}

/* SECTIONS */
.section{padding:80px 0;}
.section-title{text-align:center;margin-bottom:26px;}
.section-title h2{font-size:42px;font-weight:500;}
.section-title p{margin-top:8px;opacity:.85;}

/* SERVICE TILES */
.tiles{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
}

.tile{
  position:relative;
  display:block;
  border:1px solid var(--border);
  background:var(--cream);
  overflow:hidden;
  text-decoration:none;
}

.tile img{
  width:100%;
  height:240px;
  object-fit:cover;
}

.tile::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%);
}

.tile-label{
  position:absolute;
  left:14px;
  bottom:14px;
  z-index:2;
  color:#fff;
}

.tile-label .name{
  font-size:18px;
  letter-spacing:1px;
  margin-bottom:10px;
}

.tile-label .smallbtn{
  display:inline-block;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.75);
  font-size:11px;
  letter-spacing:2px;
  text-transform:uppercase;
}

.tile:hover .smallbtn{
  background:#fff;
  color:#111;
}

@media (max-width:1100px){
  .tiles{grid-template-columns:repeat(2, 1fr);}
}
@media (max-width:640px){
  .tiles{grid-template-columns:1fr;}
  .tile img{height:220px;}
}

/* ABOUT SPLIT */
.split{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:22px;
  align-items:center;
}

.card{
  background:rgba(255,255,255,.18);
  border:1px solid var(--border);
  padding:26px;
}

.card h3{
  font-size:32px;
  font-weight:500;
  margin-bottom:10px;
}

.stack{display:grid;gap:14px;}
.stack img{
  width:100%;
  height:260px;
  object-fit:cover;
  border:1px solid var(--border);
}

@media (max-width:980px){
  .split{grid-template-columns:1fr;}
  .stack img{height:220px;}
}

/* BOOK ONLINE BAND */
.band{
  padding:70px 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,.70), rgba(0,0,0,.55)),
    url('images/book-bg.jpg') center/cover no-repeat;
  color:var(--cream);
  border-top:1px solid rgba(200,162,90,.25);
  border-bottom:1px solid rgba(200,162,90,.25);
}

.band h3{
  font-size:36px;
  font-weight:500;
  margin-bottom:8px;
}
.band p{opacity:.9;margin-bottom:18px;}

/* FOOTER */
.footer{
  padding:38px 0;
  border-top:1px solid var(--border);
  font-size:14px;
}

.footer a{
  text-decoration:none;
  border-bottom:1px solid rgba(17,17,17,.35);
}

.footer-grid{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.footer-note{opacity:.85;}

/* FLOATING BOOK BUTTON */
.floating-book{
  position:fixed;
  bottom:26px;
  right:26px;
  z-index:1000;
  background:var(--black);
  color:#fff;
  padding:14px 20px;
  text-decoration:none;
  letter-spacing:2px;
  text-transform:uppercase;
  font-size:12px;
  border:1px solid rgba(200,162,90,.35);
}
.floating-book:hover{opacity:.85;}

/* MODAL */
.modal{
  display:none;
  position:fixed;
  z-index:2000;
  left:0;top:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,.65);
}

.modal-content{
  background:var(--beige);
  margin:6% auto;
  width:92%;
  max-width:760px;
  padding:26px;
  border:1px solid rgba(200,162,90,.25);
  position:relative;
}

.modal-content h2{margin-bottom:10px;font-weight:500;}

.close{
  position:absolute;
  right:16px;
  top:12px;
  font-size:26px;
  cursor:pointer;
}

/* SERVICES LIST */
.luxury-grid{
  max-width:700px;
  margin:0 auto;
}
.lux-item{
  display:flex;
  justify-content:space-between;
  padding:14px 0;
  border-bottom:1px solid rgba(17,17,17,.15);
  font-size:15px;
  letter-spacing:.5px;
}
.lux-item span:last-child{font-weight:600;}

.service-note{
  text-align:center;
  margin-top:18px;
  font-size:13px;
  opacity:.75;
  letter-spacing:1px;
}

/* Most Popular badge */
.badge{
  display:inline-block;
  margin-left:10px;
  padding:6px 10px;
  font-size:11px;
  letter-spacing:2px;
  text-transform:uppercase;
  border:1px solid rgba(200,162,90,.55);
  color:#111;
  background:rgba(255,255,255,.25);
  vertical-align:middle;
}

/* Scroll reveal */
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity 700ms ease, transform 700ms ease;
}
.reveal.show{
  opacity:1;
  transform:translateY(0);
}

/* List stagger */
.reveal .lux-item{
  opacity:0;
  transform:translateY(10px);
  transition:opacity 600ms ease, transform 600ms ease;
}
.reveal.show .lux-item{
  opacity:1;
  transform:translateY(0);
}
.reveal.show .lux-item:nth-child(1){transition-delay:60ms;}
.reveal.show .lux-item:nth-child(2){transition-delay:120ms;}
.reveal.show .lux-item:nth-child(3){transition-delay:180ms;}
.reveal.show .lux-item:nth-child(4){transition-delay:240ms;}
.reveal.show .lux-item:nth-child(5){transition-delay:300ms;}
.reveal.show .lux-item:nth-child(6){transition-delay:360ms;}
.reveal.show .lux-item:nth-child(7){transition-delay:420ms;}
.reveal.show .lux-item:nth-child(8){transition-delay:480ms;}
.reveal.show .lux-item:nth-child(9){transition-delay:540ms;}
.reveal.show .lux-item:nth-child(10){transition-delay:600ms;}

/* =========================
   GALLERY — FIXED FOR iPHONE
   ========================= */

/* Mobile-first: 3 columns so images are smaller on iPhone */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:8px;
  margin-top:26px;
}

/* Perfect squares that scale to the browser */
.gallery-grid img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  border:1px solid rgba(17,17,17,.12);
  background:#fff;
  transition:transform 250ms ease, opacity 250ms ease;
}

@media (hover:hover){
  .gallery-grid img:hover{
    transform:translateY(-2px);
    opacity:.92;
  }
}

/* Give more room on small screens */
@media (max-width:640px){
  .container{padding:0 12px;}
}

/* Small tablets / large phones: 2 columns looks nicer */
@media (min-width:520px){
  .gallery-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:12px;
  }
}

/* Tablets */
@media (min-width:820px){
  .gallery-grid{
    grid-template-columns:repeat(3, 1fr);
    gap:14px;
  }
}

/* Desktop */
@media (min-width:1100px){
  .gallery-grid{
    grid-template-columns:repeat(4, 1fr);
    gap:16px;
  }
}

/* ===== LIGHTBOX (Gallery popup) ===== */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.72);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:5000;
  padding:18px;
}

.lightbox.open{
  display:flex;
}

.lightbox-image{
  max-width:min(92vw, 980px);
  max-height:78vh;
  border:1px solid rgba(255,255,255,.18);
  background:#111;
}

.lightbox-close{
  position:absolute;
  top:18px;
  right:18px;
  width:44px;
  height:44px;
  border:none;
  cursor:pointer;
  font-size:34px;
  line-height:44px;
  background:rgba(255,255,255,.12);
  color:#fff;
  border-radius:999px;
}

.lightbox-caption{
  position:absolute;
  bottom:18px;
  left:18px;
  right:18px;
  text-align:center;
  color:#fff;
  font-size:13px;
  letter-spacing:1px;
  opacity:.9;
}

.lightbox-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:none;
  cursor:pointer;
  width:44px;
  height:44px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:22px;
  line-height:44px;
}

.lightbox-nav.prev{ left:16px; }
.lightbox-nav.next{ right:16px; }

/* Hide arrows on small screens (tap image / swipe behavior can be added later) */
@media (max-width:640px){
  .lightbox-nav{ display:none; }
  .lightbox-image{ max-height:74vh; }
}

/* Instagram embed wrapper */
.instagram-embed-wrap{
  margin-top: 22px;
  border: 1px solid rgba(17,17,17,.12);
  background: var(--cream);
  padding: 14px;
}

/* Help embedded content behave on small screens */
.instagram-embed-wrap iframe,
.instagram-embed-wrap .embedsocial-hashtag{
  width: 100% !important;
  max-width: 100% !important;
}

/* Gallery IG actions row */
.ig-actions{
  margin-top: 16px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.ig-note{
  text-align:center;
  margin-top:14px;
  font-size:13px;
  opacity:.78;
  letter-spacing:.3px;
}

/* Instagram embed wrapper (luxury frame) */
.instagram-embed-wrap{
  border: 1px solid rgba(17,17,17,.12);
  background: var(--cream);
  padding: 14px;
}

/* Sticky action bar (encourages follows/shares) */
.ig-stickybar{
  position:fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1200;
  display:none;
  gap:10px;
}

.ig-stickybar a,
.ig-stickybar button{
  flex:1;
  text-align:center;
  border:1px solid rgba(17,17,17,.25);
  background: rgba(255,255,255,.40);
  backdrop-filter: blur(6px);
  padding: 12px 10px;
  text-decoration:none;
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  cursor:pointer;
}

.ig-stickybar a:last-child{
  background: var(--black);
  color:#fff;
  border-color: rgba(200,162,90,.35);
}

/* Show sticky bar on phones */
@media (max-width: 640px){
  .ig-stickybar{ display:flex; }
}