/* ============================================
   ELICARA - Ana Stil Dosyası
   Kurumsal Mavi Tema (Light)
   Beyaz + Lacivert + Bakır/Terracotta
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary - Navy Blue */
  --primary: #1B3A5C;
  --primary-light: #2C5282;
  --primary-dark: #12283C;
  --primary-50: #EBF1F7;
  --primary-100: #C9D9E8;

  /* Secondary - Copper/Terracotta */
  --secondary: #C17F59;
  --secondary-light: #D4956E;
  --secondary-dark: #A66B48;
  --secondary-50: #FDF0E9;

  /* Accent */
  --accent: #C17F59;
  --accent-light: #E8A87C;

  /* Status Colors */
  --success: #38A169;
  --warning: #D69E2E;
  --danger: #E53E3E;

  /* Backgrounds - LIGHT THEME */
  --bg-body: #FFFFFF;
  --bg-surface: #F7FAFC;
  --bg-section: #EDF2F7;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F7FAFC;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-glass-strong: rgba(255, 255, 255, 0.94);
  --bg-dark: #12283C;
  --bg-dark-surface: #1B3A5C;

  /* Borders */
  --border-color: #E2E8F0;
  --border-hover: #CBD5E0;
  --border-active: rgba(27, 58, 92, 0.4);

  /* Text */
  --text-primary: #1A202C;
  --text-secondary: #4A5568;
  --text-muted: #A0AEC0;
  --text-inverse: #FFFFFF;
  --text-heading: #12283C;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1B3A5C, #2C5282);
  --gradient-hero: linear-gradient(135deg, #EDF2F7 0%, #FFFFFF 50%, #F7FAFC 100%);
  --gradient-accent: linear-gradient(135deg, #C17F59, #D4956E);
  --gradient-card: linear-gradient(145deg, #FFFFFF, #F7FAFC);
  --gradient-dark: linear-gradient(135deg, #12283C, #1B3A5C);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 36px rgba(27, 58, 92, 0.12);
  --shadow-glow: 0 0 20px rgba(27, 58, 92, 0.15);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;

  /* Category Gradients */
  --cat-gradient-1: linear-gradient(135deg, #1B3A5C, #2C5282);
  --cat-gradient-2: linear-gradient(135deg, #C17F59, #D4956E);
  --cat-gradient-3: linear-gradient(135deg, #2D5A3D, #48BB78);
  --cat-gradient-4: linear-gradient(135deg, #553C7B, #805AD5);
}

/* ---------- CSS Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--primary-100); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ---------- Selection ---------- */
::selection {
  background: rgba(27, 58, 92, 0.2);
  color: var(--text-primary);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
}

h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.015em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { color: var(--text-secondary); line-height: 1.7; }

/* ---------- Layout ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-section);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  font-family: 'Outfit', sans-serif;
  color: var(--text-heading);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ---------- Grid System ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

/* ---------- Flex Utilities ---------- */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }

/* ---------- Text Utilities ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  color: var(--secondary);
}

.text-accent-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Spacing ---------- */
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }

/* ---------- Button Styles ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px rgba(27, 58, 92, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 58, 92, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--text-inverse);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(193, 127, 89, 0.3);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  color: var(--text-secondary);
  background: transparent;
  position: relative;
}

.btn-icon:hover {
  color: var(--primary);
  background: var(--primary-50);
}

.btn-icon svg { width: 20px; height: 20px; }

/* ---------- Form Styles ---------- */
.form-group { margin-bottom: var(--space-lg); }
.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-body);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.1);
}

.form-input::placeholder { color: var(--text-muted); }
.form-textarea { min-height: 120px; resize: vertical; }

/* ---------- Badge Styles ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.badge-sale {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.badge-new {
  background: var(--primary-50);
  color: var(--primary);
  border: 1px solid var(--primary-100);
}

.badge-featured {
  background: #EEF2FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
}

.badge-stock { background: #C6F6D5; color: #22543D; }
.badge-out { background: #FED7D7; color: #9B2C2C; }

/* ---------- Animation Classes ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(2deg); }
  66% { transform: translateY(8px) rotate(-1deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(27, 58, 92, 0.15); }
  50% { box-shadow: 0 0 40px rgba(27, 58, 92, 0.25); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- Misc ---------- */
.hidden { display: none !important; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }

.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) { .container { max-width: 1024px; } }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .section { padding: var(--space-3xl) 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .section-title { font-size: 1.9rem; }
}

@media (max-width: 768px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
  .section-title { font-size: 1.5rem; }
  .container { padding: 0 16px; }
  .btn { padding: 10px 22px; font-size: 0.9rem; }
  .btn-lg { padding: 13px 24px; font-size: 0.95rem; }
  .btn-sm { padding: 7px 14px; font-size: 0.82rem; }
  .form-input { padding: 10px 14px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  html { font-size: 15px; }
  .section-title { font-size: 1.3rem; }
  .container { padding: 0 14px; }
}
