:root {
  --gold: #d4af37;
  --gold2: #b4941f;
  --ink: #0f0f10;
  --smoke: #1b1b1f;
  --text: #eae6dd;
  --text-muted: rgba(234, 230, 221, 0.6);
  --muted: rgba(234, 230, 221, 0.75);
  --card: rgba(20, 20, 24, 0.7);
  --card-hover: rgba(30, 30, 36, 0.9);
  --stroke: rgba(212, 175, 55, 0.2);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --radius: 12px;
  --font: "Georgia", "Times New Roman", serif;
  --ui: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--ui);
  background: #0a0a0c;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* Space for mobile nav */
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

img {
  max-width: 100%;
  display: block;
}

input, button, textarea, select {
  font-family: inherit;
}

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

.site-bg {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body[data-theme="light"] {
  --text: #1a1a1d;
  --text-muted: rgba(26, 26, 29, 0.6);
  --muted: rgba(26, 26, 29, 0.75);
  --card: rgba(255, 255, 255, 0.8);
  --card-hover: rgba(255, 255, 255, 0.95);
  --stroke: rgba(0, 0, 0, 0.08);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  background: #f4f4f6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.2;
}

/* Topbar & Nav */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 12, 0.8);
  border-bottom: 1px solid var(--stroke);
  transition: background 0.3s var(--ease);
}

body[data-theme="light"] .topbar {
  background: rgba(255, 255, 255, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  font-family: var(--font);
  font-size: 24px;
  letter-spacing: 1px;
  font-weight: 600;
  position: relative;
  z-index: 102;
}

.menu {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.menu a:hover {
  color: var(--text);
}

.actions {
  display: flex;
  gap: 15px;
  align-items: center;
  z-index: 102;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 102;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s var(--ease);
}

.mobile-nav {
  display: none;
}

/* Theme Toggle Pill */
.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--stroke);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
}

body[data-theme="light"] .pill {
  background: rgba(0, 0, 0, 0.05);
}

body[data-theme="light"] .pill:hover {
  background: rgba(0, 0, 0, 0.08);
}

.icon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  padding: 60px 0;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker {
  font-family: var(--font);
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  background: linear-gradient(45deg, var(--text) 30%, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

body[data-theme="light"] .kicker {
  background: linear-gradient(45deg, #000 30%, #555);
  -webkit-background-clip: text;
}

.sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 90%;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  background: var(--gold);
  color: #000;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.4);
  color: #000;
}

.hero-media {
  height: 500px;
  border-radius: 24px;
  background: url("/assets/img/Dustthree_Siyah.png") center/cover no-repeat;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dots span {
    width: 8px; height: 8px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
}
.dots span.active { background: #fff; }


/* Grid & Cards */
.section-title {
  font-size: 28px;
  font-weight: 300;
  margin: 60px 0 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--stroke);
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 1200px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  background: var(--card-hover);
}

.card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

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

.card .pbody {
  padding: 20px;
}

.pname {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price {
  font-family: var(--font);
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 15px;
}

.btn {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.btn:hover {
  background: var(--text);
  color: #000;
}

/* Footer */
.footer {
  margin-top: 80px;
  padding: 40px 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.hrline {
  margin-top: 20px;
  height: 1px;
  background: var(--stroke);
  width: 100px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav {
    height: 60px;
  }
  
  .brand {
    font-size: 20px;
  }
  
  .menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s var(--ease);
    border-bottom: 1px solid var(--stroke);
  }
  
  .menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .mobile-toggle {
    display: flex;
  }

  /* Mobile Bottom Nav */
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 64px;
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--stroke);
    justify-content: space-around;
    align-items: center;
    z-index: 999;
    padding-bottom: env(safe-area-inset-bottom);
  }
  
  body[data-theme="light"] .mobile-nav {
    background: rgba(255, 255, 255, 0.9);
  }

  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 10px;
    color: var(--muted);
    width: 100%;
    height: 100%;
  }

  .nav-item svg {
    width: 20px;
    height: 20px;
  }

  .nav-item.active {
    color: var(--gold);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0;
    text-align: center;
  }
  
  .hero-media {
    order: -1;
    height: 400px; /* Taller on mobile for full screen feel */
    border-radius: 16px;
  }
  
  .kicker {
    font-size: 36px;
  }
  
  /* Mobile Grid - Instagram style */
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .card {
    border-radius: 12px;
  }

  .card img {
    height: 220px; /* Taller images */
  }

  .card .pbody {
    padding: 12px;
  }

  .pname {
    font-size: 14px;
  }

  .price {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .btn {
    padding: 8px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .grid {
    gap: 10px;
  }
}
