/* HERBESSO minimalist coffee theme - Optimized for 30+ women */
:root {
  --coffee-900: #2d1f17;
  --coffee-700: #5a3e2a;
  --coffee-500: #8b5a3c;
  --coffee-300: #c7a995;
  --coffee-100: #e8d5c4;
  --cream-50: #faf8f5;
  --cream-100: #f5f0ea;
  --cream-200: #ede4db;
  --ink: #2c241e;
  --muted: #8a7d73;
  --accent: #a0704f;
  --gold: #d4af37;
  --radius: 16px;
  --shadow-soft: 0 4px 20px rgba(45,31,23,.08);
  --shadow-card: 0 8px 32px rgba(45,31,23,.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html, body { 
  height: 100%; 
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(135deg, var(--cream-50) 0%, var(--cream-100) 50%, var(--cream-200) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

.container { 
  width: 100%; 
  margin: 0; 
  padding: 0;
}

.section-title { 
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--coffee-900);
  margin: 0 0 24px;
  text-transform: uppercase;
  text-align: center !important;
}

.muted { 
  color: var(--muted);
  font-size: 0.95rem;
}

/* Hero Section */
.hero { 
  padding: 80px 0 60px;
  background: radial-gradient(ellipse 1000px 500px at center top, rgba(212,175,55,.08) 0%, transparent 70%);
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="coffee" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="1" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23coffee)"/></svg>') repeat;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero .logo { 
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(48px, 10vw, 96px);
  line-height: 0.9;
  margin: 0 0 16px;
  color: var(--coffee-900);
  text-shadow: 0 2px 4px rgba(45,31,23,0.1);
  letter-spacing: -0.02em;
}

.hero .tagline { 
  margin: 0 0 32px;
  font-size: clamp(16px, 4vw, 22px);
  color: var(--coffee-700);
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.4;
}

.btn { 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  min-height: 48px;
}

.btn.primary { 
  background: transparent;
  color: var(--coffee-700);
  border: 2px solid var(--coffee-700);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.btn.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.btn.primary:hover::before {
  left: 100%;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(45,31,23,.2);
  background: var(--coffee-700);
  color: white;
  border-color: var(--coffee-700);
}

.btn.primary:active { 
  transform: translateY(0);
}

/* Reviews Section - Trendyol Style */
.reviews { 
  padding: 60px 0;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
}

.review-track { 
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.review-track::-webkit-scrollbar {
  display: none;
}

.review-card { 
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px;
  min-width: 90%;
  scroll-snap-align: start;
  border: 1px solid var(--cream-200);
  position: relative;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(45,31,23,.15);
}

@media (min-width: 640px) { 
  .review-card { 
    min-width: 380px;
  }
}

@media (min-width: 1024px) { 
  .review-card { 
    min-width: 420px;
  }
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 20px;
  font-size: 4rem;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  opacity: 0.3;
}

.stars { 
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  align-items: center;
}

.star { 
  color: #ddd;
  font-size: 1.2rem;
  transition: var(--transition);
}

.star.filled { 
  color: var(--gold);
  text-shadow: 0 1px 2px rgba(212,175,55,0.3);
}

.comment { 
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.author { 
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.author::before {
  content: '—';
  color: var(--gold);
}

/* FAQ Section */
.faq { 
  padding: 60px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item { 
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--cream-200);
  box-shadow: var(--shadow-soft);
  margin: 16px 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-card);
}

.faq-item > summary { 
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--coffee-900);
  background: var(--cream-50);
  border-bottom: 1px solid var(--cream-200);
  position: relative;
  transition: var(--transition);
  font-size: 1.05rem;
}

.faq-item > summary::-webkit-details-marker { 
  display: none;
}

.faq-item > summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--coffee-700);
  transition: var(--transition);
}

.faq-item[open] > summary {
  color: var(--accent);
  background: white;
}

.faq-item[open] > summary::after {
  content: '−';
  color: var(--accent);
}

.faq-a { 
  padding: 24px;
  color: var(--ink);
  line-height: 1.6;
  background: white;
}

/* Products Section */
.products { 
  padding: 60px 0 80px;
  background: var(--cream-50);
}

.products-head { 
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.link-small { 
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--cream-200);
  transition: var(--transition);
}

.link-small:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.product-list { 
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .product-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(139, 69, 19, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 69, 19, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.05), transparent);
  transition: left 0.6s ease;
}

.product-item:hover::before {
  left: 100%;
}

.product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(139, 69, 19, 0.15);
  border-color: rgba(139, 69, 19, 0.2);
}

.product-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.product-item:hover img {
  transform: scale(1.02);
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--coffee-900);
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

.product-description {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  margin: 0.5rem 0;
}

.product-btn {
  margin-top: auto;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--coffee-700);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 2px solid var(--coffee-700);
  box-shadow: 0 2px 8px rgba(139, 69, 19, 0.1);
  min-height: 40px;
}

.product-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.product-btn:hover::before {
  left: 100%;
}

.product-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(139, 69, 19, 0.25);
  background: var(--coffee-700);
  color: white;
  border-color: var(--coffee-700);
}

.product-btn:active {
  transform: translateY(-1px) scale(1.01);
  transition: all 0.1s ease;
}

/* Footer */
.footer { 
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 2px solid var(--cream-200);
  background: white;
  width: 100%;
}

.footer-content {
  text-align: center;
  max-width: 600px;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--coffee-900);
  margin: 0 0 12px 0;
  letter-spacing: 0.1em;
}

.footer-description {
  color: var(--coffee-600);
  line-height: 1.6;
  margin: 0 0 16px 0;
  font-size: 0.95rem;
}

.footer-copyright {
  color: var(--coffee-400);
  font-size: 0.85rem;
  margin: 0;
}

.footer p {
  margin: 0;
}

.footer .link-small {
  background: var(--coffee-900);
  color: white;
}

.footer .link-small:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* Admin Panel Styles */
.admin-wrap { 
  padding: 40px 0 60px;
  min-height: 100vh;
}

.admin-card { 
  background: white;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 24px;
}

.admin-tabs { 
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tab { 
  padding: 12px 20px;
  border-radius: 50px;
  background: white;
  border: 2px solid var(--cream-200);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  transition: var(--transition);
  font-size: 0.95rem;
}

.tab:hover {
  border-color: var(--coffee-500);
  transform: translateY(-2px);
}

.tab.active { 
  background: var(--coffee-900);
  color: white;
  border-color: var(--coffee-900);
}

.form-grid { 
  display: grid;
  gap: 16px;
}

input[type="text"], input[type="url"], textarea, input[type="password"], input[type="file"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid var(--cream-200);
  background: white;
  font: inherit;
  transition: var(--transition);
  font-size: 1rem;
}

input[type="text"]:focus, input[type="url"]:focus, textarea:focus, input[type="password"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(160,112,79,0.1);
}

textarea { 
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

button, .btn-small { 
  padding: 14px 24px;
  border-radius: 50px;
  border: none;
  background: var(--coffee-700);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  min-height: 48px;
}

button:hover, .btn-small:hover {
  background: var(--coffee-900);
  transform: translateY(-2px);
}

.danger { 
  background: #dc3545;
}

.danger:hover {
  background: #c82333;
}

.row { 
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.list { 
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.list-item { 
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.list-item:hover {
  box-shadow: var(--shadow-card);
}

.mini { 
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}

label {
  display: grid;
  gap: 6px;
}

label .mini {
  font-weight: 600;
  color: var(--coffee-700);
}

