/*
Theme Name: Singem Jewelry
Theme URI: https://singemjewelry.com
Author: Singem Jewelry
Description: Luxury Custom Jewelry Website
Version: 6.0
*/

* { margin:0; padding:0; box-sizing:border-box; }
body {
  color:#222;
  background: #F5F7F9
  line-height: 1.7;
  font-family: 'Inter', sans-serif;
}
.container { max-width:1400px; margin:0 auto; padding: 0 20px; }

:root {
  --gold: #4A5F73;
  --gold-dark: #3A4B5C;
  --black: #1a1a1a;
  --gray: #666;
}

.header-center {
  text-align: center;
  padding: 30px 0 10px 0;
}
.logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon { width:32px; height:32px; object-fit:contain; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.8px;
}

.nav-wrap {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 14px 0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 999;
}
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 36px;
}
.nav-links a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--gold); }

.dropdown { position:relative; }
.dropdown-content {
  display:none;
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  background:#fff;
  border:1px solid #eee;
  width:180px;
  padding:10px 0;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
  text-align:center;
}
.dropdown-content a {
  display:block;
  padding:8px 18px;
  font-weight:normal;
}
.dropdown:hover .dropdown-content { display:block; }

.section { padding:70px 0; }
.hero { display:flex; align-items:center; gap:40px; padding:60px 0; }
.hero > div { flex:1; }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size:34px;
  line-height:1.3;
  margin-bottom:12px;
  font-weight:500;
  color: var(--gold);
}
.hero p { font-size:16px; color:var(--gray); }

.quote {
  display:flex; align-items:center; gap:40px; padding:60px 0;
}
.quote .img { flex:3; }
.quote .text { flex:4; }
.quote h2 {
  font-family: 'Playfair Display', serif;
  font-size:24px;
  margin-bottom:16px;
  font-weight:500;
}
.btn {
  display:inline-block;
  padding:12px 26px;
  background:var(--gold);
  color:#fff;
  text-decoration:none;
  border-radius:6px;
  margin-top:10px;
  font-weight:500;
}
.btn:hover { background:var(--gold-dark); }

.about-row {
  display:flex; align-items:center; gap:40px; margin-bottom:50px;
}
.about-row .text { flex:1; }
.about-row .text p {
  color: #555;
  line-height: 1.7;
}
.about-row .img { flex:1; }
.about-row h3 {
  font-family: 'Playfair Display', serif;
  font-size:24px;
  margin-bottom:12px;
  font-weight:500;
  color: var(--gold);
}
.img img { width:100%; border-radius:8px; object-fit:cover; }

form { max-width:600px; margin:30px auto; }
form input, form textarea {
  width:100%; padding:14px; margin-bottom:14px;
  border:1px solid #ddd; border-radius:6px; font-size:15px;
  font-family:inherit;
}
form button {
  padding:14px 30px; background:var(--gold); color:#fff;
  border:none; border-radius:6px; cursor:pointer; font-weight:500;
}

input[type="file"] {
  position: relative;
  font-size: 14px;
  color: transparent;
  cursor: pointer;
}
input[type="file"]::file-selector-button {
  display: none;
}
input[type="file"]::before {
  content: "Choose File";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px 12px;
  pointer-events: none;
}

.footer {
  background:#f9f9f7; padding:50px 0; margin-top:60px;
}
.footer-inner {
  display:grid; grid-template-columns:1.2fr 0.8fr 1fr; gap:30px;
}
.footer h3 {
  margin-bottom:12px; font-size:16px; font-weight:600; color:var(--gold);
}
.footer p { color:var(--gray); font-size:14px; line-height:1.7; }
.footer img { height:40px; margin-top:10px; }

@media (max-width:768px) {
  .nav-links { gap:16px; flex-wrap:wrap; }
  .hero, .quote, .about-row { flex-direction:column; }
  .footer-inner { grid-template-columns:1fr; }
}

.page {
  display:none;
  background: #F9FAFB;;
  border-radius: 16px;
  padding: 30px 0;
  margin: 30px auto 20px auto;
  max-width: 1400px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.page.active { display:block; }

.grid {
  display:grid; grid-template-columns:repeat(5,1fr); gap:10px;
  margin:30px 0;
}
.grid img {
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius:6px;
  cursor: zoom-in;
  transition:0.2s;
}
.grid img:hover { transform:scale(1.03); }
.grid .item { text-align:center; }
.grid .title { margin-top:8px; font-size:14px; font-weight:500; }

.material-table {
  width:100%; border-collapse:collapse; margin:20px 0; font-size:15px;
}
.material-table th, .material-table td {
  border:1px solid #eee; padding:12px; text-align:left;
}
.material-table th {
  background:#f9f9f7; font-weight:600; color:var(--gold);
}

.faq { margin:30px 0; }
.faq p { margin-bottom:10px; font-size:15px; }
.faq strong { color:var(--gold); }

.sample-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}
.sample-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}
.sample-row.reverse { flex-direction: row-reverse; }
.sample-text, .sample-img { flex: 1; }
.sample-img img {
  width:100%; border-radius:8px; object-fit:cover;
  box-shadow:0 4px 12px rgba(0,0,0,0.06);
}
.sample-text h3 {
  font-family: 'Playfair Display', serif;
  font-size:24px; font-weight:500; margin-bottom:16px;
}
.sample-text p { font-size:16px; line-height:1.7; color:#555; }
.sample-text ul { padding-left:20px; line-height:1.8; color:#555; }

.upload-box {
  max-width:700px; margin:60px auto; background:#f8f8f8;
  padding:40px; border-radius:12px; text-align:center;
}
.upload-box h3 {
  font-family: 'Playfair Display', serif;
  font-size:24px; margin-bottom:10px; font-weight:500;
}
.upload-box p { color:#666; margin-bottom:25px; }
.upload-form {
  display:flex; flex-direction:column; gap:14px;
}
.upload-form input,
.upload-form textarea {
  padding:14px; border:1px solid #ddd; border-radius:6px; font-size:15px;
}
.upload-area {
  border:2px dashed #999; padding:25px; border-radius:8px;
}
.upload-btn {
  background:var(--gold); color:#fff; padding:16px;
  border:none; border-radius:6px; font-weight:bold; cursor:pointer;
}

.upload-area input[type="file"]::before {
  content: "Choose Files";
}

@media (max-width:768px) {
  .sample-row, .sample-row.reverse { flex-direction:column; gap:25px; }
}

.lightbox {
  position:fixed;
  top:0; left:0; width:100%; height:100%;
  background:rgba(0,0,0,0.8);
  display:flex; align-items:center; justify-content:center;
  z-index:9999;
  opacity:0; pointer-events:none;
  transition:0.3s;
}
.lightbox.active {
  opacity:1; pointer-events:all;
}
.lightbox-img {
  max-width:90%; max-height:90vh; border-radius:8px;
}
.lightbox-close {
  position:absolute; top:20px; right:30px;
  font-size:30px; color:#fff; cursor:pointer;
}

/* About 页面文字卡片样式 */
.about-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  margin-bottom: 40px;
}
.about-card h2 {
  margin: 0 0 20px 0;
}
.about-card p {
  margin: 0;
}

.about-row .text {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}