/* ===================================
   LINLIN CRYSTAL - Main Stylesheet
   =================================== */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===================================
   Header Styles
   =================================== */

.header {
  background-color: #5a5a5a;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
}

.logo a {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #d4af37;
}

.logo img {
  height: 50px;
  width: auto;
}

/* Navigation Menu */
.navbar {
  flex: 1;
  display: flex;
  justify-content: center;
}

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

.nav-menu a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.nav-menu a:hover {
  border-bottom-color: #d4af37;
  color: #d4af37;
}

/* Header Right Section */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-selector {
  position: relative;
}

.lang-btn {
  background-color: transparent;
  color: #fff;
  padding: 8px 12px;
  border: 1px solid #d4af37;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
  background-color: #d4af37;
  color: #333;
}

.header-icons {
  display: flex;
  gap: 15px;
}

.icon-link {
  color: #fff;
  font-size: 18px;
  position: relative;
  transition: color 0.3s ease;
}

.icon-link:hover {
  color: #d4af37;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #d4af37;
  color: #333;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  background-color: #4a4a4a;
  padding: 20px;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  padding: 10px 0;
  border-bottom: 1px solid #666;
}

.mobile-menu a {
  color: #fff;
  display: block;
  padding: 8px 0;
}

.mobile-menu a:hover {
  color: #d4af37;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  position: relative;
  height: 600px;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../images/hero-bg.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background-color: #d4af37;
  color: #333;
}

.btn-primary:hover {
  background-color: #e5c158;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: #333;
}

/* ===================================
   Features Section (Why Choose Us)
   =================================== */

.features {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature-card {
  text-align: center;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.feature-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* ===================================
   Products/Categories Section
   =================================== */

.products {
  padding: 80px 20px;
  background-color: #fff;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: scale(1.05);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  transition: background 0.3s ease;
}

.product-card:hover .product-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
}

.product-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.product-description {
  font-size: 14px;
  line-height: 1.5;
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #d4af37;
  color: #333;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.view-all-btn {
  text-align: center;
}

.view-all-btn .btn {
  display: inline-block;
}

/* ===================================
   Footer Styles
   =================================== */

.footer {
  background-color: #333;
  color: #fff;
  padding: 60px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #555;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #d4af37;
}

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

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #ccc;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #d4af37;
}

.footer-column p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
}

.footer-policies {
  margin-bottom: 15px;
  font-size: 12px;
}

.footer-policies a {
  color: #ccc;
  margin: 0 5px;
}

.footer-policies a:hover {
  color: #d4af37;
}

.footer-copyright {
  font-size: 12px;
  color: #999;
}

/* ===================================
   Utility Classes
   =================================== */

.main-content {
  min-height: calc(100vh - 70px - 200px);
}

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

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

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

.mt-40 {
  margin-top: 40px;
}

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

/* ===================================
   Static Page Styles
   (About, Policies, Customization, etc.)
   =================================== */

.static-page {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.static-page .container {
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.static-page h1 {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #d4af37;
  display: inline-block;
}

.static-page h2 {
  font-size: 24px;
  font-weight: 600;
  color: #444;
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 4px solid #d4af37;
  padding-left: 15px;
}

.static-page p,
.static-page li {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

.static-page ul,
.static-page ol {
  margin-left: 20px;
  padding-left: 10px;
}

.static-page ul li,
.static-page ol li {
  margin-bottom: 12px;
}

.static-page a {
  color: #d4af37;
  font-weight: 600;
  border-bottom: 1px dotted #d4af37;
}

.static-page a:hover {
  color: #b89531;
  border-bottom-style: solid;
}

/* FAQ Page Specific Styles */
.faq-item {
  margin-bottom: 30px;
  border-left: 3px solid #eee;
  padding-left: 20px;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-left-color: #d4af37;
}

.faq-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  cursor: pointer;
}

.faq-item p {
  color: #666;
  padding-left: 10px;
  border-left: 1px solid #f0f0f0;
}
