﻿/* ════════════════════════════════════════
   SEZGIN JEWELS — Premium Light Theme
   ════════════════════════════════════════ */
:root {
  --gold:        #B8935A;
  --gold-light:  #D4B483;
  --gold-pale:   #F5ECD8;
  --dark:        #1C1915;
  --dark-2:      #2D2824;
  --text:        #2D2824;
  --text-muted:  #8A7E74;
  --cream:       #FAF8F4;
  --cream-2:     #F2EDE4;
  --white:       #FFFFFF;
  --border:      #E8E0D4;
  --shadow-sm:   0 2px 12px rgba(28,25,21,.07);
  --shadow-md:   0 8px 32px rgba(28,25,21,.10);
  --shadow-lg:   0 20px 60px rgba(28,25,21,.13);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6,.font-serif {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}
a { color: inherit; }
.text-gold  { color: var(--gold) !important; }
.text-muted { color: var(--text-muted) !important; }

/* ── Navbar ── */
.sj-navbar {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(184,147,90,.08);
  transition: box-shadow .3s;
}
.sj-navbar.scrolled {
  box-shadow: var(--shadow-sm);
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: .04em;
}
.logo-text span { color: var(--gold); }
.sj-navbar .nav-link {
  color: var(--text-muted) !important;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: .5rem .9rem !important;
  transition: color .25s;
}
.sj-navbar .nav-link:hover,
.sj-navbar .nav-link.active { color: var(--gold) !important; }
.btn-b2b {
  border: 1.5px solid var(--gold) !important;
  color: var(--gold) !important;
  border-radius: 2px;
  transition: all .25s !important;
}
.btn-b2b:hover {
  background: var(--gold) !important;
  color: var(--white) !important;
}
.lang-sw {
  opacity: .55 !important;
  font-size: .72rem !important;
  letter-spacing: .15em !important;
}
.lang-sw:hover { opacity: 1 !important; }

/* ── Buttons ── */
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: .9rem 2.8rem;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: all .3s;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}
.btn-gold:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(28,25,21,.18);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: .9rem 2.8rem;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: all .3s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
  padding: .9rem 2.8rem;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: all .3s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }

/* ── Gold line / label ── */
.gold-line { width: 48px; height: 2px; background: var(--gold); margin: 1.5rem 0; }
.gold-line.mx-auto { margin-left: auto; margin-right: auto; }
.section-label {
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

/* ══════════════════════
   HERO
══════════════════════ */
.hero-section {
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
/* Decorative background shape */
.hero-section::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--gold-pale) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  left: -40px; bottom: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--cream-2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.hero-title .gold { color: var(--gold); display: block; }
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.9;
  max-width: 460px;
}
/* Decorative SVG gem */
.hero-deco {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  opacity: .06;
  pointer-events: none;
}
/* Right image panel */
.hero-visual {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 42%;
  background: linear-gradient(135deg, var(--cream-2) 0%, var(--gold-pale) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-inner {
  width: 200px; height: 200px;
  border: 2px solid rgba(184,147,90,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-visual-inner::before {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border: 1px solid rgba(184,147,90,.15);
  border-radius: 50%;
}
.hero-visual-inner::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border: 1px solid rgba(184,147,90,.08);
  border-radius: 50%;
}
.hero-gem-icon {
  font-size: 4rem;
  color: var(--gold);
  opacity: .5;
}

/* ══════════════════════
   SECTIONS
══════════════════════ */
.section-white  { background: var(--white);  padding: 6rem 0; }
.section-cream  { background: var(--cream);  padding: 6rem 0; }
.section-cream2 { background: var(--cream-2); padding: 6rem 0; }
.section-dark   { background: var(--dark);   padding: 6rem 0; }

.section-title       { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,3.5vw,2.6rem); color: var(--dark); }
.section-title-white { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,3.5vw,2.6rem); color: var(--white); }

/* ══════════════════════
   PRODUCT CARDS
══════════════════════ */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  transition: all .4s cubic-bezier(.25,.46,.45,.94);
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--gold-light);
  color: inherit;
}
.product-card .img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-card .img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(28,25,21,.04));
  pointer-events: none;
}
.product-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.product-card:hover img { transform: scale(1.08); }
.img-placeholder { color: var(--gold-light); font-size: 2.5rem; }
.product-card .card-body { padding: 1.25rem; }
.product-cat {
  font-size: .67rem;
  color: var(--gold);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: .3rem;
}
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: .98rem;
  color: var(--dark);
  margin-bottom: .25rem;
  font-weight: 600;
}
.product-price { font-size: .85rem; color: var(--text-muted); }

