/* Al Mahar Jeweller - Design System */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --gold: #D4AF37; --gold-light: #E8D48B; --gold-dark: #B8960C;
  --black: #0F0F0F; --white: #FFFFFF; --beige: #F8F5F0;
  --rose-gold: #B76E79; --rose-light: #D4A0A7;
  --gray-100: #F7F7F7; --gray-200: #E5E5E5; --gray-300: #D4D4D4;
  --gray-400: #A3A3A3; --gray-500: #737373; --gray-600: #525252;
  --success: #10B981; --danger: #EF4444; --warning: #F59E0B; --info: #3B82F6;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.15);
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--black); background: var(--white); line-height: 1.6; font-size: 15px; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; color: var(--black); }
h1 { font-size: clamp(2rem,4vw,3.2rem); } h2 { font-size: clamp(1.6rem,3vw,2.4rem); }
h3 { font-size: clamp(1.2rem,2vw,1.6rem); } h4 { font-size: 1.2rem; }
a { text-decoration: none; color: var(--gold-dark); transition: var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; font-family: var(--font-body); font-size: 14px; font-weight: 600; border: 2px solid transparent; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); text-transform: uppercase; letter-spacing: 1px; position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.2) 50%, transparent 70%); transform: translateX(-100%); transition: transform .6s; }
.btn:hover::after { transform: translateX(100%); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,175,55,.35); color: var(--white); }
.btn-outline { background: transparent; color: var(--gold-dark); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }
.btn-black { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-black:hover { background: #222; transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--white); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--beige); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-sm { padding: 8px 18px; font-size: 12px; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; }

/* Announcement Bar */
.announcement-bar { background: var(--black); color: var(--white); text-align: center; padding: 8px 20px; font-size: 13px; letter-spacing: .5px; position: relative; z-index: 1001; }
.announcement-bar a { color: var(--gold); font-weight: 600; }

/* Header */
.site-header { background: rgba(255,255,255,.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 1000; transition: var(--transition); }
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-main { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--black); }
.logo span { color: var(--gold); }
.nav-menu { display: flex; list-style: none; gap: 32px; }
.nav-menu a { color: var(--black); font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; position: relative; padding: 4px 0; }
.nav-menu a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--gold); transition: var(--transition); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions a, .header-actions button { color: var(--black); font-size: 20px; position: relative; background: none; border: none; cursor: pointer; transition: var(--transition); }
.header-actions a:hover, .header-actions button:hover { color: var(--gold); }
.cart-badge, .wishlist-badge { position: absolute; top: -6px; right: -8px; background: var(--gold); color: var(--white); font-size: 10px; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* Hero */
.hero-section { position: relative; min-height: 85vh; display: flex; align-items: center; overflow: hidden; background: var(--black); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); padding: 40px 20px; max-width: 800px; margin: 0 auto; }
.hero-content h1 { font-size: clamp(2.4rem,5vw,4rem); margin-bottom: 16px; color: var(--white); }
.hero-content h1 span { color: var(--gold); }
.hero-content p { font-size: clamp(1rem,2vw,1.2rem); margin-bottom: 32px; color: rgba(255,255,255,.8); }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dots span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: var(--transition); }
.hero-dots span.active { background: var(--gold); width: 32px; border-radius: 6px; }

/* Section Styles */
.section { padding: 80px 0; }
.section-beige { background: var(--beige); }
.section-dark { background: var(--black); color: var(--white); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--gray-500); max-width: 600px; margin: 0 auto; }
.section-header .gold-line { width: 60px; height: 3px; background: var(--gold); margin: 16px auto 0; border-radius: 2px; }

