/* ============================================
   ALTAS OTOMASYON - ANA STIL DOSYASI
   Modern, Responsive, SEO Dostu Tasarim
   ============================================ */

/* --- CSS Degiskenleri (Tema) --- */
:root {
  /* Renkler - Altas Otomasyon (Logo: Siyah + Sarı) */
  --primary-color: #FEB54C;
  --primary-dark: #e5a03e;
  --primary-light: #ffd080;
  --secondary-color: #000000;
  --accent-color: #FEB54C;
  --dark-color: #000000;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #e9ecef;
  --border-color: #dee2e6;
  --white: #ffffff;
  --black: #000000;
  
  /* Tipografi */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-heading: 'Poppins', var(--font-primary);
  --font-mono: 'Fira Code', 'Consolas', monospace;
  
  /* Boyutlar */
  --container-max: 1200px;
  --container-narrow: 900px;
  --header-height: 80px;
  --border-radius: 8px;
  --border-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 8px 24px rgba(0,0,0,0.15);
  --shadow-xl: 0 12px 48px rgba(0,0,0,0.2);
  
  /* Gecisler */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
}

/* Dark Mode Destegi */
@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #e0e0e0;
    --text-light: #b0b0b0;
    --bg-color: #1a1a2e;
    --bg-light: #16213e;
    --bg-dark: #0f3460;
    --border-color: #2a2a4a;
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

/* --- Utility Siniflari --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mt-4 { margin-top: var(--space-3xl); }

.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.mb-4 { margin-bottom: var(--space-3xl); }

.py-1 { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-2 { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.py-3 { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
.py-4 { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Header & Navigasyon --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
}

.logo-text span {
  color: var(--primary-color);
}

/* Ana Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-menu a {
  font-weight: 500;
  color: var(--text-color);
  padding: var(--space-sm) 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-normal);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Dropdown Menu */
.nav-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.nav-dropdown a:last-child {
  border-bottom: none;
}

.nav-dropdown a:hover {
  background: var(--bg-light);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-sm);
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-color);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: var(--space-xl);
  overflow-y: auto;
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: var(--space-md) 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-color);
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu a:hover {
  color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-slideshow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}

.hero-slideshow .slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slideshow .slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10,20,40,0.85) 0%, rgba(10,20,40,0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.hero-title span {
  color: var(--primary-light);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* --- Bilesenler --- */

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--dark-color);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background: #128c7e;
  border-color: #128c7e;
  color: var(--white);
}

/* Bolum Basliklari */
.section {
  padding: var(--space-3xl) 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--dark-color);
  text-align: center;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

/* Kartlar */
.card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
  cursor: pointer;
}

.card:hover .project-overlay {
  opacity: 1;
}

.overlay-text {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  padding: var(--space-md) var(--space-xl);
  border: 2px solid var(--white);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.overlay-text:hover {
  background: var(--white);
  color: var(--dark-color);
}

.card-content {
  padding: var(--space-lg);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--dark-color);
}

.card-text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-weight: 600;
  color: var(--primary-color);
}

.card-link:hover {
  gap: var(--space-sm);
}

/* Grid Sistemi */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Istatistikler */
.stats {
  background: var(--bg-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  padding: var(--space-xl);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Hizmet Kartlari */
.service-card {
  text-align: center;
  padding: var(--space-2xl);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
}

/* Urun Kartlari */
.product-card {
  position: relative;
}

.product-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--secondary-color);
  color: var(--white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}

.product-actions {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateY(0);
}

.product-btn {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.product-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Form Elemanlari */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--text-color);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--white);
  color: var(--text-color);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Iletisim Bilgileri */
.contact-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-light);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-md);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.contact-details p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-md);
  line-height: 1.8;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* WhatsApp Butonu */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: all var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

/* Sayfa Ic Sayfalari */
.page-header {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: var(--white);
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--white);
}

/* Blog Kartlari */
.blog-card .card-meta {
  display: flex;
  gap: var(--space-md);
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: var(--space-md);
}

.blog-card .card-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay a {
  color: var(--white);
  font-size: 1.5rem;
}

/* --- Responsive Tasarim --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }
  
  .hero-slideshow .slide {
    background-size: cover;
    background-position: center;
  }
    padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease forwards;
}

/* Scroll Animasyonlari */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Print Stilleri */
@media print {
  .header,
  .footer,
  .whatsapp-float,
  .hamburger {
    display: none !important;
  }
  body { font-size: 12pt; }
}

/* Kompakt Kartlar - Hizmetler & Projeler Sayfasi */
.compact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1024px) { .compact-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .compact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .compact-grid { grid-template-columns: 1fr; } }

.compact-card { background: var(--white); border-radius: var(--border-radius-lg); box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; overflow: hidden; display: flex; flex-direction: column; }
.compact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.compact-card-icon { width: 56px; height: 56px; border-radius: var(--border-radius); background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.4rem; margin: -1rem auto 0; box-shadow: var(--shadow-md); }
.compact-card-img { width: 100%; height: 160px; object-fit: cover; }
.compact-card-body { padding: 1rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.compact-card-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--dark-color); margin-bottom: 0.6rem; line-height: 1.3; }
.compact-card-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.55; margin-bottom: 0.75rem; flex: 1; }
.compact-card-list { list-style: none; margin: 0 0 1rem; padding: 0; font-size: 0.8rem; color: var(--text-color); }
.compact-card-list li { padding: 0.25rem 0; display: flex; align-items: center; gap: 0.4rem; }
.compact-card-list svg { width: 14px; height: 14px; stroke: var(--secondary-color); flex-shrink: 0; }
.compact-card-badge { display: inline-block; font-size: 0.7rem; font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 12px; background: var(--secondary-color); color: white; margin-bottom: 0.5rem; width: fit-content; }
.compact-card-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--primary-color); text-decoration: none; margin-top: auto; transition: color 0.2s; }
.compact-card-link:hover { color: var(--primary-dark); }
.compact-card-link svg { width: 16px; height: 16px; }

.divider-section { border-top: 1px solid var(--border-color); margin: 1rem 0 2.5rem; }

.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-6 { grid-template-columns: 1fr; } }

.project-card-compact { background: var(--white); border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; text-decoration: none; color: inherit; display: block; }
.project-card-compact:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card-img { width: 100%; height: 140px; object-fit: cover; }
.project-card-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 0.25s; display: flex; align-items: center; justify-content: center; }
.project-card-compact:hover .project-card-overlay { opacity: 1; }
.project-card-overlay span { color: white; font-weight: 600; font-size: 0.85rem; padding: 0.5rem 1rem; background: var(--primary-color); border-radius: var(--border-radius); }
.project-card-body { padding: 0.9rem 1rem 1rem; position: relative; }
.project-card-title { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: var(--dark-color); margin-bottom: 0.35rem; line-height: 1.3; }
.project-card-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.6rem; }
.project-card-tag { font-size: 0.68rem; font-weight: 600; padding: 0.12rem 0.45rem; border-radius: 10px; background: var(--bg-light); color: var(--text-color); }

.text-center { text-align: center; }
.mt-3 { margin-top: 2rem; }
.btn-view-all { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; background: var(--primary-color); color: white; border-radius: var(--border-radius); font-weight: 600; text-decoration: none; font-size: 0.95rem; transition: background 0.2s; }
.btn-view-all:hover { background: var(--primary-dark); color: white; }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  .section {
    page-break-inside: avoid;
  }
}