﻿/* ==========================================================================
   ATAK YAPI - GLOBAL CSS DESIGN SYSTEM | main.css v2.0
   ========================================================================== */

@import url(''https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Space+Grotesk:wght@600;700;800&display=swap'');

/* 1. DESIGN TOKENS */
:root {
  --red:         #D90429;
  --red-hover:   #B8011F;
  --red-light:   rgba(217, 4, 41, 0.08);
  --red-mid:     rgba(217, 4, 41, 0.15);
  --dark-900: #060A10;
  --dark-800: #0B1120;
  --dark-700: #0F172A;
  --dark-600: #1E293B;
  --dark-500: #334155;
  --dark-400: #475569;
  --gray-300: #64748B;
  --gray-200: #94A3B8;
  --gray-100: #CBD5E1;
  --gray-50:  #E2E8F0;
  --bg-light: #F8FAFC;
  --white:    #FFFFFF;
  --text-primary:   #0F172A;
  --text-secondary: #334155;
  --text-muted:     #64748B;
  --text-light:     #94A3B8;
  --border:         #E2E8F0;
  --border-dark:    #1E293B;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px -4px rgba(15,23,42,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px -8px rgba(15,23,42,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl:  0 24px 64px -12px rgba(15,23,42,0.18), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-red: 0 8px 32px rgba(217, 4, 41, 0.25);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-2xl: 32px;
  --radius-full: 999px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --section-py: clamp(60px, 8vw, 100px);
  --container-px: clamp(16px, 4vw, 40px);
  --font-body: ''Plus Jakarta Sans'', -apple-system, BlinkMacSystemFont, ''Segoe UI'', Roboto, sans-serif;
  --font-display: ''Space Grotesk'', ''Plus Jakarta Sans'', sans-serif;
}

/* 2. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--text-primary); background-color: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.2; color: var(--text-primary); }

/* 3. LAYOUT */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--container-px); }
.container--wide { max-width: 1400px; }
.container--narrow { max-width: 860px; }
.section { padding: var(--section-py) 0; }
.section--dark { background: var(--dark-700); color: var(--white); }
.section--gray { background: var(--bg-light); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex { display: flex; }
.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; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }

/* 4. TYPOGRAPHY */
.display-1 { font-family: var(--font-display); font-size: clamp(38px, 6vw, 72px); font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; }
.display-2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 52px); font-weight: 800; line-height: 1.15; letter-spacing: -1px; }
.h1 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; letter-spacing: -0.5px; }
.h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; letter-spacing: -0.3px; }
.h3 { font-size: clamp(18px, 2vw, 24px); font-weight: 700; }
.h4 { font-size: clamp(16px, 1.5vw, 20px); font-weight: 700; }
.lead { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.75; color: var(--text-secondary); }
.text-sm { font-size: 14px; } .text-xs { font-size: 12px; }
.text-muted { color: var(--text-muted); } .text-light { color: var(--text-light); }
.text-white { color: var(--white); } .text-red { color: var(--red); }
.text-center { text-align: center; } .font-bold { font-weight: 700; } .font-semibold { font-weight: 600; }

.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--red); margin-bottom: 14px; }
.section-label::before { content: ''; width: 20px; height: 2px; background: var(--red); border-radius: 2px; flex-shrink: 0; }
.section-header { margin-bottom: clamp(36px, 5vw, 56px); }
.section-header.centered { text-align: center; }
.section-header.centered .section-label { justify-content: center; }

