:root {
  --bg-main: #f4f5f7;
  --header-bg: #111827;
  --card-bg: #ffffff;
  --accent-gold: #c5a059;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
}

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

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
}

body { 
  font-family: Inter, Arial, sans-serif; 
  background-color: var(--bg-main); 
  color: var(--text-dark); 
  line-height: 1.6;
}

h1, h2, h3, .section-title, .stone-title, .app-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

header {
  background-color: var(--header-bg);
  color: white;
  padding: 15px 5%;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 15px auto;
}

.logo { 
  font-family: Georgia, serif;
  font-size: 1.5rem; 
  font-weight: bold; 
  color: var(--accent-gold); 
  text-decoration: none; 
  letter-spacing: 1px;
}

.search-box {
  display: flex;
  background: white;
  border-radius: 25px;
  padding: 5px 15px;
  width: 100%;
  max-width: 500px;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  padding: 8px;
  font-size: 0.95rem;
  font-family: Inter, Arial, sans-serif;
}

.main-nav {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-top: 1px solid #374151;
  padding-top: 12px;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
}

.main-nav a { color: #d1d5db; text-decoration: none; white-space: nowrap; }
.main-nav a:hover { color: var(--accent-gold); }

.container { max-width: 1200px; margin: 30px auto; padding: 0 20px; }

.banner-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  border: 1px solid #e5e7eb;
  height: 400px;
}

.slide { 
  display: none; 
  height: 100%; 
}

.slide.active { 
  display: block; 
}

.slide img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
  border-radius: 20px; 
}
.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  background: rgba(0,0,0,0.3);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--accent-gold);
  width: 24px;
  border-radius: 10px;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.materials-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.material-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  min-width: 90px;
  text-decoration: none;
  color: inherit;
}

.circle-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
  border: 3px solid white;
  transition: transform 0.3s ease;
  background-color: #eee;
}

.material-item:hover .circle-img { transform: scale(1.08); }
.material-name { margin-top: 10px; font-weight: 600; font-size: 0.95rem; text-align: center; }

.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.app-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: transform 0.3s ease;
  border: 1px solid #f0f0f0;
}

.app-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.app-title { font-size: 1.2rem; }
.app-link { font-size: 0.85rem; color: var(--accent-gold); margin-top: 5px; font-weight: 600; }
.app-icon { width: 90px; height: 90px; object-fit: contain; flex-shrink: 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
}

.stone-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
}

.stone-card:hover { transform: translateY(-5px); }
.stone-img { width: 100%; height: 200px; object-fit: cover; background: #eee; }
.stone-info { padding: 15px; display: flex; flex-direction: column; flex-grow: 1; }
.stone-cat { font-size: 0.75rem; color: var(--accent-gold); font-weight: bold; text-transform: uppercase; letter-spacing: 0.05em; }
.stone-title { font-size: 1.2rem; margin: 5px 0; }
.stone-sub { font-size: 0.85rem; color: var(--text-gray); margin-bottom: 10px; }
.stone-badges { display: flex; gap: 4px; flex-wrap: wrap; margin-top: auto; }
.stone-badge { font-size: 0.7rem; background: #f1f5f9; color: #475569; padding: 2px 6px; border-radius: 4px; font-weight: 600; }