/* Custom styles for Selynth */

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #a1b1a3;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7a8d7c;
}

/* Enhanced focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(95, 113, 97, 0.1);
}

/* Gentle hover animations */
.hover\:shadow-md:hover {
    transform: translateY(-2px);
}

/* Typography enhancements */
blockquote {
    position: relative;
}

blockquote::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #a1b1a3, #c7d0c8);
    border-radius: 2px;
}

/* Responsive improvements */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    nav .flex {
        gap: 1rem;
    }
    
    .text-4xl {
        font-size: 2.5rem;
    }
}

/* Loading animation for form submissions */
.form-submitting {
    opacity: 0.7;
    pointer-events: none;
}

/* Custom selection colors */
::selection {
    background-color: rgba(95, 113, 97, 0.2);
    color: #2b312c;
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Background texture effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(95, 113, 97, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(113, 113, 122, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}
