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

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #cc1f1f;
  --primary-dark: #a01515;
  --primary-light: #e83535;
  --secondary: #1a1a1a;
  --dark: #111111;
  --gray-dark: #333333;
  --gray-mid: #666666;
  --gray-light: #999999;
  --gray-bg: #f5f5f5;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius: 4px;
  --radius-lg: 8px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Cal Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--secondary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { color: var(--gray-mid); line-height: 1.75; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }
.text-red { color: var(--primary); }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ===== STICKY SOCIAL (bottom-right) ===== */
.sticky-social {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sticky-social__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
}
.sticky-social__btn svg { flex-shrink: 0; color: var(--primary); }
.sticky-social__btn:hover {
  transform: translateY(-2px);
  border-color: rgba(204,31,31,0.45);
  box-shadow: var(--shadow-lg);
}
.sticky-social__btn--whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: var(--white);
}
.sticky-social__btn--whatsapp svg { color: var(--white); }
.sticky-social__btn--instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: var(--white);
}
.sticky-social__btn--instagram svg { color: var(--white); }
.sticky-social__btn--facebook,
.sticky-social__btn[aria-label="Facebook"] {
  background: #1877F2;
  border-color: #1877F2;
  color: var(--white);
}
.sticky-social__btn--facebook svg,
.sticky-social__btn[aria-label="Facebook"] svg { color: var(--white); }
@media (max-width: 520px) {
  .sticky-social__btn span { display: none; }
  .sticky-social__btn { width: 46px; height: 46px; justify-content: center; padding: 0; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(204,31,31,0.30);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-outline-red {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-red:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===== SECTION HEADER ===== */
.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--primary);
  display: inline-block;
}
.section-title { color: var(--dark); margin-bottom: 16px; }
.section-title span { color: var(--primary); }
.section-desc { max-width: 560px; color: var(--gray-mid); }
.section-header.centered .section-desc { margin: 0 auto; }

/* ===== DIVIDER LINE ===== */
.red-line {
  width: 56px; height: 3px;
  background: var(--primary);
  margin-top: 18px;
}
.red-line.centered { margin: 18px auto 0; }

/* ===== HEADER ===== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
#site-header.scrolled {
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo img { height: 52px; width: auto; }
.logo-text {
  display: flex; flex-direction: column;
}
.logo-text span:first-child {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--dark);
  line-height: 1;
}
.logo-text span:last-child {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--gray-mid);
  text-transform: uppercase;
}

.main-nav ul { display: flex; gap: 6px; align-items: center; }
.main-nav ul li a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-dark);
  padding: 8px 14px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--primary);
  background: rgba(204,31,31,0.06);
}
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}
.header-phone svg { color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 78px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 998;
  box-shadow: var(--shadow);
}
.mobile-nav.open { display: block; }
.mobile-nav ul li { border-bottom: 1px solid var(--border); }
.mobile-nav ul li a {
  display: block;
  padding: 14px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-dark);
}
.mobile-nav ul li a:hover { color: var(--primary); }

/* ===== FOOTER ===== */
#site-footer {
  background: #111111;
  color: var(--white);
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-brand .footer-logo img { height: 72px; margin-bottom: 18px; }
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 280px;
}
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--primary); padding-left: 4px; }
.footer-col ul li a::before {
  content: '›';
  color: var(--primary);
  font-size: 1.1rem;
}
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-item .icon {
  width: 32px; height: 32px;
  background: rgba(204,31,31,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 0.75rem;
  margin-top: 2px;
}
.footer-contact-item p {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  line-height: 1.6;
}
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: var(--primary); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  margin-top: 78px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: #111;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.45;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: url('../resimler/hero-pattern.svg') center/cover;
  opacity: 0.06;
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--primary); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.animate-fade-up { animation: fadeInUp 0.7s ease both; }
.animate-fade-left { animation: fadeInLeft 0.7s ease both; }
.animate-fade-right { animation: fadeInRight 0.7s ease both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  transform: translateY(-4px);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary);
  padding: 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.2);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== PROCESS STEPS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 36px; left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: linear-gradient(to right, var(--primary), rgba(204,31,31,0.2));
}
.process-step {
  padding: 24px 20px;
  text-align: center;
  position: relative;
}
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}
.process-step h4 {
  font-family: var(--font-display);
  color: var(--dark);
  margin-bottom: 10px;
}
.process-step p { font-size: 0.88rem; }

/* ===== FEATURE ICONS ===== */
.feature-icon {
  width: 58px; height: 58px;
  border-radius: var(--radius);
  background: rgba(204,31,31,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition);
}
.feature-icon svg { color: var(--primary); }
.card:hover .feature-icon {
  background: var(--primary);
}
.card:hover .feature-icon svg { color: var(--white); }

/* ===== CONTACT FORM ===== */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(204,31,31,0.10);
}
textarea.form-control { resize: vertical; min-height: 130px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-inner .stat-item:nth-child(2) { border-right: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}

@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 60px 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
}