/* Design System & Custom Utilities */

:root {
  --primary: #1B3022;
  --primary-rgb: 27, 48, 34;
  --secondary: #2A4B35;
  --surface: #FAF9F5;
  --surface-variant: #EAE7DF;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Premium Bento Cards */
.bento-card {
  background: #FFFFFF;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.08);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.bento-card img {
  transition: var(--transition-smooth);
}

.bento-card:hover img {
  scale: 1.02;
}

/* Material Symbols Integration */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  transition: var(--transition-smooth);
}

.clickable-icon:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

/* Navigation Enhancements */
nav a {
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: var(--transition-smooth);
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section Refinements */
.hero-gradient {
  background: radial-gradient(circle at top, rgba(var(--primary-rgb), 0.05) 0%, transparent 70%);
}

/* Premium Buttons */
.btn-premium {
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

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

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

.btn-premium:active {
  transform: scale(0.96);
}

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

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  background: var(--outline-variant, #C4C8C5);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--outline, #8D9A91);
}
