/* Premium Luxury Jewelry Website - GoodFaith */
/* Modern Professional Design - HD Quality */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

/* CSS Custom Properties (Variables) for Easy Color Management */
:root {
  /* Primary Brand Colors */
  --primary-color: #86262b;
  --primary-light: #a03237;
  --primary-dark: #6b1e22;
  
  /* Secondary/Accent Colors */
  --secondary-color: #86262b;
  --secondary-light: #a03237;
  --secondary-dark: #6b1e22;
  
  /* Neutral Colors */
  --white: #ffffff;
  --black: #000000;
  --gray-50: #fafafa;
  --gray-100: #f8f9fa;
  --gray-200: #f3f4f6;
  --gray-300: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #1a1a1a;
  
  /* Text Colors */
  --text-primary: #1a1a1a;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f3f4f6;
  
  /* Status Colors */
  --success: #2ed573;
  --warning: #ffc107;
  --error: #ef4444;
  --info: #17a2b8;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --gradient-bg: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, var(--gray-100) 100%);
  --gradient-card: linear-gradient(135deg, var(--white), var(--gray-100));
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 8px 25px rgba(134, 38, 43, 0.3);
  --shadow-secondary: 0 8px 25px rgba(217, 153, 70, 0.3);
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 50px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Instrument Sans', sans-serif !important;
  letter-spacing: 0.75px !important;
}

*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Instrument Sans', sans-serif !important;
  background: var(--gradient-bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Premium Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.5em;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

p, span, a {
  font-weight: 400;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Luxury Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes goldShine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}



/* Premium Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  background: white;
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  min-height: 80px;
}

.navbar:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 10px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.logo{
  display: flex;
  max-width: 200px;
  min-width: 200px;
  align-items: center;
  justify-content: center;
}

.logo img{
  height: 100%;
  width: 200px;
}

.quote-button{
  min-width: 200px;
  display: flex;
  align-items: center;
  justify-content: end;
  max-width: 200px;
}


.navbar nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.navbar nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.75px;
  position: relative;
  padding: 10px 15px;
  border-radius: 15px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  overflow: hidden;
}

.navbar nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, #90c52d, transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.navbar nav a::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #90c52d;
  transform: rotateY(90deg);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.navbar nav a:hover::before {
  left: 100%;
}

.navbar nav a:hover {
  color: #90c52d;
  transform: rotateX(10deg);
    font-weight: 900 !important;
}

.navbar nav a.active {
  color: #90c52d;
  font-weight: 900;
}

.cart-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cart-info a {
  position: relative;
  padding: 0.75rem;
  background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-info a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(217, 153, 70, 0.3);
}

#cart-count {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background: linear-gradient(135deg, var(--error), #dc2626);
  color: var(--white);
  border-radius: 50%;
  width: 1.375rem;
  height: 1.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  border: 2px solid var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  
}

/* Premium Hero Section */
.hero {
  display: flex;
  height: calc(100vh - 105px);
  background: var(--white);
  flex-direction: column;
  position: relative;
  overflow: hidden;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23d89946" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}
.section1{
  width: 100%;
  height: 100%;
  display: flex;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5rem;
  z-index: 2;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-text h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  background: var(--black);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 32rem;
  line-height: 1.7;
}

.hero-text button {
  padding: 1.125rem 2.5rem;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  width: fit-content;
}

.hero-text button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.hero-text button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.hero-text button:hover::before {
  left: 100%;
}

.hero-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  z-index: 2;
}

.hero-image img {
  max-width: 90%;
  height: auto;
  border-radius: 1.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

}

.hero-image img:hover {
  box-shadow: var(--shadow-primary);
}

/* Slider Dots */
.slider-dots {
  text-align: center;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 8px;
  background-color: #90c52d;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #90c52d;
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.dot.active::before,
.dot:hover::before {
  width: 100%;
  height: 100%;
}

.dot.active,
.dot:hover {
  background-color: var(--primary-color);
  transform: scale(1.3);
}

/* Premium Category Section */
.category-section {
  text-align: center;
  padding: 6.25rem 2.5rem;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 50%, var(--gray-200) 100%);
  position: relative;
}

.category-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.category-section h2 {
  font-size: 50px;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.category-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 3px;
  background: #90c52d;
  transform: translateX(-50%);
  border-radius: 2px;
}

.view-all {
  color: var(--secondary-color);
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 3.75rem;
  display: inline-block;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.view-all::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.view-all:hover {
  color: var(--black);
  transform: translateY(-2px);
}

.view-all:hover::after {
  transform: translateX(5px);
}

.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 2.5rem;
  max-width: 75rem;
  margin: 0 auto;
}

.category {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.category::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(134, 38, 43, 0.08), transparent);
  transition: left 0.6s ease;
}

.category:hover {
  transform: translateY(-0.5rem);
  border-color: rgba(134, 38, 43, 0.55);
}

.category:hover::before {
  left: 100%;
}

.category img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin-bottom: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-md);
  background: var(--gradient-card);
}


