
/* Base Styles */
@layer base {
body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #FFFBF8;
    color: #1E1E1F;
    line-height: 1.6;
}

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 400;
    src: url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300&display=swap');
}

h1, h2, h3, h4 {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.product-card {
    background: #FFFBF8;
    border: 1px solid rgba(123, 22, 19, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(123, 22, 19, 0.15);
}

.notebook-margin {
    position: relative;
    padding-left: 3rem;
}

.notebook-margin::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(123, 22, 19, 0.3);
}
h1, h2, h3, h4 {
    @apply font-bold leading-tight;
    font-family: 'Clash Display', sans-serif;
  }
  
  .btn-primary {
    @apply bg-[#8C1B1B] hover:bg-gradient-to-r from-[#F87171] to-[#FB7185] text-white font-medium py-3 px-6 rounded-lg transition-all flex items-center justify-center;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }
  
  .btn-secondary {
    @apply bg-transparent hover:bg-[rgba(255,255,255,0.08)] text-white font-medium py-3 px-6 rounded-lg border border-white/20 transition-all flex items-center justify-center;
    backdrop-filter: blur(8px);
  }
  
  .glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(140, 27, 27, 0.5);
    box-shadow: 0 8px 32px rgba(140, 27, 27, 0.2);
  }
}
/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    @apply text-4xl;
  }
  
  h2 {
    @apply text-3xl;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  @apply bg-qarma-cream;
}

::-webkit-scrollbar-thumb {
  @apply bg-qarma-red/50 rounded-full;
}

::-webkit-scrollbar-thumb:hover {
  @apply bg-qarma-red;
}