/* Tools Page Styles - Retro Farm Aesthetic */

* {
    box-sizing: border-box;
}

body {
    background: #fffef7;
    font-family: monospace;
    color: #333;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

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

/* Header */
.header {
    text-align: center;
    border-bottom: 3px dashed #8B4513;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.back-link {
    color: #8B4513;
    text-decoration: none;
    border: 2px dashed #8B4513;
    padding: 8px 15px;
    display: inline-block;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.back-link:hover {
    background: rgba(139, 69, 19, 0.1);
    transform: scale(1.05);
}

.title {
    font-size: 28px;
    color: #8B4513;
    margin: 15px 0 10px 0;
    font-weight: bold;
}

.subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-style: italic;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* Tool Card */
.tool-card {
    border: 2px dashed #8B4513;
    background: rgba(139, 69, 19, 0.05);
    padding: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    color: inherit;
    overflow: hidden;
}

.tool-card:hover {
    background: rgba(139, 69, 19, 0.15);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(139, 69, 19, 0.2);
}

.tool-icon {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    background: #f5f5f0;
    border-bottom: 2px dashed #8B4513;
}

.tool-info {
    padding: 15px;
}

.tool-title {
    font-size: 18px;
    font-weight: bold;
    color: #8B4513;
    margin: 0 0 8px 0;
}

.tool-description {
    font-size: 13px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.tool-link {
    display: block;
    background: #8B4513;
    color: white;
    text-align: center;
    padding: 12px;
    margin-top: 12px;
    border: none;
    cursor: pointer;
    font-family: monospace;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.3s ease;
    text-decoration: none;
}

.tool-link:hover {
    background: #654321;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .title {
        font-size: 24px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .header {
        padding-bottom: 15px;
        margin-bottom: 25px;
    }

    .title {
        font-size: 20px;
    }

    .back-link {
        font-size: 12px;
        padding: 6px 12px;
    }

    .tool-info {
        padding: 12px;
    }

    .tool-title {
        font-size: 16px;
    }

    .tool-description {
        font-size: 12px;
    }
}
