/* Enhanced Parallax Effect */
.parallax-container {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* Sticky Header */
.sticky-header {
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sticky-header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.sticky-header a.active {
    border-color: white !important;
    color: white !important;
}

/* Add padding to the top of the page to accommodate for sticky header */
#home {
    padding-top: 0;
}

/* Animated elements */
.fade-in {
    animation: fadeIn 1s ease-in forwards;
    opacity: 0;
}

.slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(40px);
}

/* Animations */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideUp {
    0% { 
        opacity: 0;
        transform: translateY(40px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

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

::-webkit-scrollbar-track {
    background: black;
}

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

::-webkit-scrollbar-thumb:hover {
    background: white;
}

/* Card hover effects */
.project-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-card img {
    transition: all 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

/* Form focus effects */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.2);
}

/* Mobile navigation */
.mobile-menu {
    transition: all 0.3s ease;
}

.mobile-menu.show {
    display: block;
}

@media (max-width: 768px) {
    .sticky-header {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

/* Button styles */
button, .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

button:after, .btn:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: all 0.6s ease;
}

button:hover:after, .btn:hover:after {
    transform: translateX(100%);
}

/* Clean, professional section styling */
section {
    position: relative;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(3, 105, 161, 0.1), transparent);
}

.animate {
    animation-play-state: running !important;
} 

