/* Custom animations and styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

/* Smooth transitions */
* {
    transition: all 0.3s ease;
}

a, button {
    transition: all 0.3s ease;
}

/* Language toggle active state */
.lang-btn {
    cursor: pointer;
    border: none;
    outline: none;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #996515;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Accessibility - Focus states */
a:focus, button:focus {
    outline: 2px solid #C9A961;
    outline-offset: 2px;
}

/* Loading state */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
}

/* Print styles */
@media print {
    nav, .language-toggle {
        display: none;
    }
}
