/* assets/css/home.css */

.home-container {
    max-width: 1400px;
    margin: 0 auto;
    font-family: var(--md-text-font-family, sans-serif);
}

/* Category Sections */
.category-section {
    margin-bottom: 60px;
    animation: fadeIn 0.6s ease-out forwards;
}

.category-header {
    margin-bottom: 24px;
    border-bottom: 2px solid var(--md-default-fg-color--lighter);
    padding-bottom: 10px;
}

.category-title {
    font-size: 2em;
    font-weight: bold;
    margin: 0;
    color: var(--md-default-fg-color);
}

.category-desc {
    margin-top: 8px;
    font-size: 1.1em;
    color: var(--md-default-fg-color--light);
    max-width: 800px;
}

/* Grid of Items */
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.home-card {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    color: inherit !important;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.home-card:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Slight shadow */
}

.home-card-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--md-primary-fg-color);
}

.home-card-icon svg {
    width: 100%;
    height: 100%;
}

/* Dark Mode Support */
[data-md-color-scheme='slate'] .home-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-md-color-scheme='slate'] .home-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 20px;
    margin-bottom: 40px;
}

.hero-box {
    border: 3px solid var(--md-default-fg-color);
    padding: 15px 30px;
    margin: 20px 0;
    max-width: 600px;
    background: transparent;
    color: var(--md-default-fg-color);
}

.title-box {
    font-size: 2.5em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.description-box {
    font-size: 1.2em;
    line-height: 1.6;
}

.more-box {
    margin-top: 60px;
    padding: 10px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.more-box:hover {
    background: var(--md-default-fg-color);
    color: var(--md-default-bg-color);
}

.more-box a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    display: block;
}

.more-box:hover a {
    color: var(--md-default-bg-color);
}