/* New CSS for Tools Page - Slotcard Design */

.tools-section {
    padding: 4rem 0;
    background: #0a0a0a; /* Match body background */
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tool-card {
    background: #111; /* Dark grey card background */
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    border: 1px solid #333; /* Subtle border */
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    color: #d0d0d0;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.card-header {
    display: flex;
    flex-direction: column; /* Stack logo and info vertically */
    align-items: center; /* Center items horizontally */
    margin-bottom: 1rem;
    border-bottom: 1px solid #222;
    padding-bottom: 1rem;
}

.tool-logo {
    width: 100px; /* Increased size */
    height: 100px; /* Increased size */
    margin: 0 auto 0.5rem auto; /* Center and add margin below */
    border-radius: 8px;
    background: transparent; /* Remove background color */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tool-logo img {
    max-width: 100%; /* Use full container size */
    max-height: 100%; /* Use full container size */
    object-fit: contain;
}

.tool-info {
    text-align: center; /* Center the tool name and category */
    flex-grow: 1;
}

.tool-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin: 0;
}

.tool-category {
    font-size: 0.8rem;
    font-weight: bold;
    color: #888;
    margin-top: 0.2rem;
}

.tool-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #a0a0a0;
}



.details-section {
    margin-bottom: 1rem;
}

.details-section h4 {
    font-size: 1rem;
    color: white;
    margin-top: 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #222;
    padding-bottom: 0.3rem;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-list li {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    padding-left: 1.2rem;
    position: relative;
}

.details-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    font-weight: bold;
}

.pros-list li::before {
    color: #66ff66; /* Light green for pros */
}

.cons-list li::before {
    color: #ff6666; /* Light red for cons */
}

.platforms-section {
    margin-top: auto; /* Push to bottom */
    padding-top: 1rem;
    border-top: 1px solid #222;
}

.platforms-section h4 {
    font-size: 1rem;
    color: white;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.platform-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.platform-tag {
    background: #333;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.card-footer {
    margin-top: 1rem;
    text-align: center;
}

.learn-more-button {
    background: #000000; 
    color: white; 
    padding: 0.8rem 1.5rem; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 1rem; 
    display: inline-block; 
    transition: all 0.3s ease;
    border: 1px solid #555;
}

.learn-more-button:hover {
    background-color: #333333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}
