/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.7;
  background: #fff;
}
a { color: #7f54b3; text-decoration: none; transition: color .2s; }
a:hover { color: #5a3a80; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Top Bar ===== */
.top-bar {
  background: #2d1b4e;
  color: #ccc;
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: #ddd; }
.top-bar a:hover { color: #fff; }
.top-bar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.top-bar-hours { opacity: .85; }

/* ===== Header / Nav ===== */
.site-header {
  background: #fff;
  border-bottom: 2px solid #7f54b3;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.logo img { height: 50px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  color: #333;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background .2s, color .2s;
  font-size: 15px;
}
.main-nav a:hover, .main-nav a.active {
  background: #7f54b3;
  color: #fff;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #7f54b3;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #4a2d6e 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(127,84,179,.15) 0%, transparent 60%);
  animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5%, 5%); }
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,.3);
}
.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: .9;
}
.hero-img {
  max-width: 500px;
  margin: 30px auto 0;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  transition: all .3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: #7f54b3;
  color: #fff;
}
.btn-primary:hover {
  background: #6a3f9e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(127,84,179,.4);
}
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  margin-left: 12px;
}
.btn-outline:hover {
  background: #fff;
  color: #2d1b4e;
}

/* ===== Sections ===== */
section { padding: 70px 0; }
section:nth-child(even) { background: #f9f7fc; }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2rem;
  color: #2d1b4e;
  margin-bottom: 10px;
}
.section-title p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #7f54b3;
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-text h3 {
  color: #2d1b4e;
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.about-text p { margin-bottom: 15px; color: #555; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
.stat-card {
  background: #f3eef8;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}
.stat-card .number {
  font-size: 2rem;
  font-weight: 700;
  color: #7f54b3;
}
.stat-card .label {
  font-size: .85rem;
  color: #666;
  margin-top: 4px;
}

/* ===== Features / Services ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s;
  border: 1px solid #eee;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(127,84,179,.15);
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
.feature-card h3 {
  color: #2d1b4e;
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.feature-card p { color: #666; font-size: .95rem; }

/* ===== Gemstones Catalog ===== */
.gems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}
.gem-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,.07);
  transition: transform .3s;
  border: 1px solid #eee;
}
.gem-card:hover { transform: translateY(-4px); }
.gem-card-header {
  background: linear-gradient(135deg, #2d1b4e, #7f54b3);
  color: #fff;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 1.05rem;
}
.gem-card-body { padding: 18px 20px; }
.gem-card-body p { color: #555; font-size: .9rem; margin-bottom: 8px; }
.gem-tag {
  display: inline-block;
  background: #f3eef8;
  color: #7f54b3;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .8rem;
  margin: 3px 4px 3px 0;
}

/* ===== Mining Section ===== */
.mining-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.mining-group h3 {
  color: #2d1b4e;
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #7f54b3;
}
.mining-item {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}
.mining-item h4 { color: #444; margin-bottom: 5px; }
.mining-item p { color: #777; font-size: .9rem; }

/* ===== Education / Mohs Scale ===== */
.mohs-scale {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
}
.mohs-item {
  text-align: center;
  padding: 18px 8px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f3eef8, #e8dff2);
  transition: transform .3s;
}
.mohs-item:hover { transform: scale(1.08); }
.mohs-item .rank {
  font-size: 1.6rem;
  font-weight: 700;
  color: #7f54b3;
}
.mohs-item .name {
  font-size: .7rem;
  color: #555;
  margin-top: 5px;
  line-height: 1.2;
}

/* ===== Products Grid ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  transition: transform .3s, box-shadow .3s;
  border: 1px solid #eee;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(127,84,179,.15);
}
.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.product-info {
  padding: 20px;
  text-align: center;
}
.product-info h3 {
  color: #2d1b4e;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.product-info .btn {
  padding: 10px 24px;
  font-size: 14px;
}

/* ===== Vision / Mission ===== */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.vm-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border-left: 4px solid #7f54b3;
}
.vm-card h3 {
  color: #2d1b4e;
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.vm-card p { color: #555; }

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  margin-bottom: 20px;
  border: 1px solid #eee;
}
.contact-info-card h3 {
  color: #2d1b4e;
  margin-bottom: 15px;
  font-size: 1.2rem;
}
.contact-info-card p { color: #555; margin-bottom: 10px; }
.contact-info-card a { font-weight: 600; }
.contact-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-whatsapp:hover { background: #1fb855; color: #fff; }
.btn-viber {
  background: #7360f2;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-viber:hover { background: #5a48d4; color: #fff; }
.contact-form {
  background: #fff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border: 1px solid #eee;
}
.contact-form h3 {
  color: #2d1b4e;
  margin-bottom: 20px;
  font-size: 1.3rem;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #444;
  font-size: .9rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #7f54b3;
  box-shadow: 0 0 0 3px rgba(127,84,179,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.map-container {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* ===== Footer ===== */
.site-footer {
  background: #1a0a2e;
  color: #ccc;
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-section h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 1.1rem;
}
.footer-section p {
  font-size: .9rem;
  line-height: 1.8;
}
.footer-section ul li { margin-bottom: 8px; }
.footer-section a { color: #bbb; font-size: .9rem; }
.footer-section a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: .85rem;
  opacity: .7;
}

/* ===== Content Image Galleries ===== */
.content-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.content-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,.1);
  transition: transform .3s;
}
.content-images img:hover { transform: scale(1.03); }
.content-images.two-col { grid-template-columns: 1fr 1fr; }
.content-images.three-col { grid-template-columns: 1fr 1fr 1fr; }

.content-block { margin-bottom: 50px; }
.content-block h3 {
  color: #2d1b4e;
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.content-block p { color: #555; margin-bottom: 15px; }

.mining-item img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 10px;
}

.section-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  margin: 20px 0;
}

.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  margin: 30px 0;
}
.edu-grid img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,.1);
}

.specimen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin: 25px 0;
}
.specimen-card {
  text-align: center;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,.07);
  border: 1px solid #eee;
}
.specimen-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.specimen-card p {
  padding: 10px;
  font-size: .85rem;
  color: #555;
  font-weight: 600;
}

@media (max-width: 768px) {
  .content-images.two-col, .content-images.three-col { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
}

/* ===== Languages Badge ===== */
.lang-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.lang-badge {
  background: rgba(127,84,179,.2);
  color: #c9b3e8;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .8rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
    border-top: 1px solid #eee;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; text-align: center; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 50px 0; }
  .about-grid, .mining-methods, .vm-grid, .contact-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .mohs-scale { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-outline { margin-left: 0; margin-top: 10px; }
  .header-inner { position: relative; }
}
@media (max-width: 480px) {
  .mohs-scale { grid-template-columns: repeat(5, 1fr); }
  .hero h1 { font-size: 1.6rem; }
  section { padding: 50px 0; }
}
