/* KK.org Inspired Minimalist Site Architecture for icelabz.co.uk */

:root {
  --bg-page: #fcfcfc;
  --sidebar-bg: #f4f5f7;
  --text-main: #172b4d;
  --text-muted: #5e6c84;
  --accent-blue: #0052cc;
  --accent-green: #00875a;
  --border-color: #e1e4e8;
  --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font-serif);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 16px;
  display: flex;
  min-height: 100vh;
}

/* Left Fixed Sidebar Navigation (KK.org style) */
.site-sidebar {
  width: 240px;
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
  padding: 24px 20px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--font-sans);
  z-index: 10;
}

.brand-logo-wrapper {
  margin-bottom: 24px;
}

.brand-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.nav-link:hover {
  background: rgba(0, 82, 204, 0.08);
  color: var(--accent-blue);
}

.nav-link.active {
  background: var(--accent-blue);
  color: white;
  font-weight: 600;
}

.sidebar-footer {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

/* Main Content Column */
.site-content {
  margin-left: 240px;
  flex: 1;
  padding: 40px 60px;
  max-width: 900px;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.3;
}

h1 { font-size: 28px; font-weight: 700; border-bottom: 2px solid var(--text-main); padding-bottom: 8px; }
h2 { font-size: 20px; font-weight: 600; margin-top: 24px; }
h3 { font-size: 16px; font-weight: 600; margin-top: 18px; }

p {
  margin-bottom: 16px;
  color: #253858;
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--accent-blue);
  text-decoration: underline;
}

a:hover {
  color: #0747a6;
}

/* Cards & Callouts */
.feature-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.badge-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  background: #deebff;
  color: var(--accent-blue);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Form Styles */
.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-sans);
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
  background: white;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.2);
}

.btn-submit {
  font-family: var(--font-sans);
  background: var(--accent-blue);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: #0747a6;
}

/* Responsive Rules */
@media (max-width: 768px) {
  body { flex-direction: column; }
  .site-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .site-content {
    margin-left: 0;
    padding: 24px;
  }
}
