/* Global Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
}

/* Header Styles */
.navbar-brand i {
    margin-right: 8px;
}

/* Search Section */
.search-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    margin: -1.5rem -1.5rem 2rem -1.5rem;
    padding: 2rem 1.5rem;
    color: white;
}

.search-form .input-group {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Sound Card Styles */
.sound-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    margin-bottom: 1.5rem;
}

.sound-card:hover {
    transform: translateY(-5px);
}

.sound-card .card-body {
    padding: 1.25rem;
}

.sound-card .waveform {
    height: 60px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.sound-card .controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sound-card .play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sound-card .play-btn:hover {
    background: #0056b3;
}

/* Category Cards */
.category-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Footer Styles */
footer {
    margin-top: auto;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.social-links a {
    font-size: 1.5rem;
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-section {
        margin: -1rem -1rem 1.5rem -1rem;
        padding: 1.5rem 1rem;
    }

    .sound-card {
        margin-bottom: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    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); }
} 