/**
 * Wanda Tyre - Main CSS File
 * Tailwind CSS CDN kullanımı için custom CSS değişkenleri ve stiller
 * 
 * HTML'de şu şekilde kullanın:
 * <link href="https://cdn.jsdelivr.net/npm/tailwindcss@3.4.17/dist/tailwind.min.css" rel="stylesheet">
 * <link href="/assets/css/main.css" rel="stylesheet">
 */

/* ============================================
   CSS Custom Properties (Variables)
   ============================================ */
:root {
  /* Background & Foreground */
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  
  /* Card */
  --card: 0 0% 100%;
  --card-foreground: 222.2 84% 4.9%;
  
  /* Popover */
  --popover: 0 0% 100%;
  --popover-foreground: 222.2 84% 4.9%;
  
  /* Primary (Wanda Red) */
  --primary: 346 84% 50%;
  --primary-foreground: 210 40% 98%;
  
  /* Secondary (Wanda Blue) */
  --secondary: 216 100% 15%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  
  /* Muted */
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  
  /* Accent */
  --accent: 210 40% 96.1%;
  --accent-foreground: 222.2 47.4% 11.2%;
  
  /* Destructive */
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  
  /* Border & Input */
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 346 84% 50%;
  
  /* Border Radius */
  --radius: 0.5rem;
  
  /* Chart Colors */
  --chart-1: 12 76% 61%;
  --chart-2: 173 58% 39%;
  --chart-3: 197 37% 24%;
  --chart-4: 43 74% 66%;
  --chart-5: 27 87% 67%;
  
  /* Wanda Brand Colors */
  --wanda-red: #E61919;
  --wanda-blue: #00204A;
  --wanda-light: #F8FAFC;
  --wanda-blue-accent: #005792;
}

/* ============================================
   Base Styles
   ============================================ */
* {
  border-color: hsl(var(--border));
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Wanda Brand Colors (Tailwind Utility Classes)
   ============================================ */
.text-wanda-red {
  color: var(--wanda-red);
}

.bg-wanda-red {
  background-color: var(--wanda-red);
}

.border-wanda-red {
  border-color: var(--wanda-red);
}

.text-wanda-blue {
  color: var(--wanda-blue);
}

.bg-wanda-blue {
  background-color: var(--wanda-blue);
}

.border-wanda-blue {
  border-color: var(--wanda-blue);
}

.bg-wanda-light {
  background-color: var(--wanda-light);
}

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

.bg-wanda-blue-accent {
  background-color: var(--wanda-blue-accent);
}

/* Hover States */
.hover\:bg-wanda-red:hover {
  background-color: var(--wanda-red);
}

.hover\:text-wanda-red:hover {
  color: var(--wanda-red);
}

.hover\:bg-red-700:hover {
  background-color: #b91c1c;
}

/* ============================================
   Custom Animations
   ============================================ */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-delayed {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-delayed-more {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  60% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-zoom {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

.animate-fade-in {
  animation: fade-in 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out;
}

.animate-fade-in-delayed {
  animation: fade-in-delayed 1.2s ease-out;
}

.animate-fade-in-delayed-more {
  animation: fade-in-delayed-more 1.5s ease-out;
}

.animate-slow-zoom {
  animation: slow-zoom 20s ease-in-out infinite;
}

.animate-title {
  animation: title 1s ease-out;
}

/* ============================================
   Custom Utility Classes
   ============================================ */
.font-display {
  font-family: 'Inter', sans-serif;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

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

/* ============================================
   Material Symbols Support
   ============================================ */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   Custom Component Styles
   ============================================ */
/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus States */
*:focus {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

/* Selection */
::selection {
  background-color: var(--wanda-red);
  color: white;
}

/* ============================================
   Responsive Utilities
   ============================================ */
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  a,
  a:visited {
    text-decoration: underline;
  }
  
  img {
    page-break-inside: avoid;
  }
}
