/* ═══════════════════════════════════════
   CHOTHY Website — Shared Styles
   All pages include this file.
   ═══════════════════════════════════════ */

/* ═══ Reset & Base ═══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #222;
  background: #fff;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ═══ Nav ═══ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.3s;
}
nav.scrolled {
  background: #000;
}
.nav-logo { height: 36px; width: 36px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-active { color: #e75387 !important; opacity: 1 !important; }
.nav-cta {
  background: #e75387 !important;
  padding: 8px 20px !important;
  border-radius: 20px !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}
.nav-mobile-cta {
  display: none;
  background: #e75387;
  color: #fff;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: 0.3s; }

@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #000;
    padding: 20px;
    gap: 16px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-mobile-cta { display: inline-block; }
}

/* ═══ Page Banner (sub-pages) ═══ */
.page-banner {
  background: linear-gradient(135deg, #e75387 0%, #C03092 100%);
  padding: 100px 40px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.page-banner h1 { font-size: 32px; font-weight: 900; position: relative; }
.page-banner p { font-size: 16px; opacity: 0.8; margin-top: 8px; position: relative; }

/* ═══ Buttons ═══ */
.btn {
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn:hover { transform: scale(1.05); }
.btn-primary { background: #e75387; color: #fff; }
.btn-secondary { background: rgba(255,255,255,0.15); color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-white { background: #fff; color: #e75387; font-weight: 800; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid #fff; }

/* ═══ CTA Section ═══ */
.cta-section {
  background: linear-gradient(135deg, #e75387 0%, #C03092 100%);
  text-align: center;
  padding: 80px 40px;
}
.cta-section h2 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  margin-bottom: 16px;
  color: #fff;
}
.cta-section p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
  color: #fff;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══ Footer ═══ */
footer {
  background: #f7f7f7;
  padding: 40px;
  text-align: center;
  border-top: 1px solid #eee;
}
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: #666; transition: color 0.2s; }
.footer-links a:hover { color: #e75387; }
.footer-social { display: flex; gap: 16px; justify-content: center; margin-bottom: 16px; }
.footer-social a { color: #666; transition: color 0.2s; }
.footer-social a:hover { color: #e75387; }
.footer-copy { font-size: 13px; color: #bbb; }

/* ═══ Store Badges ═══ */
.store-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: stretch; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; border-radius: 12px;
  padding: 12px 20px; transition: transform 0.2s, opacity 0.2s;
  text-decoration: none; min-width: 175px;
}
.store-badge:hover { transform: scale(1.05); opacity: 0.9; }
.store-badge svg { flex-shrink: 0; width: 28px; height: 28px; }
.store-badge-text { text-align: left; line-height: 1.2; }
.store-badge-text small { font-size: 11px; opacity: 0.7; display: block; font-weight: 400; }
.store-badge-text span { font-size: 16px; font-weight: 700; white-space: nowrap; }

/* ═══ Scroll Animations ═══ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ Related Articles (Blog) ═══ */
.related-articles { margin-top: 40px; }
.related-articles h2 {
  font-size: 18px; font-weight: 800; color: #333;
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.related-card {
  background: #fff; border: 1px solid #eee; border-radius: 12px;
  padding: 16px; text-decoration: none; color: inherit;
  transition: transform 0.2s, border-color 0.2s; display: block;
}
.related-card:hover { transform: translateY(-2px); border-color: #e75387; }
.related-tag {
  display: inline-block; background: #fdf5fa; color: #e75387;
  font-size: 11px; font-weight: 700; padding: 2px 8px;
  border-radius: 8px; margin-bottom: 8px;
}
.related-card h3 {
  font-size: 14px; font-weight: 700; color: #333; line-height: 1.4;
}
@media (max-width: 700px) {
  .related-grid { grid-template-columns: 1fr; }
}
