/* Custom CSS for MultiTool Hub */

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    scroll-behavior: smooth;
    background-color: #FFEA00; /* Vivid yellow background */
}

/* Tool Card Hover Effects */
.tool-card {
    transition: all 0.3s ease;
    border: 2px solid #FFD100; /* Darker yellow for borders */
    border-radius: 0.75rem;
}

.tool-card:hover {
    background-color: #FFF59D; /* Light yellow on hover */
    box-shadow: 0 0 15px rgba(255, 234, 0, 0.5); /* Yellow glow */
}

.tool-card:hover .tool-icon {
    transform: scale(1.1);
}

.tool-icon {
    transition: transform 0.3s ease;
    background-color: #FFEA00 !important; /* Vivid yellow for icons */
    color: #5D4037 !important; /* Brown text for contrast */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FFF9C4; /* Light yellow scrollbar track */
}

::-webkit-scrollbar-thumb {
    background: #FFC107; /* Amber for scrollbar thumb */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFB300; /* Darker amber on hover */
}

/* Animation for tool icons */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.tool-icon:hover {
    animation: pulse 1s infinite;
}

/* AdSense Optimization */
.ad-container {
    margin: 20px 0;
    text-align: center;
    overflow: hidden;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tool-icon {
        width: 12vw;
        height: 12vw;
    }
}

/* Focus styles for accessibility */
a:focus, button:focus {
    outline: 2px solid #FFD600; /* Vivid yellow outline */
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: rgb(245, 144, 144);
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
}