/* Documentation Styles for JagWell Wellness App */
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

body {
 font-family: 'Poppins', sans-serif;
 line-height: 1.6;
 color: #333;
 background: #D8D2C2
 /*background-image: url('../assets/background.svg'); */
}

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

/* Header Styles */
header {
 background: linear-gradient(135deg, #B17457, #4A4947);
 color: white;
 padding: 20px 0;
 /* MODIFIED: Removed border-radius for a clean sticky look */
 border-radius: 0;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 /* ADDED: Makes the header stick to the top when scrolling */
 position: sticky;
 top: 0;
 z-index: 100;
}

.header-content {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 0 20px 20px;
 flex-wrap: wrap;
 gap: 15px;
}

.logo {
 width: 60px;
 height: auto;
 border-radius: 12px;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

header h1 {
 font-size: 1.8rem;
 font-weight: 600;
 flex-grow: 1;
 text-align: center;
}

nav ul {
 display: flex;
 list-style: none;
 justify-content: center;
 gap: 20px;
 flex-wrap: wrap;
 padding: 0 20px;
}

nav a {
 color: white;
 text-decoration: none;
 padding: 8px 16px;
 border-radius: 20px;
 /* MODIFIED: Added font-weight to the transition */
 transition: background-color 0.3s, font-weight 0.3s;
 /* ADDED: Set a base weight for the transition to work from */
 font-weight: 400;
}

/* ADDED: Visual feedback for hover and the active scroll-spy link */
nav a:hover,
nav a.active {
 background-color: rgba(255, 255, 255, 0.15);
 font-weight: 600; /* Makes the active link bold */
}

.section h2 {
 color: #B17457;
 margin-bottom: 20px;
 padding-bottom: 10px;
 border-bottom: 2px solid #e0e0e0;
}

.section h3 {
 color: #4A4947;
 margin: 15px 0 10px;
}

.tech-stack ul,
.feature-list {
 padding-left: 20px;
}

.tech-stack li,
.feature-list li {
 margin: 8px 0;
}

.section ol{
  margin-bottom: 25px;
}

.section .btn{
  margin-bottom: 25px;
}

code {
 background-color: #f0f0f0;
 padding: 2px 6px;
 border-radius: 4px;
 font-family: monospace;
}

pre {
 background-color: #2d2d2d;
 color: #f8f8f2;
 padding: 15px;
 border-radius: 5px;
 overflow-x: auto;
 margin: 15px 0;
}

pre code {
 background: none;
 color: inherit;
 padding: 0;
}

/* User Guides Section */
.user-guides {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 20px;
 margin-top: 20px;
 margin-bottom: 25px;
}

.guide-card {
 background: #FAF7F0;
 border: 1px solid #e0e0e0;
 border-radius: 8px;
 padding: 20px;
 text-align: center;
 transition: transform 0.3s, box-shadow 0.3s;
}

.guide-card:hover {
 transform: translateY(-5px);
 box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.guide-card h3 {
color: #B17457;
margin-top: 0;
}

.guide-card .btn {
 display: inline-block;
 margin-top: 15px;
 padding: 10px 20px;
 background: linear-gradient(135deg, #B17457, #4A4947);
 color: white;
 text-decoration: none;
 border-radius: 5px;
 transition: opacity 0.3s;
}

.guide-card .btn:hover {
 opacity: 0.9;
}

/* Button Styles */
.btn {
 display: inline-block;
 padding: 10px 20px;
 background: linear-gradient(135deg, #4A4947, #B17457);
 color: white;
 text-decoration: none;
 border-radius: 5px;
 transition: opacity 0.3s;
}

.btn:hover {
 opacity: 0.9;
}

/* Footer Styles */
footer {
 text-align: center;
 padding: 20px;
 margin-top: 30px;
 color: #666;
 border-top: 1px solid #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
 .header-content {
 flex-direction: column;
 text-align: center;
 }
 
 nav ul {
  flex-direction: column;
  align-items: center;
  gap: 10px;
 }
 
 .section {
 padding: 50px;
 }
 
 .user-guides {
  grid-template-columns: 1fr;
 }
}