/* Custom styles for Afrisoek */

/* Afrisoek Premium Design System - v1.0.1 - Logo Refresh */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.jumbotron {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.2s;
}

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

footer {
    margin-top: auto;
}

/* Custom navbar styles */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #ffffff !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    opacity: 0.95;
    transition: opacity 0.2s, color 0.2s;
}

.navbar-dark .navbar-nav .nav-link:hover {
    opacity: 1;
    color: #f8f9fa !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Alert animations */
.alert {
    animation: slideIn 0.3s ease-in;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Premium Search Styles */
body {
    background: radial-gradient(circle at top, #1a1b26, #000000);
    color: #e2e8f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
}

.search-hero {
    padding: 6rem 0 4rem;
    text-align: center;
}

.search-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.search-input-group {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.search-input {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    border-radius: 3rem;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(20, 20, 30, 0.6);
    color: #fff;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.search-input:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2), 0 8px 30px rgba(0,0,0,0.4);
    background: rgba(30, 30, 45, 0.8);
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2rem;
    padding: 0.8rem 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.result-card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.result-card:hover {
    transform: translateX(5px);
    border-left-color: #60a5fa;
    background: rgba(255, 255, 255, 0.08);
}

.result-url {
    color: #34d399;
    font-size: 0.875rem;
    text-decoration: none;
}

.result-title {
    color: #93c5fd;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0.5rem 0;
    text-decoration: none;
}

.result-title:hover {
    color: #bfdbfe;
    text-decoration: underline;
}

.result-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

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

.search-logo {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.4));
    animation: fadeInDown 1s ease-out;
    transition: all 0.5s ease;
}

.search-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(167, 139, 250, 0.6));
}

.search-logo-small {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.3));
    animation: fadeInDown 0.8s ease-out;
}