/*
Theme Name: Litbuy Clean SEO Theme v2
Theme URI: https://sheetfinds.com/
Author: SEO Expert
Author URI: https://sheetfinds.com/
Description: Updated version. Minimalist, high-speed, light-colored WordPress theme optimized for Google SEO. Features product images placeholder, updated header branding to "Litbuy Spreadsheet", and clickable Guide dropdown links.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: litbuy-seo
*/

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: #fafbfa;
    color: #2d3748;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #2b6cb0;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1a433e;
}

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

/* --- Header & Navigation --- */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    border-bottom: 1px solid #edf2f7;
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 22px;
    font-weight: 700;
    color: #1a433e;
    letter-spacing: -0.5px;
}

.logo span {
    color: #319795;
    margin-left: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: #4a5568;
    padding: 8px 0;
}

.nav-menu a:hover {
    color: #319795;
}

/* Dropdown Selector Stylings */
.seo-dropdown-container {
    position: relative;
}

.seo-select {
    appearance: none;
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 32px 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease;
}

.seo-select:hover, .seo-select:focus {
    border-color: #319795;
    background-color: #ffffff;
}

.seo-dropdown-container::after {
    content: "▼";
    font-size: 10px;
    color: #a0aec0;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, #f0f7f4 0%, #ffffff 100%);
    padding: 70px 0 50px 0;
    text-align: center;
    border-bottom: 1px solid #edf2f7;
}

.hero-section h1 {
    font-size: 40px;
    font-weight: 800;
    color: #1a433e;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section p {
    font-size: 17px;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto 30px auto;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #319795;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(49, 151, 149, 0.15);
}

.btn-primary:hover {
    background-color: #287977;
    color: #ffffff;
}

.btn-secondary {
    background-color: #1a433e;
    color: #ffffff;
}

/* --- Category Grid with Images --- */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a433e;
    text-align: center;
    margin: 50px 0 30px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.category-card {
    background-color: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    color: #4a5568;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
    transition: all 0.2s ease;
    display: block;
}

.category-card:hover {
    border-color: #319795;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(49, 151, 149, 0.1);
}

.category-image-placeholder {
    width: 100%;
    height: 110px;
    background-color: #f7fafc;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    font-size: 28px;
    border: 1px dashed #e2e8f0;
}

.category-name {
    font-weight: 600;
    font-size: 14px;
    color: #2d3748;
}

.category-card:hover .category-name {
    color: #319795;
}

/* --- Article Grid --- */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.article-card {
    background-color: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.article-card h3 {
    font-size: 18px;
    color: #1a433e;
    margin-bottom: 12px;
}

.article-card p {
    font-size: 14px;
    color: #718096;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* --- Footer --- */
.site-footer {
    background-color: #1a433e;
    color: #a0aec0;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
    margin-top: 60px;
}

.footer-links a {
    color: #e2e8f0;
    margin: 0 10px;
}

@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 15px; }
    .grid-container { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}