/* ==========================================================================
   NAVEED MUSLIM - LUXURY ISLAMIC ART & CALLIGRAPHY DESIGN SYSTEM
   Theme: Deep Emerald Green (#0B2B22), Gold Metallic (#D4AF37), Obsidian (#070A09)
   ========================================================================== */

:root {
  --bg-primary: #070a09;
  --bg-secondary: #0d1412;
  --bg-card: #131e1b;
  --bg-card-hover: #192924;
  --bg-glass: rgba(11, 43, 34, 0.9);
  
  --color-gold-primary: #d4af37;
  --color-gold-light: #f5e49b;
  --color-gold-dark: #9a781b;
  --color-gold-gradient: linear-gradient(135deg, #f5e49b 0%, #d4af37 50%, #8a6813 100%);
  
  --color-emerald-primary: #0b2b22;
  --color-emerald-light: #185242;
  --color-emerald-accent: #237862;
  
  --text-main: #f4f6f5;
  --text-muted: #9eb0aa;
  --text-gold: #e2c158;
  
  --border-subtle: rgba(212, 175, 55, 0.22);
  --border-glow: rgba(212, 175, 55, 0.5);
  
  --shadow-card: 0 12px 35px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.2);
  
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-arabic: 'Amiri', serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-serif);
  letter-spacing: 0.04em;
}

.gold-text {
  color: var(--color-gold-primary);
}

.gold-gradient-text {
  background: var(--color-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Announcement Top Bar */
.announcement-bar {
  background: linear-gradient(90deg, #051410 0%, #134636 50%, #051410 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 9px 24px;
  font-size: 0.85rem;
  color: var(--color-gold-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.gold-link {
  color: var(--color-gold-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.gold-link:hover {
  color: var(--color-gold-light);
}

/* Main Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo-img {
  height: 60px;
  max-width: 260px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: var(--transition-smooth);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-gold-gradient);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--color-gold-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-box {
  position: relative;
  width: 190px;
}

.search-box input {
  width: 100%;
  padding: 8px 16px 8px 36px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-smooth);
}

.search-box input:focus {
  border-color: var(--color-gold-primary);
  width: 220px;
  box-shadow: var(--shadow-gold);
}

.search-box .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 78vh;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at top right, #185242 0%, #070a09 70%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  padding: 0 8%;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 46%;
  max-width: 580px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 35px rgba(212, 175, 55, 0.25);
  border: 1px solid var(--border-glow);
  object-fit: cover;
}

.hero-content {
  width: 52%;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-subtle);
  color: var(--color-gold-light);
  border-radius: 30px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.btn-group {
  display: flex;
  gap: 16px;
}

.btn-primary {
  padding: 14px 32px;
  background: var(--color-gold-gradient);
  color: #070a09;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.45);
}

.btn-secondary {
  padding: 14px 32px;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--color-gold-primary);
  color: var(--color-gold-light);
  background: rgba(212, 175, 55, 0.08);
}

/* Stats Bar */
.gallery-stats {
  display: flex;
  justify-content: space-around;
  padding: 30px 8%;
  background: var(--bg-secondary);
  border-y: 1px solid var(--border-subtle);
  margin-bottom: 60px;
}

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

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-gold-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.section-subtitle {
  color: var(--color-gold-primary);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.4rem;
  color: var(--text-main);
}

.section-title-line {
  width: 60px;
  height: 2px;
  background: var(--color-gold-gradient);
  margin: 16px auto 0 auto;
}

/* Main Shop & Filter Section */
.shop-container {
  padding: 0 6% 80px 6%;
}

.filter-toolbar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.filter-group-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.filter-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.filter-select {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-select:hover, .filter-select:focus {
  border-color: var(--color-gold-primary);
}

.tag-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-pill {
  padding: 6px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tag-pill:hover, .tag-pill.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--color-gold-primary);
  color: var(--color-gold-light);
}

/* Artworks Grid */
.artworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.artwork-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.artwork-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}

.artwork-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #000;
}

.artwork-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.artwork-card:hover .artwork-image-wrapper img {
  transform: scale(1.06);
}

.artwork-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 10, 9, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--color-gold-light);
  padding: 4px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
}

.card-quick-actions {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 9, 0.65);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.artwork-card:hover .card-quick-actions {
  opacity: 1;
}

.btn-icon-quick {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-icon-quick:hover {
  background: var(--color-gold-gradient);
  color: #000;
  border-color: transparent;
}

.artwork-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.artwork-script {
  font-size: 0.75rem;
  color: var(--color-gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.artwork-title {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 6px;
  font-family: var(--font-serif);
}

.artwork-artist {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* About Artist Section */
.about-artist-section {
  padding: 90px 6%;
  background: var(--bg-secondary);
  border-y: 1px solid var(--border-subtle);
}

.artist-bio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.artist-portrait-wrapper {
  position: relative;
  text-align: center;
}

.artist-portrait-img {
  width: 260px;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-gold-primary);
  box-shadow: var(--shadow-gold);
}

.artist-signature {
  font-family: var(--font-arabic);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-gold-light);
  margin-top: 16px;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.artist-details h3 {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.artist-title-tag {
  color: var(--color-gold-primary);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.artist-paragraph {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.artist-highlights {
  display: flex;
  gap: 30px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.highlight-box strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-gold-light);
}

.highlight-box span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Custom Commission Section */
.commission-section {
  padding: 80px 6%;
  background: radial-gradient(circle at top left, #185242 0%, #070a09 70%);
}

.commission-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--color-gold-primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Quick View Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  width: 90%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.framing-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.framing-option {
  padding: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  font-size: 0.75rem;
  text-align: center;
  cursor: pointer;
}

.framing-option.active {
  border-color: var(--color-gold-primary);
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-gold-light);
}

/* Footer */
.main-footer {
  background: #040605;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 6% 30px 6%;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--color-gold-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

@media (max-width: 992px) {
  .navbar { padding: 14px 20px; }
  .nav-links { display: none; }
  .artist-bio-card { grid-template-columns: 1fr; text-align: center; }
  .artist-portrait-img { width: 220px; height: 260px; margin: 0 auto; }
  .artist-highlights { justify-content: center; }
  .hero-slide { flex-direction: column; text-align: center; justify-content: center; }
  .hero-content, .hero-bg-image { width: 100%; position: relative; right: 0; transform: none; }
  .hero-bg-image { margin-top: 20px; height: 240px; }
  .commission-box { grid-template-columns: 1fr; }
  .modal-container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
