/* Custom CSS for Pet Story App */

:root {
    --primary-color: #6366f1;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #334155;
}

/* Hero Section Styling */
.hero-image-placeholder {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed #e2e8f0;
}

/* Story Content Styling */
.story-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1e293b;
}

.story-content p {
    margin-bottom: 1.5rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.card.h-100 {
    height: 100%;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5b5ef6 0%, #7c3aed 100%);
    transform: translateY(-1px);
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-control-lg {
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
}

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

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
}

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

/* Loading States */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .hero-image-placeholder {
        min-height: 200px;
        margin-top: 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar, .btn-group, footer, .card-footer {
        display: none !important;
    }
    
    .story-content {
        font-size: 12pt;
        line-height: 1.6;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* Example Pet Styling */
.example-pet {
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border-left: 4px solid #6366f1;
    border-radius: 0 8px 8px 0;
}

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

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

/* Character Counter */
#charCount.text-warning {
    font-weight: 600;
}

#charCount.text-danger {
    font-weight: 600;
}

