/* c:\xampp\htdocs\temizlikurunleri\assets\css\main.css */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --primary: #2E7D32;
  --primary-hover: #1B5E20;
  --primary-light: #4CAF50;
  --primary-pale: #E8F5E9;
  --secondary: #1565C0;
  --secondary-pale: #E3F2FD;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-500: #9E9E9E;
  --gray-700: #616161;
  --dark: #212121;
  --danger: #D32F2F;
  --warning: #F57C00;
  --success: #388E3C;
  --info: #0288D1;
  
  --font: 'Nunito', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  
  --container: 1280px;
  --header-h: 70px;
}

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

body {
  font-family: var(--font);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--primary);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Grid */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Flex */
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
.gap-5 { gap: 40px; }

/* Spacing */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }
.mt-6 { margin-top: 48px; }
.mt-8 { margin-top: 64px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }
.mb-8 { margin-bottom: 64px; }
.mb-12 { margin-bottom: 96px; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

.py-1 { padding-top: 8px; padding-bottom: 8px; }
.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.py-4 { padding-top: 32px; padding-bottom: 32px; }
.py-5 { padding-top: 40px; padding-bottom: 40px; }
.py-8 { padding-top: 64px; padding-bottom: 64px; }
.px-1 { padding-left: 8px; padding-right: 8px; }
.px-2 { padding-left: 16px; padding-right: 16px; }
.px-4 { padding-left: 32px; padding-right: 32px; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }
.p-5 { padding: 40px; }

/* Text */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--gray-500); }
.text-dark { color: var(--dark); }
.text-white { color: var(--white); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-sm { font-size: 14px; }
.text-lg { font-size: 18px; }
.fw-normal { font-weight: 400; }
.fw-medium { font-weight: 500; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }
.fst-italic { font-style: italic; }
.lh-relaxed { line-height: 1.6; }

/* Display */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-grid { display: grid !important; }

/* Section */
.section { padding: 80px 0; }
.section-header { margin-bottom: 48px; display: flex; justify-content: space-between; align-items: flex-end; }
.section-title { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: var(--dark); }
.section-subtitle { color: var(--gray-700); font-size: 16px; margin-top: 8px; }
.section-link { font-size: 14px; text-decoration: none; color: var(--primary); font-weight: 600; display: inline-block; }
.section-link:hover { text-decoration: underline; }

.page-header { background-color: var(--primary-pale); padding: 48px 0; text-align: center; }

/* Skeleton */
.skeleton { background: #e0e0e0; border-radius: 4px; overflow: hidden; position: relative; }
.skeleton::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 1.5s infinite;
}
.skeleton-text { height: 16px; margin-bottom: 8px; width: 100%; }
.skeleton-card { height: 300px; border-radius: var(--radius-lg); }

/* Images */
.img-fluid { max-width: 100%; height: auto; }
.img-cover { width: 100%; height: 100%; object-fit: cover; }

/* Keyframes */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(120%); } to { opacity: 1; transform: translateX(0); } }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.7; } 100% { transform: scale(1); opacity: 1; } }

/* Media Queries */
@media (max-width: 1280px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .section-title { font-size: 24px; }
}
@media (max-width: 576px) { .container { padding: 0 16px; } }
