:root {
    --primary: #1b4d3e; /* Darker, modern green */
    --secondary: #2cc990; /* Vibrant mint accent */
    --bg-light: #f4f7f6;
    --text-dark: #2c3e50;
    --white: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* Modern Grid Layout */
.container {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

/* Sidebar Navigation Menu - Vertically Centered Only */
aside {
    background-color: var(--primary);
    color: var(--white);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-area {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 1rem;
}

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

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

.nav-links a {
    color: #b3d4cb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: block;
    padding: 0.5rem 0;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary);
}

/* Main Content Window */
main {
    padding: 3rem;
    max-width: 1200px;
    width: 100%;
}

header {
    margin-bottom: 3rem;
}

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

header p {
    font-style: italic;
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Automated Content Slots: Directory Grid */
.directory-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Card templates optimized for programmatically generated text drops */
.store-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--secondary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.store-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.store-card p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

/* Simple Click Box Rating Container */
.rating-box {
    background: #f8f9fa;
    border: 1px dashed #ccc;
    border-radius: 4px;
    padding: 0.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rating-label {
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #7f8c8d;
}

.store-btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: bold;
    transition: background 0.2s ease;
}

.store-btn:hover {
    background-color: #2c3e50;
}

footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
    text-align: center;
    font-size: 0.85rem;
    color: #95a5a6;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    aside {
        padding: 1rem;
    }
    main {
        padding: 1.5rem;
    }
}
