/* =============================================
   Prima Jahit & Tailor — style.css
   Fabric Purple: Primary:#7c3aed Accent:#d946ef Bg:#f3e8ff
   ============================================= */

:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #a78bfa;
  --accent: #d946ef;
  --accent-light: #f0abfc;
  --bg: #f3e8ff;
  --bg-white: #faf5ff;
  --text: #4c1d95;
  --text-light: #6b21a8;
  --text-muted: #8b5cf6;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(124,58,237,0.12);
  --shadow-md: 0 4px 24px rgba(124,58,237,0.16);
  --radius: 10px;
  --radius-lg: 18px;
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  padding-top: 40px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── DEMO BAR ── */
.demo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--primary);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  padding: 0 16px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.03em;
}
.demo-bar a { color: var(--accent-light); text-decoration: underline; }
.demo-bar a:hover { color: var(--white); }

/* ── CHECKBOX HACK NAV ── */
#nav-toggle { display: none; }

header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 40px;
  z-index: 1000;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  position: relative;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--primary);
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-menu a {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-menu a:hover {
  color: var(--primary);
  text-decoration: none;
  background: var(--bg);
}
.nav-menu a.active {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  font-weight: 600;
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
  text-decoration: none;
}

/* ── HAMBURGER MENU (MOBILE) ── */
.hamburger-label {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}
.hamburger-label span {
  width: 24px; height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .hamburger-label { display: flex; }

  .nav-menu {
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #nav-toggle:checked ~ header .nav-menu {
    max-height: 300px;
    padding: 16px 0;
  }

  #nav-toggle:checked ~ header .hamburger-label span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  #nav-toggle:checked ~ header .hamburger-label span:nth-child(2) {
    opacity: 0;
  }
  #nav-toggle:checked ~ header .hamburger-label span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .nav-menu a {
    padding: 12px 20px;
    border-radius: 0;
  }
}

/* ── CONTAINER ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--bg);
  text-decoration: none;
}
.btn-outline-white {
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  font-weight: 700;
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  text-decoration: none;
}

/* ── HERO SECTION ── */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}
.hero-icon-wrap {
  display: inline-flex;
  width: 88px;
  height: 88px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero > p {
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 28px;
  line-height: 1.7;
  opacity: 0.95;
}
.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.badge {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .hero-badges { gap: 8px; }
  .badge { font-size: 0.8rem; padding: 6px 12px; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; }
}

/* ── STATS ── */
.stats {
  background: var(--white);
  padding: 40px 20px;
  box-shadow: var(--shadow);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}
.stat-item span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── SECTIONS ── */
.section {
  padding: 60px 20px;
}
.section-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 0 auto 24px;
}
.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 48px 20px;
  text-align: center;
}
.page-header h1 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.page-header p {
  font-size: 1rem;
  opacity: 0.9;
}

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border-top: 3px solid transparent;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--accent);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}
.card-price {
  display: block;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.05rem;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bg);
}

/* ── STEPS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}
.step {
  display: flex;
  gap: 20px;
}
.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
}
.step-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.step-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── TESTIMONIALS ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.testi-card .stars {
  color: #ffc107;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.testi-quote {
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.testi-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.testi-author {
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--bg);
  padding-top: 16px;
}
.testi-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testi-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}
.testi-loc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}
.cta-banner h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cta-banner p {
  font-size: 1.05rem;
  margin-bottom: 28px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── SERVICE DETAIL PAGE ── */
.service-detail {
  max-width: 800px;
  margin: 0 auto 48px;
}
.service-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.service-detail h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.service-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}
.service-content {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.service-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin: 24px 0 12px;
  margin-top: 0;
}
.service-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}
.benefit-list {
  list-style: none;
  padding: 0;
}
.benefit-list li {
  padding: 10px 0;
  color: var(--text-light);
  line-height: 1.6;
  border-bottom: 1px solid var(--bg);
}
.benefit-list li:last-child {
  border-bottom: none;
}
.benefit-list li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
}

/* ── PORTFOLIO GRID ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}
.portfolio-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.portfolio-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  font-weight: 900;
}
.portfolio-content {
  padding: 24px;
}
.portfolio-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.portfolio-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}
.portfolio-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── PRICE PACKAGES ── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.3s;
}
.price-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.price-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.02);
}
.price-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.price-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.price-value {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 8px;
}
.price-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--bg);
}
.price-features {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.price-features li {
  padding: 10px 0;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}
.price-features li::before {
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
}

/* ── CONTACT FORM ── */
.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.contact-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s;
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.contact-card.highlight {
  border: 2px solid var(--accent);
}
.contact-icon {
  width: 64px;
  height: 64px;
  background: var(--bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.contact-card p {
  color: var(--text-light);
  line-height: 1.6;
}
.contact-card p a {
  font-weight: 600;
}

/* ── FORM ── */
.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--text-muted);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}
.form-group.checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  cursor: pointer;
  font-weight: 500;
}
.form-group.checkbox input {
  width: auto;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}

/* ── FOOTER ── */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 48px 20px 24px;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  padding: 6px 0;
}
.footer-col ul a {
  color: var(--accent-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.footer-col ul a:hover {
  color: var(--white);
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom a {
  color: var(--accent-light);
}
.footer-bottom a:hover {
  color: var(--white);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .section { padding: 40px 20px; }
  .section-title { font-size: 1.6rem; }
  .page-header h1 { font-size: 1.8rem; }
  .cta-banner h2 { font-size: 1.6rem; }

  .cards-grid,
  .portfolio-grid,
  .price-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .testi-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { gap: 24px; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .section { padding: 32px 16px; }
  .container { padding: 0 16px; }
  .section-title { font-size: 1.4rem; }
  .page-header h1 { font-size: 1.5rem; }
  .hero h1 { font-size: 1.5rem; }

  .card { padding: 20px; }
  .portfolio-card { padding: 20px; }
  .contact-form { padding: 20px; }

  .hero-badges { gap: 6px; }
  .badge { font-size: 0.75rem; padding: 5px 10px; }

  .btn { padding: 10px 20px; font-size: 0.9rem; width: 100%; }

  .nav-menu a { padding: 10px 16px; }

  .stat-item strong { font-size: 1.8rem; }
  .price-value { font-size: 1.8rem; }
}
