/* Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* Enhanced Background */
.bg-hero-pattern {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://imgur.com/gZJpXCN.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Smooth Animations */
.gallery-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Optimized Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(8px);
        transition: right 0.3s ease;
    }

    .mobile-menu.active {
        right: 0;
    }
}

/* Base animations */
.fade-in {
    animation: fadeIn 0.6s ease;
}

.fade-up {
    animation: fadeUp 0.6s ease;
}

.fade-down {
    animation: fadeDown 0.6s ease;
}

.scale-up {
    animation: scaleUp 0.4s ease;
}

/* Animation keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    from { 
        opacity: 0;
        transform: scale(0.95);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced Card animations */
.card-hover {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(145deg, #1f2937, #111827);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Button animations */
.button-hover {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(38, 96, 220, 0.2);
}

/* Navigation animations */
.nav-link {
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

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

/* Title Effects */
.title-glow {
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Card Effects */
.card-glow {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

/* Button Effects */
.button-glow {
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* Section Transitions */
.section-transition {
    transition: all 0.5s ease;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Background Effects */
.bg-glow {
    position: relative;
}

.bg-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        transition: right 0.3s ease;
    }

    .mobile-menu.active {
        right: 0;
    }
}

/* Base animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}
.fade-up {
    animation: fadeUp 0.5s ease-out;
}
.fade-down {
    animation: fadeDown 0.5s ease-out;
}
.scale-up {
    animation: scaleUp 0.3s ease-out;
}

/* Animation keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeDown {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes scaleUp {
    from { 
        opacity: 0;
        transform: scale(0.95);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Card animations */
.card-hover {
    transition: all 0.2s ease-in-out;
}
.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Modal animations */
.modal-enter {
    animation: modalEnter 0.3s ease-out;
}
.modal-leave {
    animation: modalLeave 0.3s ease-in;
}
@keyframes modalEnter {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
@keyframes modalLeave {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
}

/* Hero section animations */
.hero-title {
    animation: fadeDown 0.8s ease-out;
}
.hero-subtitle {
    animation: fadeUp 0.8s ease-out 0.2s;
}
.hero-buttons {
    animation: fadeUp 0.8s ease-out 0.4s;
}

/* Section animations */
.section-title {
    animation: fadeIn 0.8s ease-out;
}
.section-content {
    animation: fadeUp 0.8s ease-out 0.2s;
}

/* Feature card animations */
.feature-card {
    transition: all 0.3s ease-in-out;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Button animations */
.button-hover {
    transition: all 0.2s ease-in-out;
}
.button-hover:hover {
    transform: scale(1.05);
}

/* Navigation animations */
.nav-link {
    transition: color 0.2s ease-in-out;
}
.nav-link:hover {
    color: #3b82f6;
}

/* Mobile menu animations */
.mobile-menu-enter {
    animation: slideDown 0.3s ease-out;
}
.mobile-menu-leave {
    animation: slideUp 0.3s ease-in;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
} 