/* Global Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Header Styles */
.navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    max-height: 40px;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-color) 0%, #ffffff 100%);
    border-radius: 10px;
    margin-bottom: 3rem;
}

.hero-section h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Search Container */
.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-container .input-group {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    overflow: hidden;
}

.search-container input {
    border: none;
    padding: 1rem 1.5rem;
}

.search-container button {
    padding: 1rem 2rem;
    border-radius: 0 25px 25px 0;
}

/* Category Sections */
.category-section {
    margin-bottom: 4rem;
}

.category-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

/* Tool Cards */
.tool-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tool-card .card-body {
    padding: 1.5rem;
}

.tool-card .card-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tool-card .card-text {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
}

footer h5 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    font-size: 1.5rem;
    margin: 0 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

    .category-section {
        margin-bottom: 2rem;
    }

    .tool-card {
        margin-bottom: 1rem;
    }
}

/* Utility Classes */
.max-w-md {
    max-width: 28rem;
}

/* Ad Spaces */
.ad-space {
    background-color: var(--light-color);
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    text-align: center;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 