/* Custom Properties for Dark Theme */
:root {
    --color-dark: #0a0a0a;
    --color-dark-light: #111111;
    --color-gray-800: #1f2937;
    --color-gray-700: #374151;
    --color-gray-400: #9ca3af;
    --color-gray-300: #d1d5db;
    --color-blue-600: #2563eb;
    --color-blue-500: #3b82f6;
    --color-blue-400: #60a5fa;
}

/* Base Styles */
body {
    background-color: var(--color-dark);
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: var(--color-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gray-800);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gray-700);
}

/* Navigation Link Styles */
.nav-link {
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-blue-600);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Portfolio Filter Buttons */
.filter-btn {
    position: relative;
    overflow: hidden;
}

.filter-btn.active {
    background-color: var(--color-blue-600);
    border-color: var(--color-blue-600);
}

/* Form Input Focus States */
input:focus, 
textarea:focus, 
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--color-blue-600);
    color: white;
}

/* Image Hover Effects */
.portfolio-item img {
    transition: transform 0.7s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Animation Utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Loading State for Form */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu:not(.hidden) {
    max-height: 400px;
}

/* Gradient Text Utility */
.text-gradient {
    background: linear-gradient(to right, var(--color-blue-400), var(--color-blue-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* WhatsApp Button Pulse Animation */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.whatsapp-pulse {
    animation: pulse-green 2s infinite;
}

/* Responsive Typography Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .fixed {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
