:root {
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-300: #f9a8d4;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --purple-100: #ede9fe;
  --purple-200: #ddd6fe;
  --purple-300: #c4b5fd;
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --nude-100: #fff7ed;
  --nude-200: #fef3c7;
  --white: #ffffff;
  --dark: #1a0a14;
  --text-main: #3d1d30;
  --text-muted: #9b6e85;
  --ff-display: 'Cormorant Garamond', serif;
  --ff-script: 'Alex Brush', cursive;
  --ff-body: 'Jost', sans-serif;
  --radius: 20px;
  --shadow-soft: 0 8px 40px rgba(236, 72, 153, 0.12);
  --shadow-hover: 0 20px 60px rgba(236, 72, 153, 0.22);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--text-main);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--ff-display); font-weight: 600; }

a { text-decoration: none; color: inherit; }

img, svg { max-width: 100%; height: auto; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--pink-100); }
::-webkit-scrollbar-thumb { background: var(--pink-400); border-radius: 99px; }

/* ---- Selection ---- */
::selection { background: var(--pink-300); color: var(--dark); }

/* ---- Utility Classes ---- */
.text-gradient {
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-pink { color: var(--pink-500) !important; }
.text-purple { color: var(--purple-500) !important; }

/* =============================================================
   NAVBAR
   ============================================================= */
#mainNavbar {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(236,72,153,0.1);
  padding: 0.9rem 0;
  transition: var(--transition);
  z-index: 1000;
}

#mainNavbar.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 30px rgba(236,72,153,0.1);
  padding: 0.6rem 0;
}

/* =============================================================
LOGO STYLES - UPDATED
============================================================= */
.navbar-logo {
    height: 45px;  /* Sesuaikan tinggi logo navbar */
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-logo-img {
    height: 50px;  /* Sesuaikan tinggi logo footer */
    width: auto;
    display: block;
    object-fit: contain;
}

/* Responsive Logo */
@media (max-width: 767.98px) {
    .navbar-logo {
        height: 38px;  /* Lebih kecil di mobile */
    }
    
    .footer-logo-img {
        height: 42px;
    }
}

@media (max-width: 575.98px) {
    .navbar-logo {
        height: 35px;
    }
    
    .footer-logo-img {
        height: 40px;
    }
}

/* Nav links */
.navbar-nav .nav-link {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-main) !important;
  padding: 0.5rem 0.9rem !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--pink-400), var(--purple-400));
  border-radius: 99px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 60%; }

.navbar-nav .nav-link:hover { color: var(--pink-500) !important; }

/* Booking button */
.btn-booking {
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500));
  color: #fff !important;
  border: none;
  border-radius: 50px;
  padding: 0.55rem 1.4rem;
  font-size: 0.87rem;
  font-weight: 500;
  font-family: var(--ff-body);
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(236,72,153,0.3);
  transition: var(--transition);
}

.btn-booking:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(236,72,153,0.45);
  color: #fff !important;
}

