/* Custom Animations */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

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

/* Modern Button Styles */
.modern-button {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.modern-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.modern-button:hover::before {
    opacity: 1;
}

.modern-button.primary {
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.modern-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.modern-button.secondary {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.modern-button.secondary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

/* Feature Card Styles */
.feature-card {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

/* Modern Input Styles */
.modern-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 0.5rem;
    color: white;
    transition: all 0.3s ease;
}

.modern-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Contact Link Styles */
.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #9ca3af;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.contact-link:hover {
    color: white;
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(5px);
}

/* Hero Image Animation */
.hero-image {
    animation: float 6s ease-in-out infinite;
}

/* Section Animations */
section {
    animation: fadeIn 0.8s ease-out forwards;
}

.hero-image:hover{
    transform: scale(1.2);
}

img:hover {
    cursor: pointer;
    transition: all 0.3s;
    transform: scale(1.08);
} 

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

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

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

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

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111827;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 5px solid #3b82f6;
    border-top-color: transparent;
    border-radius: 50%;
    animation: loading 0.75s ease infinite;
}


@keyframes loading {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .grid {
        gap: 1rem;
    }
    
    .modern-button {
        padding: 0.5rem 1.5rem;
    }
} 

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification Animation */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Add these classes to your existing styles */
.notification {
    animation: slideIn 0.3s ease-out forwards;
}

.notification.hide {
    animation: slideOut 0.3s ease-in forwards;
} 

textarea{
    resize: none;
    height: 150px;
}

/* Image Container and Lightbox Styles */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
}

.zoomable-image {
    transition: transform 0.3s ease;
}

.image-container:hover .zoomable-image {
    transform: scale(1.08);
}

/* Lightbox Styles */
#lightbox {
    transition: opacity 0.3s ease;
}

#lightbox.hidden {
    opacity: 0;
    pointer-events: none;
}

#lightbox:not(.hidden) {
    opacity: 1;
}

#lightbox-image {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#lightbox:not(.hidden) #lightbox-image {
    transform: scale(1);
}

#close-lightbox {
    transition: all 0.3s ease;
}

#close-lightbox:hover {
    transform: rotate(90deg);
}

/* Navigation Styles */
.nav-link {
    color: #9ca3af;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: white;
}

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

/* Back to Top Button */
#back-to-top {
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Specification Card Styles */
.spec-card {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

/* FAQ Styles */
.faq-question {
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.1);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    transition: all 0.3s ease;
}

/* Social Link Styles */
.social-link {
    color: #9ca3af;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #3b82f6;
    transform: translateY(-3px);
}

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

.mobile-menu-button {
    transition: all 0.3s ease;
}

.mobile-menu-button:hover {
    background: rgba(59, 130, 246, 0.1);
}