/**
 * AVANTAS Research - Custom Styles
 * Add your custom CSS modifications here
 * This file overrides Bootstrap and other vendor styles
 */

/* Custom Variables */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    
    /* Custom spacing */
    --section-padding: 80px 0;
    --container-padding: 15px;
}

/* Custom Header Styles */
.custom-header {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    padding: var(--section-padding);
}

/* Custom Button Styles */
.btn-custom {
    background: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Custom Card Styles */
.custom-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Custom Form Styles */
.custom-form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.custom-form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Custom Section Styles */
.custom-section {
    padding: var(--section-padding);
}

.custom-section-alt {
    background: var(--light-color);
}

/* Custom Typography */
.custom-heading {
    font-weight: 700;
    margin-bottom: 1rem;
}

.custom-text {
    line-height: 1.8;
    color: var(--secondary-color);
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Responsive Styles */
@media (max-width: 768px) {
    :root {
        --section-padding: 40px 0;
    }
    
    .custom-header {
        padding: 40px 0;
    }
    
    .btn-custom {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Custom Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-color));
}

/* Custom Component Overrides */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Custom Footer Styles */
.custom-footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
}

.custom-footer a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-footer a:hover {
    color: var(--primary-color);
}

/* Custom Loading Styles */
.custom-loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom Alert Styles */
.custom-alert {
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.custom-alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.custom-alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

.custom-alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning-color);
    border-left: 4px solid var(--warning-color);
}

.custom-alert-info {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info-color);
    border-left: 4px solid var(--info-color);
}
