:root {
  --gold: #b8892b;
  --gold-light: #d4af37;
  --black: #1a1712;
  --cream: #f7f1e3;
  --cream-dark: #ece3cd;
  --text: #2a241c;
  --muted: #6b6154;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(26, 23, 18, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--black);
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Topbar */
.topbar {
  background: var(--black);
  color: var(--cream);
  font-size: 0.85rem;
}
.topbar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 8px 20px;
}
.topbar-item:hover { color: var(--gold-light); }

/* Header */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.brand-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--black);
}
.brand-text small {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-weight: 500;
  color: var(--text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  border-color: var(--gold);
}
.nav-cta {
  background: var(--gold);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 30px;
  border: none !important;
}
.nav-cta:hover {
  background: var(--black);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, #3a3126 100%);
  color: var(--cream);
  padding: 80px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: 2.6rem;
  line-height: 1.2;
}
.hero .accent { color: var(--gold-light); }
.hero p.lead {
  font-size: 1.1rem;
  color: #d8d0be;
  max-width: 520px;
}
.hero-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.badge {
  background: rgba(212,175,55,0.12);
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: #2a2318 url('../images/site/hero-1.jpg') center/cover no-repeat;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(184,137,43,0.35); }
.btn-outline {
  border: 2px solid var(--cream);
  color: var(--cream);
  margin-left: 12px;
}
.btn-outline:hover { background: var(--cream); color: var(--black); }

/* Sections */
.section { padding: 70px 0; }
.section-title {
  text-align: center;
  margin-bottom: 12px;
  font-size: 2rem;
}
.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 40px;
}
.section-alt { background: #fff; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.feature-card .icon { font-size: 2.2rem; margin-bottom: 10px; }

/* About preview */
.about-preview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
  background: var(--cream-dark) url('../images/site/memik-inel.jpg') center/cover no-repeat;
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); }
.product-photo {
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-photo .placeholder {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
}
.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-body h3 { font-size: 1.15rem; }
.product-price {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.05rem;
}
.product-desc {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}
.product-order {
  margin-top: 8px;
  text-align: center;
  background: var(--black);
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}
.product-order:hover { background: var(--gold); }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  background: #fff;
  border-radius: var(--radius);
}

/* CTA band */
.cta-band {
  background: var(--gold);
  color: #fff;
  text-align: center;
  padding: 50px 0;
}
.cta-band h2 { color: #fff; }
.cta-band .btn-primary { background: var(--black); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--cream-dark); }
.contact-list li:last-child { border-bottom: none; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* Footer */
.site-footer { background: var(--black); color: #cfc7b3; margin-top: 60px; }
.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 50px 20px;
}
.footer-col h4 { color: #fff; margin-bottom: 14px; }
.footer-col a:hover { color: var(--gold-light); }
.social-links { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 18px 0;
  font-size: 0.85rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 200;
}

/* Alert */
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
}
.alert-success { background: #e6f4ea; color: #1e7b34; border: 1px solid #b7e4c7; }
.alert-error { background: #fdecea; color: #b3261e; border: 1px solid #f5c2c0; }

/* Admin */
.admin-wrap { max-width: 960px; margin: 0 auto; padding: 40px 20px; }
.admin-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; margin-bottom: 30px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 10px; border-bottom: 1px solid var(--cream-dark); vertical-align: middle; }
.admin-table img { width: 70px; height: 70px; object-fit: cover; border-radius: 6px; }
.btn-small {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}
.btn-danger { background: #b3261e; color: #fff; }
.login-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .about-preview, .contact-grid { grid-template-columns: 1fr; }
  .hero-media, .about-photo { order: -1; }
  .feature-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .social-links { align-items: center; }
}

@media (max-width: 720px) {
  .topbar-inner { justify-content: center; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 14px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-cta { margin-top: 6px; }
  .hero { padding: 50px 0; }
  .hero h1 { font-size: 2rem; }
  .feature-grid, .products-grid { grid-template-columns: 1fr; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
}