/* 5. BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; font-size: 15px; font-weight: 700; border-radius: var(--radius-full); border: 2px solid transparent; cursor: pointer; transition: var(--transition); white-space: nowrap; line-height: 1; text-decoration: none; }
.btn--primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--primary:hover { background: var(--red-hover); border-color: var(--red-hover); transform: translateY(-2px); box-shadow: var(--shadow-red); }
.btn--outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn--outline:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn--dark { background: var(--dark-700); color: var(--white); border-color: var(--dark-700); }
.btn--dark:hover { background: var(--dark-800); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--sm { padding: 9px 20px; font-size: 13px; }
.btn--icon-right::after { content: '→'; transition: transform var(--transition); }
.btn--icon-right:hover::after { transform: translateX(4px); }

/* 6. BADGES */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; font-size: 12px; font-weight: 700; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 0.5px; }
.badge--red { background: var(--red-light); color: var(--red); border: 1px solid var(--red-mid); }
.badge--dark { background: var(--dark-600); color: var(--gray-100); }
.badge--white { background: rgba(255,255,255,0.12); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.badge--green { background: rgba(5,150,105,0.1); color: #059669; border: 1px solid rgba(5,150,105,0.2); }

/* 7. CARDS */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gray-100); }
.card-body { padding: 28px; }
.service-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.service-card:hover { border-color: var(--red); transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.service-card__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service-card__title { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.service-card__desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.service-card__link { font-size: 14px; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 6px; transition: gap var(--transition); }
.service-card:hover .service-card__link { gap: 10px; }
.stat-card { text-align: center; padding: 28px 20px; }
.stat-card__num { font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 8px; }
.stat-card__label { font-size: 14px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* 8. PAGE HERO */
.page-hero { position: relative; background: var(--dark-700); min-height: clamp(320px, 45vw, 520px); display: flex; align-items: center; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(9,11,20,0.92) 0%, rgba(15,23,42,0.75) 100%); }
.page-hero__content { position: relative; z-index: 2; padding: 60px 0; }
.page-hero__title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 52px); font-weight: 800; color: var(--white); line-height: 1.15; letter-spacing: -1px; margin-bottom: 16px; }
.page-hero__desc { font-size: clamp(15px, 1.5vw, 18px); color: rgba(255,255,255,0.75); max-width: 600px; line-height: 1.7; margin-bottom: 28px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep { color: rgba(255,255,255,0.3); }
.breadcrumb__current { color: var(--red); font-weight: 600; }

/* 9. CTA BANNER */
.cta-banner { background: linear-gradient(135deg, var(--dark-800) 0%, #1a0510 50%, var(--dark-700) 100%); border-radius: var(--radius-2xl); padding: clamp(40px, 6vw, 70px) clamp(24px, 6vw, 70px); text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(217,4,41,0.15) 0%, transparent 65%); }
.cta-banner__title { font-family: var(--font-display); font-size: clamp(24px, 3.5vw, 42px); font-weight: 800; color: var(--white); margin-bottom: 14px; position: relative; }
.cta-banner__title span { color: var(--red); }
.cta-banner__desc { font-size: clamp(14px, 1.4vw, 17px); color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 32px; position: relative; }
.cta-banner__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* 10. LOGO STRIP */
.logo-strip { overflow: hidden; padding: 20px 0; position: relative; }
.logo-strip::before, .logo-strip::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.logo-strip::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.logo-strip::after { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.logo-strip__track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 28s linear infinite; }
.logo-strip__track:hover { animation-play-state: paused; }
.logo-strip__item { height: 40px; width: auto; opacity: 0.45; filter: grayscale(1); transition: var(--transition); flex-shrink: 0; }
.logo-strip__item:hover { opacity: 0.8; filter: grayscale(0); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 11. FEATURE LIST */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; background: var(--bg-light); border-radius: var(--radius-lg); border: 1px solid var(--border); transition: var(--transition); }
.feature-item:hover { border-color: var(--red); background: var(--red-light); }
.feature-item__icon { width: 40px; height: 40px; background: var(--red-light); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; transition: var(--transition); }
.feature-item:hover .feature-item__icon { background: var(--red); }
.feature-item__title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.feature-item__desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* 12. FORMS */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.form-input, .form-textarea, .form-select { width: 100%; padding: 12px 16px; background: var(--bg-light); border: 1.5px solid var(--border); border-radius: var(--radius-md); font-size: 15px; color: var(--text-primary); transition: border-color var(--transition), box-shadow var(--transition); outline: none; }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-light); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-light); }

/* 13. ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes whatsapp-pulse { 0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); } 50% { box-shadow: 0 6px 36px rgba(37,211,102,0.65); } }
.animate-fade-up { animation: fadeUp 0.55s cubic-bezier(0.4, 0, 0.2, 1) both; }
.animate-delay-1 { animation-delay: 0.1s; } .animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; } .animate-delay-4 { animation-delay: 0.4s; }

/* 14. WHATSAPP */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37,211,102,0.4); animation: whatsapp-pulse 2.5s ease-in-out infinite; transition: transform var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--white); }

/* 15. SCROLL PROGRESS */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--red); z-index: 10000; width: 0%; transition: width 0.1s linear; }

/* 16. MISC */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }

/* 17. RESPONSIVE */
@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  :root { --section-py: clamp(44px, 10vw, 64px); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 24px; }
  .page-hero { min-height: 280px; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .btn--lg { padding: 14px 28px; font-size: 15px; }
}
@media (max-width: 480px) {
  .cta-banner__actions { flex-direction: column; align-items: center; }
  .stat-card__num { font-size: 40px; }
}