/* ============ ROOT / RESET ============ */
:root {
  --pink: #f6b8d8;
  --pink-soft: #fde6f1;
  --pink-deep: #e87fb8;
  --pink-darker: #d45fa0;
  --cream: #fffaf6;
  --black: #201c1e;
  --gray: #6f6468;
  --gold: #d4af7a;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(212, 95, 160, 0.15);
  --shadow-lg: 0 20px 50px rgba(212, 95, 160, 0.22);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--black);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

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

ul { list-style: none; }

.script {
  font-family: 'Dancing Script', cursive;
  color: var(--pink-darker);
  font-weight: 700;
}

.section-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pink-darker);
  margin-bottom: 10px;
}

.eyebrow.center { display: block; text-align: center; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

h1, h2, h3, h4, h5 { font-weight: 600; line-height: 1.25; }

h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }

.section-sub {
  max-width: 560px;
  color: var(--gray);
  margin-bottom: 48px;
}

section { position: relative; padding: 110px 0; }

/* ============ PRELOADER ============ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--pink-soft);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader img {
  width: 110px; height: 110px; border-radius: 50%;
  animation: pulse 1.1s ease-in-out infinite;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
@keyframes pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink-deep), var(--pink-darker));
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-3px);
}
.btn-block { width: 100%; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 250, 246, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
  height: 68px;
}
.nav-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.15rem; color: var(--black);
}
.nav-logo img {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover;
  transition: var(--transition);
}
.navbar.scrolled .nav-logo img { width: 38px; height: 38px; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 0.95rem; font-weight: 500; color: var(--black);
  position: relative; padding: 6px 0;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--pink-darker);
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--pink-darker); }

.nav-cta {
  display: flex; align-items: center; gap: 8px;
  background: var(--black); color: var(--white) !important;
  padding: 10px 22px; border-radius: 50px; font-size: 0.9rem; font-weight: 600;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--pink-darker); transform: translateY(-2px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  width: 26px; height: 2.5px; background: var(--black); border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, var(--pink-soft) 0%, var(--cream) 100%);
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-blobs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--pink), transparent 70%);
  opacity: 0.55; filter: blur(5px);
  animation: float 9s ease-in-out infinite;
}
.blob-1 { width: 320px; height: 320px; top: -60px; left: -80px; }
.blob-2 { width: 260px; height: 260px; bottom: -40px; right: -60px; animation-delay: -3s; }
.blob-3 { width: 180px; height: 180px; top: 40%; right: 8%; animation-delay: -6s; opacity: 0.4; }

.hero-icon {
  position: absolute; color: var(--pink-deep); opacity: 0.35;
  animation: floatY 6s ease-in-out infinite;
}
.icon-1 { top: 18%; left: 10%; font-size: 2.2rem; }
.icon-2 { bottom: 16%; left: 16%; font-size: 1.8rem; animation-delay: -1.5s; }
.icon-3 { top: 22%; right: 12%; font-size: 1.6rem; animation-delay: -3s; color: var(--pink-darker); }
.icon-4 { bottom: 22%; right: 18%; font-size: 1.4rem; animation-delay: -4.5s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}

.hero-content { position: relative; z-index: 1; max-width: 740px; padding: 0 24px; }
.hero-logo {
  width: 130px; height: 130px; border-radius: 50%;
  margin: 0 auto 28px; box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 20px; }
.hero-sub { color: var(--gray); font-size: 1.05rem; max-width: 520px; margin: 0 auto 36px; }
.hero-buttons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.scroll-down {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--pink-deep); color: var(--pink-darker);
  animation: bounce 2s infinite; z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center;
}
.about-image { position: relative; }
.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; object-fit: cover;
  width: 100%;
}
.about-image-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--white); border-radius: 16px;
  padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
  max-width: 220px; font-size: 0.82rem; font-weight: 600;
}
.about-image-badge i { color: var(--pink-darker); font-size: 1.4rem; }

.about-features { display: grid; gap: 20px; margin: 32px 0; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-item i {
  width: 46px; height: 46px; min-width: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pink-soft); color: var(--pink-darker);
  border-radius: 14px; font-size: 1.2rem;
}
.feature-item h4 { font-size: 1rem; margin-bottom: 2px; }
.feature-item p { color: var(--gray); font-size: 0.9rem; }

/* ============ GALLERY ============ */
.gallery { background: var(--white); }
.gallery-filters {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px;
}
.filter-btn {
  padding: 10px 24px; border-radius: 50px; border: 2px solid var(--pink-soft);
  background: var(--white); color: var(--black); font-weight: 500; font-size: 0.9rem;
  cursor: pointer; transition: var(--transition);
}
.filter-btn:hover { border-color: var(--pink-deep); }
.filter-btn.active { background: var(--pink-darker); border-color: var(--pink-darker); color: var(--white); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.gallery-item {
  position: relative; border-radius: 16px; overflow: hidden; cursor: pointer;
  aspect-ratio: 1/1; box-shadow: var(--shadow);
  transition: transform 0.4s ease;
}
.gallery-item.hide { display: none; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.12); }
.gallery-item:hover { transform: translateY(-6px); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(32,28,30,0.85) 0%, rgba(32,28,30,0.1) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; opacity: 0; transition: opacity 0.4s ease;
  color: var(--white);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { font-size: 1rem; }
.gallery-overlay p { font-size: 0.8rem; opacity: 0.85; }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(20, 16, 17, 0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 82vw; max-height: 78vh; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.92); transition: transform 0.35s ease;
}
.lightbox.open img { transform: scale(1); }
.lightbox-caption {
  position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%);
  color: var(--white); text-align: center; font-weight: 500;
}
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(255,255,255,0.12); color: var(--white);
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lightbox-close { top: 28px; right: 28px; width: 46px; height: 46px; font-size: 1.1rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.2rem; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--pink-darker); }

