/* ==========================================================================
   DEER - Premium Utilitarian Minimalism & Editorial UI Theme
   Enforces: No Neons, No Heavy Shadows, Crisp 8px Radii, Flat Cards & Clean Type
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fira+Code:wght@400;500;600&display=swap');

:root {
  /* Utilitarian Monochrome Palette */
  --deer-bg: #0d1117;
  --deer-surface: #161b22;
  --deer-surface-hover: #1c2128;
  
  --deer-border: #30363d;
  --deer-border-light: rgba(255, 255, 255, 0.06);

  --deer-accent: #e56b10;
  --deer-accent-subtle: rgba(229, 107, 16, 0.12);

  --deer-text-primary: #f0f6fc;
  --deer-text-secondary: #8b949e;
  --deer-text-muted: #6e7681;

  --deer-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --deer-font-mono: 'Fira Code', monospace;

  --deer-radius-sm: 4px;
  --deer-radius-md: 8px;
  --deer-radius-lg: 12px;

  --deer-transition: all 0.15s ease-in-out;
}

body {
  background-color: var(--deer-bg);
  color: var(--deer-text-primary);
  font-family: var(--deer-font-sans);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  color: var(--deer-text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  color: var(--deer-text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

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

a:hover {
  color: var(--deer-accent);
}

/* Minimal Navbar */
.mini-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--deer-border);
  padding: 14px 0;
}

.mini-nav {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 26px;
  height: 26px;
}

.brand-title {
  font-family: var(--deer-font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--deer-text-primary);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link-item {
  color: var(--deer-text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--deer-transition);
}

.nav-link-item:hover {
  color: var(--deer-text-primary);
}

/* Flat Buttons */
.btn-flat-primary {
  background: #f0f6fc;
  color: #0d1117 !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--deer-radius-md);
  border: 1px solid #f0f6fc;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--deer-transition);
  cursor: pointer;
}

.btn-flat-primary:hover {
  background: #ffffff;
  transform: scale(0.98);
}

.btn-flat-primary:active {
  transform: scale(0.96);
}

.btn-flat-secondary {
  background: var(--deer-surface);
  color: var(--deer-text-primary) !important;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--deer-radius-md);
  border: 1px solid var(--deer-border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--deer-transition);
  cursor: pointer;
}

.btn-flat-secondary:hover {
  background: var(--deer-surface-hover);
  border-color: var(--deer-text-secondary);
}

.btn-flat-secondary:active {
  transform: scale(0.98);
}

/* Micro Kbd Tag */
kbd {
  font-family: var(--deer-font-mono);
  font-size: 0.75rem;
  background: var(--deer-surface);
  border: 1px solid var(--deer-border);
  color: var(--deer-text-secondary);
  padding: 2px 6px;
  border-radius: var(--deer-radius-sm);
}

/* Micro Tag Badge */
.tag-badge {
  display: inline-block;
  font-family: var(--deer-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  background: var(--deer-accent-subtle);
  color: var(--deer-accent);
  border: 1px solid rgba(229, 107, 16, 0.25);
  border-radius: var(--deer-radius-sm);
  margin-bottom: 16px;
}

/* Hero Section */
.hero-minimal {
  padding: 90px 0 60px 0;
  text-align: center;
}

.hero-h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.12;
  max-width: 820px;
  margin: 0 auto 18px auto;
  color: var(--deer-text-primary);
}

@media (max-width: 768px) {
  .hero-h1 { font-size: 2.2rem; }
}

.hero-p {
  font-size: 1.1rem;
  color: var(--deer-text-secondary);
  max-width: 580px;
  margin: 0 auto 32px auto;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* Faux macOS Window Frame */
.mac-frame {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--deer-surface);
  border: 1px solid var(--deer-border);
  border-radius: var(--deer-radius-lg);
  overflow: hidden;
}

.mac-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #090d14;
  border-bottom: 1px solid var(--deer-border);
}

.mac-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #30363d;
}

.mac-title {
  font-family: var(--deer-font-mono);
  font-size: 0.78rem;
  color: var(--deer-text-muted);
  margin-left: 8px;
}

.mac-img {
  width: 100%;
  display: block;
}

/* Flat Bento Grid */
.bento-flat-section {
  padding: 70px 0;
}

.bento-flat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .bento-flat-grid { grid-template-columns: 1fr; }
}

.bento-flat-card {
  background: var(--deer-surface);
  border: 1px solid var(--deer-border);
  border-radius: var(--deer-radius-lg);
  padding: 28px;
  transition: var(--deer-transition);
}

.bento-flat-card:hover {
  background: var(--deer-surface-hover);
  border-color: var(--deer-text-secondary);
}

.bento-h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

/* Split Code & Terminal Section */
.split-flat-section {
  padding: 40px 0 80px 0;
}

.flat-code-box {
  background: #090d14;
  border: 1px solid var(--deer-border);
  border-radius: var(--deer-radius-lg);
  padding: 24px;
  font-family: var(--deer-font-mono);
  font-size: 0.85rem;
}

.c-kw { color: #e56b10; font-weight: 600; }
.c-fn { color: #58a6ff; }
.c-cm { color: #8b949e; font-style: italic; }

/* Rich Utilitarian Footer with UGURTECH Reference */
.minimal-footer {
  background: #090d14;
  border-top: 1px solid var(--deer-border);
  padding: 60px 0 30px 0;
  margin-top: 40px;
}

.footer-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--deer-font-mono);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--deer-text-primary);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--deer-text-secondary);
  line-height: 1.6;
  max-width: 420px;
}

.footer-heading {
  font-family: var(--deer-font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--deer-text-primary);
  margin-bottom: 16px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a {
  color: var(--deer-text-secondary);
  font-size: 0.88rem;
}

.footer-list a:hover {
  color: var(--deer-accent);
}

.footer-bottom {
  border-top: 1px solid var(--deer-border);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--deer-text-muted);
}

.ugurtech-link {
  color: var(--deer-text-primary);
  font-weight: 600;
}

.ugurtech-link:hover {
  color: var(--deer-accent);
  text-decoration: underline;
}