.category h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category:hover h3 {
  color: var(--primary-color);
}

.category p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Premium Shop Section */
.shop {
  padding: 5rem 3.75rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 50%, var(--gray-200) 100%);
  min-height: 100vh;
}

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.125rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.filter-btn {
  background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
  color: var(--white);
  border: none;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: var(--radius-xl);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(217, 153, 70, 0.3);
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sort-options label {
  font-weight: 500;
  color: var(--black);
}

.sort-options select {
  padding: 12px 20px;
  border: 2px solid rgba(217, 153, 70, 0.3);
  border-radius: 25px;
  font-size: 14px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: all 0.3s ease;
}

.sort-options select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(217, 153, 70, 0.2);
}

#searchBar {
  padding: 0.75rem 1.5rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  background: var(--white);
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 15.625rem;
}

#searchBar:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(217, 153, 70, 0.1);
}

#resetFiltersBtn {
  padding: 12px 25px;
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

#resetFiltersBtn:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Premium Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(217, 153, 70, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 20px 25px rgba(217, 153, 70, 0.15);
  border-color: rgba(217, 153, 70, 0.3);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.product-card img {
  width: 100%;
  height: 15.625rem;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover img {
  transform: scale(1.02);
}

.product-card .category {
  font-size: 0.75rem;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.product-card .price {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.product-card .price del {
  color: var(--gray-400);
  margin-right: 0.75rem;
  font-weight: 400;
}

.product-card .price strong {
  color: var(--secondary-color);
  font-size: 1.125rem;
}

.sale-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gradient-secondary);
  color: var(--white);
  font-size: 12px;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 3;
  box-shadow: var(--shadow-secondary);
}

.button-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 0 2rem 2rem;
  position: relative;
  z-index: 2;
}

.buy-now-btn,
.add-to-cart-btn {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.buy-now-btn {
  background: var(--gradient-secondary);
  color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(217, 153, 70, 0.2);
}

.buy-now-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(217, 153, 70, 0.3);
}

.add-to-cart-btn {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--gray-300);
}

.add-to-cart-btn:hover {
  background: var(--text-primary);
  color: var(--white);
  border-color: var(--text-primary);
  transform: translateY(-1px);
}

.no-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--gray-100), #e8e8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999999;
  font-size: 16px;
  border-radius: 15px;
  margin-bottom: 20px;
  font-style: italic;
}

/* Premium About Section */
.about {
  /* background: linear-gradient(135deg, #ffffff 0%, #f9fafb 50%, #f3f4f6 100%); */
  /* padding: 6.25rem 3.75rem; */
  text-align: center;
  position: relative;
}

.section-heading h2 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 3.75rem;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
  transform: translateX(-50%);
  border-radius: 2px;
}

.metal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 3.125rem;
  max-width: 75rem;
  margin: 0 auto;
}

.metal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.metal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(217, 153, 70, 0.1), transparent);
  transition: left 0.6s ease;
}

.metal-card:hover {
  transform: translateY(-0.75rem);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 20px 25px rgba(217, 153, 70, 0.15);
  border-color: rgba(217, 153, 70, 0.3);
}

.metal-card:hover::before {
  left: 100%;
}

