/* Diamond Sparkle — Perhiasan Pernikahan Premium */
/* Palet: Gold (#d4af37), Silver (#e8e8e8), Blush Pink (#f5e5e0), Dark (#2c2c2c) */

:root {
  --primary-gold: #d4af37;
  --accent-gold: #e8c54f;
  --light-gold: #f4e4c1;
  --silver: #e8e8e8;
  --silver-dark: #c0c0c0;
  --blush: #f5e5e0;
  --blush-dark: #e8d5cd;
  --dark: #2c2c2c;
  --text: #444;
  --border: #e8e8e8;
  --bg-light: #faf8f6;
  --white: #fff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* DEMO BAR */
.demo-bar {
  background: var(--primary-gold);
  color: var(--dark);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.demo-bar div {
  display: flex;
  gap: 12px;
}

.demo-bar a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.demo-bar a:hover {
  opacity: 0.7;
}

/* HEADER & NAV */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-gold);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 14px;
}

.nav-menu a:hover {
  color: var(--primary-gold);
}

/* Mobile Menu Checkbox Hack */
.nav-toggle {
  display: none;
}

.nav-label {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--dark);
}

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

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

  .nav-toggle:checked ~ .nav-menu {
    max-height: 300px;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--border);
  }

  .nav-menu a {
    display: block;
    padding: 16px 20px;
  }
}

/* MAIN CONTENT */
main {
  max-width: 1200px;
  margin: 0 auto;
}

/* SECTIONS */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: var(--dark);
  text-align: center;
}

.section h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--dark);
}

.section h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--dark);
}

.bg-light {
  background: var(--bg-light);
}

/* PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, #fef5f7 0%, #fff5e7 100%);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 40px;
  color: var(--dark);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 18px;
  color: var(--text);
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #fef5f7 0%, #fff5e7 100%);
  padding: 80px 20px;
  text-align: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
  color: var(--dark);
  margin-bottom: 16px;
  font-weight: 700;
}

.hero p {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 32px;
  max-width: 600px;
}

@media (max-width: 768px) {
  .hero {
    min-height: 50vh;
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary-gold);
  color: var(--dark);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
  font-size: 14px;
  border: 2px solid var(--primary-gold);
}

.btn:hover {
  background: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary-gold);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--accent-gold);
}

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-gold);
  border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
  background: var(--blush);
}

/* GRIDS */
.grid {
  display: grid;
  gap: 32px;
  margin-top: 32px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* CARDS */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 8px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.card p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

.card-feature .card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: var(--primary-gold);
}

.card-feature .card-icon svg {
  width: 100%;
  height: 100%;
}

/* FEATURE BOX */
.feature-box {
  background: var(--bg-light);
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-gold);
}

.feature-box h4 {
  margin-bottom: 12px;
}

/* COLLECTION BOX */
.collection-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.collection-box:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.collection-header {
  padding: 40px 24px;
  color: var(--dark);
  text-align: center;
  position: relative;
}

.collection-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

.collection-header h3 {
  margin: 8px 0 0;
  font-size: 22px;
}

.collection-box > p {
  padding: 20px 24px;
  color: var(--text);
  font-size: 14px;
}

.link-arrow {
  display: inline-block;
  padding: 0 24px 20px;
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s;
}

.link-arrow:hover {
  color: var(--accent-gold);
}

/* TESTIMONY */
.testimonial {
  background: var(--bg-light);
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-gold);
  font-style: italic;
  color: var(--text);
  font-size: 14px;
}

.testimonial strong {
  display: block;
  margin-top: 12px;
  font-style: normal;
  color: var(--dark);
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, #fef5f7 0%, #fff5e7 100%);
  text-align: center;
  padding: 60px 20px;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 32px;
}

/* TEXT UTILITIES */
.text-center {
  text-align: center;
}

.mb-32 {
  margin-bottom: 32px;
}

/* CATALOG & PRODUCT */
.category-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: 24px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  font-size: 14px;
}

.filter-btn:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

