/* ===== Atelier Studios — Styles ===== */

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

body {
  font-family: "Inter", sans-serif;
  color: #2a2a2a;
  background: #FAFAFA;
  overflow-x: hidden;
  line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; width: 100%;
  background: rgba(250,250,250,0.95);
  backdrop-filter: blur(12px);
  z-index: 100;
  padding: 14px 0;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
nav .inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.brand { text-decoration: none; color: #1a1a1a; }
.brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem; font-weight: 600;
  letter-spacing: -0.5px;
}
.nav-toggle {
  display: none; background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: #1a1a1a;
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
}
.nav-links a {
  text-decoration: none; color: #555;
  font-weight: 500; font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: #1a1a1a; }

/* ===== HERO ===== */
.hero {
  min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
}
.hero-content { max-width: 720px; }
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem; font-weight: 700;
  line-height: 1.15; margin-bottom: 20px;
  letter-spacing: -1px;
}
.accent { color: #e2b04a; }
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,0.8);
  margin-bottom: 36px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: #e2b04a; color: #1a1a1a;
}
.btn-primary:hover { background: #d4a03a; transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover { border-color: #fff; }
.btn-ghost {
  background: transparent; color: #555;
  border: 2px solid #ddd;
}
.btn-ghost:hover { border-color: #999; color: #1a1a1a; }
.btn-next { width: 100%; margin-top: 24px; }
.btn-submit {
  width: 100%; margin-top: 16px;
  background: #e2b04a; color: #1a1a1a;
  font-size: 1.05rem; padding: 16px;
}
.btn-submit:hover { background: #d4a03a; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: #f2f0ed; }
.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem; text-align: center;
  margin-bottom: 12px; color: #1a1a1a;
}
.section-sub {
  text-align: center; color: #666;
  font-size: 1.05rem; margin-bottom: 48px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ===== GALLERY GRID ===== */
.filter-bar {
  display: flex; gap: 10px; justify-content: center;
  margin-bottom: 36px; flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px; border-radius: 24px;
  border: 2px solid #ddd; background: #fff;
  font-weight: 500; cursor: pointer;
  font-size: 0.85rem; transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: #1a1a1a; color: #fff; border-color: #1a1a1a;
}
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.art-card {
  border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  cursor: pointer; transition: all 0.3s;
}
.art-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.art-card img {
  width: 100%; height: 280px; object-fit: cover;
  display: block;
}
.art-card-body { padding: 16px; }
.art-card-body h3 { font-size: 1rem; margin-bottom: 4px; }
.art-card-body .art-price {
  color: #e2b04a; font-weight: 700; font-size: 0.95rem;
}
.art-card-body .art-category {
  font-size: 0.75rem; color: #999; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 4px;
}
/* Placeholder for catalog art */
.art-placeholder {
  width: 100%; height: 280px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; background: linear-gradient(135deg, #e8e4e0, #d4cfc9);
}

/* ===== STYLE CARDS (Custom Art Showcase) ===== */
.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px; margin-bottom: 36px;
}
.style-card {
  text-align: center; cursor: pointer;
  padding: 20px; border-radius: 12px;
  transition: all 0.2s; border: 2px solid transparent;
}
.style-card:hover { border-color: #e2b04a; transform: translateY(-2px); }
.style-preview {
  width: 100%; height: 100px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.style-icon { font-size: 2rem; }
.style-card h3 { font-size: 0.95rem; margin-bottom: 4px; }
.style-card p { font-size: 0.8rem; color: #888; }
.custom-cta { text-align: center; }

/* ===== HOW IT WORKS ===== */
.steps-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  text-align: center; padding: 32px 20px;
  border-radius: 12px; background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: #1a1a2e; color: #e2b04a;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: #666; }

/* ===== PRICING ===== */
.pricing-tabs {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 36px;
}
.pricing-tab {
  padding: 10px 28px; border-radius: 24px;
  border: 2px solid #ddd; background: #fff;
  font-weight: 600; cursor: pointer;
  transition: all 0.2s;
}
.pricing-tab.active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  padding: 36px 28px; border-radius: 12px;
  background: #fff; border: 2px solid #eee;
  text-align: center; position: relative;
  transition: all 0.2s;
}
.price-card:hover { border-color: #ddd; transform: translateY(-2px); }
.price-card.featured { border-color: #e2b04a; }
.featured-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #e2b04a; color: #1a1a1a;
  padding: 4px 16px; border-radius: 12px;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.price-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.price-range { margin-bottom: 20px; color: #666; }
.price { font-size: 2rem; font-weight: 800; color: #1a1a1a; }
.price-card ul { list-style: none; text-align: left; }
.price-card li {
  padding: 8px 0; border-bottom: 1px solid #f5f5f5;
  font-size: 0.9rem; color: #555;
  padding-left: 24px; position: relative;
}
.price-card li::before {
  content: "\2713"; position: absolute; left: 0;
  color: #e2b04a; font-weight: 700;
}

/* ===== ORDER BUILDER ===== */
.order-builder {
  max-width: 680px; margin: 0 auto;
  background: #fff; border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.progress-bar {
  width: 100%; height: 6px; background: #eee;
  border-radius: 3px; margin-bottom: 32px; overflow: hidden;
}
.progress-fill {
  height: 100%; background: #e2b04a;
  border-radius: 3px; transition: width 0.3s ease;
}
.step-content h3 {
  font-size: 1.2rem; margin-bottom: 20px; color: #1a1a1a;
}

/* Order Type Cards */
.order-type-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.order-type-card {
  padding: 28px 20px; border-radius: 12px;
  border: 2px solid #eee; text-align: center;
  cursor: pointer; transition: all 0.2s;
}
.order-type-card:hover { border-color: #ccc; }
.order-type-card.selected { border-color: #e2b04a; background: #fdf8ed; }
.order-type-icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.order-type-card h4 { margin-bottom: 4px; }
.order-type-card p { font-size: 0.85rem; color: #888; }

/* Catalog Select Grid */
.catalog-select-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px; margin-top: 12px;
}
.catalog-mini-card {
  border-radius: 8px; overflow: hidden;
  border: 2px solid #eee; cursor: pointer;
  transition: all 0.2s;
}
.catalog-mini-card:hover { border-color: #ccc; }
.catalog-mini-card.selected { border-color: #e2b04a; }
.catalog-mini-card img, .catalog-mini-placeholder {
  width: 100%; height: 120px; object-fit: cover; display: block;
}
.catalog-mini-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8e4e0, #d4cfc9);
  font-size: 1.5rem;
}
.catalog-mini-card p {
  padding: 8px; font-size: 0.75rem; font-weight: 600;
  text-align: center;
}

/* Upload Zone */
.upload-zone {
  border: 2px dashed #ddd; border-radius: 12px;
  padding: 40px 20px; text-align: center;
  cursor: pointer; transition: all 0.2s;
  margin-top: 8px;
}
.upload-zone:hover { border-color: #e2b04a; background: #fdf8ed; }
.upload-zone.has-file { border-color: #4caf50; border-style: solid; background: #f1f8e9; }
.upload-icon { font-size: 2.5rem; margin-bottom: 8px; }
.upload-hint { font-size: 0.8rem; color: #999; margin-top: 4px; }

/* Style Select */
.style-select-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-top: 8px;
}
.style-select-card {
  display: flex; align-items: center; gap: 8px;
  padding: 12px; border-radius: 8px;
  border: 2px solid #eee; cursor: pointer;
  transition: all 0.2s; font-size: 0.85rem;
}
.style-select-card:hover { border-color: #ccc; }
.style-select-card.selected { border-color: #e2b04a; background: #fdf8ed; }
.style-dot { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; }

/* Preview */
.preview-area { margin-top: 24px; }
.preview-container {
  width: 100%; min-height: 200px; border-radius: 12px;
  background: #f5f5f5; display: flex; align-items: center; justify-content: center;
  overflow: hidden; margin-bottom: 12px;
}
.preview-image { width: 100%; display: block; border-radius: 12px; }
.preview-loading { text-align: center; padding: 40px; }
.spinner {
  width: 40px; height: 40px; border: 4px solid #eee;
  border-top-color: #e2b04a; border-radius: 50%;
  animation: spin 0.8s linear infinite; margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Material Cards */
.material-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.material-card {
  padding: 20px 16px; border-radius: 10px;
  border: 2px solid #eee; text-align: center;
  cursor: pointer; transition: all 0.2s;
}
.material-card:hover { border-color: #ccc; }
.material-card.selected { border-color: #e2b04a; background: #fdf8ed; }
.material-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.material-card p { font-size: 0.8rem; color: #888; }

/* Size Grid */
.size-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px; margin-top: 20px;
}
.size-card {
  padding: 16px; border-radius: 8px;
  border: 2px solid #eee; text-align: center;
  cursor: pointer; transition: all 0.2s;
}
.size-card:hover { border-color: #ccc; }
.size-card.selected { border-color: #e2b04a; background: #fdf8ed; }
.size-card .size-label { font-weight: 700; font-size: 1rem; }
.size-card .size-price { color: #e2b04a; font-weight: 600; font-size: 0.9rem; margin-top: 4px; }

/* Form */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 600; margin-bottom: 6px;
  font-size: 0.9rem; color: #333;
}
.form-group input {
  width: 100%; padding: 12px 16px; border: 2px solid #eee;
  border-radius: 8px; font-size: 0.95rem;
  font-family: inherit; transition: border-color 0.2s;
}
.form-group input:focus { outline: none; border-color: #e2b04a; }
.shipping-note {
  font-size: 0.85rem; color: #888;
  background: #f9f9f9; padding: 12px 16px;
  border-radius: 8px; margin-top: 8px;
}

/* Step Navigation */
.step-nav {
  display: flex; gap: 12px; margin-top: 24px;
}
.step-nav .btn-ghost { flex: 0 0 auto; }
.step-nav .btn-primary { flex: 1; }

/* Review List */
.review-list { list-style: none; margin-bottom: 20px; }
.review-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #f0f0f0;
}
.review-check {
  color: #e2b04a; font-weight: 700; flex-shrink: 0;
}
.review-label {
  font-weight: 600; color: #333; min-width: 100px;
  font-size: 0.9rem;
}
.review-value { color: #666; font-size: 0.9rem; }
.order-total {
  display: flex; justify-content: space-between;
  align-items: center; padding: 16px 0;
  border-top: 2px solid #1a1a1a; font-size: 1.1rem;
  font-weight: 700;
}
.total-price { font-size: 1.4rem; color: #e2b04a; }

/* Success */
.success-state { text-align: center; padding: 40px 0; }
.success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: #e2b04a; color: #1a1a1a;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700;
  margin: 0 auto 20px;
}
.success-state h3 { font-size: 1.5rem; margin-bottom: 12px; }
.success-state p { color: #666; margin-bottom: 8px; }
.success-detail { font-size: 0.9rem; margin-bottom: 24px; }

/* ===== FAQ ===== */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #ddd; cursor: pointer;
  padding: 20px 0;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 1rem;
}
.faq-arrow { font-size: 0.7rem; color: #999; transition: transform 0.3s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #666; font-size: 0.9rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding-top: 12px; }

/* ===== FOOTER ===== */
footer {
  background: #1a1a2e; color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}
.footer-content {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 32px;
  margin-bottom: 32px;
}
.footer-brand .brand-name {
  color: #fff; display: block; margin-bottom: 8px;
}
.footer-brand p { font-size: 0.9rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  text-decoration: none; color: rgba(255,255,255,0.6);
  font-size: 0.9rem; transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-contact a { color: #e2b04a; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px; text-align: center;
  font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute;
    top: 100%; left: 0; width: 100%;
    background: #FAFAFA; padding: 16px 24px;
    flex-direction: column; gap: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }

  .hero h1 { font-size: 2.4rem; }
  .hero-sub { font-size: 1rem; }

  .steps-row { grid-template-columns: 1fr; gap: 16px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .art-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .style-grid { grid-template-columns: repeat(2, 1fr); }

  .order-builder { padding: 28px 20px; }
  .order-type-cards { grid-template-columns: 1fr; }
  .material-cards { grid-template-columns: 1fr; }
  .style-select-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-content { flex-direction: column; gap: 24px; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .catalog-select-grid { grid-template-columns: repeat(2, 1fr); }
}
