/* Bright/Light Mode Only Styles */

/* Ensure light theme is always applied */
html {
    background-color: rgb(255 255 255);
    color: rgb(17 24 39);
    color-scheme: light;
}

body {
    background-color: rgb(255 255 255);
    color: rgb(17 24 39);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Project card transitions */
.project-card {
    transition: all 0.3s ease;
}

/* Vanta background styling */
#vanta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
}

/* Navigation enhancements */
nav {
    backdrop-filter: blur(12px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgb(229 229 229);
}

/* Button hover effects */
button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Link hover effects */
a:hover {
    color: rgb(0 0 0);
    transition: color 0.3s ease;
}

/* Card hover effects */
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Form input focus states */
input:focus,
textarea:focus {
    outline: 2px solid rgb(59 130 246);
    outline-offset: 2px;
    border-color: rgb(59 130 246);
}

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

/* Scrollbar styling for light mode */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgb(243 244 246);
}

::-webkit-scrollbar-thumb {
    background: rgb(156 163 175);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(107 114 128);
}

/* Selection styling */
::selection {
    background-color: rgb(59 130 246);
    color: rgb(255 255 255);
}

/* Focus ring styling */
*:focus {
    outline: 2px solid rgb(59 130 246);
    outline-offset: 2px;
}

/* Enhanced shadows for depth */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Backdrop blur enhancements */
.backdrop-blur-md {
    backdrop-filter: blur(12px) saturate(180%);
}

/* Text color utilities */
.text-gray-900 {
    color: rgb(17 24 39);
}

.text-gray-700 {
    color: rgb(55 65 81);
}

.text-gray-600 {
    color: rgb(75 85 99);
}

.text-gray-500 {
    color: rgb(107 114 128);
}

/* Background color utilities */
.bg-white {
    background-color: rgb(255 255 255);
}

.bg-gray-50 {
    background-color: rgb(249 250 251);
}

.bg-gray-100 {
    background-color: rgb(243 244 246);
}

/* Border color utilities */
.border-gray-200 {
    border-color: rgb(229 229 229);
}

.border-gray-300 {
    border-color: rgb(209 213 219);
}

/* Hover state utilities */
.hover\:bg-gray-50:hover {
    background-color: rgb(249 250 251);
}

.hover\:bg-gray-100:hover {
    background-color: rgb(243 244 246);
}

.hover\:text-black:hover {
    color: rgb(0 0 0);
}

/* Responsive design enhancements */
@media (max-width: 768px) {
    nav {
        padding: 0.5rem 1rem;
    }
    
    .project-card {
        margin-bottom: 1rem;
    }
    
    .text-4xl {
        font-size: 2rem;
    }
    
    .text-6xl {
        font-size: 3rem;
    }
}

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

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

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gray-700 {
        color: rgb(0 0 0);
    }
    
    .border-gray-200 {
        border-color: rgb(0 0 0);
    }
}

/* Mobile menu animations */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    transform: translateY(-100%);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
    max-height: 300px;
}

/* Mobile menu link hover effects */
#mobile-menu a {
    transition: all 0.2s ease;
}

#mobile-menu a:hover {
    transform: translateX(4px);
}

/* Mobile menu button animation */
#mobile-menu-button {
    transition: all 0.2s ease;
}

#mobile-menu-button:hover {
    transform: scale(1.05);
}

/* Smooth icon transitions */
#mobile-menu-button i {
    transition: transform 0.3s ease;
}

/* Dark themed dropdown/select */
.dark-select {
    background-color: rgb(17 24 39); /* gray-900 */
    color: rgb(255 255 255);
    border: 2px solid rgb(31 41 55); /* gray-800 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25em 1.25em;
    padding-right: 2.5rem;
}

.dark-select:hover {
    background-color: rgb(31 41 55); /* gray-800 */
    border-color: rgb(55 65 81); /* gray-700 */
}

.dark-select:focus {
    outline: none;
    background-color: rgb(31 41 55); /* gray-800 */
    border-color: rgb(75 85 99); /* gray-600 */
    box-shadow: 0 0 0 3px rgba(75, 85, 99, 0.3);
}

.dark-select option {
    background-color: rgb(17 24 39); /* gray-900 */
    color: rgb(255 255 255);
    padding: 0.5rem;
}

.dark-select option:hover,
.dark-select option:checked {
    background-color: rgb(31 41 55); /* gray-800 */
}