/* =========================================================================
   Erdemli Güvenlik | Frontend Vanilla CSS Architecture
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  /* Colors */
  --color-dark: #0d1b2a;
  --color-dark-muted: rgba(13, 27, 42, 0.95);
  --color-red: #e63946;
  --color-red-hover: #d62828;
  --color-bg: #f0f4f8;
  --color-white: #ffffff;
  --color-text: #1a2332;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  
  /* Typography */
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Sizes & Layout */
  --radius-card: 10px;
  --transition: 0.2s ease transform, 0.2s ease background-color, 0.2s ease box-shadow, 0.2s ease opacity;
  --max-width: 1280px;
}

/* ================== CSS RESET ================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ================== UTILITIES & GRID ================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-red { color: var(--color-red); }
.text-dark { color: var(--color-dark); }
.text-white { color: var(--color-white); }
.text-muted { color: var(--color-muted); }

.bg-dark { background-color: var(--color-dark); color: var(--color-white); }
.bg-red { background-color: var(--color-red); color: var(--color-white); }
.bg-white { background-color: var(--color-white); }
.bg-light { background-color: var(--color-bg); }

/* Fluid Typography */
.fs-h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; text-transform: uppercase; }
.fs-h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; text-transform: uppercase; }
.fs-h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.fs-large { font-size: clamp(1.125rem, 2vw, 1.25rem); }

/* Grid System */
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); } .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* Spacing */
.py-section { padding-top: 5rem; padding-bottom: 5rem; }
.pt-section { padding-top: 5rem; }
.pb-section { padding-bottom: 5rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }

/* ================== COMPONENTS ================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}
.btn-primary { background: var(--color-red); color: #fff; }
.btn-primary:hover { background: var(--color-red-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--color-white); color: var(--color-white); }
.btn-outline:hover { background: var(--color-white); color: var(--color-dark); transform: translateY(-2px); }

/* Card Style */
.card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }

/* ================== REVEAL ANIMATIONS ================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