/* Custom toggler */
.navbar-toggler { border: none; padding: 0.5rem; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar {
  display: block;
  width: 24px; height: 2.5px;
  background: linear-gradient(90deg, var(--pink-500), var(--purple-400));
  border-radius: 99px;
  margin: 5px 0;
  transition: var(--transition);
}

/* =============================================================
   HERO SECTION
   ============================================================= */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(160deg, #fff0f7 0%, #fce7f3 30%, #f0e6ff 65%, #f5f0ff 100%);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center;
}

/* Decorative blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}
.blob-1 { width: 600px; height: 600px; background: var(--pink-300); top: -200px; right: -100px; animation: blobFloat 8s ease-in-out infinite; }
.blob-2 { width: 400px; height: 400px; background: var(--purple-300); bottom: -100px; left: -80px; animation: blobFloat 10s ease-in-out infinite reverse; }
.blob-3 { width: 300px; height: 300px; background: var(--pink-200); top: 50%; left: 40%; animation: blobFloat 12s ease-in-out infinite; }

@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-20px) scale(1.05); }
  66% { transform: translate(-15px,15px) scale(0.95); }
}

/* Floating petals */
.petal {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0.25;
  animation: floatPetal linear infinite;
  pointer-events: none;
}
.p1 { color: var(--pink-400); left: 10%; top: 20%; animation-duration: 6s; font-size: 1.4rem; }
.p2 { color: var(--purple-400); left: 85%; top: 30%; animation-duration: 7s; font-size: 1rem; }
.p3 { color: var(--pink-500); left: 5%; top: 70%; animation-duration: 5s; }
.p4 { color: var(--purple-300); left: 90%; top: 65%; animation-duration: 8s; font-size: 1.6rem; }
.p5 { color: var(--pink-300); left: 50%; top: 10%; animation-duration: 9s; }

@keyframes floatPetal {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* Hero Content */
.hero-content { position: relative; z-index: 2; padding: 100px 0 60px; }

.hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(236,72,153,0.2);
  color: var(--pink-600);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1.2rem;
}

.script-title {
  font-family: var(--ff-script);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  background: linear-gradient(135deg, var(--pink-500), var(--purple-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* Hero buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.85rem 2rem;
  font-size: 0.93rem;
  font-weight: 500;
  font-family: var(--ff-body);
  box-shadow: 0 6px 24px rgba(236,72,153,0.4);
  transition: var(--transition);
  display: inline-flex; align-items: center;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(236,72,153,0.5);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  color: var(--pink-500);
  border: 2px solid var(--pink-400);
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-size: 0.93rem;
  font-weight: 500;
  font-family: var(--ff-body);
  transition: var(--transition);
  display: inline-flex; align-items: center;
}

.btn-outline-custom:hover {
  background: var(--pink-500);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(236,72,153,0.35);
}

/* Hero Stats */
.hero-stats {
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-item { display: flex; flex-direction: column; }
.stat-num { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 600; color: var(--pink-500); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 400; margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, var(--pink-300), transparent); }

/* Hero Visual */
.hero-visual { position: relative; z-index: 2; padding: 80px 0 40px; display: flex; justify-content: center; }

.hero-image-wrapper { position: relative; width: 380px; max-width: 100%; }

.hero-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); }

/* =============================================================
HERO PHOTO - UPDATED
============================================================= */
.hero-card-main {
    padding: 0.5rem;  /* KURANGI dari 2rem jadi 0.5rem */
    animation: heroFloat 5s ease-in-out infinite;
    background: transparent;  /* HAPUS background putih */
    box-shadow: none;  /* HAPUS shadow jika ingin border saja */
    border: 2px solid rgba(236, 72, 153, 0.3);  /* BORDER LINE */
    border-radius: var(--radius);
}

.hero-photo {
    width: 100%;
    height: 100%;
    max-width: 320px;  /* Sesuaikan dengan area ilustrasi asli */
    object-fit: cover;  /* Foto akan crop & fill area */
    object-position: center;  /* Fokus ke tengah foto */
    display: block;
    margin: 0 auto;
    border-radius: calc(var(--radius) - 4px);  /* Ikuti border card */
}

/* ALTERNATIF: Jika ingin foto utuh tanpa crop, ganti object-fit: contain */
/* .hero-photo { object-fit: contain; } */

@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.nail-illustration { width: 100%; max-width: 320px; display: block; margin: 0 auto; }

.hero-card-badge-1 {
  position: absolute;
  bottom: -20px; left: -30px;
  padding: 0.8rem 1.2rem;
  display: flex; align-items: center; gap: 0.8rem;
  border-radius: 16px;
  animation: heroFloat 6s ease-in-out infinite 1s;
  font-size: 0.82rem;
}

.hero-card-badge-2 {
  position: absolute;
  top: 20px; right: -30px;
  padding: 0.8rem 1.2rem;
  display: flex; align-items: center; gap: 0.8rem;
  border-radius: 16px;
  animation: heroFloat 7s ease-in-out infinite 0.5s;
  font-size: 0.82rem;
}

.hero-card-badge-1 i, .hero-card-badge-2 i { font-size: 1.5rem; }
.hero-card-badge-1 strong, .hero-card-badge-2 strong { display: block; font-size: 0.85rem; color: var(--dark); }
.hero-card-badge-1 small, .hero-card-badge-2 small { color: var(--text-muted); font-size: 0.75rem; }

/* Hero Wave */
.hero-wave { position: absolute; bottom: -2px; left: 0; width: 100%; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; }

/* =============================================================
   SECTION COMMON
   ============================================================= */
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink-100), var(--purple-100));
  color: var(--pink-600);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(236,72,153,0.15);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
}

