/**
 * pages.css — Specialized styling for Hero, Detail pages, Blog & Portfolio
 */

/* 1. Hero Styling */
.lb-hero {
  position: relative;
  background: linear-gradient(145deg, var(--c-mint-100) 0%, var(--c-cream) 100%);
  padding-top: 48px;
  padding-bottom: 72px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .lb-hero {
    padding-top: 64px;
    padding-bottom: 96px;
  }
}

.lb-hero-bg-moon {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 320px;
  height: 320px;
  opacity: 0.12;
  color: var(--c-primary);
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 992px) {
  .lb-hero-bg-moon {
    width: 520px;
    height: 520px;
    right: 2%;
    top: -20px;
  }
}

.lb-hero-content {
  position: relative;
  z-index: 2;
}

/* Arch / Dome Framed Visual */
.lb-hero-arch-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.lb-hero-arch {
  width: 100%;
  border-radius: var(--r-arch);
  border: 4px solid var(--c-white);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  background: var(--c-mint-200);
  aspect-ratio: 4 / 5;
  position: relative;
}

.lb-hero-arch img,
.lb-hero-arch svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-hero-float-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--c-white);
  padding: 12px 18px;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--c-mint-200);
  z-index: 3;
}

@media (max-width: 575.98px) {
  .lb-hero-float-badge {
    left: 10px;
    bottom: 10px;
  }
}

/* Star Twinkle */
@keyframes lbTwinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.lb-twinkle-star {
  position: absolute;
  animation: lbTwinkle 4s ease-in-out infinite;
  color: var(--c-gold);
  pointer-events: none;
}

/* Trust Bar */
.lb-trust-bar {
  background: var(--c-white);
  border-top: 1px solid var(--c-mint-200);
  border-bottom: 1px solid var(--c-mint-200);
  padding: 24px 0;
}

.lb-trust-stat {
  text-align: center;
  padding: 12px;
}

.lb-trust-stat-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.1;
}

.lb-trust-stat-label {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* 2. Portfolio Filter */
.lb-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}

.lb-filter-btn {
  padding: 8px 20px;
  border-radius: var(--r-pill);
  background: var(--c-white);
  border: 1.5px solid var(--c-mint-200);
  color: var(--c-ink);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
}

.lb-filter-btn:hover,
.lb-filter-btn.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* 3. Blog Layout */
.lb-blog-container {
  max-width: 780px;
  margin: 0 auto;
}

.lb-article-header {
  margin-bottom: 32px;
}

.lb-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--c-cream);
  border: 1px solid var(--c-mint-200);
  border-radius: var(--r-md);
  margin-bottom: 32px;
}

.lb-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--c-primary);
  background: var(--c-mint-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-toc {
  background: var(--c-white);
  border: 1px solid var(--c-mint-200);
  border-radius: var(--r-md);
  padding: 24px;
  margin-bottom: 36px;
}

.lb-toc h4 {
  font-size: 1.1rem;
  color: var(--c-primary-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lb-toc ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.lb-toc li {
  margin-bottom: 8px;
}

.lb-toc a {
  color: var(--c-ink);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--t-fast);
}

.lb-toc a:hover {
  color: var(--c-primary);
  text-decoration: underline;
}

/* Article Content */
.lb-article-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--c-ink);
}

.lb-article-body h2 {
  margin-top: 48px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-mint-200);
}

.lb-article-body h3 {
  margin-top: 32px;
  margin-bottom: 14px;
}

.lb-article-body ul,
.lb-article-body ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.lb-article-body li {
  margin-bottom: 8px;
}

.lb-article-cta-box {
  background: linear-gradient(135deg, var(--c-mint-100), var(--c-cream));
  border: 2px solid var(--c-mint-200);
  border-radius: var(--r-lg);
  padding: 32px;
  text-align: center;
  margin: 48px 0;
}

/* 4. Package Detail Pages */
.lb-package-gallery {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  margin-bottom: 24px;
  background: var(--c-white);
  border: 1px solid var(--c-mint-200);
}

.lb-package-gallery-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.lb-pricing-tier-card {
  background: var(--c-white);
  border: 1px solid var(--c-mint-200);
  border-radius: var(--r-md);
  padding: 16px;
  text-align: center;
  transition: transform var(--t-fast);
}

.lb-pricing-tier-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-primary);
}

.lb-tier-qty {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.lb-tier-price {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-primary);
  margin: 6px 0;
}

/* Sticky Mobile WA Bar on Product Detail */
.lb-sticky-wa-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--c-mint-200);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1010;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

@media (min-width: 992px) {
  .lb-sticky-wa-bar {
    display: none;
  }
}