.filter-btn.active {
  background: var(--primary-gold);
  color: var(--dark);
  border-color: var(--primary-gold);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.product-image {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fef5f7, #fff5e7);
}

.product-placeholder {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-placeholder svg {
  width: 100%;
  height: 100%;
  color: var(--primary-gold);
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary-gold);
  color: var(--dark);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-card h4 {
  padding: 16px 16px 8px;
  margin: 0;
  font-size: 16px;
}

.product-desc {
  padding: 0 16px 8px;
  font-size: 13px;
  color: var(--text);
}

.product-price {
  padding: 0 16px 16px;
  font-weight: 700;
  color: var(--primary-gold);
  font-size: 15px;
}

.product-card .btn {
  width: 100%;
  border-radius: 0;
  margin-top: 16px;
  padding: 12px;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-placeholder {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fef5f7, #fff5e7);
}

.gallery-item h4 {
  padding: 16px 12px 8px;
  margin: 0;
  font-size: 14px;
}

.gallery-item p {
  padding: 0 12px 12px;
  font-size: 12px;
  color: var(--text);
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.testimonial-item {
  background: var(--white);
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  border-left: 4px solid var(--primary-gold);
}

.testimonial-item p {
  font-size: 14px;
  font-style: italic;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.6;
}

.testimonial-item strong {
  display: block;
  color: var(--dark);
  font-style: normal;
  margin-bottom: 4px;
}

.testimonial-item span {
  font-size: 12px;
  color: var(--primary-gold);
}

/* SKILL CARDS */
.skill-card {
  background: var(--white);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: center;
}

.skill-card h4 {
  margin-bottom: 12px;
  font-size: 16px;
}

.skill-card p {
  font-size: 13px;
  color: var(--text);
}

/* TEAM CARDS */
.team-card {
  background: var(--bg-light);
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border);
}

.team-avatar {
  width: 60px;
  height: 60px;
  background: var(--primary-gold);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.team-card h4 {
  margin-bottom: 8px;
}

.team-card p {
  font-size: 13px;
  color: var(--text);
}

/* INFO BOX */
.info-box {
  background: var(--white);
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  border-left: 4px solid var(--primary-gold);
}

.info-box h3 {
  margin-bottom: 16px;
  color: var(--dark);
}

.info-box p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* PROCESS STEPS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.step {
  background: var(--bg-light);
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-gold);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 12px;
}

.step h4 {
  margin-bottom: 8px;
  font-size: 14px;
}

.step p {
  font-size: 12px;
  color: var(--text);
}

/* CONTACT */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.contact-info h2,
.contact-form h2 {
  font-size: 24px;
  margin-bottom: 28px;
  color: var(--dark);
}

.contact-block {
  margin-bottom: 28px;
}

.contact-block h4 {
  margin-bottom: 8px;
  color: var(--dark);
}

.contact-block p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.contact-block a {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 600;
}

.contact-block a:hover {
  text-decoration: underline;
}

/* FORM */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
  resize: vertical;
  font-family: inherit;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.form-group.checkbox input {
  width: auto;
  margin: 0;
}

.form-group.checkbox label {
  margin: 0;
  font-weight: 400;
}

.form-note {
  font-size: 12px;
  color: #999;
  margin-top: 12px;
}

/* MAP PLACEHOLDER */
.map-placeholder {
  background: var(--bg-light);
  border-radius: 8px;
  overflow: hidden;
  max-width: 100%;
}

/* FAQ */
.faq-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
}

.faq-item summary {
  padding: 20px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary:hover {
  background: var(--bg-light);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
  background: var(--blush);
}

.faq-item p {
  padding: 20px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* CONTENT BLOCK */
.content-block {
  background: var(--bg-light);
  padding: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.content-block p {
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
}

.content-block p:last-child {
  margin-bottom: 0;
}

/* FOOTER */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 20px 20px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h4 {
  margin-bottom: 16px;
  color: var(--primary-gold);
  font-size: 16px;
}

.footer-section p {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-section a:hover {
  opacity: 1;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 12px;
  opacity: 0.6;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .section {
    padding: 48px 20px;
  }

  .section h2 {
    font-size: 28px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    gap: 16px;
  }

  .section {
    padding: 40px 16px;
  }

  .section h2 {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

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

  .testimonials-section {
    grid-template-columns: 1fr;
  }

  .footer-content {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .demo-bar {
    font-size: 12px;
    flex-direction: column;
    gap: 8px;
  }

  .demo-bar div {
    width: 100%;
    justify-content: space-between;
  }

  nav {
    padding: 12px 16px;
  }

  .logo {
    font-size: 18px;
  }

  .section {
    padding: 32px 16px;
  }

  .section h2 {
    font-size: 20px;
  }

  .hero {
    min-height: 40vh;
    padding: 40px 16px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .page-header h1 {
    font-size: 24px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .contact-container {
    gap: 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