/* =============================================================
   ABOUT SECTION
   ============================================================= */
.section-about { background: #fff; }

.about-image-grid { position: relative; display: flex; justify-content: center; }

.about-img-main {
  background: linear-gradient(135deg, var(--pink-100), var(--purple-100));
  border-radius: 28px;
  padding: 1.5rem;
  width: 280px;
  box-shadow: var(--shadow-soft);
}

.about-img-accent {
  position: absolute;
  bottom: -15px; right: 0;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500));
  color: #fff;
  border-radius: 12px;
  padding: 0.7rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(236,72,153,0.4);
}

.about-img-accent i { font-size: 1.1rem; }

.about-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 2rem;
  border-left: 3px solid var(--pink-400);
  padding-left: 1.2rem;
}

.about-lead em { color: var(--pink-500); font-style: normal; font-weight: 600; }

.about-features { display: flex; flex-direction: column; gap: 1.4rem; }

.feature-item {
  display: flex; gap: 1.2rem;
  align-items: flex-start;
  padding: 1.2rem;
  background: linear-gradient(135deg, rgba(252,231,243,0.5), rgba(237,233,254,0.5));
  border-radius: 16px;
  border: 1px solid rgba(236,72,153,0.08);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateX(6px);
  background: linear-gradient(135deg, rgba(252,231,243,0.9), rgba(237,233,254,0.9));
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: linear-gradient(135deg, var(--pink-400), var(--purple-400));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(236,72,153,0.3);
}

.feature-item h5 { font-size: 1rem; margin-bottom: 0.3rem; color: var(--dark); }
.feature-item p { font-size: 0.88rem; color: var(--text-muted); margin: 0; font-weight: 300; }

/* =============================================================
   LAYANAN SECTION
   ============================================================= */
.section-layanan {
  background: linear-gradient(160deg, #fff 0%, #fdf0f7 50%, #f5f0ff 100%);
}

.service-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(236,72,153,0.08);
  border: 1px solid rgba(236,72,153,0.08);
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-card.featured { border: 2px solid var(--pink-400); }

.featured-label {
  position: absolute; top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500));
  color: #fff;
  font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  z-index: 1;
}

.service-card-header {
  padding: 2rem;
  display: flex; align-items: center; justify-content: space-between;
}

.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.service-deco { font-size: 1.4rem; color: rgba(0,0,0,0.12); letter-spacing: 6px; }

.service-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.service-card-body h4 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.service-card-body p { font-size: 0.88rem; color: var(--text-muted); flex: 1; margin-bottom: 1rem; font-weight: 300; }

.service-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.service-tags span {
  background: var(--pink-100);
  color: var(--pink-600);
  font-size: 0.72rem; font-weight: 600;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
}

.service-price { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.service-price strong { color: var(--pink-500); font-size: 1rem; }

.btn-service {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--pink-500);
  font-size: 0.87rem; font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transition);
}

.btn-service:hover { color: var(--purple-500); gap: 0.9rem; }
.btn-service i { transition: var(--transition); }

/* =============================================================
   GALLERY SECTION
   ============================================================= */
.section-galeri {
  background: #fff;
}

.gallery-filter { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

.filter-btn {
  background: transparent;
  border: 1.5px solid rgba(236,72,153,0.2);
  color: var(--text-muted);
  border-radius: 50px;
  padding: 0.45rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--ff-body);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500));
  border-color: transparent;
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:nth-child(3n+2) { grid-row: span 1; }
.gallery-item:nth-child(5n+1) { grid-row: span 1; }

.gallery-item svg { width: 100%; height: 100%; display: block; transition: var(--transition); }

.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-hover); z-index: 2; }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(236,72,153,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex; align-items: flex-end;
  padding: 1.2rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 0.5rem;
}

/* Carousel controls */
.carousel-btn {
  width: 44px; height: 44px;
  background: #fff !important;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(236,72,153,0.15);
  display: flex !important; align-items: center; justify-content: center;
  top: 50%; transform: translateY(-50%);
  transition: var(--transition);
}

.carousel-btn:hover {
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500)) !important;
}

.carousel-btn i {
  color: var(--pink-500);
  font-size: 1rem;
}