/* Product Cards */
.product-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); position: relative; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card .product-image { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--gray-100); }
.product-card .product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.08); }
.product-card .product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.product-card .badge { padding: 4px 10px; font-size: 11px; font-weight: 600; border-radius: 4px; text-transform: uppercase; }
.badge-sale { background: var(--danger); color: var(--white); }
.badge-new { background: var(--gold); color: var(--white); }
.badge-trending { background: var(--rose-gold); color: var(--white); }
.product-card .product-actions { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(10px); transition: var(--transition); z-index: 2; }
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-card .product-actions button { width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: var(--transition); font-size: 16px; }
.product-card .product-actions button:hover { background: var(--gold); color: var(--white); }
.product-card .product-info { padding: 16px; }
.product-card .product-category { font-size: 12px; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.product-card .product-name { font-family: var(--font-heading); font-size: 1rem; margin-bottom: 8px; }
.product-card .product-name a { color: var(--black); }
.product-card .product-name a:hover { color: var(--gold); }
.product-card .product-price { display: flex; align-items: center; gap: 8px; }
.product-card .price-current { font-size: 1.1rem; font-weight: 700; color: var(--black); }
.product-card .price-old { font-size: .9rem; color: var(--gray-400); text-decoration: line-through; }
.product-card .product-rating { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.product-card .product-rating i { color: var(--gold); font-size: 12px; }
.product-card .product-rating span { font-size: 12px; color: var(--gray-500); }
.product-card .add-to-cart-btn { width: 100%; margin-top: 12px; padding: 10px; background: var(--black); color: var(--white); border: none; font-weight: 600; font-size: 13px; cursor: pointer; border-radius: var(--radius-sm); transition: var(--transition); text-transform: uppercase; letter-spacing: .5px; }
.product-card .add-to-cart-btn:hover { background: var(--gold); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Category Cards */
.category-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; cursor: pointer; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-card:hover img { transform: scale(1.1); }
.category-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); display: flex; align-items: flex-end; padding: 24px; }
.category-card .overlay h3 { color: var(--white); font-size: 1.3rem; }
.category-card .overlay p { color: var(--gold); font-size: 13px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Testimonials */
.testimonial-card { background: var(--white); border-radius: var(--radius-md); padding: 30px; box-shadow: var(--shadow-sm); text-align: center; transition: var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-card .stars { color: var(--gold); margin-bottom: 16px; font-size: 18px; }
.testimonial-card p { font-style: italic; color: var(--gray-600); margin-bottom: 16px; line-height: 1.7; }
.testimonial-card .author { font-weight: 600; }
.testimonial-card .role { font-size: 13px; color: var(--gray-400); }

/* Newsletter */
.newsletter-section { background: linear-gradient(135deg, var(--black) 0%, #1a1a2e 100%); padding: 80px 0; text-align: center; }
.newsletter-section h2 { color: var(--white); }
.newsletter-section p { color: var(--gray-400); margin-bottom: 30px; }
.newsletter-form { display: flex; max-width: 500px; margin: 0 auto; gap: 0; }
.newsletter-form input { flex: 1; padding: 14px 20px; border: 2px solid rgba(212,175,55,.3); border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: rgba(255,255,255,.05); color: var(--white); font-size: 14px; outline: none; }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button { padding: 14px 28px; background: var(--gold); color: var(--white); border: 2px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-weight: 600; cursor: pointer; transition: var(--transition); text-transform: uppercase; font-size: 13px; }

/* Footer */
.site-footer { background: var(--black); color: var(--gray-400); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 12px; }
.footer-brand h3 span { color: var(--gold); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: var(--gray-400); transition: var(--transition); }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--gray-400); font-size: 14px; }
.footer-col ul a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 13px; }
.footer-payments { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.footer-payments img { height: 28px; opacity: .6; transition: var(--transition); }
.footer-payments img:hover { opacity: 1; }

/* Breadcrumbs */
.breadcrumb-nav { background: var(--beige); padding: 14px 0; }
.breadcrumb { display: flex; list-style: none; gap: 8px; font-size: 13px; margin: 0; padding: 0; flex-wrap: wrap; }
.breadcrumb-item + .breadcrumb-item::before { content: '/'; color: var(--gray-400); margin-right: 8px; }
.breadcrumb-item a { color: var(--gray-500); }
.breadcrumb-item a:hover { color: var(--gold); }
.breadcrumb-item.active { color: var(--black); font-weight: 500; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--black); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.form-control { width: 100%; padding: 12px 16px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 14px; font-family: var(--font-body); transition: var(--transition); background: var(--white); }
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.15); }
.form-control.error { border-color: var(--danger); }
textarea.form-control { min-height: 120px; resize: vertical; }
.password-toggle { position: relative; }
.password-toggle .toggle-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--gray-400); }

/* Alerts */
.alert { padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 28px; box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: var(--transition); animation: pulse-green 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); box-shadow: 0 6px 24px rgba(37,211,102,.5); }
@keyframes pulse-green { 0%,100% { box-shadow: 0 4px 16px rgba(37,211,102,.4); } 50% { box-shadow: 0 4px 24px rgba(37,211,102,.6); } }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes shimmer { 0% { background-position: -1000px 0; } 100% { background-position: 1000px 0; } }
.animate-fade-up { animation: fadeInUp .6s ease forwards; }
.animate-fade-in { animation: fadeIn .5s ease forwards; }
[data-animate] { opacity: 0; transform: translateY(20px); transition: all .6s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* Glassmorphism */
.glass { background: rgba(255,255,255,.15); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.2); }

/* Quick View Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 2000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.modal-overlay.active { display: flex; }
.modal-content { background: var(--white); border-radius: var(--radius-lg); max-width: 900px; width: 90%; max-height: 90vh; overflow-y: auto; position: relative; animation: fadeInUp .3s ease; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; z-index: 10; color: var(--gray-500); }
.modal-close:hover { color: var(--black); }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--black); color: var(--white); padding: 16px 24px; z-index: 2000; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 14px; transition: var(--transition); color: var(--black); }
.pagination a:hover, .pagination .active { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* Loading Skeleton */
.skeleton { background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%); background-size: 1000px 100%; animation: shimmer 2s infinite; border-radius: var(--radius-sm); }
