/* ============================================
   VURAL CIFCI — Baby blue themed personal site
   ============================================ */

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

:root {
  /* Baby blue palette */
  --bg: #eaf4ff;            /* page background - light baby blue */
  --bg-alt: #d6e8fb;        /* section alt / cards - slightly deeper baby blue */
  --bg-card: #ffffff;       /* card surfaces - clean white for contrast */
  --text: #0d2a44;          /* deep navy for text */
  --text-2: #3a5878;        /* muted slate */
  --text-3: #6a86a3;        /* lighter slate */
  --border: #c6dcf2;        /* baby blue border */
  --border-strong: #9bc4ea; /* stronger baby blue border */
  --accent: #4ea7e8;        /* primary baby blue accent */
  --accent-deep: #2b80c2;   /* deeper blue for buttons */
  --accent-soft: #cfe6fb;   /* very soft blue highlight */
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(234,244,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--accent-deep); }

@media (max-width: 600px) {
  .nav { gap: 16px; }
  .nav a { font-size: 13px; }
}

/* Hero */
.hero {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text { min-width: 0; }
.hero-title {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  max-width: 800px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Hero Photo */
.hero-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-photo img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #ffffff;
  box-shadow:
    0 0 0 1px var(--border-strong),
    0 20px 40px -10px rgba(46,128,194,0.35);
  background: var(--bg-card);
}

@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .hero-photo { order: -1; }
  .hero-photo img { max-width: 220px; }
  .hero-sub { font-size: 16px; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent-deep);
  color: #ffffff;
}
.btn-primary:hover {
  background: #1f6bb0;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(46,128,194,0.6);
}

/* Sections */
section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}
section:last-of-type { border-bottom: none; }

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 48px;
  max-width: 700px;
}

@media (max-width: 600px) {
  section { padding: 60px 0; }
}

/* About */
.about-text {
  font-size: 18px;
  color: var(--text-2);
  max-width: 800px;
  line-height: 1.7;
}

/* Companies */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.company-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.company-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(46,128,194,0.25);
}
.company-logo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
}
.company-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.company-meta {
  flex: 1;
  min-width: 0;
}
.company-meta h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}
.company-role {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
  margin-bottom: 6px;
}
.company-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

/* Impact */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.impact-cell {
  background: var(--bg-card);
  padding: 32px 24px;
  transition: background 0.2s ease;
}
.impact-cell:hover {
  background: var(--bg-alt);
}
.impact-num {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent-deep);
  line-height: 1;
  margin-bottom: 8px;
  font-feature-settings: "tnum";
}
.impact-label {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .impact-grid { grid-template-columns: 1fr; }
}

/* Footer */
.footer {
  padding: 80px 0 60px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}
.footer-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-sub {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 24px;
  max-width: 500px;
}
.footer-meta {
  text-align: right;
  font-size: 14px;
  color: var(--text-3);
}
.footer-name {
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 4px;
}
.footer-tag {
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-3);
}

@media (max-width: 700px) {
  .footer-inner { gap: 40px; }
  .footer-meta { text-align: left; }
}