/* Multi Tools - Complete Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

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

/* Header */
header {
    text-align: center;
    padding: 40px 20px;
    color: white;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Language Selector */
.language-selector {
    margin: 20px 0;
}

.language-selector select {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.language-selector select option {
    background: #667eea;
    color: white;
}

/* Search Box */
.search-box {
    margin: 30px 0;
}

.search-box input {
    width: 100%;
    max-width: 500px;
    padding: 15px 25px;
    font-size: 16px;
    border: none;
    border-radius: 30px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-box input:focus {
    outline: none;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Tools Grid */
#toolsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px 0;
}

.tool-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.tool-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.tool-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.tool-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: white;
    opacity: 0.8;
}

footer p {
    font-size: 0.9rem;
}

/* Back Button (for subpages) */
.back-btn {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Tool Content */
.tool-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    margin: 5px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    #toolsGrid {
        grid-template-columns: 1fr;
        padding: 20px 0;
    }
    
    .tool-content {
        padding: 20px;
    }
}
