/* Main Stylesheet for Multi-Tools Website */

/* Global Styles */
:root {
    --primary-color: #4a6bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header Styles */
.site-header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand h1 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4a6bff 0%, #6a11cb 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.hero-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Tool Cards */
.tool-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tool-card .card-title {
    font-weight: 600;
}

.tool-card .card-img-top {
    height: 160px;
    object-fit: cover;
}

.tool-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Category Sections */
.category-section {
    padding: 2rem 0;
}

.category-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    font-weight: 700;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Tool Page Styles */
.tool-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

.tool-header {
    margin-bottom: 2rem;
}

.tool-header h1 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tool-description {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Form Elements */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 107, 255, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #3f4148;
    border-color: #090c17;
}

/* Ad Containers */
.ad-container {
    background-color: #f0f0f0;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    text-align: center;
}

.placeholder-ad {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    color: #666;
    border-radius: 4px;
}

.sidebar-ad {
    margin-bottom: 1.5rem;
}

/* Footer Styles */
.site-footer {
    border-top: 1px solid #e0e0e0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: rgba(218, 218, 222, 0.942);
}

.social-links a:hover {
    background-color: #2e2f35;
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .tool-container {
        padding: 1.5rem;
    }
}

/* No Results Message */
#no-results-message {
    display: none;
    padding: 2rem;
    text-align: center;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
}

/* Tool-specific styles */
.result-container {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
    margin-top: 1rem;
}

.preview-container {
    max-width: 100%;
    overflow: hidden;
    margin: 1rem 0;
    text-align: center;
}

.preview-container img {
    max-width: 100%;
    max-height: 300px;
    border: 1px solid #dee2e6;
}

/* Loading spinner */
.spinner-container {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}


