/* Tetradima Makina - Custom Styles */

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #FF6B35;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff8555;
}

/* Fade In Up Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Product Card Hover Effect */
.product-card {
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

/* Service Card Animation */
.service-card {
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Certificate Card */
.certificate-card {
    transition: transform 0.3s ease;
}

.certificate-card:hover {
    transform: scale(1.02);
}

/* Lightbox */
#lightbox {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

#lightbox img {
    max-height: 90vh;
    object-fit: contain;
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    max-height: 56px;
    width: auto;
    object-fit: contain;
}

/* Navigation Scroll Effect */
nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fade-in-up {
        transform: translateY(20px);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
