/* SingleHeroes - Additional CSS Enhancements */

/* Smooth animations and transitions */
* {
    transition: all 0.3s ease;
}

/* Enhanced gradient backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 50%, #fd7e14 100%) !important;
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #fd7e14 0%, #dc3545 100%) !important;
}

/* Card hover effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Button enhancements */
.btn {
    border-radius: 25px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a2d91, #d91a72);
}

/* Form enhancements */
.form-control {
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #6f42c1;
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
}

.form-control-lg {
    padding: 15px 20px;
    font-size: 1.1rem;
}

/* Navigation enhancements */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
    font-size: 1.5rem;
}

/* Hero section improvements */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 50%, #fd7e14 100%);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hearts" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" text-anchor="middle" font-size="12" fill="rgba(255,255,255,0.1)">💕</text></pattern></defs><rect width="100" height="100" fill="url(%23hearts)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Authentication pages */
.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* Feature cards */
.feature-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

/* Success messages */
.alert {
    border-radius: 15px;
    border: none;
}

.alert-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.alert-info {
    background: linear-gradient(135deg, #17a2b8, #6f42c1);
    color: white;
}

.alert-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #212529;
}

.alert-danger {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
    color: white;
}

/* Footer enhancements */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}

/* Loading animations */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s infinite;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .card {
        background: rgba(255, 255, 255, 0.95);
    }
    
    .navbar {
        background: rgba(0, 0, 0, 0.95) !important;
    }
}

/* Accessibility improvements */
.btn:focus,
.form-control:focus {
    outline: 3px solid rgba(111, 66, 193, 0.5);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero-section,
    .btn,
    .navbar {
        display: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000 !important;
        color: #fff !important;
        border: 2px solid #fff;
    }
    
    .form-control {
        border: 2px solid #000;
    }
}
