/* 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-brand img {
    max-height: 40px;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 1rem;
    margin-bottom: 3rem;
}

/* Tool Cards */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Category Titles */
.category-title {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

/* Search Bar */
.search-container {
    max-width: 600px;
    margin: 2rem auto;
}

.search-container .input-group {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
}

footer a {
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Tool Page Styles */
.tool-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.input-output-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .input-output-section {
        grid-template-columns: 1fr;
    }
}

/* Name Generator Styles */
.name-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

.name-item:last-child {
    border-bottom: none;
}

/* Ad Bar Styles */
.top-ad-bar,
.bottom-ad-bar {
    background-color: var(--light-color);
    padding: 0.5rem 0;
}

/* App Store Buttons */
.app-store-buttons .btn {
    transition: transform 0.2s;
}

.app-store-buttons .btn:hover {
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .navbar-brand img {
        max-height: 30px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
} 
/* Hover Shadow Effect for Related Tools */
.hover-shadow {
    transition: all 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.2) !important;
    transform: translateY(-5px);
}

.quick-link-list {
    font-size: 14px;
}
.quick-link-list li {
    margin-bottom: 6px;
}
.quick-link-list a {
    text-decoration: none;
    color: #64748b;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}
.quick-link-list a:hover {
    color: #1e293b;
    padding-left: 4px;
}
.quick-link-list .view-all-link {
    font-weight: 600;
    margin-top: 4px;
    display: inline-block;
}