/* ============ TESTIMONIALS ============ */
.testimonials { background: var(--pink-soft); }
.testimonial-slider { position: relative; max-width: 720px; margin: 0 auto; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card {
  min-width: 100%; background: var(--white); border-radius: var(--radius);
  padding: 44px; text-align: center; box-shadow: var(--shadow);
}
.stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 16px; letter-spacing: 3px; }
.testimonial-card p { font-size: 1.05rem; font-style: italic; color: var(--black); margin-bottom: 26px; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--pink-soft);
  display: flex; align-items: center; justify-content: center; color: var(--pink-darker);
}
.testimonial-author h5 { font-size: 0.95rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--gray); }

.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--pink);
  cursor: pointer; transition: var(--transition); border: none;
}
.dot.active { background: var(--pink-darker); width: 28px; border-radius: 6px; }

/* ============ CONTACT ============ */
.contact { background: var(--white); padding-bottom: 0; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start;
  padding-bottom: 100px;
}
.contact-text p { color: var(--gray); margin-bottom: 28px; max-width: 420px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--pink-soft); border-radius: 14px;
  font-weight: 500; transition: var(--transition);
}
.contact-item i { color: var(--pink-darker); font-size: 1.2rem; width: 20px; }
.contact-item:hover { background: var(--pink); transform: translateX(6px); }

.contact-form {
  background: var(--cream); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 2px solid #f0e0ea;
  font-family: inherit; font-size: 0.92rem; background: var(--white);
  transition: var(--transition); resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--pink-deep);
}
.form-note { font-size: 0.78rem; color: var(--gray); text-align: center; margin-top: 12px; }

/* ============ FOOTER ============ */
.footer { background: var(--black); color: var(--white); padding: 36px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer .nav-logo { color: var(--white); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.footer-socials a:hover { background: var(--pink-darker); transform: translateY(-3px); }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--pink-darker); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--black); }

/* ============ SCROLL REVEAL ============ */
.reveal-up, .reveal-left, .reveal-right, .reveal-pop {
  opacity: 0; transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-pop { transform: scale(0.8); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible, .reveal-pop.visible {
  opacity: 1; transform: translate(0, 0) scale(1);
}

/* stagger children slightly */
.about-features .feature-item { transition-delay: calc(var(--i, 0) * 0.08s); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image { max-width: 420px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  section { padding: 80px 0; }
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(78vw, 320px);
    background: var(--cream); flex-direction: column; justify-content: center;
    gap: 30px; transition: right 0.4s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-top: 10px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .hero-logo { width: 100px; height: 100px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
