/* Custom Styles for Trendin Solutions */

/* 1. Base Styles */
html {
    scroll-behavior: smooth; /* Native smooth scrolling for anchor links */
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* 2. Custom Section Spacing (Utility fallback) */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
}

/* 3. Glassmorphism Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 4. Custom Scrollbar for a Tech Look */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #4f46e5; /* indigo-600 */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3730a3; /* indigo-800 */
}

/* 5. AI Assistant Textarea Focus */
#issue-description:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

/* 6. Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#ai-response-area {
    animation: fadeIn 0.5s ease-out forwards;
}

/* 7. Image Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-bounce-in {
    animation: slideDown 0.4s ease-out forwards;
}

/* Ensure the container doesn't block clicks when empty */
.message-container:empty {
    display: none;
}