/* AdiCookies - Stiluri Artizanale & Rafinate */

/* Tipografie și fonturi */
:root {
  --color-cream: #FAF6F0;
  --color-butter: #FFFDF9;
  --color-dark: #2C1E16;
  --color-caramel: #C86D51;
  --color-caramel-hover: #b45e43;
  --color-gold: #D4A373;
  --color-border: #EFE8DE;
  --color-border-dark: #DED3C4;
}

body {
  background-color: var(--color-cream);
  color: var(--color-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-serif {
  font-family: 'Cormorant Garamond', serif;
}

/* Scrollbar stilizat subtil */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FAF6F0;
}
::-webkit-scrollbar-thumb {
  background: #D4A373;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C86D51;
}

/* Animații la scroll (Intersection Observer) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stilizare carduri artizanale */
.product-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--color-border);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(44, 30, 22, 0.08), 0 4px 12px -2px rgba(44, 30, 22, 0.04);
}

.product-image-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-container img {
  transform: scale(1.05);
}

/* Butoane tactile și fine */
.btn-primary {
  background-color: var(--color-caramel);
  color: #FFFDF9;
  transition: all 0.25s ease;
}
.btn-primary:hover {
  background-color: var(--color-caramel-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200, 109, 81, 0.25);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  border: 1px solid var(--color-dark);
  color: var(--color-dark);
  transition: all 0.25s ease;
}
.btn-secondary:hover {
  background-color: var(--color-dark);
  color: #FFFDF9;
}

/* Drawer Cart tranziții */
#cartDrawer {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#cartOverlay {
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* Toast alert stilizat */
#toastNotification {
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Prevenire tap highlight pe iOS */
button, a {
  -webkit-tap-highlight-color: transparent;
}
