/* --- CSS VARIABLES: The Evergreen Color Palette --- */
:root {
    --primary: #2d5a27;      /* Deep Forest Green */
    --accent: #8bc34a;       /* Fresh Leaf Green */
    --light: #f1f8e9;        /* Minty White */
    --dark: #1b3022;         /* Dark Moss */
    --gray: #757575;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 16px;
}

/* --- RESET & CORE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f9fbf9;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* --- NAVIGATION --- */
nav {
    background: var(--primary);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}

nav a:hover {
    color: var(--accent);
}

/* --- CARDS & GRID --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background: var(--dark);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(45, 90, 39, 0.3);
}

/* --- FORMS & INPUTS --- */
input[type="text"], 
input[type="password"], 
input[type="email"], 
textarea {
    width: 100%;
    padding: 14px 20px;
    margin: 10px 0;
    border: 2px solid #edf2ed;
    border-radius: 12px;
    background: #fcfdfc;
    font-size: 1rem;
    transition: 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}

/* --- PROGRESS TRACKER STYLES --- */
.progress-container {
    background: #e0e0e0;
    border-radius: 20px;
    height: 14px;
    margin: 15px 0;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent), var(--primary));
    height: 100%;
    border-radius: 20px;
}

.step-row {
    background: #fff;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #f0f0f0;
}

.step-row.done {
    background: #f8f9f8;
    opacity: 0.7;
}

/* --- HEADINGS --- */
h2, h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

h1 { font-size: 2.2rem; letter-spacing: -1px;
	color: light green; }

/* --- BADGES & TAGS --- */
.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--light);
    color: var(--primary);
}

/* Dashboard Card Layout */
.garden-card {
    display: grid;
    grid-template-columns: 300px 1fr; /* Fixed width for info, flexible for tasks */
    gap: 0;
    overflow: hidden;
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

/* Left Side: Plant Identity */
.garden-info-panel {
    background: var(--light);
    padding: 30px;
    border-right: 1px solid #e0e8e0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Right Side: Interactive Tasks */
.garden-task-panel {
    padding: 30px;
    background: var(--white);
}

/* Typography Enhancements */
.plant-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.percent-display {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 10px 0;
}

/* Custom Checkboxes */
.step-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 2px solid var(--accent);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.step-row input[type="checkbox"]:checked {
    background-color: var(--accent);
}

.step-row input[type="checkbox"]:checked::after {
    content: "✔";
    color: white;
    font-size: 14px;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    background: #fff;
    border: 1px solid var(--accent);
    color: var(--primary);
}