/* Aras Ahşap Tasarım — Modern Pink & White Artisanal Visual Identity */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&family=Playfair+Display:ital,wght@0,500..800;1,500..800&display=swap');

:root {
  /* Modern Pink & White Tokens */
  --color-primary-pink: #EC4899;
  --color-primary-pink-hover: #DB2777;
  --color-deep-rose: #BE185D;
  --color-blush-50: #FDF2F8;
  --color-blush-100: #FCE7F3;
  --color-blush-200: #FBCFE8;
  --color-white: #FFFFFF;
  --color-dark: #18181B;
  --color-muted: #6B7280;

  /* Mapped to Pink & White */
  --color-walnut: #18181B;
  --color-timber: #EC4899;
  --color-timber-hover: #DB2777;
  --color-sage: #EC4899;
  --color-linen: #FFFFFF;
  --color-sand: #FDF2F8;
  --color-grain: #FCE7F3;
  --color-charcoal: #18181B;
  --color-ash: #4B5563;
  --color-muted: #4B5563;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1EBE5D;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  touch-action: manipulation;
}

body {
  background-color: #FFFFFF;
  color: var(--color-dark);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100vw;
  touch-action: manipulation;
}

h1, h2, h3, h4, .font-serif {
  font-family: 'Playfair Display', Georgia, Cambria, serif;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  touch-action: manipulation;
}

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

/* Prevent iOS Safari from auto-zooming on input focus (requires font-size >= 16px on mobile) */
@media screen and (max-width: 768px) {
  input,
  select,
  textarea,
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="search"],
  input[type="url"] {
    font-size: 16px !important;
  }
}

/* Modern Pink Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #FDF2F8;
}
::-webkit-scrollbar-thumb {
  background: #F472B6;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #DB2777;
}

/* Modern Card Glow & Hover */
.product-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 1.25rem;
  background: #FFFFFF;
  border: 1px solid #FCE7F3;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(236, 72, 153, 0.18);
  border-color: #F472B6;
}

/* Compact Uniform Product Image Container & 2nd Image Hover */
.product-card-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background-color: #FDF2F8;
  flex-shrink: 0;
}
.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease-in-out;
}
.product-secondary-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-in-out, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.group:hover .product-secondary-img {
  opacity: 1;
}
.group:hover .product-card-img-wrap img,
.group:hover .product-primary-img,
.group:hover .product-secondary-img {
  transform: scale(1.06);
}

/* Modern Pink Button Styles */
.btn-pink-gradient {
  background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px 0 rgba(236, 72, 153, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-pink-gradient:hover {
  background: linear-gradient(135deg, #DB2777 0%, #BE185D 100%);
  box-shadow: 0 8px 22px 0 rgba(236, 72, 153, 0.45);
  transform: translateY(-1px);
}

/* Glassmorphism Header */
.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(252, 231, 243, 0.8);
}

/* Utility Animations */
@keyframes pulseFast {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.88; transform: scale(1.02); }
}

.pulse-hover:hover {
  animation: pulseFast 1.5s infinite;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Base Layout Helpers */
.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Carousel / Kayar Menü Styles */
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x pan-y;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex-shrink: 0;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}
