:root {
  --primary-color: #005696; /* GMF Aero Blue-ish */
  --primary-dark: #003d6b;
  --accent-color: #00a8e8;
  --text-color: #333333;
  --bg-color: #f4f7f6;
  --card-bg: #ffffff;
  --sidebar-width: 280px;
  --transition-speed: 0.3s;
  --font-main: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  display: flex;
  min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
  width: var(--sidebar-width);
  background: linear-gradient(
    180deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  position: fixed;
  height: 100vh;
  padding: 2rem;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.sidebar h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1rem;
}

.nav-links {
  list-style: none;
}

.nav-links li {
  margin-bottom: 0.5rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  transition: all var(--transition-speed);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateX(5px);
}

.nav-links a i {
  margin-right: 10px;
}

/* Main Content */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  padding: 3rem 4rem;
}

header {
  margin-bottom: 3rem;
  animation: fadeInDown 0.8s ease-out;
}

header h1 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.1rem;
  color: #666;
}

/* Cards and Sections */
.doc-section {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.8s ease-out;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.doc-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.doc-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

.doc-section h3 {
  color: var(--primary-dark);
  margin: 1.5rem 0 0.8rem 0;
  font-size: 1.3rem;
}

.step-list {
  counter-reset: step-counter;
  list-style: none;
  margin-top: 1rem;
}

.step-list li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
}

.step-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 2rem;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 4px 6px rgba(0, 168, 232, 0.3);
}

.info-box {
  background-color: #e3f2fd;
  border-left: 5px solid var(--accent-color);
  padding: 1.2rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
}

.warning-box {
  background-color: #fff3e0;
  border-left: 5px solid #ff9800;
  padding: 1.2rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
}

img.screenshot {
  max-width: 100%;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
}

.screenshot-container {
  margin: 1.5rem 0;
  text-align: center;
}

.screenshot-container img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.screenshot-container img:hover {
  transform: scale(1.02);
}

.screenshot-caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    padding: 1rem;
  }
  .main-content {
    margin-left: 0;
    padding: 1.5rem;
  }
  body {
    flex-direction: column;
  }
}