/* ══════════════════════
   ABOUT DECO
══════════════════════ */
.deco-ring {
  width: 300px; height: 300px;
  border: 1.5px solid var(--gold-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: auto;
  position: relative;
}
.deco-ring::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border: 1px solid var(--border);
  border-radius: 50%;
}
.deco-ring-inner {
  width: 180px; height: 180px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.deco-ring-inner i { font-size: 2.5rem; color: var(--gold); opacity: .6; }

/* ══════════════════════
   CATEGORY TABS
══════════════════════ */
.cat-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.cat-tab {
  padding: .45rem 1.4rem;
  border: 1.5px solid var(--border);
  border-radius: 2px;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  transition: all .25s;
  background: var(--white);
  font-weight: 500;
}
.cat-tab:hover { border-color: var(--gold); color: var(--gold); }
.cat-tab.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

/* ══════════════════════
   CONTACT ICONS
══════════════════════ */
.contact-icon { font-size: 1.8rem; color: var(--gold); margin-bottom: .6rem; }
.contact-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow .3s;
}
.contact-box:hover { box-shadow: var(--shadow-md); }

/* ══════════════════════
   FOOTER
══════════════════════ */
.sj-footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 4.5rem 0 2.5rem;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: .04em;
  font-weight: 700;
}
.footer-brand span { color: var(--gold); }
.footer-heading {
  font-size: .67rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  font-size: .83rem;
  transition: color .25s;
  display: block;
  padding: .25rem 0;
}
.footer-links a:hover { color: var(--gold); }
.footer-divider { border-color: rgba(255,255,255,.08); margin: 2.5rem 0 2rem; }
.footer-copy { color: rgba(255,255,255,.25); font-size: .76rem; }

/* ══════════════════════
   B2B LAYOUT
══════════════════════ */
.b2b-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: .9rem 0;
}
.b2b-nav-link {
  color: var(--text-muted) !important;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .35rem .7rem;
  border-radius: 2px;
  transition: all .25s;
  font-weight: 500;
}
.b2b-nav-link:hover,
.b2b-nav-link.active {
  color: var(--gold) !important;
  background: var(--gold-pale);
}
.b2b-price-badge {
  background: var(--gold-pale);
  color: var(--gold);
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 2px;
  font-size: .82rem;
  border: 1px solid var(--gold-light);
}
.b2b-qty-input { width: 80px; text-align: center; }

/* ══════════════════════
   ADMIN LAYOUT
══════════════════════ */
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 232px;
  background: var(--dark);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--white);
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  letter-spacing: .03em;
  font-weight: 700;
}
.sidebar-brand span { color: var(--gold); }
.sidebar-nav { flex: 1; padding: .75rem 0; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: rgba(255,255,255,.4);
  font-size: .76rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .75rem 1.4rem;
  text-decoration: none;
  transition: all .25s;
  border-left: 3px solid transparent;
  font-weight: 500;
}
.sidebar-link i { font-size: .95rem; width: 16px; flex-shrink: 0; }
.sidebar-link:hover,
.sidebar-link.active {
  color: var(--gold);
  background: rgba(184,147,90,.08);
  border-left-color: var(--gold);
}
.sidebar-divider { border-color: rgba(255,255,255,.06); margin: .5rem 0; }

.admin-body  { flex: 1; display: flex; flex-direction: column; background: #F7F5F2; min-width: 0; }
.admin-topbar {
  background: var(--white);
  padding: 1rem 1.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.admin-topbar .page-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--dark);
  margin: 0;
  font-weight: 700;
}
.admin-main { padding: 1.75rem; flex: 1; }