.metal-card img {
  width: 100%;
  height: 17.5rem;
  object-fit: cover;
  border-radius: 1.25rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.metal-card:hover img {
  transform: scale(1.02);
}

.metal-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.metal-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .navbar {
    padding: 0 2.5rem;
  }
  
  .hero-text {
    padding: 0 3rem;
  }
  
  .category-section {
    padding: 5rem 2rem;
  }
  
  .shop {
    padding: 4rem 2.5rem;
  }
  
  .categories {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 2rem;
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 1024px) {
  .navbar {
    padding: 0 2rem;
  }
  
  .navbar nav {
    gap: 2rem;
  }
  
  .hero {
    height: auto;
    min-height: 70vh;
  }
  
  .section1 {
    flex-direction: column;
    padding: 2rem 0;
  }
  
  .hero-text {
    padding: 0 2rem;
    text-align: center;
    order: 2;
  }
  
  .hero-image {
    order: 1;
    padding: 1.5rem 2rem;
  }
  
  .hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
  }
  
  .hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .category-section {
    padding: 4rem 2rem;
  }
  
  .category-section h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }
  
  .categories {
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  }
  
  .shop {
    padding: 4rem 2rem;
  }
  
  .shop-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  
  .sort-options {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  }
  
  .metal-cards {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1.25rem 1.5rem;
    flex-wrap: wrap;
    min-height: 70px;
  }
  
  .navbar nav {
    gap: 1.5rem;
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 1.25rem;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .section1 {
    padding: 1.5rem 0;
  }
  
  .hero-text {
    padding: 0 1.5rem;
  }
  
  .hero-text h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1.5rem;
  }
  
  .hero-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-text button {
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }
  
  .hero-image {
    padding: 1rem 1.5rem;
  }
  
  .category-section {
    padding: 3.75rem 1.5rem;
  }
  
  .category-section h2 {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    margin-bottom: 1rem;
  }
  
  .categories {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1.5rem;
  }
  
  .category {
    padding: 2rem 1.5rem;
  }
  
  .category img {
    width: 6rem;
    height: 6rem;
    margin-bottom: 1rem;
  }
  
  .shop {
    padding: 3.75rem 1.5rem;
  }
  
  .shop-header {
    margin-bottom: 2.5rem;
  }
  
  .filter-btn {
    padding: 0.75rem 1.5rem;
    font-size: 12px;
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.5rem;
  }
  
  .product-card {
    border-radius: 1rem;
  }
  
  .product-card a {
    padding: 1.5rem;
  }
  
  .product-card img {
    height: 12rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .button-row {
    padding: 0 1.5rem 1.5rem;
    gap: 0.5rem;
  }
  
  .buy-now-btn,
  .add-to-cart-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .metal-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .metal-card {
    padding: 2rem 1.5rem;
  }
  
  .metal-card img {
    height: 15rem;
  }
  
  #searchBar {
    min-width: 100%;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .sort-options select {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  #resetFiltersBtn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  .hero-text h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  
  .categories {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  }
  
  .shop-header {
    gap: 1rem;
  }
  
  .sort-options {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .sort-options label {
    text-align: center;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 1rem 1rem;
    min-height: 60px;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .navbar nav {
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .navbar nav a {
    font-size: 0.875rem;
  }
  
  .hero {
    min-height: 50vh;
  }
  
  .section1 {
    padding: 1rem 0;
  }
  
  .hero-text {
    padding: 0 1rem;
  }
  
  .hero-text h1 {
    font-size: clamp(1.5rem, 8vw, 2.25rem);
    margin-bottom: 1rem;
  }
  
  .hero-text p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }
  
  .hero-text button {
    padding: 0.875rem 1.75rem;
    font-size: 0.85rem;
  }
  
  .hero-image {
    padding: 0.75rem 1rem;
  }
  
  .category-section {
    padding: 2.5rem 1rem;
  }
  
  .category-section h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  
  .categories {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .category {
    padding: 1.75rem 1.25rem;
  }
  
  .category img {
    width: 5rem;
    height: 5rem;
  }
  
  .category h3 {
    font-size: 1rem;
  }
  
  .shop {
    padding: 2.5rem 1rem;
  }
  
  .shop-header {
    margin-bottom: 2rem;
  }
  
  .filter-btn {
    padding: 0.6rem 1.25rem;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .product-card a {
    padding: 1.25rem;
  }
  
  .product-card img {
    height: 10rem;
  }
  
  .product-card h4 {
    font-size: 1rem;
  }
  
  .product-card .price {
    font-size: 0.9rem;
  }
  
  .button-row {
    padding: 0 1.25rem 1.25rem;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .buy-now-btn,
  .add-to-cart-btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  
  .metal-card {
    padding: 1.75rem 1.25rem;
  }
  
  .metal-card img {
    height: 12rem;
  }
  
  .metal-card h3 {
    font-size: 1.25rem;
  }
  
  .metal-card p {
    font-size: 0.9rem;
  }
  
  #searchBar {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  
  .sort-options select {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
  
  #resetFiltersBtn {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  .navbar {
    padding: 0.75rem 0.75rem;
  }
  
  .hero-text {
    padding: 0 0.75rem;
  }
  
  .hero-text h1 {
    font-size: clamp(1.25rem, 8vw, 1.875rem);
  }
  
  .hero-text p {
    font-size: 0.85rem;
  }
  
  .hero-text button {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }
  
  .category-section {
    padding: 2rem 0.75rem;
  }
  
  .category {
    padding: 1.5rem 1rem;
  }
  
  .category img {
    width: 4.5rem;
    height: 4.5rem;
  }
  
  .shop {
    padding: 2rem 0.75rem;
  }
  
  .product-card a {
    padding: 1rem;
  }
  
  .product-card img {
    height: 9rem;
  }
  
  .button-row {
    padding: 0 1rem 1rem;
  }
  
  .metal-card {
    padding: 1.5rem 1rem;
  }
  
  .metal-card img {
    height: 10rem;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 80vh;
  }
  
  .section1 {
    flex-direction: row;
    align-items: center;
  }
  
  .hero-text {
    order: 1;
    text-align: left;
    flex: 1;
  }
  
  .hero-image {
    order: 2;
    flex: 1;
  }
  
  .categories {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .product-card img,
  .category img,
  .metal-card img,
  .hero-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Premium Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading::before {
  content: '';
  width: 50px;
  height: 50px;
  border: 3px solid rgba(217, 153, 70, 0.3);
  border-top: 3px solid var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection Styling */
::selection {
  background: rgba(217, 153, 70, 0.3);
  color: var(--black);
}

::-moz-selection {
  background: rgba(217, 153, 70, 0.3);
  color: var(--black);
}