.carousel-btn:hover i { color: #fff; }

.carousel-control-prev.carousel-btn { left: -55px; }
.carousel-control-next.carousel-btn { right: -55px; }

/* =============================================================
   KONTAK SECTION
   ============================================================= */
.section-kontak { background: #fff; }

.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(236,72,153,0.08);
  box-shadow: 0 4px 20px rgba(236,72,153,0.06);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.contact-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.contact-card h5 { margin-bottom: 0.5rem; font-size: 1rem; }
.contact-card p { color: var(--text-muted); font-size: 0.88rem; font-weight: 300; margin: 0; }
.contact-card a { color: var(--pink-500); font-weight: 500; }
.contact-card a:hover { color: var(--purple-500); }

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  background: linear-gradient(160deg, #1a0a14 0%, #0f0518 100%);
  color: rgba(255,255,255,0.7);
}

.footer-top { padding: 4rem 0 3rem; }

.footer-logo {
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin-bottom: 1.2rem;
  text-decoration: none;
}

.footer-brand p { font-size: 0.88rem; font-weight: 300; line-height: 1.8; max-width: 280px; margin-bottom: 1.5rem; }

.footer-socials { display: flex; gap: 0.7rem; }

.soc-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: #fff;
}

.soc-btn.ig { background: linear-gradient(135deg, #e1306c, #c13584, #833ab4); }
.soc-btn.wa { background: #25d366; }
.soc-btn.tt { background: linear-gradient(135deg, #010101, #69c9d0); }
.soc-btn.yt { background: #ff0000; }

.soc-btn:hover { transform: scale(1.15) translateY(-2px); color: #fff; }

.footer-heading {
  color: #fff;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: var(--transition); font-weight: 300; }
.footer-links a:hover { color: var(--pink-400); padding-left: 4px; }

.footer-newsletter-desc { font-size: 0.87rem; margin-bottom: 1rem; }

.newsletter-form {
  display: flex;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1.2rem;
  color: #fff;
  font-family: var(--ff-body);
  font-size: 0.87rem;
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-form button {
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500));
  border: none;
  color: #fff;
  padding: 0.75rem 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover { opacity: 0.9; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.2rem 0;
  text-align: center;
}

.footer-bottom p { font-size: 0.82rem; margin: 0; color: rgba(255,255,255,0.45); }
.footer-bottom strong { color: var(--pink-400); }

/* =============================================================
   BACK TO TOP
   ============================================================= */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500));
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(236,72,153,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  opacity: 0; pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover { transform: translateY(-4px); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 991.98px) {
  .hero-content { padding: 100px 0 40px; }
  .hero-visual { padding: 20px 0 60px; }
  .hero-image-wrapper { width: 300px; }
  .hero-card-badge-1 { left: 0; }
  .hero-card-badge-2 { right: 0; }

  .carousel-control-prev.carousel-btn { left: 0; }
  .carousel-control-next.carousel-btn { right: 0; }

  .about-content { padding-top: 1rem; }
}

@media (max-width: 767.98px) {
  .hero-title { font-size: 2.5rem; }
  .script-title { font-size: 3rem; }
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.5rem; }

  .hero-btns { display: flex; flex-wrap: wrap; gap: 0.8rem; }
  .hero-btns .btn-primary-custom,
  .hero-btns .btn-outline-custom { width: 100%; justify-content: center; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-card-badge-1, .hero-card-badge-2 { display: none; }

  .carousel-btn { display: none !important; }
}

@media (max-width: 575.98px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .section-title { font-size: 1.8rem; }
}

/* =============================================================
MOBILE OPTIMIZATION (Max 767px)
============================================================= */
@media (max-width: 767.98px) {
    /* Navbar Mobile */
    #mainNavbar {
        padding: 0.7rem 0;
    }
    
    #mainNavbar .container {
        padding: 0 15px;
    }
    
    .navbar-collapse {
        background: #fff;
        border-radius: 16px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 10px 40px rgba(236,72,153,0.15);
    }
    
    .navbar-nav .nav-link {
        padding: 0.8rem 1rem !important;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(236,72,153,0.1);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .btn-booking {
        width: 100%;
        margin-top: 1rem;
        justify-content: center;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-content {
        padding: 60px 0 40px !important;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }
    
    .script-title {
        font-size: 2.8rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hero-btns .btn-primary-custom,
    .hero-btns .btn-outline-custom {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat-num {
        font-size: 1.4rem !important;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .stat-divider {
        height: 30px;
    }
    
    .hero-visual {
        padding: 40px 0 20px;
    }
    
    .hero-image-wrapper {
        width: 280px;
        margin: 0 auto;
    }
    
    .hero-card-main {
        padding: 1.5rem;
    }
    
    .hero-card-badge-1,
    .hero-card-badge-2 {
        display: none;
    }
    
    .hero-wave svg {
        height: 50px;
    }
    
    /* Section Padding */
    .section-about,
    .section-layanan,
    .section-galeri,
    .section-kontak {
        padding: 40px 0 !important;
    }
    
    .container.py-5 {
        padding: 2rem 15px !important;
    }
    
    /* Section Headers */
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .section-desc {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    /* About Section */
    .about-image-grid {
        margin-bottom: 2rem;
    }
    
    .about-img-main {
        width: 240px;
        padding: 1rem;
    }
    
    .about-content {
        padding-top: 0 !important;
    }
    
    .about-lead {
        font-size: 1rem;
        padding-left: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }
    
    .feature-item h5 {
        font-size: 0.95rem;
    }
    
    .feature-item p {
        font-size: 0.85rem;
    }
    
    /* Service Cards */
    .service-card-header {
        padding: 1.5rem;
    }
    
    .service-icon-wrap {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .service-card-body {
        padding: 1.2rem;
    }
    
    .service-card-body h4 {
        font-size: 1.1rem;
    }
    
    .service-card-body p {
        font-size: 0.85rem;
    }
    
    /* Gallery */
    .gallery-filter {
        gap: 0.4rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .gallery-item {
        border-radius: 12px;
    }
    
    .carousel-btn {
        display: none !important;
    }
    
    /* Contact Cards */
    .contact-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .contact-card h5 {
        font-size: 0.95rem;
    }
    
    .contact-card p {
        font-size: 0.85rem;
    }
    
    /* Footer */
    .footer-top {
        padding: 3rem 0 2rem;
    }
    
    .footer-logo span {
        font-size: 1.4rem;
    }
    
    .footer-brand p {
        font-size: 0.85rem;
        max-width: 100%;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-heading {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        border-radius: 16px;
    }
    
    .newsletter-form input {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }
    
    .newsletter-form button {
        width: 100%;
        padding: 0.8rem;
        border-radius: 0 0 16px 16px;
    }
    
    /* Back to Top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Floating Petals - Reduce on Mobile */
    .petal {
        display: none;
    }
    
    /* Blobs - Reduce Size */
    .blob-1 {
        width: 300px;
        height: 300px;
    }
    
    .blob-2 {
        width: 250px;
        height: 250px;
    }
    
    .booking-blob.b1 {
        width: 250px;
        height: 250px;
    }
    
    .booking-blob.b2 {
        width: 200px;
        height: 200px;
    }
}

/* =============================================================
SMALL MOBILE (Max 575px)
============================================================= */
@media (max-width: 575.98px) {
    /* Hero */
    .hero-title {
        font-size: 1.9rem !important;
    }
    
    .script-title {
        font-size: 2.4rem !important;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
    
    .hero-image-wrapper {
        width: 240px;
    }
    
    .nail-illustration {
        max-width: 220px;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.6rem !important;
    }
    
    .section-tag {
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }
    
    /* Booking */
    .booking-card {
        padding: 1.5rem 1rem !important;
    }
    
    /* Footer */
    .col-lg-4,
    .col-lg-2,
    .col-6 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .footer-brand,
    .footer-links,
    .newsletter-form {
        text-align: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
}

/* =============================================================
TOUCH OPTIMIZATION
============================================================= */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn-primary-custom,
    .btn-outline-custom,
    .btn-booking,
    .btn-booking-submit,
    .btn-service,
    .filter-btn {
        min-height: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .service-card:hover,
    .contact-card:hover,
    .feature-item:hover,
    .gallery-item:hover {
        transform: none;
    }
    
    /* Active states instead */
    .service-card:active,
    .contact-card:active,
    .feature-item:active {
        transform: scale(0.98);
    }
}

/* =============================================================
SAFE AREA FOR NOTCH DEVICES
============================================================= */
@supports (padding: max(0px)) {
    body {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
    
    .navbar-collapse {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    .back-to-top {
        right: max(20px, env(safe-area-inset-right));
        bottom: max(20px, env(safe-area-inset-bottom));
    }
}