/* Admin cards */
.admin-card {
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.stat-card {
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.stat-card:hover { box-shadow: var(--shadow-md); }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-lbl { font-size: .7rem; color: var(--text-muted); letter-spacing: .12em; text-transform: uppercase; margin-top: .25rem; }

/* Admin table */
.table-admin { font-size: .86rem; }
.table-admin thead th {
  background: var(--cream);
  color: var(--text-muted);
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
  padding: .85rem 1rem;
}
.table-admin tbody td { vertical-align: middle; padding: .85rem 1rem; border-bottom: 1px solid var(--border); }
.table-admin tbody tr:last-child td { border-bottom: none; }
.table-admin tbody tr:hover td { background: var(--cream); }

/* Badges */
.badge-pending   { background: #FEF3C7; color: #92400E; font-weight: 600; padding: .3rem .7rem; border-radius: 2px; font-size: .72rem; letter-spacing: .05em; }
.badge-confirmed { background: #D1FAE5; color: #065F46; font-weight: 600; padding: .3rem .7rem; border-radius: 2px; font-size: .72rem; letter-spacing: .05em; }
.badge-rejected  { background: #FEE2E2; color: #991B1B; font-weight: 600; padding: .3rem .7rem; border-radius: 2px; font-size: .72rem; letter-spacing: .05em; }

/* Forms */
.form-label-sm { font-size: .8rem; font-weight: 600; color: var(--text-muted); margin-bottom: .35rem; letter-spacing: .03em; }
.form-control, .form-select {
  border-color: var(--border);
  border-radius: 3px;
  font-size: .88rem;
  padding: .6rem .85rem;
  color: var(--dark);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,147,90,.12);
  outline: none;
}
.form-check-input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}

/* Thumbnails */
.thumb {
  width: 44px; height: 44px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--border);
}
.thumb-placeholder {
  width: 44px; height: 44px;
  background: var(--cream);
  border-radius: 3px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  font-size: 1rem;
}

/* Alerts */
.alert-auto { animation: fadeOut 0s 4s forwards; }
@keyframes fadeOut { to { opacity: 0; height: 0; padding: 0; margin: 0; overflow: hidden; } }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }

/* ══════════════════════
   RESPONSIVE
══════════════════════ */

/* ── Navbar (mobile collapse) ── */
@media (max-width: 991.98px) {
  .sj-navbar .navbar-collapse {
    border-top: 1px solid var(--border);
    padding: .5rem 0 1rem;
    margin-top: .4rem;
    background: rgba(255,255,255,.98);
  }
  .sj-navbar .nav-link { padding: .6rem 1.25rem !important; }
  .btn-b2b {
    margin: .35rem 1.25rem !important;
    display: inline-block;
    width: calc(100% - 2.5rem);
    text-align: center;
  }
  .lang-sw { margin: .25rem 1.25rem; }
}

/* ── Hero (mobile) ── */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding: 5rem 0 4rem;
  }
}
@media (max-width: 575.98px) {
  .hero-section { padding: 4rem 0 3rem; }
  .hero-subtitle { font-size: .95rem; max-width: 100%; }
  .hero-title { font-size: 2.4rem; }
}

/* ── Buttons (mobile) ── */
@media (max-width: 575.98px) {
  .btn-gold, .btn-outline-gold, .btn-outline-dark {
    padding: .75rem 2rem;
    font-size: .76rem;
  }
}

/* ── Sections (mobile) ── */
@media (max-width: 767.98px) {
  .section-white, .section-cream, .section-cream2, .section-dark {
    padding: 4rem 0;
  }
}
@media (max-width: 575.98px) {
  .section-white, .section-cream, .section-cream2, .section-dark {
    padding: 3rem 0;
  }
  .section-title, .section-title-white {
    font-size: 1.7rem;
  }
}

/* ── About deco ring (mobile) ── */
@media (max-width: 767.98px) {
  .deco-ring { width: 180px; height: 180px; }
  .deco-ring::before { width: 220px; height: 220px; }
  .deco-ring-inner { width: 110px; height: 110px; }
  .deco-ring-inner i { font-size: 1.8rem; }
}
@media (max-width: 575.98px) {
  .deco-ring, .deco-ring::before { display: none; }
}

/* ── Contact boxes (mobile) ── */
@media (max-width: 575.98px) {
  .contact-box { padding: 1.5rem 1rem; }
}

/* ── B2B header (mobile) ── */
@media (max-width: 767.98px) {
  .b2b-header .container {
    flex-wrap: wrap;
    gap: .4rem;
    padding-top: .6rem;
    padding-bottom: .6rem;
  }
  .b2b-header .d-flex.align-items-center.gap-3 {
    gap: .2rem !important;
    flex-wrap: wrap;
  }
  .b2b-nav-link {
    font-size: .7rem;
    letter-spacing: .02em;
    padding: .3rem .55rem;
  }
}

/* ── Admin sidebar toggle ── */
.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  padding: .35rem .5rem;
  cursor: pointer;
  color: var(--dark);
  font-size: 1.4rem;
  line-height: 1;
}
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1049;
}

@media (max-width: 991.98px) {
  .sidebar-toggle { display: flex; align-items: center; }

  .admin-sidebar {
    position: fixed;
    left: -240px;
    top: 0; bottom: 0;
    z-index: 1050;
    transition: left .28s ease;
    width: 232px;
  }
  .admin-sidebar.sidebar-open {
    left: 0;
    box-shadow: 4px 0 32px rgba(0,0,0,.28);
  }
  .sidebar-overlay.sidebar-open { display: block; }

  .admin-main { padding: 1.1rem; }
  .admin-topbar { padding: .85rem 1.1rem; }
  .admin-topbar .page-title { font-size: 1.05rem; }
}

/* ── Admin tables (mobile scroll) ── */
@media (max-width: 767.98px) {
  .table-admin { font-size: .8rem; }
  .table-admin thead th,
  .table-admin tbody td { padding: .65rem .75rem; }
}